Commit Graph

3203 Commits (b7d1d91309cbf815f73a576bf236e5994057f1a4)
 

Author SHA1 Message Date
Dessalines b9f483bc27 Version 0.10.0-rc.5 3 years ago
Dessalines 8ee624a542 Some changes
- Changing claim name to local_user_id to facilitate logout.
- Changing AddAdmin back to using person_id
3 years ago
Felix Ableitner 621355b6ef Insert announced activities into DB for fetching (fixes #1494) 3 years ago
Nutomic 72b5e0cab5
Merge pull request #1491 from LemmyNet/upgrade_pictrs_3
Upgrading pictrs.
3 years ago
Bogdan Mart 74272ed754 more correct tests 3 years ago
Bogdan Mart 4426c3176d fix timestamp condition #1462 3 years ago
Bogdan Mart 7b0a09e84e 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
3 years ago
Bogdan Mart ab947f1f08 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
3 years ago
Dessalines 5998c83b2a Only sending private message if its a local user. 3 years ago
Dessalines 434fb53dd1 Trying to fix API tests. 3 years ago
Dessalines 75a95acf04 Change joinuser, sendusermessage to use local_user_id 3 years ago
Felix Ableitner de14636e10 Fix code to allow sticky/lock from remote moderators 3 years ago
dessalines 931a132161 Merge pull request 'Add memory limit for pictrs' (#186) from nutomic-patch-1 into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/186
3 years ago
Dessalines 0a7271a185 Upgrading pictrs. 3 years ago
Felix Ableitner de39d57592 WIP: check that modifications are made by same user, add docs 3 years ago
Dessalines 7c039340ed 2nd pass. JWT now uses local_user_id 3 years ago
Felix Ableitner b1ca85b910 Fix clippy warning 3 years ago
Felix Ableitner 50559de6d2 Add check so only mods can change stickied/locked state of posts 3 years ago
Dessalines 7d04f371a5 fixing tests 3 3 years ago
Dessalines 5d8ccbafe4 Fixing some tests 2 3 years ago
Felix Ableitner 803aad3b3e Add check so only author or mods can edit posts/comments 3 years ago
Dessalines 1a4c8c08ee Fixing some tests 3 years ago
Felix Ableitner a2698dea92 Allow for remote mods to remove posts/comments 3 years ago
Dessalines 9cb4dad4b4 A first pass. 3 years ago
Dessalines ddf4a667b1 ~80% done 3 years ago
nutomic fc74bfeb23 Add memory limit for pictrs 3 years ago
Felix Ableitner 3ffae1f5b8 Allow adding remote users as community mods (ref #1061) 3 years ago
Felix Ableitner dcf40db225 Update activitystreams to 0.7.0-alpha.11 3 years ago
Felix Ableitner 9172eff65a Implemented receiving activities to add/remove remote mods 3 years ago
Felix Ableitner 0c484e8c76 Move moderators collection to separate HTTP endpoint 3 years ago
Felix Ableitner beb8b9fe69 Use collection for moderators, instead of `attributedTo` (ref #1061) 3 years ago
Nutomic 8f6b8895f4
Merge pull request #1485 from PatMulligan/fix-docker-compose-yaml
revert Compose file version from 3.3 to 2.2
3 years ago
Patrick Mulligan a650312858 revert Compose file version from 3.3 to 2.2 3 years ago
Dessalines ff2c71a74a Adding more mem limits 3 years ago
Avery Pierce 126c6a23bb bump memory limit of iframely 3 years ago
Nutomic e0c61c1334
Merge pull request #1478 from LemmyNet/fix_wrong_urls
Fixing wrong user_ and community icon and banner urls.
3 years ago
Nutomic f7aa97d45e
Merge pull request #1479 from LemmyNet/fix_extra_categories
Remove extra category_id s . Fixes #1429
3 years ago
Dessalines a1c7584875 Remove extra category_id s . Fixes #1429 3 years ago
Dessalines 817b4ff08e Fixing wrong user_ and community icon and banner urls.
- Fixes #1477
3 years ago
Dessalines ca3c1269f5 Merge branch 'main' of https://github.com/lemmynet/lemmy 3 years ago
dessalines 0a52396706 Merge pull request 'Forbid usage of unwrap' (#179) from clippy-unwrap into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/179
3 years ago
dessalines 7c4969c92b Merge pull request 'Remove category from activitypub context' (#183) from context-remove-category into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/183
3 years ago
dessalines 45a94203f2 Merge pull request 'Update test script' (#182) from update-test-script into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/182
3 years ago
Felix Ableitner 7189328f80 Remove category from activitypub context 3 years ago
Dessalines 134fece36d
Adding a password length check to other API actions. (#1474)
* Adding a password length check to other API actions.

- Fixes #1473

* Fixing comment.
3 years ago
Felix Ableitner 985dbcaada Update test script 3 years ago
Andrew Yoon e78ba38e94
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
3 years ago
Felix Ableitner 7f56281c26 Forbid usage of unwrap 3 years ago
dessalines 45e05dac30 Merge pull request 'Upgrade Rust version' (#181) from upgrade-rust into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/181
3 years ago
Felix Ableitner 66946117e1 Upgrade Rust version 3 years ago