Commit graph

130 commits

Author SHA1 Message Date
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
Mischa Spiegelmock
3e6508f484
Fix capitalization of Ukrainian language (#910) 2020-07-05 09:07:43 -04:00
Dessalines
360e7aec42 Adding Albanian for weblate. 2020-07-01 18:50:38 -04:00
Dessalines
e517de5480 Merge branch 'master' into federation 2020-06-27 10:54:08 -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
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
416344b361 Making a better light theme, litely. #822 2020-06-22 22:42:27 -04:00
Dessalines
a4d2c2ab71 Upping thumbnail size. 2020-06-22 13:45:16 -04:00
Dessalines
5594bed6a8 Merge branch 'master' into use-pictrs-1 2020-06-12 17:51:37 -04:00
Dessalines
4cf1f080bf Adding delete picture via pict-rs delete tokens. Fixes #505 2020-06-10 22:47:06 -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
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
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
Dessalines
9bf444e93a Removing webp for now. 2020-06-05 11:45:04 -04:00
Dessalines
ee32072489 Fixing webp issue for safari. 2020-06-04 21:40:57 -04:00
Dessalines
2deb0b3d7f Adding webp for pictshare images / avatars. Fixes #772 2020-06-03 11:41:22 -04:00
Dessalines
b1b9568c96 Adding text-body class to message toast. Fixes #736 2020-06-02 19:58:28 -04:00
Dessalines
6fe4184f72 Adding Greek and Basque languages for weblate. 2020-05-16 22:52:28 -04:00
Dessalines
940dc73f28 Federated mentions. Fixes #681 (#717)
* Federated mentions. Fixes #681

* Changing some todos, adding comments.
2020-05-15 12:36:11 -04:00
Dessalines
e6717c86ac Adding support for webp images on the front end. Fixes #703 2020-05-08 14:02:42 -04:00
Dessalines
43592c32d9 Adding hindi template. 2020-05-01 21:51:04 -04:00
Dessalines
38cdfdf7e0 Changing federated community and user links and searching.
- Search: !community@instance, @user@instance
- Representation: community@instance, user@instance
2020-04-30 11:45:12 -04:00
Dessalines
1336b4ed60 Merge branch 'dev' into federation 2020-04-14 16:07:20 -04:00
Dessalines
f040dac647 Initial post-listing community non-local. 2020-04-14 15:43:58 -04:00
Dessalines
676690097f Use twemoji style for emoji picker. 2020-04-12 14:55:52 -04:00
Dessalines
d6d040f5da Add Emoji squashed commit. 2020-04-12 12:47:48 -04:00
Dessalines
ed264aba3c Updating code url references to https://github.com/LemmyNet/lemmy 2020-04-09 16:11:11 -04:00
Dessalines
0ca385deaf Adding a text body preview and icon for posts with a body. Fixes #617 2020-04-03 13:46:25 -04:00
Dessalines
1e0f5cfcea Add georgian language for weblate. 2020-04-01 13:22:44 -04:00
Dessalines
0414edeade Hide toast on click. 2020-03-21 11:21:15 -04:00
Dessalines
522649d9d3 Notification improvements.
- Adding a navbar notification icon for mobile.
- Adding an in-app notification toast. To be improved later.
- Fixes #607
2020-03-20 16:13:54 -04:00
Dessalines
1a7c6fbd32 Add theming guide. Fixes #596 2020-03-15 13:02:14 -04:00
Dessalines
f36aa1f40d Show full scores on hover for posts and comments. Fixes #592 2020-03-11 19:10:10 -04:00
Dessalines
ac280782b2 Iframely and pictshare backend mostly done. 2020-03-07 18:31:13 -05:00
Dessalines
0708a6d665 Adding a sorting help. Fixes #532 2020-03-06 14:18:40 -05:00
Dessalines
08af66ba28 Some comment-node additions
- Hiding extra vote counts if no downvotes.
- Showing numbers on actions if there are.
2020-03-06 09:57:15 -05:00
Dessalines
858366c57b Proper comment-node depth coloring. 2020-03-05 15:10:46 -05:00
Dessalines
eeef752a5c Adding left border color, removing indent. 2020-03-04 23:36:42 -05:00
Dessalines
2c2918cc9e Moving comment voting to action bar. Adding plurals. 2020-03-04 13:52:11 -05:00
Dessalines
fb35518848 Fixing post sorting by stickied on front end. Fixes #575 2020-03-04 11:46:34 -05:00
Dessalines
107005c474 Adding icon-plus and minus-square. 2020-03-03 19:14:36 -05:00
Dessalines
30165ebd15 Updating tributejs 2020-03-03 17:37:27 -05:00
Dessalines
a5331bce77 Only show tribute menu after a minlength of 3 characters.
- Fixes #562
2020-03-03 16:36:11 -05:00
Dessalines
44bbc45973 A first pass at adding icons, and tippy tooltips.
- Adding icons for post-listing, comment-node, and navbar.
- Adding html titles.
- Updating moment expand to use users locale.
2020-03-03 02:29:45 -05:00
Dessalines
adba6b056f Translation additions.
- Adding Japanese. Fixes #566
- Adding some German translations. Fixes #567
- Fixing pt-br
2020-02-29 15:18:56 -05:00