]>
Untitled Git - lemmy.git/log
Dessalines [Tue, 2 Mar 2021 16:52:46 +0000 (11:52 -0500)]
Merge branch 'main' of https://github.com/lemmynet/lemmy
dessalines [Tue, 2 Mar 2021 16:49:19 +0000 (16:49 +0000)]
Merge pull request 'Forbid usage of unwrap' (#179) from clippy-unwrap into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/179
dessalines [Tue, 2 Mar 2021 16:48:24 +0000 (16:48 +0000)]
Merge pull request 'Remove category from activitypub context' (#183) from context-remove-category into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/183
dessalines [Tue, 2 Mar 2021 16:47:58 +0000 (16:47 +0000)]
Merge pull request 'Update test script' (#182) from update-test-script into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/182
Felix Ableitner [Tue, 2 Mar 2021 16:12:45 +0000 (17:12 +0100)]
Remove category from activitypub context
Dessalines [Tue, 2 Mar 2021 15:36:10 +0000 (10:36 -0500)]
Adding a password length check to other API actions. (#1474)
* Adding a password length check to other API actions.
- Fixes #1473
* Fixing comment.
Felix Ableitner [Tue, 2 Mar 2021 12:57:06 +0000 (13:57 +0100)]
Update test script
Andrew Yoon [Tue, 2 Mar 2021 12:41:48 +0000 (07:41 -0500)]
Use URL type in most outstanding struct fields (#1468)
* Use URL type in most outstanding struct fields
This fixes all known remaining cases where url fields are stored as
plain strings, with the exception of form fields where empty strings
are used as sentinels (see `diesel_option_overwrite_to_url`).
Tested for regressions in the federated docker setup attempting to
exercise all changed fields, including through apub federation.
Fixes #1385
* Add migration to fix blank-string post.url values to be null
This also then fixes #602
* Address review feedback
- Fixed some unwraps and err message formatting
- Bumped the `url` library to 2.2.1 to fix a bug with serde error
messages
- Add unit tests for the two diesel option override functions
- Fix migration teardown by adding a no-op
* Rename lemmy_db_queries::Url to lemmy_db_queries::DbUrl
* fix compile error
* box PostOrComment variants
Felix Ableitner [Mon, 1 Mar 2021 12:56:07 +0000 (13:56 +0100)]
Forbid usage of unwrap
dessalines [Mon, 1 Mar 2021 18:02:39 +0000 (18:02 +0000)]
Merge pull request 'Upgrade Rust version' (#181) from upgrade-rust into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/181
Felix Ableitner [Mon, 1 Mar 2021 17:46:56 +0000 (18:46 +0100)]
Upgrade Rust version
Dessalines [Mon, 1 Mar 2021 17:24:11 +0000 (12:24 -0500)]
Rewrite settings implementation. Fixes #1270 (#1433)
* A first attempt at using deser-hjson. Fixes #1270
* Trying to fix tests, try 1
* Trying to fix tests, try 2
* A few fixes to deser_hjson
- Removing unwrap_or_defaults, using impl functions.
- Reorganized settings
* Make clippy happy
* hjson list strings must be quoted.
* Adding support for env vars.
* Moving to structs and defaults file.
* Moving settings default and struct.
dessalines [Mon, 1 Mar 2021 15:50:45 +0000 (15:50 +0000)]
Merge pull request 'Rename `lemmy_structs` to `lemmy_api_structs`' (#180) from rename-structs into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/180
Felix Ableitner [Mon, 1 Mar 2021 13:08:41 +0000 (14:08 +0100)]
Rename `lemmy_structs` to `lemmy_api_structs`
Dessalines [Sat, 27 Feb 2021 23:08:58 +0000 (18:08 -0500)]
Merge pull request #1465 from arjenpdevries/patch-2
Update README.md
Arjen P. de Vries [Sat, 27 Feb 2021 19:26:30 +0000 (20:26 +0100)]
Update README.md
Federation is probably more complete than suggested here.
In response to:
https://github.com/LemmyNet/lemmy/issues/647#issuecomment-
787068478
dessalines [Fri, 26 Feb 2021 13:23:46 +0000 (13:23 +0000)]
Merge pull request 'Remove federation backward compatibility code (ref #1220)' (#164) from remove-backwards-compatibility into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/164
dessalines [Fri, 26 Feb 2021 13:23:07 +0000 (13:23 +0000)]
Merge pull request 'Remove code for apub compatibility with Lemmy v0.8.9 and older' (#178) from remove-apub-compat-code into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/178
Felix Ableitner [Fri, 5 Feb 2021 13:43:18 +0000 (14:43 +0100)]
Remove federation backward compatibility code (ref #1220)
Felix Ableitner [Fri, 26 Feb 2021 13:03:49 +0000 (14:03 +0100)]
Remove code for apub compatibility with Lemmy v0.8.9 and older
Nutomic [Thu, 25 Feb 2021 22:54:40 +0000 (22:54 +0000)]
Merge pull request #1455 from ajyoon/fix-flaky-db-tests
Support plain `cargo test` and disable unused doctests for speed
Andrew Yoon [Thu, 25 Feb 2021 19:43:39 +0000 (14:43 -0500)]
Support plain `cargo test` and disable unused doctests for speed
Since DB tests execute diesel migrations automatically, concurrent
execution causes flaky failures from simultaneous migrations. This can
be worked around using `cargo test --workspace -- --test-threads=1`,
which is what the CI config does, but this is not intuitive for
newcomer developers and unnecessarily slows down the test suite for
the majority of tests which are safe to run concurrently. This fixes
this issue by integrating with the small test crate `serial_test` and
using it to explicitly mark DB tests to run sequentially while
allowing all other tests to run in parallel.
Additionally, this greatly improves the speed of `cargo test` by
disabling doc-tests in all crates, since these are aren't currently
used and cargo's doc-test pass, even when no doc-tests exist, has
significant overhead. On my machine, this change significantly
improves test suite times by about 85%, making it much more practical
to develop with tools like `cargo watch` auto-running tests.
Dessalines [Thu, 25 Feb 2021 16:37:54 +0000 (11:37 -0500)]
Merge branch 'main' into remove-integration-tests
Dessalines [Thu, 25 Feb 2021 16:36:08 +0000 (11:36 -0500)]
Merge remote-tracking branch 'yerba/main'
dessalines [Thu, 25 Feb 2021 16:35:07 +0000 (16:35 +0000)]
Merge pull request 'Remove categories (fixes #1429)' (#176) from remove-categories into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/176
Felix Ableitner [Thu, 25 Feb 2021 16:25:31 +0000 (17:25 +0100)]
Remove broken actix_rt test
Felix Ableitner [Thu, 25 Feb 2021 15:31:41 +0000 (16:31 +0100)]
Remove integration tests (fixes #1449)
Nutomic [Thu, 25 Feb 2021 15:19:29 +0000 (15:19 +0000)]
Merge pull request #1451 from LemmyNet/update_cargo_chef
Use more recent version of cargo chef.
Felix Ableitner [Thu, 25 Feb 2021 15:16:02 +0000 (16:16 +0100)]
In remove categories down migration, add default for category
Felix Ableitner [Thu, 25 Feb 2021 12:16:58 +0000 (13:16 +0100)]
Remove categories (fixes #1429)
dessalines [Wed, 24 Feb 2021 22:20:15 +0000 (22:20 +0000)]
Merge pull request 'Better type safety for activity parsing' (#175) from apub-type-safety into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/175
Dessalines [Wed, 24 Feb 2021 22:10:28 +0000 (17:10 -0500)]
Use more recent version of cargo chef.
Felix Ableitner [Wed, 24 Feb 2021 19:37:27 +0000 (20:37 +0100)]
Better type safety for activity parsing
dessalines [Wed, 24 Feb 2021 01:03:07 +0000 (01:03 +0000)]
Merge pull request 'Dont include community in comment `to` field (fixes #1446)' (#174) from no-community-in-comment-to into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/174
Felix Ableitner [Tue, 23 Feb 2021 18:35:09 +0000 (19:35 +0100)]
Fix lemmy_dev ansible playbook
Felix Ableitner [Tue, 23 Feb 2021 18:00:47 +0000 (19:00 +0100)]
Dont include community in comment `to` field (fixes #1446)
dessalines [Mon, 22 Feb 2021 20:37:06 +0000 (20:37 +0000)]
Merge pull request 'Order outbox by published, not id' (#171) from outbox-order-published into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/171
dessalines [Mon, 22 Feb 2021 20:36:22 +0000 (20:36 +0000)]
Merge pull request 'Use `name` field for post titles instead of `summary` (ref #1220)' (#173) from apub-post-name into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/173
dessalines [Mon, 22 Feb 2021 20:34:22 +0000 (20:34 +0000)]
Merge pull request 'Fix clippy error upper_case_acronyms' (#172) from fix-clippy into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/172
Felix Ableitner [Mon, 22 Feb 2021 18:34:41 +0000 (19:34 +0100)]
Use `name` field for post titles instead of `summary` (ref #1220)
Felix Ableitner [Mon, 22 Feb 2021 18:04:32 +0000 (19:04 +0100)]
Fix clippy error upper_case_acronyms
Dessalines [Fri, 19 Feb 2021 18:11:16 +0000 (13:11 -0500)]
Updating release version.
Dessalines [Fri, 19 Feb 2021 18:10:04 +0000 (13:10 -0500)]
Version 0.9.9
Nutomic [Fri, 19 Feb 2021 18:09:27 +0000 (18:09 +0000)]
Merge pull request #1442 from LemmyNet/fix_deploy_version_1
Fixing deploy version.
Dessalines [Fri, 19 Feb 2021 18:05:42 +0000 (13:05 -0500)]
Fixing deploy version.
Dessalines [Fri, 19 Feb 2021 17:41:51 +0000 (12:41 -0500)]
Adding 0.9.8 release notes.
Dessalines [Fri, 19 Feb 2021 16:38:24 +0000 (11:38 -0500)]
Version 0.9.8
Felix Ableitner [Fri, 19 Feb 2021 14:59:06 +0000 (15:59 +0100)]
Order outbox by published, not id
Dessalines [Thu, 18 Feb 2021 21:19:39 +0000 (16:19 -0500)]
Merge remote-tracking branch 'yerba/main'
dessalines [Thu, 18 Feb 2021 21:18:26 +0000 (21:18 +0000)]
Merge pull request 'Specify order for activities query (fixes #1436)' (#169) from outbox-order into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/169
Dessalines [Thu, 18 Feb 2021 15:53:04 +0000 (10:53 -0500)]
Fix aggregates time columns 2 (#1427)
* Adding a new comment sort. Fixes #1294
* Fixing a migration comment.
* Adding a comment for newest_comment_time_necro
* Make sure federated items set correct aggregates fields in trigger.
- Fixes #1402
Dessalines [Thu, 18 Feb 2021 15:38:25 +0000 (10:38 -0500)]
Adding a new comment sort for posts. Fixes #1294 (#1425)
* Adding a new comment sort. Fixes #1294
* Fixing a migration comment.
* Adding a comment for newest_comment_time_necro
Felix Ableitner [Thu, 18 Feb 2021 15:16:18 +0000 (16:16 +0100)]
Fix new compiler warning
Felix Ableitner [Thu, 18 Feb 2021 15:15:52 +0000 (16:15 +0100)]
Specify order for activities query (fixes #1436)
Nutomic [Wed, 17 Feb 2021 16:42:32 +0000 (16:42 +0000)]
Merge pull request #1435 from LemmyNet/fix_lemmy_prod_open_port
Closing open lemmy-ui prod port. Fixes #1430
Dessalines [Wed, 17 Feb 2021 16:26:03 +0000 (11:26 -0500)]
Closing open lemmy-ui prod port. Fixes #1430
Dessalines [Thu, 11 Feb 2021 15:31:10 +0000 (10:31 -0500)]
Merge remote-tracking branch 'origin/main'
dessalines [Thu, 11 Feb 2021 15:31:04 +0000 (15:31 +0000)]
Merge pull request 'Hide followed communities, except for own user (fixes #1303)' (#168) from hide-followed into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/168
Felix Ableitner [Thu, 11 Feb 2021 13:53:17 +0000 (14:53 +0100)]
Hide followed communities, except for own user (fixes #1303)
Nutomic [Thu, 11 Feb 2021 13:06:29 +0000 (14:06 +0100)]
Merge pull request #1426 from LemmyNet/rss_link_post
Change RSS feeds to use lemmy URL for the rss link. Fixes #1378
Dessalines [Wed, 10 Feb 2021 20:43:03 +0000 (15:43 -0500)]
Change RSS feeds to use lemmy URL for the rss link. Fixes #1378
Dessalines [Wed, 10 Feb 2021 20:13:22 +0000 (15:13 -0500)]
Merge remote-tracking branch 'origin/main'
dessalines [Wed, 10 Feb 2021 19:45:36 +0000 (19:45 +0000)]
Merge pull request 'Explicitly mark posts and comments as public (ref #1220)' (#167) from comments-posts-public into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/167
Nutomic [Wed, 10 Feb 2021 16:13:26 +0000 (16:13 +0000)]
Merge pull request #1422 from LemmyNet/display_name_limit
Display name limit
Dessalines [Wed, 10 Feb 2021 15:36:22 +0000 (10:36 -0500)]
Fixing reason lengths to char counts.
Dessalines [Wed, 10 Feb 2021 15:27:48 +0000 (10:27 -0500)]
Fixing display name limit. Fixes #1421
Felix Ableitner [Wed, 10 Feb 2021 13:01:02 +0000 (14:01 +0100)]
Explicitly mark posts and comments as public (ref #1220)
dessalines [Tue, 9 Feb 2021 18:44:45 +0000 (18:44 +0000)]
Merge pull request 'Move routes into separate crate to speed up compilation' (#166) from move-routes into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/166
Felix Ableitner [Tue, 9 Feb 2021 18:26:06 +0000 (19:26 +0100)]
Move routes into separate crate to speed up compilation
Dessalines [Mon, 8 Feb 2021 20:24:51 +0000 (15:24 -0500)]
Adding v0.9.7 release notes.
Dessalines [Mon, 8 Feb 2021 20:17:56 +0000 (15:17 -0500)]
Version 0.9.7
Dessalines [Sat, 6 Feb 2021 16:50:31 +0000 (11:50 -0500)]
Adding 0.9.6 release notes.
Dessalines [Sat, 6 Feb 2021 04:19:23 +0000 (23:19 -0500)]
Fixing build / drone badge.
Dessalines [Sat, 6 Feb 2021 04:15:02 +0000 (23:15 -0500)]
Fixing image links. #1355
Dessalines [Fri, 5 Feb 2021 18:01:29 +0000 (13:01 -0500)]
Version 0.9.6
Nutomic [Fri, 5 Feb 2021 17:59:56 +0000 (17:59 +0000)]
Merge pull request #1415 from LemmyNet/fed_inbox_url_fix
Fixing inbox url code migration. Fixes #1414
dessalines [Fri, 5 Feb 2021 17:52:51 +0000 (17:52 +0000)]
Merge pull request 'Include object id when logging apub errors' (#165) from log-ids into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/165
Dessalines [Fri, 5 Feb 2021 17:50:31 +0000 (12:50 -0500)]
Merge remote-tracking branch 'yerba/main'
dessalines [Fri, 5 Feb 2021 17:50:42 +0000 (17:50 +0000)]
Merge pull request 'Make apub extension fields optional (ref #1220)' (#163) from optional-apub-extensions into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/163
Dessalines [Fri, 5 Feb 2021 17:06:32 +0000 (12:06 -0500)]
Fixing inbox url code migration. Fixes #1414
Nutomic [Fri, 5 Feb 2021 16:33:06 +0000 (16:33 +0000)]
Merge pull request #1412 from LemmyNet/fix_search_communities_subscribed
Fixing community search not using auth. Fixes #1411
Felix Ableitner [Fri, 5 Feb 2021 16:15:29 +0000 (17:15 +0100)]
Include object id when logging apub errors
Dessalines [Fri, 5 Feb 2021 15:36:28 +0000 (10:36 -0500)]
Fixing community search not using auth. Fixes #1411
Felix Ableitner [Fri, 5 Feb 2021 13:23:57 +0000 (14:23 +0100)]
Make apub extension fields optional (ref #1220)
Dessalines [Fri, 5 Feb 2021 12:30:49 +0000 (07:30 -0500)]
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
* Moving docs to join.lemmy.ml . Fixes #1396
* Removing submodule fetch from drone.
Dessalines [Fri, 5 Feb 2021 03:48:21 +0000 (22:48 -0500)]
Version 0.9.5
Dessalines [Thu, 4 Feb 2021 16:35:20 +0000 (11:35 -0500)]
Removing old lemmy schema.
nutomic [Thu, 4 Feb 2021 16:34:58 +0000 (16:34 +0000)]
Store activitypub endpoints in database (#162)
Address review comments
Store Activitypub urls in database (fixes #808)
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/162
Co-Authored-By: nutomic <nutomic@noreply.yerbamate.ml>
Co-Committed-By: nutomic <nutomic@noreply.yerbamate.ml>
Dessalines [Tue, 2 Feb 2021 21:01:08 +0000 (16:01 -0500)]
Some updates to 0.9.4 release.
Dessalines [Tue, 2 Feb 2021 20:57:45 +0000 (15:57 -0500)]
Some updates to 0.9.4 release.
Dessalines [Tue, 2 Feb 2021 20:45:02 +0000 (15:45 -0500)]
Adding pre-release notes.
Dessalines [Tue, 2 Feb 2021 20:29:38 +0000 (15:29 -0500)]
Version 0.9.4
Dessalines [Tue, 2 Feb 2021 16:13:31 +0000 (11:13 -0500)]
Merge branch 'main' of https://github.com/lemmynet/lemmy
Nutomic [Tue, 2 Feb 2021 15:17:11 +0000 (15:17 +0000)]
Merge pull request #1406 from LemmyNet/upgrade_deps
Trying to upgrade lemmys deps.
Dessalines [Tue, 2 Feb 2021 14:35:56 +0000 (09:35 -0500)]
Adding awesome-humane-tech to readme. #1394
Dessalines [Tue, 2 Feb 2021 02:54:23 +0000 (21:54 -0500)]
Moving back tokio and reqwest.
Dessalines [Mon, 1 Feb 2021 20:56:37 +0000 (15:56 -0500)]
Trying to upgrade lemmys deps.
Dessalines [Mon, 1 Feb 2021 18:11:37 +0000 (13:11 -0500)]
Add allowed and blocked instances to the federated_instances response. (#1398)
- Fixes #1315
Dessalines [Mon, 1 Feb 2021 16:53:44 +0000 (11:53 -0500)]
Adding forum sort for post_aggregates. Fixes #1312 (#1400)
* Adding forum sort for post_aggregates. Fixes #1312
* Changing sort name from forum to MostComments.
Dessalines [Mon, 1 Feb 2021 15:43:34 +0000 (10:43 -0500)]
Merge pull request #1401 from LemmyNet/non_null_post_view_vote
Post and comment vote views now return 0 instead of null.