]> Untitled Git - lemmy.git/log
lemmy.git
4 years agoVersion v0.7.29
Dessalines [Sat, 25 Jul 2020 02:06:16 +0000 (22:06 -0400)]
Version v0.7.29

4 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Sat, 25 Jul 2020 02:06:14 +0000 (22:06 -0400)]
Merge remote-tracking branch 'weblate/main' into main

4 years agoAutomated travis docker testing and deploys. (#1023)
Dessalines [Sat, 25 Jul 2020 02:06:00 +0000 (22:06 -0400)]
Automated travis docker testing and deploys. (#1023)

* Testing out a travis 1.

* Testing out a travis 2.

* Testing out a travis 3.

* Testing out a travis 4.

* Testing out a travis 5.

* Testing out a travis 6. Trying a failing test

* Testing out a travis 7. Trying to cache the docker images.

* Testing out a travis 8. Still not correctly failing.

* Trying full path for docker_images dir.

* Fixing test again, trying a dockerhub deploy.

* Fixing test again, trying a dockerhub deploy 2.

* Remove caching.

* Trying to fix docker deploy.

* Try using the travis tag

* Using dessalines/lemmy:travis

* Try using the prod dockerfile now.

* Update http sigs dependency

* Finally getting this mostly working.

Co-authored-by: asonix <asonix@asonix.dog>
4 years agoUpdate http sigs dependency (#1022)
Riley [Fri, 24 Jul 2020 23:57:13 +0000 (18:57 -0500)]
Update http sigs dependency (#1022)

4 years agoTranslated using Weblate (Swedish)
Filip Bengtsson [Fri, 24 Jul 2020 22:11:34 +0000 (22:11 +0000)]
Translated using Weblate (Swedish)

Currently translated at 100.0% (266 of 266 strings)

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

4 years agoTranslated using Weblate (Basque)
Txopi [Fri, 24 Jul 2020 22:11:34 +0000 (22:11 +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/

4 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Fri, 24 Jul 2020 03:38:12 +0000 (23:38 -0400)]
Merge remote-tracking branch 'weblate/main' into main

4 years agoTranslated using Weblate (Russian)
Ron [Thu, 23 Jul 2020 22:09:10 +0000 (22:09 +0000)]
Translated using Weblate (Russian)

Currently translated at 99.2% (253 of 255 strings)

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

4 years agoAdding to sponsors list.
Dessalines [Thu, 23 Jul 2020 18:40:05 +0000 (14:40 -0400)]
Adding to sponsors list.

4 years agoVersion v0.7.28
Dessalines [Thu, 23 Jul 2020 13:48:39 +0000 (09:48 -0400)]
Version v0.7.28

4 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Thu, 23 Jul 2020 13:48:05 +0000 (09:48 -0400)]
Merge remote-tracking branch 'weblate/main' into main

4 years agoAdding a lot of front end prettying.
Dessalines [Thu, 23 Jul 2020 06:10:22 +0000 (02:10 -0400)]
Adding a lot of front end prettying.

- Re-did litely theme.
- Increased spacing.
- Fixed up navbar to not full width.
- Made login/sign up stand out.
- Made thumbnails have a light background.
- Removed btn-sm, made almost all buttons bigger.
- Made all badges lighter.
- Made card backgrounds transparent.
- Fixes #888

4 years agoFixing config_file env to use defaults instead (since its required). (#970)
Dessalines [Thu, 23 Jul 2020 00:17:41 +0000 (20:17 -0400)]
Fixing config_file env to use defaults instead (since its required). (#970)

* Fixing config_file env to use defaults instead (since its required). Fixes #764

* Changing the read / write to the custom config file one

* Adding a config note.

4 years agoTranslated using Weblate (Russian)
Ron [Wed, 22 Jul 2020 23:15:38 +0000 (23:15 +0000)]
Translated using Weblate (Russian)

Currently translated at 98.8% (252 of 255 strings)

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

4 years agoTranslated using Weblate (French)
Ady Nemo [Wed, 22 Jul 2020 23:15:38 +0000 (23:15 +0000)]
Translated using Weblate (French)

Currently translated at 99.6% (254 of 255 strings)

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

4 years agoTranslated using Weblate (Portuguese (Brazil))
Ruan Bahia [Wed, 22 Jul 2020 23:15:38 +0000 (23:15 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (255 of 255 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.8% (252 of 255 strings)

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

4 years agoTranslated using Weblate (Italian)
riccardo [Wed, 22 Jul 2020 23:15:38 +0000 (23:15 +0000)]
Translated using Weblate (Italian)

Currently translated at 100.0% (255 of 255 strings)

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

4 years agoMerge pull request #997 from LemmyNet/api_edit_separation
Felix Ableitner [Wed, 22 Jul 2020 20:33:39 +0000 (22:33 +0200)]
Merge pull request #997 from LemmyNet/api_edit_separation

Api edit separation.

4 years agoSome more API cleanup.
Dessalines [Wed, 22 Jul 2020 18:20:08 +0000 (14:20 -0400)]
Some more API cleanup.

- Extracted methods for is_mod_or_admin, and is_admin.
- Removed admins from GetPostResponse and GetCommunityResponse.
- Some cleanup.

4 years agoMerge branch 'main' into api_edit_separation
Dessalines [Wed, 22 Jul 2020 17:47:52 +0000 (13:47 -0400)]
Merge branch 'main' into api_edit_separation

4 years agoVersion v0.7.26
Dessalines [Wed, 22 Jul 2020 13:56:15 +0000 (09:56 -0400)]
Version v0.7.26

4 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Wed, 22 Jul 2020 13:56:14 +0000 (09:56 -0400)]
Merge remote-tracking branch 'weblate/main' into main

4 years agoUse activitystreams from yerbamate.dev mirror (fixes #1012)
Felix Ableitner [Tue, 21 Jul 2020 22:07:09 +0000 (00:07 +0200)]
Use activitystreams from yerbamate.dev mirror (fixes #1012)

4 years agoAdding some helper functions.
Dessalines [Tue, 21 Jul 2020 17:52:57 +0000 (13:52 -0400)]
Adding some helper functions.

4 years agoRemove proxy_cache from nginx config
Felix Ableitner [Tue, 21 Jul 2020 16:10:53 +0000 (18:10 +0200)]
Remove proxy_cache from nginx config

4 years agoAdding form_id to comment creates and edits.
Dessalines [Tue, 21 Jul 2020 14:56:41 +0000 (10:56 -0400)]
Adding form_id to comment creates and edits.

- This adds a form_id to CreateComment, EditComment, and CommentResponse
- This is so any front end clients can add a randomly generated string,
  and know which comment they submitted, is the one they're getting
  back.
- This gets rid of all the weird complicated logic in handleFinished(),
  and should stop the comment forms getting cleared once and for all.

4 years agoAdded an is_mod_or_admin function to Community
Dessalines [Tue, 21 Jul 2020 14:15:17 +0000 (10:15 -0400)]
Added an is_mod_or_admin function to Community

4 years agoAdding version to GetSite. Fixes #1001 (#1002)
Dessalines [Tue, 21 Jul 2020 13:20:23 +0000 (09:20 -0400)]
Adding version to GetSite. Fixes #1001 (#1002)

* Adding version to GetSite. Fixes #1001

* Removing version.ts file

4 years agoTranslated using Weblate (French)
Ady Nemo [Tue, 21 Jul 2020 10:51:22 +0000 (10:51 +0000)]
Translated using Weblate (French)

Currently translated at 99.6% (254 of 255 strings)

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

4 years agoTranslated using Weblate (Portuguese (Brazil))
Ruan Bahia [Tue, 21 Jul 2020 10:51:22 +0000 (10:51 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.8% (252 of 255 strings)

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

4 years agoTranslated using Weblate (Italian)
riccardo [Tue, 21 Jul 2020 10:51:22 +0000 (10:51 +0000)]
Translated using Weblate (Italian)

Currently translated at 100.0% (255 of 255 strings)

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

4 years agoTranslated using Weblate (Swedish)
Filip Bengtsson [Tue, 21 Jul 2020 10:51:22 +0000 (10:51 +0000)]
Translated using Weblate (Swedish)

Currently translated at 100.0% (255 of 255 strings)

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

4 years agoChanging location of sub and superscript buttons.
Dessalines [Tue, 21 Jul 2020 03:58:58 +0000 (23:58 -0400)]
Changing location of sub and superscript buttons.

4 years agoMerge branch 'main' of https://github.com/commagray/lemmy into commagray-main
Dessalines [Tue, 21 Jul 2020 03:51:44 +0000 (23:51 -0400)]
Merge branch 'main' of https://github.com/commagray/lemmy into commagray-main

4 years agoAdding post delete, remove, lock, and sticky.
Dessalines [Tue, 21 Jul 2020 03:46:36 +0000 (23:46 -0400)]
Adding post delete, remove, lock, and sticky.

4 years agoAdded comment delete, remove, read.
Dessalines [Tue, 21 Jul 2020 01:37:44 +0000 (21:37 -0400)]
Added comment delete, remove, read.

4 years agoAdd buttons.
Coma Grayce [Mon, 20 Jul 2020 23:40:01 +0000 (02:40 +0300)]
Add buttons.

4 years agoAgain, ooops.
Coma Grayce [Mon, 20 Jul 2020 22:19:11 +0000 (01:19 +0300)]
Again, ooops.

4 years agoOoops.
Coma Grayce [Mon, 20 Jul 2020 22:08:59 +0000 (01:08 +0300)]
Ooops.

4 years agoAdd sub and sup Markdown tags.
Coma Grayce [Mon, 20 Jul 2020 22:06:22 +0000 (01:06 +0300)]
Add sub and sup Markdown tags.

4 years agoSome GetUserDetails cleanup.
Dessalines [Mon, 20 Jul 2020 19:32:15 +0000 (15:32 -0400)]
Some GetUserDetails cleanup.

4 years agoMerge branch 'main' into api_edit_separation
Dessalines [Mon, 20 Jul 2020 18:41:20 +0000 (14:41 -0400)]
Merge branch 'main' into api_edit_separation

4 years agoMerge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Mon, 20 Jul 2020 18:41:12 +0000 (14:41 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main

4 years agoAdded community delete and remove.
Dessalines [Mon, 20 Jul 2020 17:37:39 +0000 (13:37 -0400)]
Added community delete and remove.

4 years agoMerge pull request #994 from LemmyNet/community_user_actor_id_dupes
Felix Ableitner [Mon, 20 Jul 2020 15:37:46 +0000 (17:37 +0200)]
Merge pull request #994 from LemmyNet/community_user_actor_id_dupes

Community user actor id dupes

4 years agoEditUserMention changed to MarkUserMentionAsRead.
Dessalines [Mon, 20 Jul 2020 14:56:40 +0000 (10:56 -0400)]
EditUserMention changed to MarkUserMentionAsRead.

4 years ago📝 Add macOS-specific instructions for local development. (#996)
jcfrancisco [Mon, 20 Jul 2020 14:03:15 +0000 (10:03 -0400)]
📝 Add macOS-specific instructions for local development. (#996)

* 📝 Add macOS-specific instructions for local development.

* 📝 Remove extra 'git' package installation instruction

4 years agoMerge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Mon, 20 Jul 2020 14:02:58 +0000 (10:02 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main

4 years agoPrivate message delete and read extracted.
Dessalines [Mon, 20 Jul 2020 04:29:44 +0000 (00:29 -0400)]
Private message delete and read extracted.

4 years agoMerge branch 'community_user_actor_id_dupes' into api_edit_separation
Dessalines [Sun, 19 Jul 2020 21:03:27 +0000 (17:03 -0400)]
Merge branch 'community_user_actor_id_dupes' into api_edit_separation

4 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Sun, 19 Jul 2020 20:43:21 +0000 (16:43 -0400)]
Merge remote-tracking branch 'weblate/main' into main

4 years agoMoving dupe checking to before new actor_id generation.
Dessalines [Sun, 19 Jul 2020 17:32:50 +0000 (13:32 -0400)]
Moving dupe checking to before new actor_id generation.

4 years agoFixing duplicate actor_id for community and user. Fixes #957
Dessalines [Sun, 19 Jul 2020 17:12:42 +0000 (13:12 -0400)]
Fixing duplicate actor_id for community and user. Fixes #957

4 years agoRan cargo fmt.
Dessalines [Sun, 19 Jul 2020 16:26:23 +0000 (12:26 -0400)]
Ran cargo fmt.

4 years agoChoices.destroy isnt working properly.
Dessalines [Sat, 18 Jul 2020 23:36:45 +0000 (19:36 -0400)]
Choices.destroy isnt working properly.

4 years agoTranslated using Weblate (Swedish)
Filip Bengtsson [Sat, 18 Jul 2020 06:16:27 +0000 (06:16 +0000)]
Translated using Weblate (Swedish)

Currently translated at 100.0% (255 of 255 strings)

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

4 years agoVersion v0.7.25
Dessalines [Fri, 17 Jul 2020 22:54:34 +0000 (18:54 -0400)]
Version v0.7.25

4 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Fri, 17 Jul 2020 22:54:33 +0000 (18:54 -0400)]
Merge remote-tracking branch 'weblate/main' into main

4 years agovalidate post URLs on the backend (#990)
eiknat [Fri, 17 Jul 2020 22:46:59 +0000 (18:46 -0400)]
validate post URLs on the backend (#990)

* added serverside url validation

* api.post: use if let instead of is_some

also add "invalid_url" to en.json

Co-authored-by: John Doe <dhas8m@protonmail.com>
4 years agoUpdate activitystreams library to latest version (#71)
nutomic [Fri, 17 Jul 2020 21:11:07 +0000 (21:11 +0000)]
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 agoTranslated using Weblate (Swedish)
Filip Bengtsson [Fri, 17 Jul 2020 20:31:57 +0000 (20:31 +0000)]
Translated using Weblate (Swedish)

Currently translated at 100.0% (255 of 255 strings)

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

4 years agoTranslated using Weblate (French)
Ady Nemo [Fri, 17 Jul 2020 20:31:57 +0000 (20:31 +0000)]
Translated using Weblate (French)

Currently translated at 99.2% (253 of 255 strings)

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

4 years agoTranslated using Weblate (Esperanto)
Tirifto [Fri, 17 Jul 2020 20:31:57 +0000 (20:31 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 100.0% (255 of 255 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 99.6% (254 of 255 strings)

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

4 years agoAdding to sponsors list.
Dessalines [Fri, 17 Jul 2020 19:27:06 +0000 (15:27 -0400)]
Adding to sponsors list.

4 years agoBetter user page loading indicators. Fixes #986 (#989)
Dessalines [Fri, 17 Jul 2020 19:25:59 +0000 (15:25 -0400)]
Better user page loading indicators. Fixes #986 (#989)

4 years agoUn-expand image when receiving new post. Fixes #979 (#988)
Dessalines [Fri, 17 Jul 2020 19:25:52 +0000 (15:25 -0400)]
Un-expand image when receiving new post. Fixes #979 (#988)

4 years agoBetter user page loading indicators. Fixes #986
Dessalines [Fri, 17 Jul 2020 15:48:06 +0000 (11:48 -0400)]
Better user page loading indicators. Fixes #986

4 years agoVersion v0.7.24
Dessalines [Fri, 17 Jul 2020 01:17:34 +0000 (21:17 -0400)]
Version v0.7.24

4 years agoUpdating deploy to use weblate/main
Dessalines [Fri, 17 Jul 2020 01:16:32 +0000 (21:16 -0400)]
Updating deploy to use weblate/main

4 years agoMerge remote-tracking branch 'weblate/main' into main
Dessalines [Fri, 17 Jul 2020 01:15:51 +0000 (21:15 -0400)]
Merge remote-tracking branch 'weblate/main' into main

4 years agoMerge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Fri, 17 Jul 2020 01:15:43 +0000 (21:15 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main

4 years agoVersion v0.7.23
Dessalines [Fri, 17 Jul 2020 01:13:18 +0000 (21:13 -0400)]
Version v0.7.23

4 years agoAdding markdown buttons. Fixes #977 (#984)
Dessalines [Fri, 17 Jul 2020 01:12:51 +0000 (21:12 -0400)]
Adding markdown buttons. Fixes #977 (#984)

4 years agoTranslated using Weblate (Swedish)
Filip Bengtsson [Thu, 16 Jul 2020 21:11:40 +0000 (21:11 +0000)]
Translated using Weblate (Swedish)

Currently translated at 100.0% (255 of 255 strings)

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

4 years agoTranslated using Weblate (Esperanto)
Tirifto [Thu, 16 Jul 2020 21:11:39 +0000 (21:11 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 99.6% (254 of 255 strings)

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

4 years agoTranslated using Weblate (Russian)
Jon Snow [Thu, 16 Jul 2020 21:11:39 +0000 (21:11 +0000)]
Translated using Weblate (Russian)

Currently translated at 98.0% (250 of 255 strings)

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

4 years agoConvert comments to new apub lib (including comment activities)
Felix Ableitner [Tue, 14 Jul 2020 14:09:13 +0000 (16:09 +0200)]
Convert comments to new apub lib (including comment activities)

4 years agomigrate post to new apub lib
Felix Ableitner [Tue, 14 Jul 2020 12:19:33 +0000 (14:19 +0200)]
migrate post to new apub lib

4 years agoVersion v0.7.22
Dessalines [Wed, 15 Jul 2020 14:16:31 +0000 (10:16 -0400)]
Version v0.7.22

4 years agoGetSite fixes. Fixes #975 (#978)
Dessalines [Wed, 15 Jul 2020 14:00:55 +0000 (10:00 -0400)]
GetSite fixes. Fixes #975 (#978)

4 years agoDon't allow duplicate community names in API. #957 (#974)
Dessalines [Wed, 15 Jul 2020 13:55:38 +0000 (09:55 -0400)]
Don't allow duplicate community names in API. #957 (#974)

4 years agoUpdate Finnish translation (#976)
Rynach [Wed, 15 Jul 2020 13:54:47 +0000 (16:54 +0300)]
Update Finnish translation (#976)

Added several new lines to the translation file. In several existing lines I made the wording less janky.

4 years agoDon't allow community name editing. Fixes #964 (#973)
Dessalines [Wed, 15 Jul 2020 13:53:52 +0000 (09:53 -0400)]
Don't allow community name editing. Fixes #964 (#973)

4 years agoMerge pull request #972 from LemmyNet/master_to_main
Felix Ableitner [Tue, 14 Jul 2020 22:44:31 +0000 (00:44 +0200)]
Merge pull request #972 from LemmyNet/master_to_main

Changing references from master to main. #820

4 years agoChanging references from master to main. #820
Dessalines [Tue, 14 Jul 2020 17:30:36 +0000 (13:30 -0400)]
Changing references from master to main. #820

4 years agoChange styling on comment-form no login-alert.
Dessalines [Tue, 14 Jul 2020 17:21:31 +0000 (13:21 -0400)]
Change styling on comment-form no login-alert.

4 years agoSome password reset UI fixes. Fixes #955
Dessalines [Tue, 14 Jul 2020 17:17:51 +0000 (13:17 -0400)]
Some password reset UI fixes. Fixes #955

4 years agoVersion v0.7.21
Dessalines [Tue, 14 Jul 2020 16:12:13 +0000 (12:12 -0400)]
Version v0.7.21

4 years agoMerge remote-tracking branch 'weblate/master'
Dessalines [Tue, 14 Jul 2020 16:12:11 +0000 (12:12 -0400)]
Merge remote-tracking branch 'weblate/master'

4 years agoFixing user mention reading. (#968)
Dessalines [Tue, 14 Jul 2020 16:12:04 +0000 (12:12 -0400)]
Fixing user mention reading. (#968)

4 years agoA few fixes.
Dessalines [Tue, 14 Jul 2020 15:59:15 +0000 (11:59 -0400)]
A few fixes.

4 years agoTranslated using Weblate (Italian)
riccardo [Tue, 14 Jul 2020 15:54:37 +0000 (15:54 +0000)]
Translated using Weblate (Italian)

Currently translated at 100.0% (250 of 250 strings)

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

4 years agoMerge branch 'fix_frontend_duplicate_requests' of https://github.com/masterstur/lemmy...
Dessalines [Tue, 14 Jul 2020 15:26:16 +0000 (11:26 -0400)]
Merge branch 'fix_frontend_duplicate_requests' of https://github.com/masterstur/lemmy into masterstur-fix_frontend_duplicate_requests

4 years agoVersion v0.7.20
Dessalines [Tue, 14 Jul 2020 13:17:36 +0000 (09:17 -0400)]
Version v0.7.20

4 years agoSecurity/fix permission bugs (#966)
ryexandra [Tue, 14 Jul 2020 13:17:25 +0000 (07:17 -0600)]
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 agoui.components: fix ts types, move user pagination to user details
derek [Tue, 14 Jul 2020 05:13:43 +0000 (01:13 -0400)]
ui.components: fix ts types, move user pagination to user details

4 years agoui.components.sort-select: always parse to number
derek [Mon, 13 Jul 2020 04:55:26 +0000 (00:55 -0400)]
ui.components.sort-select: always parse to number

4 years agoui.components.main: simplify url update logic
derek [Mon, 13 Jul 2020 04:20:36 +0000 (00:20 -0400)]
ui.components.main: simplify url update logic

4 years agoui.components: fix selector components to work with browser buttons
derek [Mon, 13 Jul 2020 04:19:34 +0000 (00:19 -0400)]
ui.components: fix selector components to work with browser buttons

Use getDerivedState to set state and only send back props

4 years agoui.components.communities: deprecate componentWillReceiveProps
derek [Mon, 13 Jul 2020 03:17:56 +0000 (23:17 -0400)]
ui.components.communities: deprecate componentWillReceiveProps