Commit graph

1188 commits

Author SHA1 Message Date
85fd1d6d04 Merge remote-tracking branch 'weblate/master' 2020-07-12 16:16:42 -04:00
c72acfd282 Fixing offset for mobile reflow. 2020-07-12 14:10:38 -04:00
Ernest
a5454fe82d Add post title to user overview and user comment list 2020-07-12 19:02:38 +02:00
Ernest
b037ff922c Add post title to comments view #948 2020-07-12 17:26:10 +02:00
ff2f70b1de Moving recent comments into main view as a chat select. Fixes #943 2020-07-12 00:58:42 -04:00
Dessalines
74655de618
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>
2020-07-11 21:47:38 -04:00
f3dbfcd37b Adding number of comments for user search. 2020-07-11 19:25:17 -04:00
f3119b5b3a Merge branch 'remove-karma-from-search' of https://github.com/jmarthernandez/lemmy into jmarthernandez-remove-karma-from-search 2020-07-11 19:16:44 -04:00
60288b2d06 Merge branch 'master' into jmarthernandez-remove-karma-from-search 2020-07-11 19:12:56 -04:00
Justin Hernandez
1b9f2fa5f7
Add fallback url to fuse devserver(closes #945) (#946) 2020-07-11 19:03:23 -04:00
Justin Hernandez
f03161b7f9 Remove karma count from search results(fixes #853) 2020-07-11 15:57:13 -05:00
Txopi
4b124b9381 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/
2020-07-11 17:58:33 +00:00
d63eb7c8f5 Version v0.7.16 2020-07-11 10:14:04 -04:00
ernestwisniewski
4b30b6d764
Redirect error on create_post page for not logged in users. #937 (#938) 2020-07-11 10:13:45 -04:00
cb77339370 Version v0.7.15 2020-07-10 21:38:24 -04:00
8952cf659b Merge remote-tracking branch 'weblate/master' 2020-07-10 21:38:22 -04:00
Filip Duricic
9c7c7b06df
Don't show cake day indicator on the same year / day of user registration, instead show it the following years (#936) 2020-07-10 21:38:01 -04:00
Tony Antonov
8d24659892
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
2020-07-10 21:15:53 -04:00
ea5276ad7f Merge branch 'master' of https://github.com/lemmynet/lemmy 2020-07-10 14:18:46 -04:00
nutomic
80aef61aed 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
2020-07-10 18:15:41 +00:00
Dessalines
8e96507cb1
Replacing selectr with choices.js for community searching. (#932)
- Fixes #839
- Fixes #847
2020-07-10 14:01:45 -04:00
Txopi
4d82e23861 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/
2020-07-10 15:27:42 +00:00
Sergio Varela
b0dd8ec729 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/
2020-07-10 15:27:42 +00:00
debbd316c2 Version v0.7.14 2020-07-09 20:16:39 -04:00
1377238950 Merge remote-tracking branch 'weblate/master' 2020-07-09 20:16:28 -04:00
d271ae67aa Merge branch 'master' into remove_twemoji 2020-07-09 20:11:05 -04:00
Dessalines
961d65c0ee
Remove button for avatars. Fixes #755 (#924) 2020-07-09 20:04:09 -04:00
Dessalines
50e6d81d0b
Redirect to login page for votes, comments, pages, etc. Fixes #849 (#926) 2020-07-09 20:03:47 -04:00
Dessalines
85c07e7154
Correctly hide next / prev in paginators. Fixes #914 (#927) 2020-07-09 20:03:33 -04:00
d222c60cef A few cake day fixes. #916 2020-07-09 19:59:02 -04:00
Filip Djuricic
5b719a03bf 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/
2020-07-09 20:32:44 +00:00
db09730d5f Removing twemoji, and the massive emoji picker. Fixes #895 2020-07-09 13:32:23 -04:00
Filip785
7c35fc546b Create new migration to add creator_published field to the post_view and comment_view 2020-07-09 17:19:30 +02:00
Filip785
10a946cab3 Merge remote-tracking branch 'upstream/master' into cake-day 2020-07-09 17:12:43 +02:00
20f9bde88f Making comment collapse and lightning buttons not spans. Fixes #884 2020-07-09 10:44:05 -04:00
558644b8b3 Adding lemmy's devs / contributors to the sidebar. Fixes #743 2020-07-09 10:15:12 -04:00
75251f6e78 Adding select quoting of text for comments. Fixes #790 2020-07-09 09:47:26 -04:00
3f34e5dadf Adding some languages for weblate. 2020-07-08 17:52:41 -04:00
Filip785
abdbd50f5e Merge remote-tracking branch 'upstream/master' into cake-day 2020-07-08 22:15:34 +02:00
32d43b85b9 Blocking page refresh when forms are filled. Fixes #671 2020-07-08 14:32:37 -04:00
Filip785
8fe8836bc2 Updates to PR as requested 2020-07-08 19:46:18 +02:00
Filip785
e7b7b0dee3 Merge remote-tracking branch 'upstream/master' into cake-day 2020-07-08 17:21:44 +02:00
cd5f500d11 Version v0.7.13 2020-07-08 09:14:25 -04:00
1271c3e7cd Merge remote-tracking branch 'weblate/master' 2020-07-08 09:14:24 -04:00
cd4e0ab3c2 HTML title bugs.
- Fixing HTML titles for some pages. Fixes #801
- Removing WebSocketService.Instance.site, fetching site on demand now.
2020-07-08 01:02:14 -04:00
Filip785
68e9755e59 Add cake day display in user page & posts/comments #682 2020-07-08 02:28:47 +02:00
Isak Alexander
60a1bbeb70 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/
2020-07-07 16:54:35 +00:00
Cee
4575cd4e58 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/
2020-07-07 16:54:34 +00:00
5HT
b407e6fffe 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/
2020-07-07 16:54:34 +00:00
Adolfo Jayme Barrientos
edf1aed369 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/
2020-07-07 16:54:34 +00:00
Sergio Varela
fd28f1730e 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/
2020-07-07 16:54:34 +00:00
Ady Nemo
ab174dc678 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/
2020-07-07 16:54:34 +00:00
Adolfo Jayme Barrientos
c4e25c8d9c 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/
2020-07-07 16:54:33 +00:00
Tërë Rërë
b6be84c909 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/
2020-07-07 16:54:33 +00:00
8fda7d00d5 Version v0.7.12 2020-07-07 11:07:51 -04:00
382325ca47 Merge remote-tracking branch 'weblate/master' 2020-07-07 11:07:50 -04:00
Dessalines
f4565d0603
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.
2020-07-07 10:54:44 -04:00
5HT
cb73a7ae0e 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/
2020-07-06 11:27:57 +00:00
Adolfo Jayme Barrientos
6a5e82ba3b 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/
2020-07-06 11:27:56 +00:00
Sergio Varela
3050183ea9 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/
2020-07-06 11:27:56 +00:00
Ady Nemo
94b4c0b2de 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/
2020-07-06 11:27:56 +00:00
Adolfo Jayme Barrientos
9ce4c26c75 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/
2020-07-06 11:27:56 +00:00
Tërë Rërë
ba348e5af4 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/
2020-07-06 11:27:56 +00:00
bf69d595b4 Adding to sponsors list. 2020-07-05 16:01:41 -04:00
Mischa Spiegelmock
3e6508f484
Fix capitalization of Ukrainian language (#910) 2020-07-05 09:07:43 -04:00
6780855b1f Version v0.7.11 2020-07-04 11:37:04 -04:00
de63ff6d2a Some navbar fixes. 2020-07-04 11:35:38 -04:00
bca62cbf0f Version v0.7.10 2020-07-04 07:42:29 -04:00
a850b287b2 Merge remote-tracking branch 'weblate/master' 2020-07-04 07:42:19 -04:00
ButterflyOfFire
f8789689f8 Translated using Weblate (Arabic)
Currently translated at 75.1% (187 of 249 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ar/
2020-07-04 09:17:24 +00:00
Cee
cc438980d1 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/

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/
2020-07-04 09:17:24 +00:00
Tërë Rërë
00870dfb5e 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/

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/

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/

Translated using Weblate (Albanian)

Currently translated at 55.8% (139 of 249 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/sq/
2020-07-04 09:17:24 +00:00
e95992b704 Version v0.7.9 2020-07-03 22:26:49 -04:00
8ca9025311 Merge remote-tracking branch 'weblate/master' 2020-07-03 22:14:12 -04:00
69df9cecca Adding a search icon, and a faster transition. 2020-07-03 22:00:51 -04:00
b1b755713e Merge branch 'master' into arrudaricardo-issue-#814 2020-07-03 21:51:42 -04:00
4822a53f06 Merge branch 'issue-#814' of https://github.com/arrudaricardo/lemmy into arrudaricardo-issue-#814 2020-07-03 19:31:50 -04:00
aab68f0baf Adding to sponsors list. 2020-07-03 17:56:50 -04:00
Ricardo de Arruda
2f54532be0 Modify search button to be expandable.
*  Accordingly issue#814.

*  Input contract if un-focus input element

* Search text data persisted when contracted/expanded
2020-07-03 23:20:44 +03:00
ButterflyOfFire
1f1ea68f45 Translated using Weblate (Arabic)
Currently translated at 75.1% (187 of 249 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/ar/
2020-07-03 18:21:26 +00:00
Cee
f074e23c80 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/

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/
2020-07-03 18:21:25 +00:00
Tërë Rërë
e0b2789840 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/

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/

Translated using Weblate (Albanian)

Currently translated at 55.8% (139 of 249 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/sq/
2020-07-03 18:21:25 +00:00
1710844a1b Merge branch 'remove-karma-from-search' of https://github.com/jmarthernandez/lemmy into jmarthernandez-remove-karma-from-search 2020-07-02 11:41:48 -04:00
Justin Hernandez
08b953c0aa Remove karma count from search results 2020-07-01 22:01:48 -05:00
3f87b55a52 Adding to sponsors list. 2020-07-01 22:54:52 -04:00
a6ec9dc666 Adding to sponsors list. 2020-07-01 22:50:55 -04:00
9e1e12f6ce Version v0.7.8 2020-07-01 21:54:36 -04:00
27cb9c433d Merge remote-tracking branch 'weblate/master' 2020-07-01 21:54:22 -04:00
d22152eefd Adding a math check for logins (until we get a proper captcha). 2020-07-01 21:48:29 -04:00
Tërë Rërë
96b73cca51 Translated using Weblate (Albanian)
Currently translated at 34.1% (85 of 249 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/sq/
2020-07-02 01:23:43 +00:00
Tirifto
605ded9c73 Translated using Weblate (Esperanto)
Currently translated at 95.5% (238 of 249 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 93.9% (234 of 249 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 76.3% (190 of 249 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/eo/
2020-07-02 01:23:43 +00:00
8d49dc958e Version v0.7.7 2020-07-01 20:39:51 -04:00
c345489923 Merge remote-tracking branch 'weblate/master' 2020-07-01 20:39:50 -04:00
2e886ce4e6 Nother fix for comment box bug. #861 2020-07-01 20:38:11 -04:00
Tirifto
fee0a0c867 Translated using Weblate (Esperanto)
Currently translated at 93.9% (234 of 249 strings)

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

Translated using Weblate (Esperanto)

Currently translated at 76.3% (190 of 249 strings)

Translation: Lemmy/lemmy
Translate-URL: http://weblate.yerbamate.dev/projects/lemmy/lemmy/eo/
2020-07-01 22:53:10 +00:00
360e7aec42 Adding Albanian for weblate. 2020-07-01 18:50:38 -04:00
cd007febef Merge branch 'master' into federation 2020-07-01 09:04:26 -04:00
a074564458
Federation async (#848)
* Asyncify more

* I guess these changed

* Clean PR a bit

* Convert more away from failure error

* config changes for testing federation

* It was DNS

So actix-web's client relies on TRust DNS Resolver to figure out
where to send data, but TRust DNS Resolver seems to not play nice
with docker, which expressed itself as not resolving the name to
an IP address _the first time_ when making a request. The fix was
literally to make the request again (which I limited to 3 times
total, and not exceeding the request timeout in total)

* Only retry for connecterror

Since TRust DNS Resolver was causing ConnectError::Timeout,
this change limits the retry to only this error, returning
immediately for any other error

* Use http sig norm 0.4.0-alpha for actix-web 3.0 support

* Blocking function, retry http requests

* cargo +nightly fmt

* Only create one pictrs dir

* Don't yarn build

* cargo +nightly fmt
2020-07-01 08:54:29 -04:00
5c03e9e9ee Version v0.7.6 2020-07-01 08:25:55 -04:00
1d10b19176 Merge remote-tracking branch 'weblate/master' 2020-07-01 08:25:07 -04:00