gotosocial/internal
tobi 97f5453378
[chore] Tidy up some of the search logic (#1082)
* start refactoring some of the search + deref logic

* add tests for search api

* rename GetRemoteAccount + GetRemoteStatus

* make search function a bit simpler + clearer

* fix little fucky wucky uwu owo i'm just a little guy

* update faulty switch statements

* update test to use storage struct

* redo switches for clarity

* reduce repeated logic in search tests

* fastfail getstatus by uri

* debug log + trace log better

* add implementation note

* return early if no result for namestring search

* return + check on dereferencing error types

* errors hah what errors

* remove unneeded error type alias, add custom error text during stringification itself

* fix a woops recursion 🙈

Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: kim <grufwub@gmail.com>
2022-11-29 09:24:55 +00:00
..
ap [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
api [chore] Tidy up some of the search logic (#1082) 2022-11-29 09:24:55 +00:00
concurrency [feature] various worker / request queue improvements (#995) 2022-11-08 10:35:24 +01:00
config [feature] Add admin media prune orphaned CLI command (#1146) 2022-11-25 17:23:42 +00:00
db fix missing lookup cache key for invalid domain block (#1158) 2022-11-27 14:11:49 +00:00
email [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
federation [chore] Tidy up some of the search logic (#1082) 2022-11-29 09:24:55 +00:00
gotosocial test the media manager a bit, add shutdown logic 2022-01-10 18:36:09 +01:00
gtserror [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
gtsmodel [performance] don't use relations to select notification structs, use caches instead (#1072) 2022-11-18 17:23:14 +01:00
httpclient Additional IP range validations (#1152) 2022-11-26 11:09:55 +00:00
id [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
log [chore] simplify logging to remove "safetywriter" given os.File has concurrency protection (#1083) 2022-11-20 17:40:15 +01:00
media [feature] Add admin media prune orphaned CLI command (#1146) 2022-11-25 17:23:42 +00:00
messages Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
netutil Additional IP range validations (#1152) 2022-11-26 11:09:55 +00:00
oauth [feature] oob oauth token support (#889) 2022-10-08 13:49:56 +02:00
oidc [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
processing [chore] Tidy up some of the search logic (#1082) 2022-11-29 09:24:55 +00:00
regexes [feature] Add admin media prune orphaned CLI command (#1146) 2022-11-25 17:23:42 +00:00
router [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
storage [chore] cleanup storage implementation, no need for multiple interface types (#1131) 2022-11-24 09:35:46 +01:00
stream Fix streamed messages ending up in wrong timeline(s) (#325) 2021-11-22 19:03:21 +01:00
text [chore] markdown: disable Smartypants rendering (#1111) 2022-11-22 11:08:50 +01:00
timeline [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
trans [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
transport [bugfix] Use Host domain for UA (#1156) 2022-11-27 00:09:09 +00:00
typeutils [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
uris [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
util [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
validate [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
visibility [bugfix] Prevent future statuses entering timelines (#1134) 2022-11-24 13:54:49 +01:00
web [chore/frontend] remove references to unused bundle.js (#1128) 2022-11-23 15:32:57 +01:00