summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2024-06-03bump go-structr to v0.8.5 to improve memory usage (#2955)Libravatar kim7
2024-06-03[chore]: Bump github.com/spf13/viper from 1.18.2 to 1.19.0 (#2954)Libravatar dependabot[bot]8
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.18.2 to 1.19.0. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](https://github.com/spf13/viper/compare/v1.18.2...v1.19.0) --- updated-dependencies: - dependency-name: github.com/spf13/viper 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-06-03[feature/frontend] Add debug sections to settings panel (#2950)Libravatar tobi15
* [feature/frontend] Add debug sections to settings panel * max-width * swagger
2024-05-31[feature] Add from: search operator and account_id query param (#2943)Libravatar Vyr Cossont11
* Add from: search operator * Fix whitespace in Swagger YAML comment * Move query parsing into its own method * Document search * Clarify post search scope
2024-05-31[feature] Implement Filter API v2 (#2936)Libravatar Vyr Cossont66
* Use correct entity name * We support server-side filters now * Document filter v1 methods that can throw a 409 * Validate v1 filter phrase as filter title * Always check v1 filter API status codes in tests * Document keyword minimum requirement on filter API v1 * Make it possible to specify filter keyword update columns per filter keyword * Implement v2 filter API * Fix lint and tests * Update Swagger spec * Fix filter update test * Update Swagger spec *correctly* * Update actual files Swagger spec was generated from * Remove keywords_attributes and statuses_attributes * Add test for serialization of empty filter * More helpful messages when object is owned by wrong account
2024-05-30[chore] little startup tweaks (#2941)Libravatar tobi2
* [chore] little startup tweaks * go fmt
2024-05-30[chore] Make worker run messages debug output (#2944)Libravatar Daenney3
On startup and shutdown of a worker, we log a message of the worker being started together with a textual representation of a memory address. Though this can be handy for developers to debug startup/shutdown sequencing issues of the workers, it's typically not very useful or informative for an admin. We can also output a lot of these (on my system I get 265 lines of these during startup). This changes the messages from Info to Debug, to not print them under normal circumstances.
2024-05-30[docs]: Document build tag for WASM SQLite (#2942)Libravatar Daenney1
Follow-up for #2863.
2024-05-30[docs] Fix link in domain part (#2946)Libravatar 浮心物语1
2024-05-29[chore] improved startup / shutdown (#2925)Libravatar kim4
* improved server shutdown with more precise shutdown of modules + deferring of ALL of it * make the same changes to the testrig server * use testrig specific func * update variable name to fix nilptr * fix removal of setting db on state
2024-05-29[feature] Implement profile API (#2926)Libravatar Vyr Cossont6
* Implement profile API This Mastodon 4.2 extension provides capabilities missing from the existing Mastodon account update API: deleting an account's avatar or header. See: https://docs.joinmastodon.org/methods/profile/ * Move profile media methods to media processor * Remove check for moved account
2024-05-29[feature] Debug admin endpoint to clear caches (#2940)Libravatar tobi8
* [feature] Debug admin endpoint to clear caches * go fmt
2024-05-28[chore/bugfix] Don't cache MovedTo account (#2939)Libravatar tobi1
2024-05-28[chore] make wasm sqlite3 available to goreleaser via env var (#2938)Libravatar tobi1
2024-05-27[feature/frontend] Let admins send test email to validate SMTP config (#2934)Libravatar tobi18
* [feature/frontend] Let admins send test email to validate SMTP config * wee
2024-05-27[experiment] add alternative wasm sqlite3 implementation available via ↵Libravatar kim398
build-tag (#2863) This allows for building GoToSocial with [SQLite transpiled to WASM](https://github.com/ncruces/go-sqlite3) and accessed through [Wazero](https://wazero.io/).
2024-05-27[chore] Small styling + link issues (#2933)Libravatar tobi2
2024-05-27[chore] Fix report email link (#2932)Libravatar tobi1
2024-05-27[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.25 to 2.20.32 (#2927)Libravatar dependabot[bot]4
2024-05-27[chore]: Bump github.com/jackc/pgx/v5 from 5.5.5 to 5.6.0 (#2929)Libravatar dependabot[bot]36
2024-05-22[performance] update storage backend and make use of seek syscall when ↵Libravatar kim91
available (#2924) * update to use go-storage/ instead of go-store/v2/storage/ * pull in latest version from codeberg * remove test output :innocent: * add code comments * set the exclusive bit when creating new files in disk config * bump to actual release version * bump to v0.1.1 (tis a simple no-logic change) * update readme * only use a temporary read seeker when decoding video if required (should only be S3 now) * use fastcopy library to use memory pooled buffers when calling TempFileSeeker() * update to use seek call in serveFileRange()
2024-05-21--- (#2923)Libravatar dependabot[bot]3
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-05-21[performance] cache v2 filter keyword regular expressions (#2903)Libravatar kim5
* add caching of filterkeyword regular expressions * formatting * fix WholeWord nil check
2024-05-21[chore] dependabot updates (#2922)Libravatar kim85
* [chore]: Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.1 Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.18.0 to 1.19.1. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.1) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * [chore]: Bump github.com/KimMachineGun/automemlimit from 0.6.0 to 0.6.1 Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.6.0 to 0.6.1. - [Release notes](https://github.com/KimMachineGun/automemlimit/releases) - [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.6.0...v0.6.1) --- updated-dependencies: - dependency-name: github.com/KimMachineGun/automemlimit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * [chore]: Bump github.com/tdewolff/minify/v2 from 2.20.20 to 2.20.24 Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.20 to 2.20.24. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.20.20...v2.20.24) --- 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> * [chore]: Bump github.com/go-swagger/go-swagger Bumps [github.com/go-swagger/go-swagger](https://github.com/go-swagger/go-swagger) from 0.30.6-0.20240418033037-c46c303aaa02 to 0.31.0. - [Release notes](https://github.com/go-swagger/go-swagger/releases) - [Changelog](https://github.com/go-swagger/go-swagger/blob/master/.goreleaser.yml) - [Commits](https://github.com/go-swagger/go-swagger/commits/v0.31.0) --- updated-dependencies: - dependency-name: github.com/go-swagger/go-swagger dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * [chore]: Bump github.com/gin-gonic/gin from 1.9.1 to 1.10.0 Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.1 to 1.10.0. - [Release notes](https://github.com/gin-gonic/gin/releases) - [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md) - [Commits](https://github.com/gin-gonic/gin/compare/v1.9.1...v1.10.0) --- updated-dependencies: - dependency-name: github.com/gin-gonic/gin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13[chore]: Bump github.com/gin-contrib/cors from 1.7.1 to 1.7.2 (#2912)Libravatar dependabot[bot]4
Bumps [github.com/gin-contrib/cors](https://github.com/gin-contrib/cors) from 1.7.1 to 1.7.2. - [Release notes](https://github.com/gin-contrib/cors/releases) - [Changelog](https://github.com/gin-contrib/cors/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/cors/compare/v1.7.1...v1.7.2) --- updated-dependencies: - dependency-name: github.com/gin-contrib/cors 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> Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
2024-05-13[chore]: Bump github.com/gin-contrib/sessions from 1.0.0 to 1.0.1 (#2916)Libravatar dependabot[bot]4
Bumps [github.com/gin-contrib/sessions](https://github.com/gin-contrib/sessions) from 1.0.0 to 1.0.1. - [Release notes](https://github.com/gin-contrib/sessions/releases) - [Changelog](https://github.com/gin-contrib/sessions/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/sessions/compare/v1.0.0...v1.0.1) --- updated-dependencies: - dependency-name: github.com/gin-contrib/sessions 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-05-13[chore]: Bump golang.org/x/crypto from 0.22.0 to 0.23.0 (#2915)Libravatar dependabot[bot]0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.23.0. - [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto 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-05-13[chore]: Bump golang.org/x/net from 0.24.0 to 0.25.0 (#2914)Libravatar dependabot[bot]66
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.25.0. - [Commits](https://github.com/golang/net/compare/v0.24.0...v0.25.0) --- updated-dependencies: - dependency-name: golang.org/x/net 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-05-13[performance] update go-structr and go-mutexes with memory usage ↵Libravatar kim26
improvements (#2909) * update go-structr and go-mutexes with memory usage improvements * bump to go-structr v0.8.4
2024-05-07[bugfix] Reset emoji fields on upload error (#2905)Libravatar tobi6
2024-05-07bump modernc.org/sqlite v1.29.8 -> v1.29.9 (concurrency workaround) (#2906)Libravatar kim6
2024-05-06update the total ratios calculation to include ALL caches (previously was ↵Libravatar kim2
missing a few!) (#2907)
2024-05-06update go-structr -> v0.8.2 which includes some minor memory usage ↵Libravatar kim6
improvements (#2904)
2024-05-06feature: filters v2 server-side warning/hiding (#2793)Libravatar Vyr Cossont24
* Remove dead code * Filter statuses when converting to frontend representation * status.filtered is an array * Make matching case-insensitive * Remove TODOs that don't need to be done now * Add missing filter check for notification * lint: rename ErrHideStatus * APIFilterActionToFilterAction not used yet * swaggerino docseroni * Address review comments * Add apimodel.FilterActionNone --------- Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com> Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-05-06[chore]: Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 (#2900)Libravatar dependabot[bot]4
2024-05-06[chore]: Bump codeberg.org/gruf/go-structr from 0.7.0 to 0.8.0 (#2902)Libravatar dependabot[bot]6
Bumps codeberg.org/gruf/go-structr from 0.7.0 to 0.8.0. --- updated-dependencies: - dependency-name: codeberg.org/gruf/go-structr 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-05-06[chore]: Bump github.com/gin-contrib/gzip from 1.0.0 to 1.0.1 (#2899)Libravatar dependabot[bot]372
Bumps [github.com/gin-contrib/gzip](https://github.com/gin-contrib/gzip) from 1.0.0 to 1.0.1. - [Release notes](https://github.com/gin-contrib/gzip/releases) - [Changelog](https://github.com/gin-contrib/gzip/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/gzip/compare/v1.0.0...v1.0.1) --- updated-dependencies: - dependency-name: github.com/gin-contrib/gzip 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-05-06[chore]: Bump golang.org/x/image from 0.15.0 to 0.16.0 (#2898)Libravatar dependabot[bot]4
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.15.0 to 0.16.0. - [Commits](https://github.com/golang/image/compare/v0.15.0...v0.16.0) --- updated-dependencies: - dependency-name: golang.org/x/image 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-05-05close + drain body if response body is too large (#2897)Libravatar kim1
2024-05-05[feature] Add HTTP header permission section to frontend (#2893)Libravatar tobi27
* [feature] Add HTTP header filter section to frontend * tweak naming a bit
2024-05-02[frontend] Do optimistic update when approving/rejecting/suspending account ↵Libravatar tobi2
(#2892)
2024-05-02add missing caches to the main cache sweep command (#2891)Libravatar kim1
2024-05-02[bugfix] Lock when checking/creating notifs to avoid race (#2890)Libravatar tobi15
* [bugfix] Lock when checking/creating notifs to avoid race * test notif spam
2024-05-01[feature] Page through accounts as moderator (#2881)Libravatar tobi30
* [feature] Page through accounts as moderator * aaaaa * use COLLATE "C" for Postgres to ensure same ordering as SQLite * fix typo, test paging up * don't show moderation / info for our instance acct
2024-05-01[bugfix] Tidy up remaining references to workers in cmd (#2889)Libravatar tobi3
2024-05-01[bugfix] function queue memory pools limitlessly grow (#2882)Libravatar kim1
* updates the simple queue memory pool to actually self-clean + limit growth * update memory pool cleaning frequency
2024-05-01[bugfix] flaky paging test (#2888)Libravatar kim1
2024-04-30[bugfix] further paging mishaps (#2884)Libravatar kim5
* FURTHER paging shenanigans :smiling_face_with_tear: * remove cursor logic from ToLinkURL() * fix up paging tests --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-04-30[bugfix] retry on http 500 errors *inclusive* (#2886)Libravatar kim1
2024-04-30[chore] include attemptno in httpclient logs (#2887)Libravatar kim1
* include request attempt number in httpclient logs * slightly nicer attempt number formatting