]>
Untitled Git - lemmy.git/log
Dessalines [Mon, 22 Mar 2021 14:29:10 +0000 (10:29 -0400)]
Merge branch 'main' into move_matrix_and_admin_to_person
Dessalines [Mon, 22 Mar 2021 14:28:00 +0000 (10:28 -0400)]
Moving admin to person table. Fixes #1515
Felix Ableitner [Mon, 22 Mar 2021 12:12:05 +0000 (13:12 +0100)]
Merge branch 'grishka_fix_ld_context'
Felix Ableitner [Mon, 22 Mar 2021 12:11:32 +0000 (13:11 +0100)]
Make previous commit compile
Felix Ableitner [Mon, 22 Mar 2021 12:08:07 +0000 (13:08 +0100)]
Merge branch 'fix_ld_context' of https://yerbamate.ml/grishka/lemmy into grishka_fix_ld_context
Nutomic [Mon, 22 Mar 2021 12:02:41 +0000 (12:02 +0000)]
Merge pull request #1509 from LemmyNet/fix_deploy_prod_script
Fixing docker deploy script. Fixes #1507
Grishka [Sun, 21 Mar 2021 01:03:53 +0000 (04:03 +0300)]
uh
Grishka [Sun, 21 Mar 2021 01:00:32 +0000 (04:00 +0300)]
Fix JSON-LD contexts
Dessalines [Sat, 20 Mar 2021 20:59:07 +0000 (16:59 -0400)]
Creating default DB forms. Fixes #1511
Dessalines [Sat, 20 Mar 2021 20:32:52 +0000 (16:32 -0400)]
Forgot to regenerate person_alias views
Dessalines [Sat, 20 Mar 2021 19:21:51 +0000 (15:21 -0400)]
Moving matrix_user_id to person table. #1438
Dessalines [Sat, 20 Mar 2021 18:49:07 +0000 (14:49 -0400)]
Fixing docker deploy script. Fixes #1507
Dessalines [Sat, 20 Mar 2021 15:55:11 +0000 (11:55 -0400)]
Reverting docker versions until deploy.sh fix.
Dessalines [Fri, 19 Mar 2021 15:46:46 +0000 (11:46 -0400)]
Version 0.10.0-rc.7
Nutomic [Fri, 19 Mar 2021 15:43:47 +0000 (15:43 +0000)]
Merge pull request #1500 from LemmyNet/jwt_revocation_dess
Jwt revocation dess
Dessalines [Fri, 19 Mar 2021 14:02:58 +0000 (10:02 -0400)]
A few suggestion fixes.
Nutomic [Fri, 19 Mar 2021 13:41:22 +0000 (13:41 +0000)]
Merge pull request #1499 from LemmyNet/strictly_type_db_ids
Strictly type db ids
Nutomic [Fri, 19 Mar 2021 13:20:23 +0000 (13:20 +0000)]
Merge pull request #1428 from LemmyNet/split_user_table
Split user table
Dessalines [Fri, 19 Mar 2021 04:31:49 +0000 (00:31 -0400)]
Merge branch 'Mart-Bogdan-1462-jwt-revocation-on-pwd-change' into jwt_revocation_dess
Dessalines [Fri, 19 Mar 2021 01:41:00 +0000 (21:41 -0400)]
Merge branch '1462-jwt-revocation-on-pwd-change' of https://github.com/Mart-Bogdan/lemmy into Mart-Bogdan-1462-jwt-revocation-on-pwd-change
Dessalines [Thu, 18 Mar 2021 23:37:54 +0000 (19:37 -0400)]
Merge branch 'split_user_table' into strictly_type_db_ids
Dessalines [Thu, 18 Mar 2021 23:36:48 +0000 (19:36 -0400)]
Merge branch 'main' into split_user_table
Nutomic [Thu, 18 Mar 2021 20:35:04 +0000 (20:35 +0000)]
Set CARGO_HOME for CI so deps arent redownloaded (#1497)
* Set CARGO_HOME for CI so deps arent redownloaded
* run find on x86
* fix path
* cleanup
* try again
* use mv
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.
Bogdan Mart [Sat, 13 Mar 2021 20:36:40 +0000 (22:36 +0200)]
more correct tests
Bogdan Mart [Sat, 13 Mar 2021 20:18:26 +0000 (22:18 +0200)]
fix timestamp condition #1462
Bogdan Mart [Sat, 13 Mar 2021 18:19:55 +0000 (20:19 +0200)]
Merge remote-tracking branch 'origin/main' into 1462-jwt-revocation-on-pwd-change
* origin/main:
revert Compose file version from 3.3 to 2.2
Adding more mem limits
bump memory limit of iframely
Remove extra category_id s . Fixes #1429
Fixing wrong user_ and community icon and banner urls.
Remove category from activitypub context
Adding a password length check to other API actions. (#1474)
Update test script
Use URL type in most outstanding struct fields (#1468)
Forbid usage of unwrap
Upgrade Rust version
Rewrite settings implementation. Fixes #1270 (#1433)
Rename `lemmy_structs` to `lemmy_api_structs`
# Conflicts:
# crates/db_schema/src/source/user.rs
Bogdan Mart [Sat, 13 Mar 2021 18:16:35 +0000 (20:16 +0200)]
User token revocation upon password change
Added DB column validator_time and chedking that is is less then token's "Issuead at time"
Wip on #1462
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