Commit Graph

969 Commits

Author SHA1 Message Date
Justin Hernandez
f03161b7f9 Remove karma count from search results(fixes #853) 2020-07-11 15:57:13 -05:00
Dessalines
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
Dessalines
cb77339370 Version v0.7.15 2020-07-10 21:38:24 -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
Dessalines
8e96507cb1
Replacing selectr with choices.js for community searching. (#932)
- Fixes #839
- Fixes #847
2020-07-10 14:01:45 -04:00
Dessalines
debbd316c2 Version v0.7.14 2020-07-09 20:16:39 -04:00
Dessalines
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
Dessalines
d222c60cef A few cake day fixes. #916 2020-07-09 19:59:02 -04:00
Dessalines
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
Dessalines
20f9bde88f Making comment collapse and lightning buttons not spans. Fixes #884 2020-07-09 10:44:05 -04:00
Dessalines
558644b8b3 Adding lemmy's devs / contributors to the sidebar. Fixes #743 2020-07-09 10:15:12 -04:00
Dessalines
75251f6e78 Adding select quoting of text for comments. Fixes #790 2020-07-09 09:47:26 -04:00
Dessalines
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
Dessalines
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
Dessalines
cd5f500d11 Version v0.7.13 2020-07-08 09:14:25 -04:00
Dessalines
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
Dessalines
8fda7d00d5 Version v0.7.12 2020-07-07 11:07:51 -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
Dessalines
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
Dessalines
6780855b1f Version v0.7.11 2020-07-04 11:37:04 -04:00
Dessalines
de63ff6d2a Some navbar fixes. 2020-07-04 11:35:38 -04:00
Dessalines
bca62cbf0f Version v0.7.10 2020-07-04 07:42:29 -04:00
Dessalines
e95992b704 Version v0.7.9 2020-07-03 22:26:49 -04:00
Dessalines
69df9cecca Adding a search icon, and a faster transition. 2020-07-03 22:00:51 -04:00
Dessalines
b1b755713e Merge branch 'master' into arrudaricardo-issue-#814 2020-07-03 21:51:42 -04:00
Dessalines
4822a53f06 Merge branch 'issue-#814' of https://github.com/arrudaricardo/lemmy into arrudaricardo-issue-#814 2020-07-03 19:31:50 -04:00
Dessalines
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
Dessalines
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
Dessalines
3f87b55a52 Adding to sponsors list. 2020-07-01 22:54:52 -04:00
Dessalines
a6ec9dc666 Adding to sponsors list. 2020-07-01 22:50:55 -04:00
Dessalines
9e1e12f6ce Version v0.7.8 2020-07-01 21:54:36 -04:00
Dessalines
d22152eefd Adding a math check for logins (until we get a proper captcha). 2020-07-01 21:48:29 -04:00
Dessalines
8d49dc958e Version v0.7.7 2020-07-01 20:39:51 -04:00
Dessalines
2e886ce4e6 Nother fix for comment box bug. #861 2020-07-01 20:38:11 -04:00
Dessalines
360e7aec42 Adding Albanian for weblate. 2020-07-01 18:50:38 -04:00
Dessalines
cd007febef Merge branch 'master' into federation 2020-07-01 09:04:26 -04:00
Riley
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
Dessalines
5c03e9e9ee Version v0.7.6 2020-07-01 08:25:55 -04:00
Dessalines
e8fe8d832d Merge branch 'issue-#814' of https://github.com/arrudaricardo/lemmy into arrudaricardo-issue-#814 2020-06-30 21:42:04 -04:00
Ricardo de Arruda
e41117c878 Replace search button to input field at navbar.
* Search input not rendered at /search path.

* Navbar wrapped with withRouter for accessing history props.

* Flex-grow/shrink control the width of the input element dynamically.
2020-07-01 00:30:23 +03:00
Andy Coupe
587731583f
improve lighthouse best practices audit (#863)
* improve safety of cross origin links

* add additional safety for cross origin links

* remove duplicates
2020-06-30 09:40:57 -04:00
Dessalines
eded51aab6 Version v0.7.5 2020-06-29 21:05:38 -04:00
Dessalines
15ea264fcf Version v0.7.4 2020-06-29 21:02:02 -04:00
Dessalines
c10a05cb68 Version v0.7.3 2020-06-29 20:14:16 -04:00
Dessalines
15af11da98 Changing front end hot reload testing to 8536 2020-06-29 16:55:14 -04:00
Dessalines
effd08c98a Adding some sponsors 2020-06-29 09:38:50 -04:00
Dessalines
e517de5480 Merge branch 'master' into federation 2020-06-27 10:54:08 -04:00
Dessalines
da2bb724e9 Version v0.7.2 2020-06-27 09:28:28 -04:00
Dessalines
208c17dcc8 Fixing comment edits stalling. Fixes #846 2020-06-27 09:03:34 -04:00
Dessalines
6e736e1f1e Version v0.7.1 2020-06-24 13:29:44 -04:00
Dessalines
b94d380729 Adding timeouts to message and delete picture notifications. #834 2020-06-23 21:40:59 -04:00
Dessalines
dc94e58cbf Merge branch 'master' into federation_merge_from_master_2 2020-06-23 21:11:38 -04:00
Dessalines
0680dd2398 Version v0.7.0 2020-06-23 12:55:16 -04:00
Dessalines
4c582cf1b6 Making sure new comments don't clear out your current textarea.
- Making a better random string generator.
- Doing better incoming comment checking.
- Fixes #769
2020-06-23 12:52:07 -04:00
Dessalines
27f2fd352a Version v0.6.85 2020-06-22 23:04:28 -04:00
Dessalines
5d1212b83c Version v0.6.84 2020-06-22 22:43:57 -04:00
Dessalines
416344b361 Making a better light theme, litely. #822 2020-06-22 22:42:27 -04:00
Dessalines
11f771469f Version v0.6.83 2020-06-22 22:01:45 -04:00
Dessalines
54c735841e Version v0.6.82 2020-06-22 19:32:30 -04:00
Dessalines
318b8c691a Coerce empty post form to undefined. Fixes #602 2020-06-22 19:27:42 -04:00
Dessalines
be3a375cae Instant mark all as read. Fixes #830 2020-06-22 19:21:13 -04:00
Dessalines
63fbf70eaa Disable submit when loading. Fixes #706 2020-06-22 19:05:55 -04:00
Dessalines
c1dbeb43c9 Making comment, post, and message preview a card. Fixes #817 2020-06-22 18:50:06 -04:00
Dessalines
ef2adcc95d Increasing comment margins. Fixes #826 2020-06-22 18:44:06 -04:00
Dessalines
1777070b46 Changing edit to save for some forms. Fixes #829 2020-06-22 18:33:51 -04:00
Dessalines
9dfdf78697 Moving save behind more menu. Fixes #827 2020-06-22 18:29:08 -04:00
Dessalines
c9dcb2662c Version v0.6.81 2020-06-22 17:53:47 -04:00
Dessalines
32d1f42626 Version v0.6.80 2020-06-22 16:15:31 -04:00
Dessalines
a4d2c2ab71 Upping thumbnail size. 2020-06-22 13:45:16 -04:00
Dessalines
cbed185040 Version v0.6.79 2020-06-22 12:56:48 -04:00
Dessalines
1fa7d17e35 Version v0.6.78 2020-06-22 12:51:18 -04:00
Dessalines
5594bed6a8 Merge branch 'master' into use-pictrs-1 2020-06-12 17:51:37 -04:00
Dessalines
cfa40e482a
Parse out in reply to field. Fixes #694 (#799)
- When a comment or post doesn't exist locally, yet we receive
  an activitypub with it (for example, a nested comment update,
  for a community we just subscribed to, also with a post we
  don't have...), then fetch it.
2020-06-11 11:16:33 -04:00
Dessalines
1b0212377d Version v0.6.74 2020-06-11 10:28:21 -04:00
Dessalines
4cf1f080bf Adding delete picture via pict-rs delete tokens. Fixes #505 2020-06-10 22:47:06 -04:00
Dessalines
043f484693 Version v0.6.73 2020-06-10 11:27:12 -04:00
kartikynwa
36e8ce624c
Change "Forgot Password" button's type to "button" (#797) 2020-06-10 11:12:53 -04:00
Lorenz Schmidt
13771d56cd
Add default themes with media queries (#796)
* Indicate unstable API in README and mdbook

* Support user preference for light and dark theme

* Add default themes and load them in `setTheme`

* Fixes #758
2020-06-10 11:11:51 -04:00
Dessalines
46bb3064ed Version v0.6.72 2020-06-09 22:49:42 -04:00
Dessalines
da2229a303 Merge branch 'master' into dev 2020-06-09 22:43:28 -04:00
Dessalines
2e4c725647 Fixing toast background for all but i386. Fixes #794 2020-06-09 22:41:04 -04:00
Dessalines
bd26e4e9c1 Fixing some front end pictshare to pictrs conversions. 2020-06-09 17:17:24 -04:00
Felix Ableitner
0f1a8ec928 Merge branch 'master' into federation 2020-06-09 14:01:26 +02:00
Felix Ableitner
e583e45d9a Use pictrs instead of pictshare 2020-06-08 19:52:32 +02:00
Dessalines
a13e9fe395 Adding galician, turkish, hungarian, and ukrainian languages. 2020-06-07 07:51:36 -04:00
ernestwisniewski
c1421c9c44
Adding Polish language (#784) 2020-06-07 07:34:15 -04:00