GoToSocial/internal/processing
tobi 6ebdc306ed
[bugfix] Close reader gracefully when streaming recache of remote media to fileserver api caller (#1281)
* close pipereader on failed data function

* gently slurp the bytes

* readability updates

* go fmt

* tidy up file server tests + add more cases

* start moving io wrappers to separate iotools package. Remove use of buffering while piping recache stream

Signed-off-by: kim <grufwub@gmail.com>

* add license text

Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: kim <grufwub@gmail.com>
2022-12-21 11:17:43 +01:00
..
account [feature] Allow users to create + delete bookbarks, and view bookmarked statuses (#1168) 2022-12-09 11:37:12 +01:00
admin [feature] Start implementing refetch of lost media files via `/api/v1/admin/media_refetch` (#1221) 2022-12-10 21:43:11 +00:00
federation [chore] Tidy up some of the search logic (#1082) 2022-11-29 09:24:55 +00:00
media [bugfix] Close reader gracefully when streaming recache of remote media to fileserver api caller (#1281) 2022-12-21 11:17:43 +01:00
status [feature] Allow users to create + delete bookbarks, and view bookmarked statuses (#1168) 2022-12-09 11:37:12 +01:00
streaming [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
user [chore] Standardize database queries, use `bun.Ident()` properly (#886) 2022-10-08 13:50:48 +02:00
account.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
account_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
admin.go [feature] Start implementing refetch of lost media files via `/api/v1/admin/media_refetch` (#1221) 2022-12-10 21:43:11 +00:00
app.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
blocks.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
bookmark.go [feature] Allow users to create + delete bookbarks, and view bookmarked statuses (#1168) 2022-12-09 11:37:12 +01:00
federation.go [feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805) 2022-09-06 12:42:55 +02:00
followrequest.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
followrequest_test.go [bugfix] Don't call `strings.ToLower()` on usernames when selecting account by domain+username (#1190) 2022-11-30 17:44:02 +01:00
fromclientapi.go [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
fromclientapi_test.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
fromcommon.go [chore] Tidy up status deletion, remove from cache too (#845) 2022-09-21 19:55:52 +02:00
fromfederator.go [chore] Tidy up some of the search logic (#1082) 2022-11-29 09:24:55 +00:00
fromfederator_test.go [bugfix] Don't call `strings.ToLower()` on usernames when selecting account by domain+username (#1190) 2022-11-30 17:44:02 +01:00
instance.go [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
media.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
notification.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
notification_test.go [feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784) 2022-08-31 19:20:52 +02:00
oauth.go [feature] `oob` oauth token support (#889) 2022-10-08 13:49:56 +02:00
processor.go [feature] Start implementing refetch of lost media files via `/api/v1/admin/media_refetch` (#1221) 2022-12-10 21:43:11 +00:00
processor_test.go [chore] cleanup storage implementation, no need for multiple interface types (#1131) 2022-11-24 09:35:46 +01:00
search.go [chore] Tidy up some of the search logic (#1082) 2022-11-29 09:24:55 +00:00
status.go [feature] Allow users to create + delete bookbarks, and view bookmarked statuses (#1168) 2022-12-09 11:37:12 +01:00
statustimeline.go [feature] add instance-expose-public-timeline flag (#1039) 2022-11-14 10:30:01 +01:00
streaming.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
user.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util.go [chore] Tidy up some of the search logic (#1082) 2022-11-29 09:24:55 +00:00