gotosocial/internal/api/client
tobi 6ebdc306ed
[bugfix] Close reader gracefully when streaming recache of remote media to fileserver api caller ()
* 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 [chore] Fix a few possible cases of int truncation () 2022-12-04 14:20:41 +01:00
admin [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch () 2022-12-10 21:43:11 +00:00
app [bugfix] Increase field size limits when registering apps () 2022-11-05 11:06:50 +01:00
auth [feature] overhaul the oidc system () 2022-12-06 14:15:56 +01:00
blocks [chore] Fix a few possible cases of int truncation () 2022-12-04 14:20:41 +01:00
bookmarks [feature] Allow users to create + delete bookbarks, and view bookmarked statuses () 2022-12-09 11:37:12 +01:00
emoji [chore] update dependencies, bump to Go 1.19.1 () 2022-09-28 18:30:40 +01:00
favourites [bugfix] fix unordered favorites () 2022-12-13 12:33:49 +01:00
fileserver [bugfix] Close reader gracefully when streaming recache of remote media to fileserver api caller () 2022-12-21 11:17:43 +01:00
filter [feature] More consistent API error handling () 2022-06-08 20:38:03 +02:00
followrequest [bugfix] Don't call strings.ToLower() on usernames when selecting account by domain+username () 2022-11-30 17:44:02 +01:00
instance [feature] Enable basic video support (mp4 only) () 2022-12-17 04:38:56 +00:00
list [feature] More consistent API error handling () 2022-06-08 20:38:03 +02:00
media [chore] cleanup storage implementation, no need for multiple interface types () 2022-11-24 09:35:46 +01:00
notification [chore] Fix a few possible cases of int truncation () 2022-12-04 14:20:41 +01:00
search [chore] Fix a few possible cases of int truncation () 2022-12-04 14:20:41 +01:00
status [chore/bugfix] Switch markdown from blackfriday to goldmark () 2022-12-16 12:20:22 +01:00
streaming [feature] support Sec-Websocket-Protocol in streaming API () 2022-12-14 10:56:42 +01:00
timeline [chore] Fix a few possible cases of int truncation () 2022-12-04 14:20:41 +01:00
user [chore] cleanup storage implementation, no need for multiple interface types () 2022-11-24 09:35:46 +01:00