Commit graph

26856 commits

Author SHA1 Message Date
Laura Hausmann
3cb46cd6fc
[backend] Update re2 dependency
re2 was updated to include https://github.com/uhop/node-re2/pull/198 which fixes build on nixOS
2023-11-23 14:59:49 +01:00
Laura Hausmann
b4214d257f
[client] Disable overscroll for root element 2023-11-23 01:16:02 +01:00
Laura Hausmann
5132411e76
[client] Provide option to use vue devtools despite NODE_ENV=production
In theory we wouldn't need this but since the UI is completely unresponsive if NODE_ENV is set to development, this provides partial frontend debugging support until that issue is fixed.
2023-11-22 23:18:40 +01:00
Laura Hausmann
fd6ee32832
[backend] Don't fetch more notes than requested 2023-11-22 20:25:47 +01:00
Laura Hausmann
735fd37707
[backend] Only pack each user once per request 2023-11-22 20:25:47 +01:00
Laura Hausmann
4e6e22633e
[backend] Rework media proxying for better performance 2023-11-22 19:23:51 +01:00
Laura Hausmann
c00e28712e
[backend] Revert postgres geqo threshold and collapse limits to defaults
This is no longer required due to the refactored user table requiring significantly less table joins in more complex queries
2023-11-22 18:59:38 +01:00
Laura Hausmann
302b112f05
[backend] Include avatar & banner url and blurhash in the user table
This drastically improves timeline performance due to the many (2-6 per query) database joins that are now no longer required
2023-11-22 18:59:38 +01:00
Laura Hausmann
6e82e18eea
[backend] Add multi column index for userHost to note table
This drastically improves local and social timeline performance
2023-11-22 04:39:37 +01:00
Laura Hausmann
eff0f32dc1
[backend] We don't need to check for visibility if we already filter for public posts only 2023-11-22 04:39:37 +01:00
AntoineÐ
6bc42c2a9b [client] Update translations (French)
Currently translated at 100.0% (1883 of 1883 strings)

Translation: Iceshrimp/locales
Translate-URL: https://translate.iceshrimp.dev/projects/iceshrimp/locales/fr/
2023-11-22 02:26:31 +01:00
Laura Hausmann
c112aff7cb [client] Update translations (German)
Currently translated at 98.0% (1846 of 1883 strings)

Translation: Iceshrimp/locales
Translate-URL: https://translate.iceshrimp.dev/projects/iceshrimp/locales/de/
2023-11-22 02:26:31 +01:00
Laura Hausmann
e2b8c95530
[client] Fix typo in translations 2023-11-22 02:26:20 +01:00
Laura Hausmann
8fa2bf5dca
[backend] Fix an edge case where notifications wouldn't load properly 2023-11-22 00:28:37 +01:00
Laura Hausmann
8ecf361870
[backend] Implement heuristics for home timeline queries
After lots of performance analysis, we've ended up with a cutoff value of 250 posts in the last 7d, after which we should switch which query plan to nudge postgres towards. This should greatly improve performance of users who were previously performance edge cases.
2023-11-22 00:14:54 +01:00
Laura Hausmann
a5b30a6adc
[backend] Fix notifications not loading correctly
This fixes a regression introduced in a6fa393359
2023-11-21 01:27:00 +01:00
Laura Hausmann
661c31db0c
[backend] Set postgres geqo threshold and collapse limits to something more reasonable until we've refactored the backend to require less joins 2023-11-21 01:22:07 +01:00
Laura Hausmann
a6fa393359
[backend] Return isRenoted status in Notes.pack instead of requesting it individually 2023-11-21 01:00:14 +01:00
Laura Hausmann
efde111779
[client] Fix search filter syntax window replacing the page title 2023-11-20 20:39:22 +01:00
AntoineÐ
534bc5cc98 [client] Update translations (French)
Currently translated at 100.0% (1883 of 1883 strings)

Translation: Iceshrimp/locales
Translate-URL: https://translate.iceshrimp.dev/projects/iceshrimp/locales/fr/
2023-11-20 17:18:45 +01:00
Laura Hausmann
84737cdc7c
[client] Update search filter translations 2023-11-20 17:18:35 +01:00
Laura Hausmann
a660ea6dea
[client] Don't display back button for search page 2023-11-19 16:47:16 +01:00
Laura Hausmann
51065dd170
[client] Fix search page behavior in windows 2023-11-19 16:22:09 +01:00
Laura Hausmann
ed6d5d2db6
[docker] BuildKit caches break immutable cache, let's stick to immutable lockfile 2023-11-19 04:40:44 +01:00
Laura Hausmann
e5a003d6fb
[client] Fix search page not being rendered when query is empty 2023-11-19 04:35:52 +01:00
Laura Hausmann
47d4b3aba1
[client] Fix spaces in search query parameter parsing 2023-11-19 04:18:15 +01:00
Laura Hausmann
4c12a8882e
[docs] Remove search backends from installation docs, example config & example docker-compose.yml 2023-11-19 04:10:00 +01:00
Laura Hausmann
78c5e1dcdb
[client] Fix guest search disclaimer not being displayed properly 2023-11-19 03:58:36 +01:00
Laura Hausmann
b346cc20d9
[client] Fix search tab reactivation 2023-11-19 03:51:13 +01:00
Laura Hausmann
16057fb237
[client] Don't load inactive tabs in search 2023-11-19 03:51:13 +01:00
Laura Hausmann
a703638199
[client] Don't show FTS filters in user search and guest view 2023-11-19 03:51:13 +01:00
Laura Hausmann
dcee692caf
[client] Add in:favorites and in:bookmarks to FTS filter menu 2023-11-19 03:51:12 +01:00
Laura Hausmann
ee4b58dee8
[client] Add proper search page 2023-11-19 03:51:12 +01:00
Laura Hausmann
855409332b
[backend] Add in:bookmarks and in:favorites postgres FTS filters 2023-11-19 01:36:57 +01:00
Laura Hausmann
8c43c5cae6
[backend] Make inverse postgres FTS filters consistent with regular ones 2023-11-19 01:36:57 +01:00
Laura Hausmann
98f40d8865
[backend] Add instance:local postgres FTS filter 2023-11-19 01:36:57 +01:00
Laura Hausmann
e1ae37dbdb
[backend] Improve postgres FTS filters 2023-11-19 01:36:57 +01:00
Laura Hausmann
5d1bb36be3
[client] Improve postgres FTS filter menu and guide 2023-11-19 01:36:56 +01:00
Laura Hausmann
768165776d
[backend] Allow case sensitive and word search for postgres FTS 2023-11-19 01:36:56 +01:00
Laura Hausmann
4f3bf91e7f
[client] Remove post indexing UI 2023-11-19 01:36:56 +01:00
Laura Hausmann
361176448e
[backend] Add postgres FTS migration 2023-11-19 01:36:56 +01:00
Laura Hausmann
b2f6808bef
[backend] Make postgres FTS filter: filters slightly more typo-safe 2023-11-19 01:36:56 +01:00
Laura Hausmann
b7a5c192d8
[backend] Improve postgres FTS mention filter query 2023-11-19 01:36:56 +01:00
Laura Hausmann
292e537dc7
[backend] Improve postgres FTS attachment filter query 2023-11-19 01:36:55 +01:00
Laura Hausmann
1b4fedc59f
[client] Improve search filter menu 2023-11-19 01:36:55 +01:00
Laura Hausmann
b4616d3f36
[backend] Don't exclude local user in search-by-username-and-host 2023-11-19 01:36:55 +01:00
Laura Hausmann
5b672e20af
[backend] Postgres FTS query should be trimmed 2023-11-19 01:36:55 +01:00
Laura Hausmann
c72eb36d66
[backend] Improve postgres FTS tokenizer 2023-11-19 01:36:55 +01:00
Laura Hausmann
e405d348ed
[backend] Implement basic tokenizer for postgres FTS 2023-11-19 01:36:54 +01:00
Laura Hausmann
a88d581413
[backend] Implement filters for postgres FTS 2023-11-19 01:36:54 +01:00