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
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
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
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
Laura Hausmann
9b2e966c19
[backend] Remove external search backends
2023-11-19 01:36:54 +01:00
Laura Hausmann
b73a07011a
[backend] Backslash needs to be escaped in sqlLikeEscape
2023-11-18 19:46:37 +01:00
Laura Hausmann
9ee786e888
[mastodon-client] Verify scopes are identical between /oauth/authorize and /oauth/token instead of testing whether they are a subset
2023-11-16 20:37:21 +01:00
Laura Hausmann
c60414f347
[backend] Fix re2 imports
2023-11-15 15:17:35 +01:00
Laura Hausmann
20410b0543
[backend] Move back to upstream re2 dependency
...
Upstream accepted my patches for both re2 (fixing build on arm64-musl) and the install-artifact-from-github dependency (cutting down build times for architectures where prebuilts are available from ~2 minutes to ~2 seconds), so there's no reason to stick with our fork.
2023-11-15 15:12:59 +01:00
Laura Hausmann
b45be30d19
[mastodon-client] Fix scope parameter in /oauth/token
2023-11-14 17:19:17 +01:00
Alexis
76db23855c
added more selective control over users show endpoint
2023-11-10 03:05:08 +01:00
AntoineÐ
84e8e095ec
#212 remove sub label
2023-11-10 02:05:03 +01:00
AntoineÐ
239d073a59
#212 i18n fix
2023-11-10 02:05:03 +01:00
AntoineÐ
c33189bb63
#212 /about-iceshrimp grid links
2023-11-10 02:05:03 +01:00
AntoineÐ
5cfc5783fb
#212 Enhanced /about-iceshrimp
2023-11-10 02:05:03 +01:00
AntoineÐ
9b36a544d8
#225 Fix local only icon
2023-11-10 02:04:31 +01:00
Laura Hausmann
2baa787b72
[backend] Dynamically import redisClient in postgre.ts and dependencies
...
This fixes unnecessary redisClient instances being created during migration runs, which previously prevented the revertmigration command from exiting by itself due to a TypeORM inconsistency between migration:run and migration:revert.
2023-11-07 23:12:20 +01:00
Laura Hausmann
7cf00d1503
[backend] Move to our own fork of the re2 package
...
This fixes builds on alpine-arm64 (and presumably also other musl-arm64 distros)
2023-11-05 16:54:00 +01:00
Laura Hausmann
42aa8b7126
[backend] Remove cache server configuration, migrate back to unified redis in-memory cache
2023-11-05 15:03:17 +01:00
Laura Hausmann
9d4f74d290
[backend] Add _misskey_summary field
...
This fixes federation of MFM in user bios between *key instances
Co-authored-by: default avatarkakkokari-gtyih <daisho7308+f@gmail.com>
ref: https://github.com/misskey-dev/misskey/pull/12184
2023-11-05 14:49:51 +01:00
Laura Hausmann
b6ee1c5dc4
[mastodon-client] Add missing semicolon
2023-11-04 23:51:58 +01:00
Laura Hausmann
734c6685f7
[mastodon-client] Don't duplicate RE: for pleroma/akkoma quotes
2023-11-04 23:50:08 +01:00