summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2024-02-12[chore]: Bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 (#2629)Libravatar dependabot[bot]5
2024-02-12[chore]: Bump golang.org/x/crypto from 0.18.0 to 0.19.0 (#2632)Libravatar dependabot[bot]38
2024-02-10[chore] Add AI check in PR template (#2625)Libravatar Daenney1
* [chore] Add AI check in PR template * [chore] Update AI disclaimer sentence
2024-02-09[docs] Mounting config file in container (#2622)Libravatar Daenney1
* [docs] Mounting config file in container This adds a small section clarifying how to mount a config.yaml in a container. * [docs] Work in GTS_CONFIG_PATH
2024-02-09use pointer for freshness window (#2614)Libravatar tobi15
2024-02-09[chore] Move `DoOnce` func wrapper to util (#2613)Libravatar tobi5
2024-02-07[feature/performance] sqlite pragma optimize on close (#2596)Libravatar kim31
* wrap database drivers in order to handle error processing, hooks, etc * remove dead code * add code comment, remove unused blank imports
2024-02-06[bugfix] Ensure activities sender always = activities actor (#2608)Libravatar tobi6
2024-02-06[feature] serdes for moved/also_known_as (#2600)Libravatar tobi11
* [feature] serdes for moved/also_known_as * document `alsoKnownAs` and `movedTo` properties * only implicitly populate AKA uris from DB for local accounts * don't let remotes store more than 20 AKA uris to avoid shenanigans
2024-02-05[chore]: Bump github.com/miekg/dns from 1.1.57 to 1.1.58 (#2606)Libravatar dependabot[bot]15
2024-02-05[chore]: Bump github.com/google/uuid from 1.5.0 to 1.6.0 (#2604)Libravatar dependabot[bot]6
2024-02-05[chore]: Bump github.com/yuin/goldmark from 1.6.0 to 1.7.0 (#2603)Libravatar dependabot[bot]10
2024-02-02[chore] bump activity dependency -> v1.6.0-gts (#2599)Libravatar tobi30
2024-02-01stop paged endpoints returning null for empty items (#2597)Libravatar kim2
2024-01-31[feature] Try HTTP signature validation with and without query params for ↵Libravatar tobi18
incoming requests (#2591) * [feature] Verify signatures both with + without query params * Bump to tagged version
2024-01-31Improve context descendant sorting (#2579)Libravatar Vyr Cossont2
* Improve context descendant sorting Topologically sort replies, then move self-replies to top of list * Unify descendant sort passes * Correct test package name * Preallocate maps
2024-01-31[bugfix] fix possible infinite loops in media / emoji cleanup (#2590)Libravatar kim8
* update media / emoji cleaner funcs to use new paging package, check for same returned maxID * fix other calls of getattachments and getmojis not using paging * use alternative order-by function
2024-01-31[bugfix] parent status replied to status not dereferenced sometimes (#2587)Libravatar kim6
* much simplified DereferenceStatusAncestors(), also handles edge cases now * perform status acceptibility check before handling even as forward * don't further dereference ancestors if they're up to date * call enrichStatusSafely() directly to ensure we get error messages * change getStatusByURI() semantics to return error + old model on failed update, fix deref ancestor to check for staleness before refetch * perform a nil-check on the status.Local variable, in case it hasn't been set on new status attempting refresh * more consistently set returned parent status, don't check if updated * only home-timeline statuses if explicitly visible AND not explicitly invisible! * fix broken test now that status acceptibility checks happen on forwarded statuses
2024-01-29update go-structr v0.2.0 => v0.3.0 to fix possible hash collision issues (#2586)Libravatar kim17
2024-01-29[bugfix] Fix Postgres emoji delete, emoji category change (#2570)Libravatar tobi15
* [bugfix] Fix Postgres emoji delete, emoji category change * revert trace logging * caching issue * update tests
2024-01-28[chore] Add a couple tests for updating list entries (#2580)Libravatar tobi2
2024-01-28[bugfix] Fix EmptyJSONObject/EmptyJSONArray (#2576)Libravatar Vyr Cossont1
* Fix EmptyJSONObject/EmptyJSONArray These are meant to be the bytes representing an empty object and array in JSON: `{}` and `[]`. They are actually the strings `"{}"` and `"[]"`. This causes clients expecting an object or array to not be able to parse the response. * Use json.RawMessage instead of []byte
2024-01-27[docs] Rework storage (#2571)Libravatar Daenney1
* Restructure the sections * Mention how to clear out remote avatars and headers, related to #2328 * Add more links to authoritative documentation on the AWS side * Show how to use the official AWS CLI * Make a separate section for migration to S3 compatible object backends
2024-01-27[docs] Add media attachments section to user docs (#2578)Libravatar tobi1
2024-01-26[bugfix] Don't return Account or Status if new and dereferencing failed, ↵Libravatar tobi13
other small fixes (#2563) * tidy up account, status, webfingering logic a wee bit * go fmt * invert published check * alter resp initialization * get Published from account in typeutils * don't instantiate error for no darn good reason * shadow err * don't repeat error codes in wrapped errors * don't wrap error unnecessarily
2024-01-26[performance] cache library performance enhancements (updates go-structr => ↵Libravatar kim36
v0.2.0) (#2575) * update go-structr => v0.2.0 * update readme * whoops, fix the link
2024-01-25[docs] Fix log-timestamp-format (#2572)Libravatar Daenney2
Supersedes: #2556 Closes: #2455
2024-01-25[docs] Update Feditext URL (#2568)Libravatar Vyr Cossont3
Fixes #2567
2024-01-23[docs] Correct wrong tracing transport option (#2566)Libravatar Tsuribori1
Co-authored-by: Tsuribori <none@example.org>
2024-01-22[feature] Ratelimit + serve emoji images on separate router group (#2548)Libravatar tobi5
* [feature] Serve + rate limit emoji files separately from attachments * add a wee little warning about uploading loads of emojis
2024-01-22[bugfix] Don't return Internal Server Error when searching for URIs that ↵Libravatar tobi3
don't return AP JSON (#2550) * [bugfix] Don't return Internal Server Error when searching for URIs that don't return AP JSON * don't pass map pointer
2024-01-22[chore]: Bump codeberg.org/gruf/go-mutexes from 1.3.1 to 1.4.0 (#2562)Libravatar dependabot[bot]5
Bumps codeberg.org/gruf/go-mutexes from 1.3.1 to 1.4.0. --- updated-dependencies: - dependency-name: codeberg.org/gruf/go-mutexes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22[feature] Allow "charset=utf8" in incoming AP POST requests (#2564)Libravatar tobi3
* [feature] Allow "charset=utf8" in incoming AP POST requests * changed my mind * document POSTing to a GtS inbox * correct link
2024-01-22[docs] use latest cavage link for http signatures (#2565)Libravatar tobi2
2024-01-22[docs] Add a few things to the FAQ. (#2557)Libravatar mirabilos1
2024-01-22[chore]: Bump github.com/abema/go-mp4 from 1.1.1 to 1.2.0 (#2559)Libravatar dependabot[bot]9
2024-01-22[chore]: Bump github.com/KimMachineGun/automemlimit from 0.4.0 to 0.5.0 (#2560)Libravatar dependabot[bot]18
2024-01-21[bugfix] fix array type for also_known_as_uris (#2553)Libravatar tobi1
2024-01-21[bugfix/frontend] Break word on profile field names and values (#2551)Libravatar tobi1
2024-01-21[docs] Updates for DB, swap and HTTP/2 on nginx (#2547)Libravatar Daenney2
* [docs] Add warning about DBs on network storage * [docs] Mention tuning swappiness on Linux * [docs] Mention enabling HTTP/2 on nginx
2024-01-21[chore] Downgrade OTEL libraries to 1.20 (#2546)Libravatar Daenney20
For some reason httpconv seems to have disappeared from 1.21, which results in a 1.21 runtime with 1.20 semconv/httpconv which seems to break some things. For now, this rolls the OTEL dependencies back to 1.20 which should fix the observability issues. We'll need to take a look at how to upgrade safely and correctly in the future. Relates to #2503.
2024-01-20[bugfix] Prevent URL + URI for same account being used as alias target (#2545)Libravatar tobi3
* [bugfix] Ensure URL and URI for same account can't both be provided as alias * test whoopsie from previous PR
2024-01-19[bugfix] Ensure domain block side effects skipped if allow in place ↵Libravatar tobi2
(blocklist mode) (#2542)
2024-01-19[chore] Harden up boolptr logic on Accounts, warn if not set (#2544)Libravatar tobi6
2024-01-19[performance] overhaul struct (+ result) caching library for simplicity, ↵Libravatar kim66
performance and multiple-result lookups (#2535) * rewrite cache library as codeberg.org/gruf/go-structr, implement in gotosocial * use actual go-structr release version (not just commit hash) * revert go toolchain changes (damn you go for auto changing this) * fix go mod woes * ensure %w is used in calls to errs.Appendf() * fix error checking * fix possible panic * remove unnecessary start/stop functions, move to main Cache{} struct, add note regarding which caches require start/stop * fix copy-paste artifact... :innocent: * fix all comment copy-paste artifacts * remove dropID() function, now we can just use slices.DeleteFunc() * use util.Deduplicate() instead of collate(), move collate to util * move orderByIDs() to util package and "generify" * add a util.DeleteIf() function, use this to delete entries on failed population * use slices.DeleteFunc() instead of util.DeleteIf() (i had the logic mixed up in my head somehow lol) * add note about how collate differs from deduplicate
2024-01-18[chore] chore rationalise http return codes for activitypub handlers (#2540)Libravatar kim5
* some small code fixups and changes * add check in ResolveIncomingActivity for transient activity types (i.e. activity ID is nil) * update test to handle new transient behaviour
2024-01-17[chore] update viper version (#2539)Libravatar kim166
* update viper version * removes our last uses of the slice package * fix tests
2024-01-16[bugfix] Better Postgres search case insensitivity (#2526)Libravatar tobi3
* [bugfix] Better Postgres search case insensitivity * use ilike for postgres
2024-01-16[feature] Move + alias account via settings panel (#2519)Libravatar tobi12
* [feature] Move + alias account via settings panel * lint * type a bit more diligently
2024-01-16[feature] Account alias / move API + db models (#2518)Libravatar tobi23
* [feature] Account alias / move API + db models * go fmt * fix little cherry-pick issues * update error checking, formatting * add and use new util functions to simplify alias logic