Dessalines [Tue, 1 Sep 2020 21:44:56 +0000 (16:44 -0500)]
Running cargo +nightly fmt.
Felix Ableitner [Tue, 1 Sep 2020 13:20:22 +0000 (15:20 +0200)]
Remove wildcard imports (in particular super::*)
Dessalines [Mon, 31 Aug 2020 18:39:01 +0000 (13:39 -0500)]
Updating dev docker-compose.
dessalines [Mon, 31 Aug 2020 16:50:43 +0000 (16:50 +0000)]
Merge pull request 'Simplify docker federation setup' (#92) from update-docker-federation into main
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/92
dessalines [Mon, 31 Aug 2020 16:43:16 +0000 (16:43 +0000)]
Merge pull request 'Refactor websocket to split it into multiple files' (#91) from refactor-websocket into main
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/91
Felix Ableitner [Mon, 31 Aug 2020 15:26:32 +0000 (17:26 +0200)]
Simplify docker federation setup
Felix Ableitner [Mon, 31 Aug 2020 15:20:13 +0000 (17:20 +0200)]
Refactor websocket to split it into multiple files
nutomic [Mon, 31 Aug 2020 13:48:02 +0000 (13:48 +0000)]
implement ActivitySender actor (#89)
Merge pull request 'Adding unique ap_ids. Fixes #1100' (#90) from unique_ap_ids into activity-sender
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/90
Adding back in on_conflict.
Trying to add back in the on_conflict_do_nothing.
Trying to reduce delay time.
Removing createFakes.
Removing some unit tests.
Adding comment jest timeout.
Fixing tests again.
Fixing tests again.
Merge branch 'activity-sender' into unique_ap_ids_2
Replace actix client with reqwest to speed up federation tests
Trying to fix tests again.
Fixing unit tests.
Fixing some broken unit tests, not done yet.
Adding uniques.
Adding unique ap_ids. Fixes #1100
use proper sql functionality for upsert
added logging
in fetcher, replace post/comment::create with upsert
no need to do an actual update in post/comment::upsert
Merge branch 'main' into activity-sender
implement upsert for user/community
reuse http client
got it working
attempt to use background-jobs crate
rewrite with proper error handling and less boilerplate
remove do_send, dont return errors from activity_sender
WIP: implement ActivitySender actor
Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/89
Dessalines [Sat, 29 Aug 2020 21:21:40 +0000 (17:21 -0400)]
Version v0.7.56
Dessalines [Sat, 29 Aug 2020 21:21:39 +0000 (17:21 -0400)]
Merge remote-tracking branch 'weblate/main' into main
Dessalines [Sat, 29 Aug 2020 21:00:56 +0000 (17:00 -0400)]
Merge branch 'kartikynwa-webmanifest' into test
Dessalines [Sat, 29 Aug 2020 21:00:43 +0000 (17:00 -0400)]
Merge branch 'webmanifest' of https://github.com/kartikynwa/lemmy into kartikynwa-webmanifest
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
Dessalines [Sat, 29 Aug 2020 14:29:49 +0000 (09:29 -0500)]
Updating korean translation.
Mostafa Ahangarha [Sat, 29 Aug 2020 08:42:08 +0000 (08:42 +0000)]
Translated using Weblate (Persian)
Currently translated at 54.9% (156 of 284 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/fa/
Lee KiWon [Sat, 29 Aug 2020 08:42:08 +0000 (08:42 +0000)]
Translated using Weblate (Korean)
Currently translated at 100.0% (284 of 284 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ko/
eiknat [Sat, 29 Aug 2020 03:47:15 +0000 (23:47 -0400)]
Add service worker
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)
Dessalines [Thu, 27 Aug 2020 14:38:29 +0000 (10:38 -0400)]
Version v0.7.55
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/
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/
Dessalines [Thu, 27 Aug 2020 14:34:53 +0000 (10:34 -0400)]
Adding korean language template.
Dessalines [Mon, 24 Aug 2020 11:58:24 +0000 (07:58 -0400)]
Fixing broken websocket sends. Removing WebSocketInfo (#1098)
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.
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.
Dessalines [Tue, 18 Aug 2020 13:43:45 +0000 (09:43 -0400)]
Version v0.7.54
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
Dessalines [Tue, 18 Aug 2020 13:35:27 +0000 (09:35 -0400)]
Merge branch 'fix-federation-enabled-option' into main
Felix Ableitner [Tue, 18 Aug 2020 13:12:03 +0000 (15:12 +0200)]
Dont send out any activities if federation is disabled (fixes #1095)
Dessalines [Mon, 17 Aug 2020 20:53:50 +0000 (16:53 -0400)]
Version v0.7.53
Dessalines [Mon, 17 Aug 2020 20:52:01 +0000 (16:52 -0400)]
Fixing some formatting.
Dessalines [Mon, 17 Aug 2020 20:50:21 +0000 (16:50 -0400)]
Merge remote-tracking branch 'yerba/main' into main
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
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
Dessalines [Sun, 16 Aug 2020 15:31:09 +0000 (11:31 -0400)]
Version v0.7.52
Dessalines [Sun, 16 Aug 2020 15:27:50 +0000 (11:27 -0400)]
Fix community_view clippy
Dessalines [Sun, 16 Aug 2020 15:05:45 +0000 (11:05 -0400)]
Encode crosspost url. Fixes #1083 (#1088)
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)
Dessalines [Sun, 16 Aug 2020 15:05:21 +0000 (11:05 -0400)]
Fixing community search. Fixes #1084 (#1089)
Dessalines [Fri, 14 Aug 2020 20:00:27 +0000 (16:00 -0400)]
Version v0.7.50
Dessalines [Fri, 14 Aug 2020 20:00:26 +0000 (16:00 -0400)]
Merge remote-tracking branch 'weblate/main' into main
Felix Ableitner [Fri, 14 Aug 2020 14:50:21 +0000 (16:50 +0200)]
Fix crash in federation tests
Dessalines [Thu, 13 Aug 2020 20:26:28 +0000 (16:26 -0400)]
Merge remote-tracking branch 'yerba/main' into main
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
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/
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.
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>
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
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
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
Dessalines [Wed, 12 Aug 2020 14:45:04 +0000 (10:45 -0400)]
Fix formatting.
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
Dessalines [Wed, 12 Aug 2020 12:35:02 +0000 (08:35 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Wed, 12 Aug 2020 12:31:05 +0000 (08:31 -0400)]
Some formatting of post.rs
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
Dessalines [Wed, 12 Aug 2020 11:31:45 +0000 (07:31 -0400)]
Removing unnecessary oper struct. Fixes #660 (#1077)
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.
Dessalines [Tue, 11 Aug 2020 21:46:58 +0000 (17:46 -0400)]
Fixing online counts. Fixes #664
Dessalines [Tue, 11 Aug 2020 14:58:40 +0000 (10:58 -0400)]
Version v0.7.49
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.
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
Felix Ableitner [Tue, 11 Aug 2020 12:12:05 +0000 (14:12 +0200)]
In federation test setup, run yarn build by default
Dessalines [Tue, 11 Aug 2020 00:09:30 +0000 (20:09 -0400)]
Updating sponsor list.
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
Dessalines [Mon, 10 Aug 2020 15:41:18 +0000 (11:41 -0400)]
Version v0.7.48
Felix Ableitner [Fri, 7 Aug 2020 14:24:26 +0000 (16:24 +0200)]
Disable rate limiting for pictrs
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
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.
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
Dessalines [Sat, 8 Aug 2020 03:22:35 +0000 (23:22 -0400)]
Version v0.7.47
Dessalines [Sat, 8 Aug 2020 03:21:30 +0000 (23:21 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Sat, 8 Aug 2020 03:21:05 +0000 (23:21 -0400)]
Version v0.7.46
Dessalines [Sat, 8 Aug 2020 03:20:02 +0000 (23:20 -0400)]
Merge branch 'front_end_prettying' into main
Dessalines [Sat, 8 Aug 2020 03:17:37 +0000 (23:17 -0400)]
Some UI fixes.
eiknat [Sat, 8 Aug 2020 02:43:33 +0000 (22:43 -0400)]
user_view: add fn to return sanitized fields
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
Dessalines [Fri, 7 Aug 2020 17:23:35 +0000 (13:23 -0400)]
Version v0.7.44
Dessalines [Fri, 7 Aug 2020 17:23:34 +0000 (13:23 -0400)]
Merge remote-tracking branch 'weblate/main' into main
Dessalines [Fri, 7 Aug 2020 17:22:03 +0000 (13:22 -0400)]
Removing community and user favicon setting.
Dessalines [Fri, 7 Aug 2020 15:33:58 +0000 (11:33 -0400)]
Merge pull request #1064 from LemmyNet/apub_security_checks
Apub security checks
Dessalines [Fri, 7 Aug 2020 14:51:53 +0000 (10:51 -0400)]
Adding tests for admin remove for posts and comments on different
instances.
Dessalines [Fri, 7 Aug 2020 14:30:57 +0000 (10:30 -0400)]
Merge branch 'federation-authorisation' into apub_security_checks
Felix Ableitner [Fri, 7 Aug 2020 13:19:08 +0000 (15:19 +0200)]
Merge branch 'main' into federation-authorisation
Felix Ableitner [Fri, 7 Aug 2020 13:15:44 +0000 (15:15 +0200)]
Some apub fixes
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/
Dessalines [Fri, 7 Aug 2020 01:22:15 +0000 (21:22 -0400)]
Version v0.7.43
Dessalines [Fri, 7 Aug 2020 01:19:39 +0000 (21:19 -0400)]
Merge branch 'front_end_prettying' into main
Dessalines [Fri, 7 Aug 2020 01:19:09 +0000 (21:19 -0400)]
Fixed mobile expanding.
Dessalines [Thu, 6 Aug 2020 21:37:08 +0000 (17:37 -0400)]
Version v0.7.42
Dessalines [Thu, 6 Aug 2020 21:34:45 +0000 (17:34 -0400)]
A better mobile view, upgrading darkly theme.
Felix Ableitner [Thu, 6 Aug 2020 19:44:47 +0000 (21:44 +0200)]
Various adjustments after review
Dessalines [Thu, 6 Aug 2020 18:30:01 +0000 (14:30 -0400)]
Start adding apub security checks.
Felix Ableitner [Thu, 6 Aug 2020 12:53:58 +0000 (14:53 +0200)]
Add security checks and slur checks for activitypub inbox
Dessalines [Wed, 5 Aug 2020 21:24:53 +0000 (17:24 -0400)]
Remove double display name.
Dessalines [Wed, 5 Aug 2020 17:55:14 +0000 (13:55 -0400)]
Version v0.7.41
Dessalines [Wed, 5 Aug 2020 17:53:59 +0000 (13:53 -0400)]
Remove allowed thumbnail sizes for now.
Dessalines [Wed, 5 Aug 2020 16:41:40 +0000 (12:41 -0400)]
Version v0.7.40
Dessalines [Wed, 5 Aug 2020 16:41:39 +0000 (12:41 -0400)]
Merge remote-tracking branch 'weblate/main' into main
Dessalines [Wed, 5 Aug 2020 16:39:47 +0000 (12:39 -0400)]
Adding release notes.
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.