Commit Graph

16 Commits (0a28ffb9c479dade491a1f2cc6da8b7922bda9de)

Author SHA1 Message Date
Dessalines 0a28ffb9c4 Private message delete and read extracted. 4 years ago
Dessalines 87202b4915 Fixing duplicate actor_id for community and user. Fixes #957 4 years ago
nutomic 77a2a5eb01 Update activitystreams library to latest version (#71)
Merge branch 'main' into more-upgrade-apub-3

Update activitystreams library to latest version

Remove remaining usages of old activitystreams library

Migrate community inbox and user inbox

Migrate private message

Migrate post

Migrate community activities

Migrate extensions to new activitystreams library

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/71
4 years ago
Felix Ableitner 2d4c41d2be Convert comments to new apub lib (including comment activities) 4 years ago
Dessalines 9f36fd50b4
GetSite fixes. Fixes #975 (#978) 4 years ago
Dessalines fc15276c10
Don't allow duplicate community names in API. #957 (#974) 4 years ago
ryexandra 29037b4995
Security/fix permission bugs (#966)
* secure the `EditPost` API endpoint

* Check user is moderator in BanFromCommunity

* secure the `EditComment` API endpoint

* pass orig `read` prob when not explicitly updating it.

* Block random users from adding mods.

* use cleaner logic from `EditPost`

* prevent editing a community by a mod from transfering ownership to them

* secure `read` action in `EditPrivateMessage`

* Add check in UserMention

* only let the indended recipient mark as read

* simplify booleans to satisfy clippy

* requested changes + cargo +nightly fmt

* fix to pass federation tests for deleting comments and posts

Co-authored-by: chiminh <chiminh.tutanota.com>
Co-authored-by: Hex Bear <buildadangtrain@protonmail.com>
4 years ago
Dessalines ac56b57faa Merge branch 'fix-migrate-apub-lib' 4 years ago
Dessalines ea0881f87e Using community-link instead. 4 years ago
Dessalines 1b7a4ac090 Merge branch 'add_post_title_to_comments_view' of https://github.com/makigi-io/makigi into makigi-io-add_post_title_to_comments_view 4 years ago
Felix Ableitner bb3e29e5c4 Make reads from activitypub objects immutable 4 years ago
Dessalines 7556f8615f
Adding a community_name option to GetPosts /post/list . Fixes #800 (#942) 4 years ago
Dessalines a7c1c472fe
Fixing admin and mod sort order. Fixes #939 (#941) 4 years ago
Ernest e06d9a620c Add post title to user comments inbox view, comment_view, user_mention_view 4 years ago
Ernest b037ff922c Add post title to comments view #948 4 years ago
nutomic 80aef61aed Split code into cargo workspaces (#67)
More fixes

- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml

Address review comments

- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL

Decouple utils and db

Split code into cargo workspaces

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
4 years ago