]>
Untitled Git - lemmy.git/log
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)
Dessalines [Mon, 13 Jul 2020 13:42:03 +0000 (09:42 -0400)]
Fixing admin and mod sort order. Fixes #939 (#941)
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
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
Dessalines [Sun, 12 Jul 2020 20:16:43 +0000 (16:16 -0400)]
Version v0.7.17
Dessalines [Sun, 12 Jul 2020 20:16:42 +0000 (16:16 -0400)]
Merge remote-tracking branch 'weblate/master'
Ernest [Sun, 12 Jul 2020 18:27:21 +0000 (20:27 +0200)]
Migration fix
Dessalines [Sun, 12 Jul 2020 18:10:38 +0000 (14:10 -0400)]
Fixing offset for mobile reflow.
Ernest [Sun, 12 Jul 2020 17:02:38 +0000 (19:02 +0200)]
Add post title to user overview and user comment list
Ernest [Sun, 12 Jul 2020 15:26:10 +0000 (17:26 +0200)]
Add post title to comments view #948
Dessalines [Sun, 12 Jul 2020 04:58:42 +0000 (00:58 -0400)]
Moving recent comments into main view as a chat select. Fixes #943
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>
Dessalines [Sat, 11 Jul 2020 23:25:17 +0000 (19:25 -0400)]
Adding number of comments for user search.
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
Dessalines [Sat, 11 Jul 2020 23:12:56 +0000 (19:12 -0400)]
Merge branch 'master' into jmarthernandez-remove-karma-from-search
Justin Hernandez [Sat, 11 Jul 2020 23:03:23 +0000 (18:03 -0500)]
Add fallback url to fuse devserver(closes #945) (#946)
Justin Hernandez [Sat, 11 Jul 2020 20:57:13 +0000 (15:57 -0500)]
Remove karma count from search results(fixes #853)
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/
Dessalines [Sat, 11 Jul 2020 14:14:04 +0000 (10:14 -0400)]
Version v0.7.16
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)
Dessalines [Sat, 11 Jul 2020 01:38:24 +0000 (21:38 -0400)]
Version v0.7.15
Dessalines [Sat, 11 Jul 2020 01:38:22 +0000 (21:38 -0400)]
Merge remote-tracking branch 'weblate/master'
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)
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
Dessalines [Fri, 10 Jul 2020 18:45:34 +0000 (14:45 -0400)]
Fix .travis.yml
Dessalines [Fri, 10 Jul 2020 18:18:46 +0000 (14:18 -0400)]
Merge branch 'master' of https://github.com/lemmynet/lemmy
Dessalines [Fri, 10 Jul 2020 18:16:42 +0000 (14:16 -0400)]
Fixing travis, adding a test.sh script.
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
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
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/
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/
Dessalines [Fri, 10 Jul 2020 00:16:39 +0000 (20:16 -0400)]
Version v0.7.14
Dessalines [Fri, 10 Jul 2020 00:16:28 +0000 (20:16 -0400)]
Merge remote-tracking branch 'weblate/master'
Dessalines [Fri, 10 Jul 2020 00:11:05 +0000 (20:11 -0400)]
Merge branch 'master' into remove_twemoji
Dessalines [Fri, 10 Jul 2020 00:04:09 +0000 (20:04 -0400)]
Remove button for avatars. Fixes #755 (#924)
Dessalines [Fri, 10 Jul 2020 00:03:47 +0000 (20:03 -0400)]
Redirect to login page for votes, comments, pages, etc. Fixes #849 (#926)
Dessalines [Fri, 10 Jul 2020 00:03:33 +0000 (20:03 -0400)]
Correctly hide next / prev in paginators. Fixes #914 (#927)
Dessalines [Thu, 9 Jul 2020 23:59:02 +0000 (19:59 -0400)]
A few cake day fixes. #916
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/
Dessalines [Thu, 9 Jul 2020 17:32:23 +0000 (13:32 -0400)]
Removing twemoji, and the massive emoji picker. Fixes #895
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`
Filip785 [Thu, 9 Jul 2020 15:12:43 +0000 (17:12 +0200)]
Merge remote-tracking branch 'upstream/master' into cake-day
Dessalines [Thu, 9 Jul 2020 14:44:05 +0000 (10:44 -0400)]
Making comment collapse and lightning buttons not spans. Fixes #884
Dessalines [Thu, 9 Jul 2020 14:15:12 +0000 (10:15 -0400)]
Adding lemmy's devs / contributors to the sidebar. Fixes #743
Dessalines [Thu, 9 Jul 2020 13:47:26 +0000 (09:47 -0400)]
Adding select quoting of text for comments. Fixes #790
derek [Thu, 9 Jul 2020 00:25:13 +0000 (20:25 -0400)]
Merge remote-tracking branch 'LemmyNet/master'
Dessalines [Wed, 8 Jul 2020 21:52:41 +0000 (17:52 -0400)]
Adding some languages for weblate.
Filip785 [Wed, 8 Jul 2020 20:15:34 +0000 (22:15 +0200)]
Merge remote-tracking branch 'upstream/master' into cake-day
Dessalines [Wed, 8 Jul 2020 18:32:37 +0000 (14:32 -0400)]
Blocking page refresh when forms are filled. Fixes #671
Filip785 [Wed, 8 Jul 2020 17:46:18 +0000 (19:46 +0200)]
Updates to PR as requested
Filip785 [Wed, 8 Jul 2020 17:30:13 +0000 (19:30 +0200)]
Merge remote-tracking branch 'upstream/master' into cake-day
Dessalines [Wed, 8 Jul 2020 16:13:17 +0000 (12:13 -0400)]
Merge branch 'master' into migrate-apub-lib
Felix Ableitner [Fri, 3 Jul 2020 12:20:28 +0000 (14:20 +0200)]
Migrate user and group to new activitystreams library
Filip785 [Wed, 8 Jul 2020 15:21:44 +0000 (17:21 +0200)]
Merge remote-tracking branch 'upstream/master' into cake-day
Dessalines [Wed, 8 Jul 2020 13:14:25 +0000 (09:14 -0400)]
Version v0.7.13
Dessalines [Wed, 8 Jul 2020 13:14:24 +0000 (09:14 -0400)]
Merge remote-tracking branch 'weblate/master'
Dessalines [Wed, 8 Jul 2020 13:13:17 +0000 (09:13 -0400)]
Merge branch 'html_titles'
Pierce [Wed, 8 Jul 2020 06:20:08 +0000 (02:20 -0400)]
Fixes regression from #848
The api for actix_web::dev::ConnectionInfo changed from 2.0.0 to 3.0.0. The equivalent of 2.0.0's remote() in 3.0.0 is realip_remote_addr(), not remote_addr().
https://docs.rs/actix-web/2.0.0/actix_web/dev/struct.ConnectionInfo.html#method.remote
https://docs.rs/actix-web/3.0.0-alpha.3/actix_web/dev/struct.ConnectionInfo.html#method.realip_remote_addr
Dessalines [Wed, 8 Jul 2020 05:02:14 +0000 (01:02 -0400)]
HTML title bugs.
- Fixing HTML titles for some pages. Fixes #801
- Removing WebSocketService.Instance.site, fetching site on demand now.
Filip785 [Wed, 8 Jul 2020 00:28:47 +0000 (02:28 +0200)]
Add cake day display in user page & posts/comments #682
Isak Alexander [Tue, 7 Jul 2020 16:54:35 +0000 (16:54 +0000)]
Translated using Weblate (Swedish)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/sv/
Cee [Tue, 7 Jul 2020 16:54:34 +0000 (16:54 +0000)]
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.7% (246 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/zh_Hans/
5HT [Tue, 7 Jul 2020 16:54:34 +0000 (16:54 +0000)]
Translated using Weblate (Catalan)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ca/
Adolfo Jayme Barrientos [Tue, 7 Jul 2020 16:54:34 +0000 (16:54 +0000)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/es/
Sergio Varela [Tue, 7 Jul 2020 16:54:34 +0000 (16:54 +0000)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/es/
Ady Nemo [Tue, 7 Jul 2020 16:54:34 +0000 (16:54 +0000)]
Translated using Weblate (French)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/fr/
Adolfo Jayme Barrientos [Tue, 7 Jul 2020 16:54:33 +0000 (16:54 +0000)]
Translated using Weblate (Catalan)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ca/
Translated using Weblate (Spanish)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/es/
Translated using Weblate (Catalan)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ca/
Tërë Rërë [Tue, 7 Jul 2020 16:54:33 +0000 (16:54 +0000)]
Translated using Weblate (Albanian)
Currently translated at 100.0% (249 of 249 strings)
Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/sq/
Dessalines [Tue, 7 Jul 2020 15:07:51 +0000 (11:07 -0400)]
Version v0.7.12
Dessalines [Tue, 7 Jul 2020 15:07:50 +0000 (11:07 -0400)]
Merge remote-tracking branch 'weblate/master'
Dessalines [Tue, 7 Jul 2020 14:54:44 +0000 (10:54 -0400)]
Remove materialized views. (#908)
* One pass at materialized views, only about 30% faster, not good.
* Before merging master to test out bans.
* DB Rework working, still need more testing.
* Fixing accidental addadmin bug from asonix async merge.
* Fixing the comment delete trigger
* Some more DB additions.
- Adding a hot_rank desc, published desc index to post_aggregates_fast.
- Removed WITH CTE queries in favor of direct selects (since CTEs cant
use indexes)
* Removing some unecessary indexes.
* Some more DB optimizings
- Changing the fast_id pkeys to just ids on the fast tables.
- Removing the private_message_fast, since the view contains no aggregates.
- Comment and post voting now no longer pull from the views, they update the counts directly.
* Adding community_agg_view and post_agg_views Credit: eiknat.
* Adding user and comment_view migrations. (comment_view still broken)
* Adding more views. Credit Eiknat.
Felix Ableitner [Tue, 7 Jul 2020 12:00:43 +0000 (14:00 +0200)]
Merge branch 'improve-council-rules'
Felix Ableitner [Fri, 26 Jun 2020 00:55:14 +0000 (02:55 +0200)]
Improve council rules