]>
Untitled Git - lemmy.git/log
Dessalines [Thu, 18 Mar 2021 20:30:42 +0000 (16:30 -0400)]
Merge branch 'split_user_table' into strictly_type_db_ids
Dessalines [Thu, 18 Mar 2021 20:30:29 +0000 (16:30 -0400)]
Merge branch 'main' into split_user_table
Dessalines [Thu, 18 Mar 2021 20:25:21 +0000 (16:25 -0400)]
Strictly typing DB id fields. Fixes #1498
Dessalines [Thu, 18 Mar 2021 14:59:17 +0000 (10:59 -0400)]
Adding some comments to notifs.
Dessalines [Thu, 18 Mar 2021 14:52:25 +0000 (10:52 -0400)]
Moving send email check inside function.
dessalines [Tue, 16 Mar 2021 13:47:32 +0000 (13:47 +0000)]
Merge pull request 'Insert announced activities into DB for fetching (fixes #1494)' (#187) from insert-local-announce into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/187
Dessalines [Mon, 15 Mar 2021 22:18:50 +0000 (18:18 -0400)]
Removing some TODOS.
Dessalines [Mon, 15 Mar 2021 18:50:50 +0000 (14:50 -0400)]
Version 0.10.0-rc.5
Dessalines [Mon, 15 Mar 2021 18:02:27 +0000 (14:02 -0400)]
Some changes
- Changing claim name to local_user_id to facilitate logout.
- Changing AddAdmin back to using person_id
Felix Ableitner [Mon, 15 Mar 2021 12:58:54 +0000 (13:58 +0100)]
Insert announced activities into DB for fetching (fixes #1494)
Nutomic [Mon, 15 Mar 2021 12:14:31 +0000 (12:14 +0000)]
Merge pull request #1491 from LemmyNet/upgrade_pictrs_3
Upgrading pictrs.
Dessalines [Fri, 12 Mar 2021 20:18:03 +0000 (15:18 -0500)]
Only sending private message if its a local user.
Dessalines [Fri, 12 Mar 2021 19:09:03 +0000 (14:09 -0500)]
Trying to fix API tests.
Dessalines [Fri, 12 Mar 2021 15:54:47 +0000 (10:54 -0500)]
Change joinuser, sendusermessage to use local_user_id
dessalines [Fri, 12 Mar 2021 15:16:49 +0000 (15:16 +0000)]
Merge pull request 'Add memory limit for pictrs' (#186) from nutomic-patch-1 into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/186
Dessalines [Fri, 12 Mar 2021 15:13:20 +0000 (10:13 -0500)]
Upgrading pictrs.
Dessalines [Thu, 11 Mar 2021 22:47:44 +0000 (17:47 -0500)]
2nd pass. JWT now uses local_user_id
Dessalines [Thu, 11 Mar 2021 17:08:30 +0000 (12:08 -0500)]
fixing tests 3
Dessalines [Thu, 11 Mar 2021 16:54:03 +0000 (11:54 -0500)]
Fixing some tests 2
Dessalines [Thu, 11 Mar 2021 16:41:04 +0000 (11:41 -0500)]
Fixing some tests
Dessalines [Thu, 11 Mar 2021 04:43:11 +0000 (23:43 -0500)]
A first pass.
Dessalines [Wed, 10 Mar 2021 22:33:55 +0000 (17:33 -0500)]
~80% done
nutomic [Wed, 10 Mar 2021 18:38:00 +0000 (18:38 +0000)]
Add memory limit for pictrs
Nutomic [Mon, 8 Mar 2021 15:41:17 +0000 (15:41 +0000)]
Merge pull request #1485 from PatMulligan/fix-docker-compose-yaml
revert Compose file version from 3.3 to 2.2
Patrick Mulligan [Mon, 8 Mar 2021 15:23:50 +0000 (09:23 -0600)]
revert Compose file version from 3.3 to 2.2
Dessalines [Fri, 5 Mar 2021 03:41:08 +0000 (22:41 -0500)]
Adding more mem limits
Avery Pierce [Thu, 4 Mar 2021 14:58:03 +0000 (08:58 -0600)]
bump memory limit of iframely
Nutomic [Thu, 4 Mar 2021 12:18:30 +0000 (12:18 +0000)]
Merge pull request #1478 from LemmyNet/fix_wrong_urls
Fixing wrong user_ and community icon and banner urls.
Nutomic [Thu, 4 Mar 2021 12:14:25 +0000 (12:14 +0000)]
Merge pull request #1479 from LemmyNet/fix_extra_categories
Remove extra category_id s . Fixes #1429
Dessalines [Thu, 4 Mar 2021 04:44:07 +0000 (23:44 -0500)]
Remove extra category_id s . Fixes #1429
Dessalines [Thu, 4 Mar 2021 04:40:00 +0000 (23:40 -0500)]
Fixing wrong user_ and community icon and banner urls.
- Fixes #1477
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:49:58 +0000 (08:49 -0500)]
Still continuing on....
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 19:04:12 +0000 (14:04 -0500)]
Done with user->person migrations, now to code.
Dessalines [Thu, 25 Feb 2021 17:34:00 +0000 (12:34 -0500)]
Merge branch 'main' into split_user_table
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 [Mon, 15 Feb 2021 19:34:10 +0000 (14:34 -0500)]
Adding a few more tables.
Dessalines [Sun, 14 Feb 2021 18:46:16 +0000 (13:46 -0500)]
Starting on user_ to person migration.
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