Age | Commit message (Collapse) | Author | Files |
|
* ensure notification types get included in link header query for notifications
* fix type query keys
|
|
* [chore] Bump tooling versions, bump go -> v1.23.0
* undo silly change
* sign
* bump go version in go.mod
* allow overflow in imaging
* goreleaser deprecation notices
* bump versions
* undo accidental rebase change
* update container versions to just use latest major version
* update swagger to our release with go1.23 fix
* update goreleaser to use our vendored swagger version
---------
Co-authored-by: kim <grufwub@gmail.com>
|
|
* convert statuses.visibility and notifications.notification_type columns from type string -> int for performance / space savings
* fix test trying to compare string to int
* fix instance count query using string literal instead of gtsmodel const type
* ensure a default value is always set
* also migrate the account settings and sin bin status tables
* initialize maps outside loops and place into singular enum mapping creation func
* use int16 for enum types
* update sinbinstatus creation to be from a snapshot at initial creation
* add snapshot of poll type at creation time
|
|
* [feature] Add domain permission drafts and excludes
* fix typescript complaining
* lint
* make filenames more consistent
* test own domain excluded
|
|
* [feature] Allow emoji shortcode to be 1-character length
* testerino fixeroni
* spaghet
|
|
* [bugfix] post counters should not include direct messages #3504
The fix is relativly simple, it just adds a line to the relevant
function which excludes all private posts.
* Formating fix
* mb
|
|
* when appending log field only do so by minimal amount
* move slice utils to separate package to fix import cycle, add GrowJust() and AppendJust() functions
* fix GrowJust() not returning slice of same length
* improved xslices tests
* make AppendJust() test check for slice contents, fix AppendJust() final copying behaviour
* add a +1 with field growth to try minimise allocation for log 'msg' field
|
|
* pull in go-ffmpreg v0.6.0
* add code comment
* grrr linter
* set empty module name when calling ffmpeg / ffprobe
|
|
* sets the max value placeholders to MaxInt32 instead of MaxInt
* update tests
|
|
* [bugfix] Fix setting immediate `expires_at` value on filter endpoints
* update wording
* update wording
* oh my
|
|
|
|
video max sizes (#3505)
* add support for hinting via api/v_/instance endpoints a preferred image / video size limit
* fix tests expecting old default values
|
|
bother checking against file extension (#3506)
* determine mime-type to use during ffprobe evaluation stage, don't bother rechecking by file extension
* set mjpeg content-type
* fix up tests expecting differing default values
|
|
* for webm support video:[vp8,vp9,av1] and audio:[NONE,vorbis,opus]
* improved unsupported data type error output
|
|
* pull in go-ffmpreg v0.4.1
* bring back GTS_WAZERO_COMPILATION_CACHE
|
|
* update instance v1 / v2 endpoints to set uri / domain correctly (i.e. account domain)
* fix tests relying on old instance behaviour
|
|
editing default desc (#3473)
|
|
|
|
|
|
|
|
|
|
* [chore] Bump tooling versions, bump go -> v1.23.0
* undo silly change
* sign
* bump go version in go.mod
* allow overflow in imaging
* goreleaser deprecation notices
* [chore] Upgrade golangci-lint, ignore existing int overflow warnings
There is a new lint for unchecked int casts. Integer overflows are bad,
but the old code that triggers this lint seems to be perfectly fine.
Instead of disabling the lint entirely for new code as well, grandfather
in existing code.
* fix golangci-lint documentation link
* revert unrelated changes
* revert another unrelated change
* get rid of remaining nolint:gosec
* swagger updates
* apply review feedback
* fix wrong formatting specifier thing
* fix the linter for real
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
|
|
(#3440)
|
|
with WebAssembly (#3429)
* add experimental build-tag 'nowasm' which uses local ffmpeg / ffprobe
* updated experimental support message
* add comment to build script explaining build tag
* add nowasm build tags to moderncsqlite files
|
|
open conn (#3428)
|
|
* [bugfix] Account.last_status_at is a date, not datetime
Fix #3418
* update swagger
|
|
|
|
|
|
* [bugfix] Ensure pending_approval set on statuses + status faves
* set PendingApproval on boosts
* assume not pending approval
|
|
"main" thread (#3411)
|
|
|
|
|
|
|
|
if public or unlisted (#3396)
|
|
|
|
Check for malformed errors embedded inside error *first*, then check for gtserror.WithCode.
|
|
potential nil URI (#3392)
|
|
|
|
|
|
(#3387)
|
|
(#3386)
|
|
|
|
* replicate issue
* update go-structr to v0.8.10 with internal linked-list fix, small tweaks to caching of interaction requests
* remove debug function
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
|
|
attempts ptr (#3371)
|
|
|
|
* return nicer errors for frontend when media / emoji upload limit reached
* fix reader limit check
* add code comment
|
|
* bump go-byteutil v1.2.0 -> v1.3.0 which has safer (as in long-term API consistency) byte <-> string conversions
* fix test relying on byteutil exported type no longer existing
|
|
* update go-storage dependency, for S3Storage manually call PutObject() so we can set content-type
* update calls to PutFile() to include the contentType
|
|
|
|
|