Dessalines [Fri, 27 Nov 2020 21:00:15 +0000 (16:00 -0500)]
Merge remote-tracking branch 'yerba/main' into main
nutomic [Fri, 27 Nov 2020 21:00:18 +0000 (21:00 +0000)]
Better account deletion (fixes #730) (#143)
Also clear bio
Better account deletion (fixes #730)
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/143
Dessalines [Fri, 27 Nov 2020 20:58:22 +0000 (15:58 -0500)]
Merge remote-tracking branch 'yerba/main' into main
dessalines [Fri, 27 Nov 2020 20:28:52 +0000 (20:28 +0000)]
Merge pull request 'Set valid context for our extra fields (ref #1220)' (#142) from apub-context into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/142
Dessalines [Thu, 26 Nov 2020 17:26:31 +0000 (12:26 -0500)]
Adding a local RSS feed. Fixes #1279 (#1280)
* Adding a local RSS feed. Fixes #1279
* Shorten get_local_feed and get_all_feed functions
* Making the enum params the same.
Co-authored-by: Felix Ableitner <me@nutomic.com>
Dessalines [Thu, 26 Nov 2020 16:47:01 +0000 (11:47 -0500)]
Change references of dev.lemmy.ml to lemmy.ml (#1281)
* Change references of dev.lemmy.ml to lemmy.ml
* Remove the dev.lemmy.ml refs in RELEASES.md
Felix Ableitner [Thu, 26 Nov 2020 12:31:25 +0000 (13:31 +0100)]
Merge branch 'eiknat-feature/add-reporting-backend' into main
Felix Ableitner [Thu, 26 Nov 2020 12:28:58 +0000 (13:28 +0100)]
Minor cleanup on reports PR
Felix Ableitner [Wed, 25 Nov 2020 13:07:04 +0000 (14:07 +0100)]
Make changes on `content` field backwards compatible
Dessalines [Mon, 23 Nov 2020 15:59:06 +0000 (10:59 -0500)]
Trying out cargo chef and a travis docker image cache. (#1238)
* Trying out cargo chef and a travis docker image cache.
* trying to change internal target.
* Use latest cargo-chef with --target
* Remove caching for now.
* Adding back in chowns
* Adding back in cache.
* Remove travis caching.
* Switching dev dockerfile to match prod, using cargo-chef and alpine.
* Make travis happy
* Trying a chown rust.
* Caching cargo-chef first.
* Moving the chowns
* Removing many copy commands.
* Go back to rust 1.47.0 due to config-rs breaking.
* Adding the old volume mount version.
* Adding some script comments.
Co-authored-by: Luca Palmieri <lpalmieri@truelayer.com>
Felix Ableitner [Tue, 24 Nov 2020 17:53:43 +0000 (18:53 +0100)]
Populate `content` with HTML, and `source` with markdown (ref #1220)
Felix Ableitner [Mon, 23 Nov 2020 17:48:20 +0000 (18:48 +0100)]
Remove clap dependency
Felix Ableitner [Fri, 20 Nov 2020 14:11:47 +0000 (15:11 +0100)]
Generate valid RSS feed (fixes #1274)
Felix Ableitner [Thu, 19 Nov 2020 12:50:43 +0000 (13:50 +0100)]
Add TODO about populating user outbox
Dessalines [Wed, 18 Nov 2020 22:18:53 +0000 (16:18 -0600)]
Version v0.8.7
Dessalines [Wed, 18 Nov 2020 19:12:24 +0000 (13:12 -0600)]
Version v0.8.6
Felix Ableitner [Wed, 18 Nov 2020 16:04:35 +0000 (17:04 +0100)]
Create empty outbox for user (ref #1220)
Dessalines [Tue, 17 Nov 2020 21:11:58 +0000 (15:11 -0600)]
Version v0.8.5
Felix Ableitner [Tue, 17 Nov 2020 17:05:25 +0000 (18:05 +0100)]
For community_name API parameters, only search locally (fixes #1271)
Felix Ableitner [Mon, 16 Nov 2020 20:41:47 +0000 (21:41 +0100)]
Dont handle activities twice in inbox
Felix Ableitner [Mon, 16 Nov 2020 15:44:04 +0000 (16:44 +0100)]
Reduce visibility of some structs and methods (replaces #1266)
Dessalines [Thu, 12 Nov 2020 17:54:31 +0000 (11:54 -0600)]
Version v0.8.4
Felix Ableitner [Wed, 11 Nov 2020 16:40:45 +0000 (17:40 +0100)]
Add user_inbox check that activities are really addressed to local users
dessalines [Wed, 25 Nov 2020 19:54:52 +0000 (19:54 +0000)]
Merge pull request 'Populate `content` with HTML, and `source` with markdown (ref #1220)' (#141) from apub-media-type2 into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/141
Felix Ableitner [Wed, 25 Nov 2020 17:44:49 +0000 (18:44 +0100)]
Set valid context for our extra fields (ref #1220)
Felix Ableitner [Wed, 25 Nov 2020 13:07:04 +0000 (14:07 +0100)]
Make changes on `content` field backwards compatible
Felix Ableitner [Wed, 25 Nov 2020 12:15:29 +0000 (13:15 +0100)]
Merge branch 'main' into apub-media-type2
Felix Ableitner [Tue, 24 Nov 2020 17:53:43 +0000 (18:53 +0100)]
Populate `content` with HTML, and `source` with markdown (ref #1220)
dessalines [Mon, 23 Nov 2020 18:01:39 +0000 (18:01 +0000)]
Merge pull request 'Remove clap dependency' (#139) from remove-clap2 into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/139
Felix Ableitner [Mon, 23 Nov 2020 17:48:20 +0000 (18:48 +0100)]
Remove clap dependency
Dessalines [Mon, 23 Nov 2020 15:59:06 +0000 (10:59 -0500)]
Trying out cargo chef and a travis docker image cache. (#1238)
* Trying out cargo chef and a travis docker image cache.
* trying to change internal target.
* Use latest cargo-chef with --target
* Remove caching for now.
* Adding back in chowns
* Adding back in cache.
* Remove travis caching.
* Switching dev dockerfile to match prod, using cargo-chef and alpine.
* Make travis happy
* Trying a chown rust.
* Caching cargo-chef first.
* Moving the chowns
* Removing many copy commands.
* Go back to rust 1.47.0 due to config-rs breaking.
* Adding the old volume mount version.
* Adding some script comments.
Co-authored-by: Luca Palmieri <lpalmieri@truelayer.com>
dessalines [Fri, 20 Nov 2020 18:55:11 +0000 (18:55 +0000)]
Merge pull request 'Generate valid RSS feed (fixes #1274)' (#136) from valid-rss into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/136
Felix Ableitner [Fri, 20 Nov 2020 14:11:47 +0000 (15:11 +0100)]
Generate valid RSS feed (fixes #1274)
Felix Ableitner [Thu, 19 Nov 2020 12:50:43 +0000 (13:50 +0100)]
Add TODO about populating user outbox
Dessalines [Wed, 18 Nov 2020 22:18:53 +0000 (16:18 -0600)]
Version v0.8.7
Dessalines [Wed, 18 Nov 2020 19:12:24 +0000 (13:12 -0600)]
Version v0.8.6
Dessalines [Wed, 18 Nov 2020 19:12:08 +0000 (13:12 -0600)]
Merge remote-tracking branch 'yerba/main' into main
dessalines [Wed, 18 Nov 2020 19:13:32 +0000 (19:13 +0000)]
Merge pull request 'Create empty outbox for user (ref #1220)' (#135) from user-outbox into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/135
Felix Ableitner [Wed, 18 Nov 2020 16:04:35 +0000 (17:04 +0100)]
Create empty outbox for user (ref #1220)
Dessalines [Tue, 17 Nov 2020 21:11:58 +0000 (15:11 -0600)]
Version v0.8.5
dessalines [Tue, 17 Nov 2020 21:07:00 +0000 (21:07 +0000)]
Merge pull request 'For community_name API parameters, only search locally (fixes #1271)' (#134) from community-name-local into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/134
Felix Ableitner [Tue, 17 Nov 2020 17:05:25 +0000 (18:05 +0100)]
For community_name API parameters, only search locally (fixes #1271)
dessalines [Tue, 17 Nov 2020 15:43:11 +0000 (15:43 +0000)]
Merge pull request 'Dont handle activities twice in inbox' (#133) from inbox-deduplicate-handling into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/133
Felix Ableitner [Mon, 16 Nov 2020 20:41:47 +0000 (21:41 +0100)]
Dont handle activities twice in inbox
dessalines [Mon, 16 Nov 2020 16:36:30 +0000 (16:36 +0000)]
Merge pull request 'Reduce visibility of some structs and methods (replaces #1266)' (#132) from reduce-visibility into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/132
Felix Ableitner [Mon, 16 Nov 2020 15:44:04 +0000 (16:44 +0100)]
Reduce visibility of some structs and methods (replaces #1266)
Dessalines [Thu, 12 Nov 2020 17:54:31 +0000 (11:54 -0600)]
Version v0.8.4
nutomic [Thu, 12 Nov 2020 12:50:00 +0000 (12:50 +0000)]
Merge pull request 'Add user_inbox check that activities are really addressed to local users' (#131) from user-inbox-check into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/131
eiknat [Wed, 11 Nov 2020 20:41:40 +0000 (15:41 -0500)]
add doc
eiknat [Wed, 4 Nov 2020 02:15:11 +0000 (21:15 -0500)]
update/fix migration, add some doc
also run cargo fmt/clippy
eiknat [Tue, 3 Nov 2020 03:06:20 +0000 (22:06 -0500)]
add more details to the report views
eiknat [Tue, 27 Oct 2020 00:25:18 +0000 (20:25 -0400)]
add mod room websocket impl
eiknat [Sun, 25 Oct 2020 03:24:50 +0000 (23:24 -0400)]
add current context for reports
eiknat [Sun, 25 Oct 2020 02:59:13 +0000 (22:59 -0400)]
reports: split post/comment out again, add some other fixes
eiknat [Wed, 21 Oct 2020 01:37:37 +0000 (21:37 -0400)]
db: fix a few comments i missed
eiknat [Wed, 21 Oct 2020 00:31:01 +0000 (20:31 -0400)]
reports: update db tables, combine api impl
eiknat [Tue, 13 Oct 2020 23:32:35 +0000 (19:32 -0400)]
reports: initial reports api commit
Dessalines [Wed, 11 Nov 2020 19:18:42 +0000 (13:18 -0600)]
Merge remote-tracking branch 'yerba/main' into main
dessalines [Wed, 11 Nov 2020 19:18:27 +0000 (19:18 +0000)]
Merge pull request 'Add pending status for federated follows' (#130) from pending-follow into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/130
Felix Ableitner [Wed, 11 Nov 2020 16:40:45 +0000 (17:40 +0100)]
Add user_inbox check that activities are really addressed to local users
Felix Ableitner [Tue, 10 Nov 2020 16:11:08 +0000 (17:11 +0100)]
Fix unit tests
Dessalines [Wed, 11 Nov 2020 13:57:33 +0000 (07:57 -0600)]
Version v0.8.3
Dessalines [Tue, 10 Nov 2020 18:39:01 +0000 (13:39 -0500)]
Merge pull request #1261 from LemmyNet/more-tests-2
Adding some more integration tests for locked posts and bans.
Dessalines [Tue, 10 Nov 2020 16:53:35 +0000 (10:53 -0600)]
Adding some more integration tests for locked posts and bans.
Felix Ableitner [Tue, 10 Nov 2020 15:45:10 +0000 (16:45 +0100)]
Add pending status for federated follows
dessalines [Tue, 10 Nov 2020 13:16:13 +0000 (13:16 +0000)]
Merge pull request 'Enforce post lock in federation inbox' (#129) from enforce-post-lock into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/129
dessalines [Tue, 10 Nov 2020 13:14:40 +0000 (13:14 +0000)]
Merge pull request 'Separate logic for user and community inbox' (#123) from rewrite-inbox into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/123
Felix Ableitner [Mon, 9 Nov 2020 18:18:23 +0000 (19:18 +0100)]
Fixed bug where comments with mentions were treated as private message
Felix Ableitner [Mon, 9 Nov 2020 16:06:54 +0000 (17:06 +0100)]
Enforce post lock in federation inbox
Felix Ableitner [Mon, 9 Nov 2020 14:29:36 +0000 (15:29 +0100)]
Enforce site and community bans for federated users
Felix Ableitner [Wed, 28 Oct 2020 16:14:18 +0000 (17:14 +0100)]
Separate logic for user and community inbox
more refactoring with tons of changes:
- inbox functions return LemmyError instead of HttpResponse
- announce is done directly in community inbox
- reorganized functions for handling inbox activities
- additional checks for private messages
- moved inbox handler functions for post, comment, vote into separete file
- ensure that posts, comments etc are addressed to public (ref #1220)
- probably more
Dessalines [Fri, 6 Nov 2020 13:06:50 +0000 (07:06 -0600)]
Version v0.8.2
nutomic [Fri, 6 Nov 2020 13:06:47 +0000 (13:06 +0000)]
In activity table, remove `user_id` and add `sensitive` (#127)
Forgot to add migrations
Add `sensitive` column to activities table, so PMs arent served over HTTP
Remove user_id column from actvity table
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/127
Dessalines [Fri, 6 Nov 2020 13:05:22 +0000 (07:05 -0600)]
Merge remote-tracking branch 'yerba/main' into main
nutomic [Thu, 5 Nov 2020 20:19:06 +0000 (20:19 +0000)]
Fix federation of community removal/deletion, added docs (#125)
Adding a federation test for community deletes / removes.
Add missing docs for community deletion/removal (fixes #1250)
Fix federation of community deletion/removal (fixes #1253)
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/125
Dessalines [Thu, 5 Nov 2020 20:17:35 +0000 (14:17 -0600)]
Merge remote-tracking branch 'yerba/main' into main
dessalines [Thu, 5 Nov 2020 19:14:49 +0000 (19:14 +0000)]
Merge pull request 'Dont send email notifications to banned users (fixes #1251)' (#126) from dont-email-banned-user into main
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/126
Felix Ableitner [Thu, 5 Nov 2020 15:13:01 +0000 (16:13 +0100)]
Also check for ban when sending private message notification
Dessalines [Thu, 5 Nov 2020 13:41:12 +0000 (08:41 -0500)]
Merge pull request #1252 from LemmyNet/yerbamate-change-tld
Change domain of yerbamate.dev to yerbamate.ml
Felix Ableitner [Thu, 5 Nov 2020 12:43:46 +0000 (13:43 +0100)]
Dont send email notifications to banned users (fixes #1251)
Felix Ableitner [Tue, 3 Nov 2020 21:50:59 +0000 (22:50 +0100)]
Change domain of yerbamate.dev to yerbamate.ml
Dessalines [Mon, 2 Nov 2020 18:12:21 +0000 (13:12 -0500)]
Upgrading pictrs to v0.2.5 (#1249)
Dessalines [Mon, 2 Nov 2020 03:45:03 +0000 (22:45 -0500)]
Merge pull request #1246 from knkski/pictrs-url-variable
Fix hardcoded pictrs URL reference
Dessalines [Mon, 2 Nov 2020 03:44:28 +0000 (22:44 -0500)]
Merge pull request #1247 from knkski/iframely-url-setting
Add iframely_url setting
Dessalines [Mon, 2 Nov 2020 03:26:36 +0000 (21:26 -0600)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Mon, 2 Nov 2020 03:26:00 +0000 (21:26 -0600)]
Changing docs formattin, running format.
Kenneth Koski [Mon, 2 Nov 2020 03:21:15 +0000 (21:21 -0600)]
Parameterize docs directory (#1245)
Adds `docs_dir` setting for configurable documentation location
Kenneth Koski [Sat, 31 Oct 2020 22:08:03 +0000 (17:08 -0500)]
Add iframely_url setting
Kenneth Koski [Sat, 31 Oct 2020 21:52:54 +0000 (16:52 -0500)]
Fix hardcoded pictrs URL reference
Reads the URL from Settings instead
Kenneth Koski [Sat, 31 Oct 2020 21:28:09 +0000 (16:28 -0500)]
Update configuration documentation
Kenneth Koski [Sat, 31 Oct 2020 21:25:15 +0000 (16:25 -0500)]
Parameterize config file location
Allows `config.hjson` to be located on a configurable path.
eiknat [Fri, 30 Oct 2020 22:19:47 +0000 (18:19 -0400)]
GetUserDetails doesnt return users own email (#1240)
* user: GetUserDetails doesnt return users own email
* user: rename get_user to get_user_dangerous, apply suggested changes
Dessalines [Fri, 30 Oct 2020 17:46:11 +0000 (12:46 -0500)]
Fixing missing community doc.
Dessalines [Fri, 30 Oct 2020 17:19:00 +0000 (13:19 -0400)]
Update cargo deps, upgrading lettre. #789 (#1234)
* Update cargo deps, upgrading lettre. #789
* Adding a comment
* Adding some better expect messages.
* Fixing lettre email.
Dessalines [Fri, 30 Oct 2020 15:28:53 +0000 (11:28 -0400)]
Merge pull request #1242 from ShadowJonathan/patch-1
Update about_features.md
Jonathan de Jong [Fri, 30 Oct 2020 08:46:30 +0000 (09:46 +0100)]
Update about_features.md
...in accordance with the readme.
dessalines [Tue, 27 Oct 2020 16:26:16 +0000 (16:26 +0000)]
Merge pull request 'Ignore incoming activities which have been received before, add `/activities` endpoint' (#118) from activity-checks into main
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/118
dessalines [Tue, 27 Oct 2020 16:15:20 +0000 (16:15 +0000)]
Merge pull request 'In comment create/update, include parent creator in cc (ref #698)' (#122) from comment-parent-cc into main
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/122
Felix Ableitner [Tue, 27 Oct 2020 13:53:22 +0000 (14:53 +0100)]
In comment create/update, include parent creator in cc (ref #698)
Dessalines [Tue, 27 Oct 2020 15:57:40 +0000 (10:57 -0500)]
Fixing cache dev dockerfile