]> Untitled Git - lemmy.git/log
lemmy.git
3 years agoMerge branch 'kartikynwa-webmanifest' into test
Dessalines [Sat, 29 Aug 2020 21:00:56 +0000 (17:00 -0400)]
Merge branch 'kartikynwa-webmanifest' into test

3 years agoMerge branch 'webmanifest' of https://github.com/kartikynwa/lemmy into kartikynwa...
Dessalines [Sat, 29 Aug 2020 21:00:43 +0000 (17:00 -0400)]
Merge branch 'webmanifest' of https://github.com/kartikynwa/lemmy into kartikynwa-webmanifest

3 years agoMerge branch 'add-service-worker' of https://github.com/eiknat/lemmy into eiknat...
Dessalines [Sat, 29 Aug 2020 14:36:58 +0000 (09:36 -0500)]
Merge branch 'add-service-worker' of https://github.com/eiknat/lemmy into eiknat-add-service-worker

3 years agoUpdating korean translation.
Dessalines [Sat, 29 Aug 2020 14:29:49 +0000 (09:29 -0500)]
Updating korean translation.

3 years agoAdd service worker
eiknat [Sat, 29 Aug 2020 03:47:15 +0000 (23:47 -0400)]
Add service worker

3 years agoBugfix: Adds case-insensitive SELECT queries to User_::find_by_username() (#1108)
Joshua Thomas [Sat, 29 Aug 2020 00:49:31 +0000 (20:49 -0400)]
Bugfix: Adds case-insensitive SELECT queries to User_::find_by_username() (#1108)

3 years agoVersion v0.7.55
Dessalines [Thu, 27 Aug 2020 14:38:29 +0000 (10:38 -0400)]
Version v0.7.55

3 years agoTranslated using Weblate (Spanish)
Sergio Varela [Sat, 22 Aug 2020 17:16:49 +0000 (17:16 +0000)]
Translated using Weblate (Spanish)

Currently translated at 98.4% (262 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/es/

Translated using Weblate (Spanish)

Currently translated at 96.2% (256 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/es/

3 years agoTranslated using Weblate (Greek)
Panos Alevropoulos [Sat, 22 Aug 2020 17:16:49 +0000 (17:16 +0000)]
Translated using Weblate (Greek)

Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/el/

3 years agoAdding korean language template.
Dessalines [Thu, 27 Aug 2020 14:34:53 +0000 (10:34 -0400)]
Adding korean language template.

3 years agoFixing broken websocket sends. Removing WebSocketInfo (#1098)
Dessalines [Mon, 24 Aug 2020 11:58:24 +0000 (07:58 -0400)]
Fixing broken websocket sends. Removing WebSocketInfo (#1098)

3 years agoSwitch front end to use lemmy-js-client. Fixes #1090 (#1097)
Dessalines [Thu, 20 Aug 2020 14:50:26 +0000 (10:50 -0400)]
Switch front end to use lemmy-js-client. Fixes #1090 (#1097)

* Switch front end to use lemmy-js-client. Fixes #1090

* Adding an HTTP client. Cleaning up Websocket client.

3 years agoAdding a few more apub tests. (#1096)
Dessalines [Thu, 20 Aug 2020 12:44:22 +0000 (08:44 -0400)]
Adding a few more apub tests. (#1096)

* Adding a few more apub tests.

* Fixing travis build, adding a get_post function.

3 years agoVersion v0.7.54
Dessalines [Tue, 18 Aug 2020 13:43:45 +0000 (09:43 -0400)]
Version v0.7.54

3 years agoImplement context (#86)
nutomic [Tue, 18 Aug 2020 13:43:50 +0000 (13:43 +0000)]
Implement context (#86)

Implement context

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

3 years agoMerge branch 'fix-federation-enabled-option' into main
Dessalines [Tue, 18 Aug 2020 13:35:27 +0000 (09:35 -0400)]
Merge branch 'fix-federation-enabled-option' into main

3 years agoDont send out any activities if federation is disabled (fixes #1095)
Felix Ableitner [Tue, 18 Aug 2020 13:12:03 +0000 (15:12 +0200)]
Dont send out any activities if federation is disabled (fixes #1095)

3 years agoVersion v0.7.53
Dessalines [Mon, 17 Aug 2020 20:53:50 +0000 (16:53 -0400)]
Version v0.7.53

3 years agoFixing some formatting.
Dessalines [Mon, 17 Aug 2020 20:52:01 +0000 (16:52 -0400)]
Fixing some formatting.

3 years agoMerge remote-tracking branch 'yerba/main' into main
Dessalines [Mon, 17 Aug 2020 20:50:21 +0000 (16:50 -0400)]
Merge remote-tracking branch 'yerba/main' into main

3 years agoRemove tests for unimplemented Crud::delete functions (#87)
nutomic [Mon, 17 Aug 2020 20:50:44 +0000 (20:50 +0000)]
Remove tests for unimplemented Crud::delete functions (#87)

Remove tests for unimplemented Crud::delete functions

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

3 years agoAdded option to remove banned user data (posts, comments, communities) (#1093)
Dessalines [Mon, 17 Aug 2020 18:12:36 +0000 (14:12 -0400)]
Added option to remove banned user data (posts, comments, communities) (#1093)

- Works for both a site-ban, and a community ban.
- Fixes #557

3 years agoVersion v0.7.52
Dessalines [Sun, 16 Aug 2020 15:31:09 +0000 (11:31 -0400)]
Version v0.7.52

3 years agoFix community_view clippy
Dessalines [Sun, 16 Aug 2020 15:27:50 +0000 (11:27 -0400)]
Fix community_view clippy

3 years agoEncode crosspost url. Fixes #1083 (#1088)
Dessalines [Sun, 16 Aug 2020 15:05:45 +0000 (11:05 -0400)]
Encode crosspost url. Fixes #1083 (#1088)

3 years agoAllow mods that aren't creators to leave the mod team. Fixes #786 (#1091)
Dessalines [Sun, 16 Aug 2020 15:05:32 +0000 (11:05 -0400)]
Allow mods that aren't creators to leave the mod team. Fixes #786 (#1091)

3 years agoFixing community search. Fixes #1084 (#1089)
Dessalines [Sun, 16 Aug 2020 15:05:21 +0000 (11:05 -0400)]
Fixing community search. Fixes #1084 (#1089)

3 years agoVersion v0.7.50
Dessalines [Fri, 14 Aug 2020 20:00:27 +0000 (16:00 -0400)]
Version v0.7.50

3 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Fri, 14 Aug 2020 20:00:26 +0000 (16:00 -0400)]
Merge remote-tracking branch 'weblate/main' into main

3 years agoFix crash in federation tests
Felix Ableitner [Fri, 14 Aug 2020 14:50:21 +0000 (16:50 +0200)]
Fix crash in federation tests

3 years agoMerge remote-tracking branch 'yerba/main' into main
Dessalines [Thu, 13 Aug 2020 20:26:28 +0000 (16:26 -0400)]
Merge remote-tracking branch 'yerba/main' into main

3 years agoImplement instance blocklist (#85)
nutomic [Thu, 13 Aug 2020 20:26:49 +0000 (20:26 +0000)]
Implement instance blocklist (#85)

Implement instance blocklist

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

3 years agoTranslated using Weblate (Basque)
Txopi [Thu, 13 Aug 2020 16:08:10 +0000 (16:08 +0000)]
Translated using Weblate (Basque)

Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/eu/

3 years agoAdd a fix for double posts / comments. #1080 (#1081)
Dessalines [Thu, 13 Aug 2020 15:48:10 +0000 (11:48 -0400)]
Add a fix for double posts / comments. #1080 (#1081)

* Add a fix for double posts / comments. #1080

* Adding a comment.

* Moving upserts to lemmy_db.

3 years agoRemoving some unecessary unwrap. Fixes #639 (#1078)
Dessalines [Thu, 13 Aug 2020 15:46:31 +0000 (11:46 -0400)]
Removing some unecessary unwrap. Fixes #639 (#1078)

* Removing some unecessary unwrap. Fixes #639

* Changing some location_infos.

Co-authored-by: Felix Ableitner <me@nutomic.com>
3 years agoNew post notifs. Fixes #1073 (#1079)
Dessalines [Thu, 13 Aug 2020 14:42:52 +0000 (10:42 -0400)]
New post notifs. Fixes #1073 (#1079)

* New post notifs. Fixes #1073

* Some refactoring of browser notifs

3 years agoLimit number of items read from community outbox (#84)
nutomic [Thu, 13 Aug 2020 13:20:35 +0000 (13:20 +0000)]
Limit number of items read from community outbox (#84)

Limit number of items read from community outbox

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

3 years agoMerge pull request #1075 from LemmyNet/fix_online_counts
Felix Ableitner [Thu, 13 Aug 2020 11:41:45 +0000 (11:41 +0000)]
Merge pull request #1075 from LemmyNet/fix_online_counts

Fixing online counts. Fixes #664

3 years agoFix formatting.
Dessalines [Wed, 12 Aug 2020 14:45:04 +0000 (10:45 -0400)]
Fix formatting.

3 years agoImplement undo<dislike> for activitypub (#83)
nutomic [Wed, 12 Aug 2020 14:43:45 +0000 (14:43 +0000)]
Implement undo<dislike> for activitypub (#83)

Merge branch 'main' into undo-dislike

Implement undo<dislike> for activitypub

Fix some TODOs in activitypub code

Add post_read back in, do some cleanup

Add some delete functions back in

Merge branch 'main' into remove-dead-code

Replace body of unused db functions with unimplemented!()

Remove dead code

Remove remaining usages of unwrap() from activitypub code

Remove most usage of Option::unwrap() from activitypub code

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

3 years agoMerge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Wed, 12 Aug 2020 12:35:02 +0000 (08:35 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main

3 years agoSome formatting of post.rs
Dessalines [Wed, 12 Aug 2020 12:31:05 +0000 (08:31 -0400)]
Some formatting of post.rs

3 years agoRemove dead code (#81)
nutomic [Wed, 12 Aug 2020 12:30:52 +0000 (12:30 +0000)]
Remove dead code (#81)

Add post_read back in, do some cleanup

Add some delete functions back in

Merge branch 'main' into remove-dead-code

Replace body of unused db functions with unimplemented!()

Remove dead code

Remove remaining usages of unwrap() from activitypub code

Remove most usage of Option::unwrap() from activitypub code

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

3 years agoRemoving unnecessary oper struct. Fixes #660 (#1077)
Dessalines [Wed, 12 Aug 2020 11:31:45 +0000 (07:31 -0400)]
Removing unnecessary oper struct. Fixes #660 (#1077)

3 years agoDon't allow preferred usernames to start with @. Fixes #1058 (#1076)
Dessalines [Wed, 12 Aug 2020 11:13:44 +0000 (07:13 -0400)]
Don't allow preferred usernames to start with @. Fixes #1058 (#1076)

* Don't allow preferred usernames to start with @. Fixes #1058

* Trim the preferred username.

3 years agoFixing online counts. Fixes #664
Dessalines [Tue, 11 Aug 2020 21:46:58 +0000 (17:46 -0400)]
Fixing online counts. Fixes #664

3 years agoVersion v0.7.49
Dessalines [Tue, 11 Aug 2020 14:58:40 +0000 (10:58 -0400)]
Version v0.7.49

3 years agoAdd a simple linked instances page. Fixes #1070 (#1071)
Dessalines [Tue, 11 Aug 2020 14:58:32 +0000 (10:58 -0400)]
Add a simple linked instances page. Fixes #1070 (#1071)

* Add a simple linked instances page. Fixes #1070

* Changing allowed_instances to federated_instances.

3 years agoRemove usage of Option::unwrap() in activitypub code (#80)
nutomic [Tue, 11 Aug 2020 14:31:05 +0000 (14:31 +0000)]
Remove usage of Option::unwrap() in activitypub code (#80)

Remove remaining usages of unwrap() from activitypub code

Remove most usage of Option::unwrap() from activitypub code

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

3 years agoIn federation test setup, run yarn build by default
Felix Ableitner [Tue, 11 Aug 2020 12:12:05 +0000 (14:12 +0200)]
In federation test setup, run yarn build by default

3 years agoUpdating sponsor list.
Dessalines [Tue, 11 Aug 2020 00:09:30 +0000 (20:09 -0400)]
Updating sponsor list.

3 years agoMerge pull request 'Disable rate limiting for pictrs' (#79) from pictrs-disable-rate...
dessalines [Mon, 10 Aug 2020 15:46:58 +0000 (15:46 +0000)]
Merge pull request 'Disable rate limiting for pictrs' (#79) from pictrs-disable-rate-limiting into main

Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/79

3 years agoVersion v0.7.48
Dessalines [Mon, 10 Aug 2020 15:41:18 +0000 (11:41 -0400)]
Version v0.7.48

3 years agoDisable rate limiting for pictrs
Felix Ableitner [Fri, 7 Aug 2020 14:24:26 +0000 (16:24 +0200)]
Disable rate limiting for pictrs

3 years agoCommunity post count fix (#1062)
ernestwisniewski [Sun, 9 Aug 2020 18:50:27 +0000 (20:50 +0200)]
Community post count fix (#1062)

* User details ui fix

* User details ui fix

* Lang bio, merge

* Community count posts bug #1060

3 years agoAdd email overwrite on user settings save. Fixes #1069
Dessalines [Sun, 9 Aug 2020 02:36:29 +0000 (22:36 -0400)]
Add email overwrite on user settings save. Fixes #1069

- Also add get_user_secure to other locations.

3 years agoMerge branch 'feature/add-user-secure' of https://github.com/eiknat/lemmy into eiknat...
Dessalines [Sun, 9 Aug 2020 01:40:47 +0000 (21:40 -0400)]
Merge branch 'feature/add-user-secure' of https://github.com/eiknat/lemmy into eiknat-feature/add-user-secure

3 years agoVersion v0.7.47
Dessalines [Sat, 8 Aug 2020 03:22:35 +0000 (23:22 -0400)]
Version v0.7.47

3 years agoMerge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Sat, 8 Aug 2020 03:21:30 +0000 (23:21 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main

3 years agoVersion v0.7.46
Dessalines [Sat, 8 Aug 2020 03:21:05 +0000 (23:21 -0400)]
Version v0.7.46

3 years agoMerge branch 'front_end_prettying' into main
Dessalines [Sat, 8 Aug 2020 03:20:02 +0000 (23:20 -0400)]
Merge branch 'front_end_prettying' into main

3 years agoSome UI fixes.
Dessalines [Sat, 8 Aug 2020 03:17:37 +0000 (23:17 -0400)]
Some UI fixes.

3 years agouser_view: add fn to return sanitized fields
eiknat [Sat, 8 Aug 2020 02:43:33 +0000 (22:43 -0400)]
user_view: add fn to return sanitized fields

3 years agoRemove options for appoint as admin / mod, and transfer site for (#1065)
Dessalines [Fri, 7 Aug 2020 17:50:07 +0000 (13:50 -0400)]
Remove options for appoint as admin / mod, and transfer site for (#1065)

non-federated users. #647

3 years agoVersion v0.7.44
Dessalines [Fri, 7 Aug 2020 17:23:35 +0000 (13:23 -0400)]
Version v0.7.44

3 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Fri, 7 Aug 2020 17:23:34 +0000 (13:23 -0400)]
Merge remote-tracking branch 'weblate/main' into main

3 years agoRemoving community and user favicon setting.
Dessalines [Fri, 7 Aug 2020 17:22:03 +0000 (13:22 -0400)]
Removing community and user favicon setting.

3 years agoMerge pull request #1064 from LemmyNet/apub_security_checks
Dessalines [Fri, 7 Aug 2020 15:33:58 +0000 (11:33 -0400)]
Merge pull request #1064 from LemmyNet/apub_security_checks

Apub security checks

3 years agoAdding tests for admin remove for posts and comments on different
Dessalines [Fri, 7 Aug 2020 14:51:53 +0000 (10:51 -0400)]
Adding tests for admin remove for posts and comments on different
instances.

3 years agoMerge branch 'federation-authorisation' into apub_security_checks
Dessalines [Fri, 7 Aug 2020 14:30:57 +0000 (10:30 -0400)]
Merge branch 'federation-authorisation' into apub_security_checks

3 years agoMerge branch 'main' into federation-authorisation
Felix Ableitner [Fri, 7 Aug 2020 13:19:08 +0000 (15:19 +0200)]
Merge branch 'main' into federation-authorisation

3 years agoSome apub fixes
Felix Ableitner [Fri, 7 Aug 2020 13:15:44 +0000 (15:15 +0200)]
Some apub fixes

3 years agoTranslated using Weblate (Russian)
Serge Tarkovski [Fri, 7 Aug 2020 01:45:59 +0000 (01:45 +0000)]
Translated using Weblate (Russian)

Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ru/

3 years agoVersion v0.7.43
Dessalines [Fri, 7 Aug 2020 01:22:15 +0000 (21:22 -0400)]
Version v0.7.43

3 years agoMerge branch 'front_end_prettying' into main
Dessalines [Fri, 7 Aug 2020 01:19:39 +0000 (21:19 -0400)]
Merge branch 'front_end_prettying' into main

3 years agoFixed mobile expanding.
Dessalines [Fri, 7 Aug 2020 01:19:09 +0000 (21:19 -0400)]
Fixed mobile expanding.

3 years agoVersion v0.7.42
Dessalines [Thu, 6 Aug 2020 21:37:08 +0000 (17:37 -0400)]
Version v0.7.42

3 years agoA better mobile view, upgrading darkly theme.
Dessalines [Thu, 6 Aug 2020 21:34:45 +0000 (17:34 -0400)]
A better mobile view, upgrading darkly theme.

3 years agoVarious adjustments after review
Felix Ableitner [Thu, 6 Aug 2020 19:44:47 +0000 (21:44 +0200)]
Various adjustments after review

3 years agoStart adding apub security checks.
Dessalines [Thu, 6 Aug 2020 18:30:01 +0000 (14:30 -0400)]
Start adding apub security checks.

3 years agoAdd security checks and slur checks for activitypub inbox
Felix Ableitner [Thu, 6 Aug 2020 12:53:58 +0000 (14:53 +0200)]
Add security checks and slur checks for activitypub inbox

3 years agoRemove double display name.
Dessalines [Wed, 5 Aug 2020 21:24:53 +0000 (17:24 -0400)]
Remove double display name.

3 years agoVersion v0.7.41
Dessalines [Wed, 5 Aug 2020 17:55:14 +0000 (13:55 -0400)]
Version v0.7.41

3 years agoRemove allowed thumbnail sizes for now.
Dessalines [Wed, 5 Aug 2020 17:53:59 +0000 (13:53 -0400)]
Remove allowed thumbnail sizes for now.

3 years agoVersion v0.7.40
Dessalines [Wed, 5 Aug 2020 16:41:40 +0000 (12:41 -0400)]
Version v0.7.40

3 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Wed, 5 Aug 2020 16:41:39 +0000 (12:41 -0400)]
Merge remote-tracking branch 'weblate/main' into main

3 years agoAdding release notes.
Dessalines [Wed, 5 Aug 2020 16:39:47 +0000 (12:39 -0400)]
Adding release notes.

3 years agoPreferred usernames, banners and icons. (#1055)
Dessalines [Wed, 5 Aug 2020 16:03:46 +0000 (12:03 -0400)]
Preferred usernames, banners and icons. (#1055)

* Re-organizing federation tests. #746 #1040

* Adding federation support for user bios. Fixes #992

* Adding icons, banners, and preferred usernames.

- Added optional community icons, and community banners.
- Added user banners.
- Added Site icon and banner, with custom favicon.
- Set up preferred usernames. Fixes #1017
- Added an additional post sort: Active
  - Hot rank now uses the published time.
  - Active uses the most recent comment time, and is default.
- DB Migration was required to add all these fields to the views.
- Added transfercommunity helper function.
- Removed title column from communities page.
- Abstracted an image-upload-form.tsx, and a banner-icon-header.tsx
- Fixes #899

* Some navbar fixes.

* Fixing css

* Some fixes.

- Showing correct user icon and banner after save without page reload.
- Abstracting diesel update overwrite.
- Adding some docs.

* Adding @ when a user doesn't have a preferred username.

3 years agoProxy pictrs requests through Lemmy (fixes #371) (#77)
nutomic [Wed, 5 Aug 2020 16:00:00 +0000 (16:00 +0000)]
Proxy pictrs requests through Lemmy (fixes #371) (#77)

fix check_only value for image rate limit

Fix image rate limit

Add rate limit for image uploads

Proxy pictrs requests through Lemmy (fixes #371)

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

3 years agoInstance shouldnt send Announce activities to itself
Felix Ableitner [Wed, 5 Aug 2020 15:41:35 +0000 (17:41 +0200)]
Instance shouldnt send Announce activities to itself

3 years agoTranslated using Weblate (Italian)
riccardo [Wed, 5 Aug 2020 14:12:53 +0000 (14:12 +0000)]
Translated using Weblate (Italian)

Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (266 of 266 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/it/

3 years agoVerify ID of received apub objects against domain allowlist etc
Felix Ableitner [Wed, 5 Aug 2020 12:18:08 +0000 (14:18 +0200)]
Verify ID of received apub objects against domain allowlist etc

3 years agoAdding pointer unselectable to display names.
Dessalines [Tue, 4 Aug 2020 21:35:57 +0000 (17:35 -0400)]
Adding pointer unselectable to display names.

3 years agoClarify community creation form (#1056)
alisapa [Tue, 4 Aug 2020 21:35:48 +0000 (23:35 +0200)]
Clarify community creation form (#1056)

* Clarify community creation form

* Did requested changes

* Removed div, corrected translation file

* Delete en.ts

3 years agoAdd bio federation. (#1052)
Dessalines [Tue, 4 Aug 2020 15:06:27 +0000 (11:06 -0400)]
Add bio federation. (#1052)

* Re-organizing federation tests. #746 #1040

* Adding federation support for user bios. Fixes #992

3 years agoMerge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Tue, 4 Aug 2020 14:57:41 +0000 (10:57 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main

3 years agoRe-organizing federation tests. #746 #1040 (#1047)
Dessalines [Tue, 4 Aug 2020 14:57:37 +0000 (10:57 -0400)]
Re-organizing federation tests. #746 #1040 (#1047)

* Re-organizing federation tests. #746 #1040

* Add more checks in inbox, plus some refactoring (#76)

Merge branch 'main' into more-inbox-permissions

Move check_community_ban() into helper function

Move slur check into helper functions

Move Claims::decode and site ban check into helper function

Note: this changes behaviour in that site ban is checked in more
places now. we could easily add a boolean parameter
check_for_site_ban to get the previous behaviour back

Rewrite user_inbox and community_inbox in the same way as shared_inbox

Add check against instance allowlist etc in shared_inbox

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/76

* Adding verbose to test results.

Co-authored-by: nutomic <nutomic@noreply.yerbamate.dev>
Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
3 years agoMerge remote-tracking branch 'yerba/main' into main
Dessalines [Tue, 4 Aug 2020 14:39:48 +0000 (10:39 -0400)]
Merge remote-tracking branch 'yerba/main' into main

3 years agoAdd more checks in inbox, plus some refactoring (#76)
nutomic [Tue, 4 Aug 2020 14:39:55 +0000 (14:39 +0000)]
Add more checks in inbox, plus some refactoring (#76)

Merge branch 'main' into more-inbox-permissions

Move check_community_ban() into helper function

Move slur check into helper functions

Move Claims::decode and site ban check into helper function

Note: this changes behaviour in that site ban is checked in more
places now. we could easily add a boolean parameter
check_for_site_ban to get the previous behaviour back

Rewrite user_inbox and community_inbox in the same way as shared_inbox

Add check against instance allowlist etc in shared_inbox

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/76

3 years agoUpdate deps (#1049)
Dessalines [Mon, 3 Aug 2020 10:38:36 +0000 (06:38 -0400)]
Update deps (#1049)