gotosocial/internal/util
kim 72ba5666a6
[chore] media pipeline improvements (#3110)
* don't set emoji / media image paths on failed download, migrate FileType from string to integer

* fix incorrect uses of util.PtrOr, fix returned frontend media

* fix migration not setting arguments correctly in where clause

* fix not providing default with not null column

* whoops

* ensure a default gets set for media attachment file type

* remove the exclusive flag from writing files in disk storage

* rename PtrOr -> PtrOrZero, and rename PtrValueOr -> PtrOrValue to match

* slight wording changes

* use singular / plural word forms (no parentheses), is better for screen readers

* update testmodels with unknown media type to have unset file details, update attachment focus handling converting to frontend, update tests

* store first instance in ffmpeg wasm pool, fill remaining with closed instances
2024-07-17 15:26:33 +00:00
..
fns.go [performance] update remaining worker pools to use queues (#2865) 2024-04-26 13:50:46 +01:00
math.go [feature] more filetype support! (#3107) 2024-07-15 15:24:53 +01:00
namestring.go [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
namestring_test.go [bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563) 2024-01-26 14:17:10 +01:00
paging.go [bugfix] Fix paging for empty items (#2236) 2023-09-29 15:31:10 +02:00
paging_test.go [experiment] add alternative wasm sqlite3 implementation available via build-tag (#2863) 2024-05-27 17:46:15 +02:00
ptr.go [chore] media pipeline improvements (#3110) 2024-07-17 15:26:33 +00:00
punycode.go [bugfix] Punycode fixes (#1743) 2023-05-07 18:53:21 +01:00
slices.go [bugfix] fix possible infinite loops in media / emoji cleanup (#2590) 2024-01-31 13:31:53 +00:00
sync.go [chore] Move DoOnce func wrapper to util (#2613) 2024-02-09 11:38:51 +00:00
time.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
time_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
unique.go [chore] Refactor AP authentication, other small bits of tidying up (#1874) 2023-06-13 15:47:56 +01:00