summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)AuthorFiles
2024-11-21[feature] Add domain permission drafts and excludes (#3547)Libravatar tobi36
* [feature] Add domain permission drafts and excludes * fix typescript complaining * lint * make filenames more consistent * test own domain excluded
2024-11-21[feature] Allow emoji shortcode to be 1-character length (#3556)Libravatar tobi6
* [feature] Allow emoji shortcode to be 1-character length * testerino fixeroni * spaghet
2024-11-21[bugfix] post counters should not include direct messages (#3554)Libravatar Jannis4
* [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
2024-11-11[performance] minimise log field allocations (#3529)Libravatar kim29
* 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
2024-11-06[chore] update go ffmpreg to v0.6.0 (#3515)Libravatar kim4
* pull in go-ffmpreg v0.6.0 * add code comment * grrr linter * set empty module name when calling ffmpeg / ffprobe
2024-11-05[bugfix] sets the max value placeholders to MaxInt32 instead of MaxInt (#3517)v0.17.3Libravatar kim3
* sets the max value placeholders to MaxInt32 instead of MaxInt * update tests
2024-11-05[bugfix] Fix setting immediate `expires_at` value on filter endpoints (#3513)v0.17.2Libravatar tobi6
* [bugfix] Fix setting immediate `expires_at` value on filter endpoints * update wording * update wording * oh my
2024-11-05previously we were using the ffmpeg runner for ffprobe :facepalm: (#3512)Libravatar kim1
2024-11-04[feature] add support for hinting via api/v_/instance preferred image / ↵Libravatar kim5
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
2024-11-04[bugfix] determine mime-type to use during ffprobe evaluation stage, don't ↵Libravatar kim9
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
2024-10-28[bugfix] support classifying correct video codec without audio as webm (#3494)Libravatar kim3
* for webm support video:[vp8,vp9,av1] and audio:[NONE,vorbis,opus] * improved unsupported data type error output
2024-10-28[chore] pull in go-ffmpreg v0.4.1 (#3485)Libravatar kim1
* pull in go-ffmpreg v0.4.1 * bring back GTS_WAZERO_COMPILATION_CACHE
2024-10-22[bugfix] incorrect /api/v_/instance domain uri fields (#3477)Libravatar kim3
* update instance v1 / v2 endpoints to set uri / domain correctly (i.e. account domain) * fix tests relying on old instance behaviour
2024-10-21[feature] Add image descriptions for default avatar + header; don't allow ↵v0.17.1Libravatar tobi15
editing default desc (#3473)
2024-10-19[bugfix] Fix filter title unique constraint (#3458)Libravatar tobi5
2024-10-18[chore] Fix loop issue in streaming 🤦 (#3457)Libravatar tobi1
2024-10-18[chore] Thumbnail only first frame of animated media (#3448)Libravatar tobi9
2024-10-18[bugfix] Fix occasionally streaming empty messages (#3456)Libravatar tobi1
2024-10-16[chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420)Libravatar Markus Unterwaditzer20
* [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>
2024-10-14updates exported interface types to match ncruces/go-sqlite3/driver methods ↵v0.17.0Libravatar kim1
(#3440)
2024-10-14[feature/OFFICIALLY UNSUPPORTED] add nowasm build tag to disable building ↵Libravatar kim12
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
2024-10-14[feature] for an sqlite database with journal mode != WAL, use maximum of 1 ↵Libravatar kim1
open conn (#3428)
2024-10-12[bugfix] Account.last_status_at is a date, not datetime (#3419)Libravatar Markus Unterwaditzer15
* [bugfix] Account.last_status_at is a date, not datetime Fix #3418 * update swagger
2024-10-11[chore] Don't cc Accept of likes to followers (#3417)v0.17.0-rc4Libravatar tobi2
2024-10-11[bugfix] Check interaction policies properly on incoming Likes (#3416)Libravatar tobi2
2024-10-11[bugfix] Ensure `pending_approval` set on statuses + status faves (#3415)Libravatar tobi4
* [bugfix] Ensure pending_approval set on statuses + status faves * set PendingApproval on boosts * assume not pending approval
2024-10-09[bugfix/frontend] Don't show replies to hidden parents; return 404 if no ↵v0.17.0-rc3Libravatar tobi1
"main" thread (#3411)
2024-10-09[bugfix] Fix replies not being stored pending approval (#3409)Libravatar tobi1
2024-10-08[feature] Distribute + ingest Accepts to followers (#3404)Libravatar tobi8
2024-10-06update go-ffmpreg to v0.3.1 (pulls in latest wazero too) (#3398)Libravatar kim2
2024-10-05[bugfix] Only allow boosting post from non-interaction-policy-aware instance ↵Libravatar tobi1
if public or unlisted (#3396)
2024-10-05[bugfix] Return 501 (not implemented) if user tries to schedule post (#3395)Libravatar tobi3
2024-10-05[chore] Change order of error checking after PostInbox (#3394)Libravatar tobi1
Check for malformed errors embedded inside error *first*, then check for gtserror.WithCode.
2024-10-05[bugfix] Update select of pending interaction requests to account for ↵Libravatar tobi2
potential nil URI (#3392)
2024-10-05[bugfix] Account for nil reply when serializing int req (#3389)Libravatar tobi1
2024-10-04[bugfix] Don't try to add nil filtered statuses to context (#3388)Libravatar tobi1
2024-10-04[bugfix] Include own account in conversation when no other accounts involved ↵Libravatar tobi3
(#3387)
2024-10-04[performance] remove the pragma optimize analysis limit on connection close ↵Libravatar kim1
(#3386)
2024-09-29[bugfix] Carry-over "PinnedAt" when refreshing status (#3373)Libravatar tobi1
2024-09-28[bugfix] visibility after implicit approval not getting invalidated (#3370)Libravatar kim9
* 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>
2024-09-28[chore] use string formatting package agnostic way of printing request ↵Libravatar kim1
attempts ptr (#3371)
2024-09-27[bugfix] better handle ogg container format (#3365)Libravatar kim1
2024-09-27[bugfix] fix media limit reader check (#3363)Libravatar kim3
* return nicer errors for frontend when media / emoji upload limit reached * fix reader limit check * add code comment
2024-09-26[chore] bump go-byteutil v1.2.0 -> v1.3.0 (#3356)Libravatar kim1
* 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
2024-09-26[bugfix] s3 media uploaded without content-type (#3353)Libravatar kim3
* update go-storage dependency, for S3Storage manually call PutObject() so we can set content-type * update calls to PutFile() to include the contentType
2024-09-26[chore] reduce number admin process workers (#3354)Libravatar kim1
2024-09-24[bugfix] Fix incorrect reply shown in interaction request (#3344)Libravatar tobi3
2024-09-23[bugfix] add support for media with rotation contained in stream side data ↵Libravatar kim1
(#3335) * add support for media with embedded rotation data in stream side data list * *grumble grumble* linter
2024-09-23[bugfix/email] Don't use plainAuth when no smtp username/password provided ↵Libravatar tobi1
(#3332) * Do not use plainAuth when no user or password. Fixes #3320 * formatting --------- Co-authored-by: Yonas Yanfa <yonas.y@gmail.com>
2024-09-23[feature] Show info for pending replies, allow implicit accept of pending ↵Libravatar tobi14
replies (#3322) * [feature] Allow implicit accept of pending replies * update wording