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.
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.
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.
Dessalines [Wed, 22 Jul 2020 17:47:52 +0000 (13:47 -0400)]
Merge branch 'main' into api_edit_separation
Dessalines [Wed, 22 Jul 2020 13:56:15 +0000 (09:56 -0400)]
Version v0.7.26
Dessalines [Wed, 22 Jul 2020 13:56:14 +0000 (09:56 -0400)]
Merge remote-tracking branch 'weblate/main' into main
Felix Ableitner [Tue, 21 Jul 2020 22:07:09 +0000 (00:07 +0200)]
Use activitystreams from yerbamate.dev mirror (fixes #1012)
Dessalines [Tue, 21 Jul 2020 17:52:57 +0000 (13:52 -0400)]
Adding some helper functions.
Felix Ableitner [Tue, 21 Jul 2020 16:10:53 +0000 (18:10 +0200)]
Remove proxy_cache from nginx config
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.
Dessalines [Tue, 21 Jul 2020 14:15:17 +0000 (10:15 -0400)]
Added an is_mod_or_admin function to Community
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
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/
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/
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/
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/
Dessalines [Tue, 21 Jul 2020 03:58:58 +0000 (23:58 -0400)]
Changing location of sub and superscript buttons.
Dessalines [Tue, 21 Jul 2020 03:51:44 +0000 (23:51 -0400)]
Merge branch 'main' of https://github.com/commagray/lemmy into commagray-main
Dessalines [Tue, 21 Jul 2020 03:46:36 +0000 (23:46 -0400)]
Adding post delete, remove, lock, and sticky.
Dessalines [Tue, 21 Jul 2020 01:37:44 +0000 (21:37 -0400)]
Added comment delete, remove, read.
Coma Grayce [Mon, 20 Jul 2020 23:40:01 +0000 (02:40 +0300)]
Add buttons.
Coma Grayce [Mon, 20 Jul 2020 22:19:11 +0000 (01:19 +0300)]
Again, ooops.
Coma Grayce [Mon, 20 Jul 2020 22:08:59 +0000 (01:08 +0300)]
Ooops.
Coma Grayce [Mon, 20 Jul 2020 22:06:22 +0000 (01:06 +0300)]
Add sub and sup Markdown tags.
Dessalines [Mon, 20 Jul 2020 19:32:15 +0000 (15:32 -0400)]
Some GetUserDetails cleanup.
Dessalines [Mon, 20 Jul 2020 18:41:20 +0000 (14:41 -0400)]
Merge branch 'main' into api_edit_separation
Dessalines [Mon, 20 Jul 2020 18:41:12 +0000 (14:41 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Mon, 20 Jul 2020 17:37:39 +0000 (13:37 -0400)]
Added community delete and remove.
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
Dessalines [Mon, 20 Jul 2020 14:56:40 +0000 (10:56 -0400)]
EditUserMention changed to MarkUserMentionAsRead.
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
Dessalines [Mon, 20 Jul 2020 14:02:58 +0000 (10:02 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy into main
Dessalines [Mon, 20 Jul 2020 04:29:44 +0000 (00:29 -0400)]
Private message delete and read extracted.
Dessalines [Sun, 19 Jul 2020 21:03:27 +0000 (17:03 -0400)]
Merge branch 'community_user_actor_id_dupes' into api_edit_separation
Dessalines [Sun, 19 Jul 2020 20:43:21 +0000 (16:43 -0400)]
Merge remote-tracking branch 'weblate/main' into main
Dessalines [Sun, 19 Jul 2020 17:32:50 +0000 (13:32 -0400)]
Moving dupe checking to before new actor_id generation.
Dessalines [Sun, 19 Jul 2020 17:12:42 +0000 (13:12 -0400)]
Fixing duplicate actor_id for community and user. Fixes #957
Dessalines [Sun, 19 Jul 2020 16:26:23 +0000 (12:26 -0400)]
Ran cargo fmt.
Dessalines [Sat, 18 Jul 2020 23:36:45 +0000 (19:36 -0400)]
Choices.destroy isnt working properly.
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/
Dessalines [Fri, 17 Jul 2020 22:54:34 +0000 (18:54 -0400)]
Version v0.7.25
Dessalines [Fri, 17 Jul 2020 22:54:33 +0000 (18:54 -0400)]
Merge remote-tracking branch 'weblate/main' into main
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>
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
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/
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/
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/
Dessalines [Fri, 17 Jul 2020 19:27:06 +0000 (15:27 -0400)]
Adding to sponsors list.
Dessalines [Fri, 17 Jul 2020 19:25:59 +0000 (15:25 -0400)]
Better user page loading indicators. Fixes #986 (#989)
Dessalines [Fri, 17 Jul 2020 19:25:52 +0000 (15:25 -0400)]
Un-expand image when receiving new post. Fixes #979 (#988)
Dessalines [Fri, 17 Jul 2020 15:48:06 +0000 (11:48 -0400)]
Better user page loading indicators. Fixes #986
Dessalines [Fri, 17 Jul 2020 01:17:34 +0000 (21:17 -0400)]
Version v0.7.24
Dessalines [Fri, 17 Jul 2020 01:16:32 +0000 (21:16 -0400)]
Updating deploy to use weblate/main
Dessalines [Fri, 17 Jul 2020 01:15:51 +0000 (21:15 -0400)]
Merge remote-tracking branch 'weblate/main' 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
Dessalines [Fri, 17 Jul 2020 01:13:18 +0000 (21:13 -0400)]
Version v0.7.23
Dessalines [Fri, 17 Jul 2020 01:12:51 +0000 (21:12 -0400)]
Adding markdown buttons. Fixes #977 (#984)
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/
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/
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/
Felix Ableitner [Tue, 14 Jul 2020 14:09:13 +0000 (16:09 +0200)]
Convert comments to new apub lib (including comment activities)
Felix Ableitner [Tue, 14 Jul 2020 12:19:33 +0000 (14:19 +0200)]
migrate post to new apub lib
Dessalines [Wed, 15 Jul 2020 14:16:31 +0000 (10:16 -0400)]
Version v0.7.22
Dessalines [Wed, 15 Jul 2020 14:00:55 +0000 (10:00 -0400)]
GetSite fixes. Fixes #975 (#978)
Dessalines [Wed, 15 Jul 2020 13:55:38 +0000 (09:55 -0400)]
Don't allow duplicate community names in API. #957 (#974)
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.
Dessalines [Wed, 15 Jul 2020 13:53:52 +0000 (09:53 -0400)]
Don't allow community name editing. Fixes #964 (#973)
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
Dessalines [Tue, 14 Jul 2020 17:30:36 +0000 (13:30 -0400)]
Changing references from master to main. #820
Dessalines [Tue, 14 Jul 2020 17:21:31 +0000 (13:21 -0400)]
Change styling on comment-form no login-alert.
Dessalines [Tue, 14 Jul 2020 17:17:51 +0000 (13:17 -0400)]
Some password reset UI fixes. Fixes #955
Dessalines [Tue, 14 Jul 2020 16:12:13 +0000 (12:12 -0400)]
Version v0.7.21
Dessalines [Tue, 14 Jul 2020 16:12:11 +0000 (12:12 -0400)]
Merge remote-tracking branch 'weblate/master'
Dessalines [Tue, 14 Jul 2020 16:12:04 +0000 (12:12 -0400)]
Fixing user mention reading. (#968)
Dessalines [Tue, 14 Jul 2020 15:59:15 +0000 (11:59 -0400)]
A few fixes.
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/
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
Dessalines [Tue, 14 Jul 2020 13:17:36 +0000 (09:17 -0400)]
Version v0.7.20
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>
derek [Tue, 14 Jul 2020 05:13:43 +0000 (01:13 -0400)]
ui.components: fix ts types, move user pagination to user details
derek [Mon, 13 Jul 2020 04:55:26 +0000 (00:55 -0400)]
ui.components.sort-select: always parse to number
derek [Mon, 13 Jul 2020 04:20:36 +0000 (00:20 -0400)]
ui.components.main: simplify url update logic
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
derek [Mon, 13 Jul 2020 03:17:56 +0000 (23:17 -0400)]
ui.components.communities: deprecate componentWillReceiveProps
derek [Mon, 13 Jul 2020 03:09:54 +0000 (23:09 -0400)]
ui.components.community: fix duplicate requests
Deprecate componentWillReceiveProps for getDerivedStateFromProps
derek [Mon, 13 Jul 2020 02:58:48 +0000 (22:58 -0400)]
ui.components.search: fix duplicate requests
Deprecate componentWillReceiveProps for getDerivedStateFromProps
derek [Mon, 13 Jul 2020 02:57:02 +0000 (22:57 -0400)]
ui.components.main: fix duplicate requests
Deprecate componentWillReceiveProps for getDerivedStateFromProps
derek [Sun, 12 Jul 2020 08:00:10 +0000 (04:00 -0400)]
ui.components: split user component up to fix duplicate requests
Replace componentWillReceiveProps with getDerivedState and pass state as props to new component
derek [Tue, 14 Jul 2020 00:09:39 +0000 (20:09 -0400)]
Merge remote-tracking branch 'LemmyNet/master'
Dessalines [Mon, 13 Jul 2020 19:21:16 +0000 (15:21 -0400)]
Version v0.7.19
Dessalines [Mon, 13 Jul 2020 19:20:46 +0000 (15:20 -0400)]
Making chat only sortable by new.
Dessalines [Mon, 13 Jul 2020 17:32:01 +0000 (13:32 -0400)]
Version v0.7.18
Dessalines [Mon, 13 Jul 2020 16:31:06 +0000 (12:31 -0400)]
Adding docker workspace caching. Fixes #940 (#958)
Dessalines [Mon, 13 Jul 2020 15:57:39 +0000 (11:57 -0400)]
Merge branch 'fix-migrate-apub-lib'
Dessalines [Mon, 13 Jul 2020 15:33:48 +0000 (11:33 -0400)]
Adding a configurable config location through an env var. (#960)
* Adding a configurable config location through an env var.
- Its `LEMMY_CONFIG_LOCATION`
- Fixes #764
* Using a static for CONFIG_FILE again.
* Make clippy happy
Dessalines [Mon, 13 Jul 2020 14:39:15 +0000 (10:39 -0400)]
Using community-link instead.
Dessalines [Mon, 13 Jul 2020 13:57:37 +0000 (09:57 -0400)]
Merge branch 'add_post_title_to_comments_view' of https://github.com/makigi-io/makigi into makigi-io-add_post_title_to_comments_view
Felix Ableitner [Mon, 13 Jul 2020 13:56:58 +0000 (15:56 +0200)]
Make reads from activitypub objects immutable
Riley [Mon, 13 Jul 2020 13:55:55 +0000 (08:55 -0500)]
Wrap each inbox route individually (#954)
Dessalines [Mon, 13 Jul 2020 13:50:13 +0000 (09:50 -0400)]
Adding a community_name option to GetPosts /post/list . Fixes #800 (#942)