summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2024-02-14[bugfix] add stricter checks during all stages of dereferencing remote AS ↵Libravatar kim15
objects (#2639) * add stricter checks during all stages of dereferencing remote AS objects * a comment
2024-02-14[feature] Add metrics for instance user count, statuses count and federating ↵Libravatar Tsuribori4
instances count (#2592) Co-authored-by: Tsuribori <none@example.org>
2024-02-14[docs] Inform new contributors to `git fetch` (#2637)Libravatar Leonora Tindall1
2024-02-13remove the execer and queryer conformance requirements (#2636)Libravatar kim1
2024-02-12[performance] temporarily cache account status counts to reduce no. account ↵Libravatar kim5
counts (#2620) * temporarily cache account status counts to reduce no. account counts * whoops, forgot to initAccountCounts() * use already fetched cache capacity value * make cache a ptr type * whoops, use count instead of just select * fix to correctly use the transaction * properly wrap that tx :innocent: * correctly wrap both tx types * outline retryOnBusy() to allow the fast path to be inlined * return err on context cancelled * remove unnecessary storage of context in stmt, fix Exec and Query interface implementations * shutup linter
2024-02-12[docs] Fix a few things in the bare metal install (#2624)Libravatar Daenney1
* [docs] Fix a few things in the bare metal install Fixes #2454 * [chore] Fix shell variable interpolation
2024-02-12[docs] Enable some new features (#2623)Libravatar Daenney6
* [docs] Enable a bunch of markdown extensions * details makes admonitions collapsible and when started with ??? instead of !!! they'll be collpased by default * highlights are updated to include linenums by default but with a style that doesn't result in the linenums to be copy-pasted when selecting and pasting. This makes it possible to directly link to a specific line in the documentation instead of just the general page * caret, mark and tilde make it possible to highlight text and have super/subscripts * keys turns combos like `++ctrl+alt+del++` into HTML key elements showing a keyboard combination to press * tabbed makes it possible to have tabs within a document. Right now we have different sections sometimes to show the config for nginx, apache and Caddy, which can be turned into tabs instead and which tab is picked will get remebered * smartsymbols turns certain things, like `(c)` in the right symbol © * [docs] Upgrade all the python dependencies * [docs] Explain how to update conda deps
2024-02-12Make GtS reported version SemVer-compatible (#2611)Libravatar Vyr Cossont1
2024-02-12[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.14 to 2.20.16 (#2631)Libravatar dependabot[bot]4
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.14 to 2.20.16. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.20.14...v2.20.16) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.