]> Untitled Git - lemmy.git/log
lemmy.git
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 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

4 years agoui.components.community: fix duplicate requests
derek [Mon, 13 Jul 2020 03:09:54 +0000 (23:09 -0400)]
ui.components.community: fix duplicate requests

Deprecate componentWillReceiveProps for getDerivedStateFromProps

4 years agoui.components.search: fix duplicate requests
derek [Mon, 13 Jul 2020 02:58:48 +0000 (22:58 -0400)]
ui.components.search: fix duplicate requests

Deprecate componentWillReceiveProps for getDerivedStateFromProps

4 years agoui.components.main: fix duplicate requests
derek [Mon, 13 Jul 2020 02:57:02 +0000 (22:57 -0400)]
ui.components.main: fix duplicate requests

Deprecate componentWillReceiveProps for getDerivedStateFromProps

4 years agoui.components: split user component up to fix duplicate requests
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

4 years agoMerge remote-tracking branch 'LemmyNet/master'
derek [Tue, 14 Jul 2020 00:09:39 +0000 (20:09 -0400)]
Merge remote-tracking branch 'LemmyNet/master'

4 years agoVersion v0.7.19
Dessalines [Mon, 13 Jul 2020 19:21:16 +0000 (15:21 -0400)]
Version v0.7.19

4 years agoMaking chat only sortable by new.
Dessalines [Mon, 13 Jul 2020 19:20:46 +0000 (15:20 -0400)]
Making chat only sortable by new.

4 years agoVersion v0.7.18
Dessalines [Mon, 13 Jul 2020 17:32:01 +0000 (13:32 -0400)]
Version v0.7.18

4 years agoAdding docker workspace caching. Fixes #940 (#958)
Dessalines [Mon, 13 Jul 2020 16:31:06 +0000 (12:31 -0400)]
Adding docker workspace caching. Fixes #940 (#958)

4 years agoMerge branch 'fix-migrate-apub-lib'
Dessalines [Mon, 13 Jul 2020 15:57:39 +0000 (11:57 -0400)]
Merge branch 'fix-migrate-apub-lib'

4 years agoAdding a configurable config location through an env var. (#960)
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

4 years agoUsing community-link instead.
Dessalines [Mon, 13 Jul 2020 14:39:15 +0000 (10:39 -0400)]
Using community-link instead.

4 years agoMerge branch 'add_post_title_to_comments_view' of https://github.com/makigi-io/makigi...
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

4 years agoMake reads from activitypub objects immutable
Felix Ableitner [Mon, 13 Jul 2020 13:56:58 +0000 (15:56 +0200)]
Make reads from activitypub objects immutable

4 years agoWrap each inbox route individually (#954)
Riley [Mon, 13 Jul 2020 13:55:55 +0000 (08:55 -0500)]
Wrap each inbox route individually (#954)

4 years agoAdding a community_name option to GetPosts /post/list . Fixes #800 (#942)
Dessalines [Mon, 13 Jul 2020 13:50:13 +0000 (09:50 -0400)]
Adding a community_name option to GetPosts /post/list . Fixes #800 (#942)

4 years agoFixing admin and mod sort order. Fixes #939 (#941)
Dessalines [Mon, 13 Jul 2020 13:42:03 +0000 (09:42 -0400)]
Fixing admin and mod sort order. Fixes #939 (#941)

4 years agoMerge remote-tracking branch 'upstream/master' into add_post_title_to_comments_view
Ernest [Mon, 13 Jul 2020 06:45:57 +0000 (08:45 +0200)]
Merge remote-tracking branch 'upstream/master' into add_post_title_to_comments_view

4 years agoAdd post title to user comments inbox view, comment_view, user_mention_view
Ernest [Mon, 13 Jul 2020 06:18:11 +0000 (08:18 +0200)]
Add post title to user comments inbox view, comment_view, user_mention_view

4 years agoVersion v0.7.17
Dessalines [Sun, 12 Jul 2020 20:16:43 +0000 (16:16 -0400)]
Version v0.7.17

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

4 years agoMigration fix
Ernest [Sun, 12 Jul 2020 18:27:21 +0000 (20:27 +0200)]
Migration fix

4 years agoFixing offset for mobile reflow.
Dessalines [Sun, 12 Jul 2020 18:10:38 +0000 (14:10 -0400)]
Fixing offset for mobile reflow.

4 years agoAdd post title to user overview and user comment list
Ernest [Sun, 12 Jul 2020 17:02:38 +0000 (19:02 +0200)]
Add post title to user overview and user comment list

4 years agoAdd post title to comments view #948
Ernest [Sun, 12 Jul 2020 15:26:10 +0000 (17:26 +0200)]
Add post title to comments view #948

4 years agoMoving recent comments into main view as a chat select. Fixes #943
Dessalines [Sun, 12 Jul 2020 04:58:42 +0000 (00:58 -0400)]
Moving recent comments into main view as a chat select. Fixes #943

4 years agoComment box focus (#947)
Dessalines [Sun, 12 Jul 2020 01:47:38 +0000 (21:47 -0400)]
Comment box focus (#947)

* Add fallback url to fuse devserver(closes #945)

* Only focus on reply commentform textareas. Fixes #944

Co-authored-by: Justin Hernandez <jmarthernandez@gmail.com>
4 years agoAdding number of comments for user search.
Dessalines [Sat, 11 Jul 2020 23:25:17 +0000 (19:25 -0400)]
Adding number of comments for user search.

4 years agoMerge branch 'remove-karma-from-search' of https://github.com/jmarthernandez/lemmy...
Dessalines [Sat, 11 Jul 2020 23:16:44 +0000 (19:16 -0400)]
Merge branch 'remove-karma-from-search' of https://github.com/jmarthernandez/lemmy into jmarthernandez-remove-karma-from-search

4 years agoMerge branch 'master' into jmarthernandez-remove-karma-from-search
Dessalines [Sat, 11 Jul 2020 23:12:56 +0000 (19:12 -0400)]
Merge branch 'master' into jmarthernandez-remove-karma-from-search

4 years agoAdd fallback url to fuse devserver(closes #945) (#946)
Justin Hernandez [Sat, 11 Jul 2020 23:03:23 +0000 (18:03 -0500)]
Add fallback url to fuse devserver(closes #945) (#946)

4 years agoRemove karma count from search results(fixes #853)
Justin Hernandez [Sat, 11 Jul 2020 20:57:13 +0000 (15:57 -0500)]
Remove karma count from search results(fixes #853)

4 years agoTranslated using Weblate (Basque)
Txopi [Sat, 11 Jul 2020 17:58:33 +0000 (17:58 +0000)]
Translated using Weblate (Basque)

Currently translated at 100.0% (250 of 250 strings)

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

4 years agoVersion v0.7.16
Dessalines [Sat, 11 Jul 2020 14:14:04 +0000 (10:14 -0400)]
Version v0.7.16

4 years agoRedirect error on create_post page for not logged in users. #937 (#938)
ernestwisniewski [Sat, 11 Jul 2020 14:13:45 +0000 (16:13 +0200)]
Redirect error on create_post page for not logged in users. #937 (#938)

4 years agoVersion v0.7.15
Dessalines [Sat, 11 Jul 2020 01:38:24 +0000 (21:38 -0400)]
Version v0.7.15

4 years agoMerge remote-tracking branch 'weblate/master'
Dessalines [Sat, 11 Jul 2020 01:38:22 +0000 (21:38 -0400)]
Merge remote-tracking branch 'weblate/master'

4 years agoDon't show cake day indicator on the same year / day of user registration, instead...
Filip Duricic [Sat, 11 Jul 2020 01:38:01 +0000 (03:38 +0200)]
Don't show cake day indicator on the same year / day of user registration, instead show it the following years (#936)

4 years agoForbid users to use empty titles for posts (#930)
Tony Antonov [Sat, 11 Jul 2020 01:15:53 +0000 (19:15 -0600)]
Forbid users to use empty titles for posts (#930)

- Add a regex that checks if string contains anything but whitespace
- Check for whitespace-only titles on post creation and edit
- Trim whitespace from titles before saving
- Add frontend validation to title

4 years agoFix .travis.yml
Dessalines [Fri, 10 Jul 2020 18:45:34 +0000 (14:45 -0400)]
Fix .travis.yml

4 years agoMerge branch 'master' of https://github.com/lemmynet/lemmy
Dessalines [Fri, 10 Jul 2020 18:18:46 +0000 (14:18 -0400)]
Merge branch 'master' of https://github.com/lemmynet/lemmy

4 years agoFixing travis, adding a test.sh script.
Dessalines [Fri, 10 Jul 2020 18:16:42 +0000 (14:16 -0400)]
Fixing travis, adding a test.sh script.

4 years agoSplit code into cargo workspaces (#67)
nutomic [Fri, 10 Jul 2020 18:15:41 +0000 (18:15 +0000)]
Split code into cargo workspaces (#67)

More fixes

- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml

Address review comments

- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL

Decouple utils and db

Split code into cargo workspaces

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

4 years agoReplacing selectr with choices.js for community searching. (#932)
Dessalines [Fri, 10 Jul 2020 18:01:45 +0000 (14:01 -0400)]
Replacing selectr with choices.js for community searching. (#932)

- Fixes #839
- Fixes #847

4 years agoTranslated using Weblate (Basque)
Txopi [Fri, 10 Jul 2020 15:27:42 +0000 (15:27 +0000)]
Translated using Weblate (Basque)

Currently translated at 99.6% (249 of 250 strings)

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

4 years agoTranslated using Weblate (Basque)
Sergio Varela [Fri, 10 Jul 2020 15:27:42 +0000 (15:27 +0000)]
Translated using Weblate (Basque)

Currently translated at 99.6% (249 of 250 strings)

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

4 years agoVersion v0.7.14
Dessalines [Fri, 10 Jul 2020 00:16:39 +0000 (20:16 -0400)]
Version v0.7.14

4 years agoMerge remote-tracking branch 'weblate/master'
Dessalines [Fri, 10 Jul 2020 00:16:28 +0000 (20:16 -0400)]
Merge remote-tracking branch 'weblate/master'

4 years agoMerge branch 'master' into remove_twemoji
Dessalines [Fri, 10 Jul 2020 00:11:05 +0000 (20:11 -0400)]
Merge branch 'master' into remove_twemoji

4 years agoRemove button for avatars. Fixes #755 (#924)
Dessalines [Fri, 10 Jul 2020 00:04:09 +0000 (20:04 -0400)]
Remove button for avatars. Fixes #755 (#924)

4 years agoRedirect to login page for votes, comments, pages, etc. Fixes #849 (#926)
Dessalines [Fri, 10 Jul 2020 00:03:47 +0000 (20:03 -0400)]
Redirect to login page for votes, comments, pages, etc. Fixes #849 (#926)

4 years agoCorrectly hide next / prev in paginators. Fixes #914 (#927)
Dessalines [Fri, 10 Jul 2020 00:03:33 +0000 (20:03 -0400)]
Correctly hide next / prev in paginators. Fixes #914 (#927)

4 years agoA few cake day fixes. #916
Dessalines [Thu, 9 Jul 2020 23:59:02 +0000 (19:59 -0400)]
A few cake day fixes. #916

4 years agoTranslated using Weblate (Serbian (latin))
Filip Djuricic [Thu, 9 Jul 2020 20:32:44 +0000 (20:32 +0000)]
Translated using Weblate (Serbian (latin))

Currently translated at 26.8% (67 of 250 strings)

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

4 years agoRemoving twemoji, and the massive emoji picker. Fixes #895
Dessalines [Thu, 9 Jul 2020 17:32:23 +0000 (13:32 -0400)]
Removing twemoji, and the massive emoji picker. Fixes #895

4 years agoCreate new migration to add `creator_published` field to the `post_view` and `comment...
Filip785 [Thu, 9 Jul 2020 15:19:30 +0000 (17:19 +0200)]
Create new migration to add `creator_published` field to the `post_view` and `comment_view`

4 years agoMerge remote-tracking branch 'upstream/master' into cake-day
Filip785 [Thu, 9 Jul 2020 15:12:43 +0000 (17:12 +0200)]
Merge remote-tracking branch 'upstream/master' into cake-day

4 years agoMaking comment collapse and lightning buttons not spans. Fixes #884
Dessalines [Thu, 9 Jul 2020 14:44:05 +0000 (10:44 -0400)]
Making comment collapse and lightning buttons not spans. Fixes #884

4 years agoAdding lemmy's devs / contributors to the sidebar. Fixes #743
Dessalines [Thu, 9 Jul 2020 14:15:12 +0000 (10:15 -0400)]
Adding lemmy's devs / contributors to the sidebar. Fixes #743

4 years agoAdding select quoting of text for comments. Fixes #790
Dessalines [Thu, 9 Jul 2020 13:47:26 +0000 (09:47 -0400)]
Adding select quoting of text for comments. Fixes #790

4 years agoMerge remote-tracking branch 'LemmyNet/master'
derek [Thu, 9 Jul 2020 00:25:13 +0000 (20:25 -0400)]
Merge remote-tracking branch 'LemmyNet/master'