summaryrefslogtreecommitdiff
path: root/go.mod
AgeCommit message (Collapse)AuthorFiles
2023-09-04[chore]: Bump golang.org/x/image from 0.11.0 to 0.12.0 (#2178)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04[chore]: Bump github.com/minio/minio-go/v7 from 7.0.62 to 7.0.63 (#2180)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04[chore]: Bump golang.org/x/text from 0.12.0 to 0.13.0 (#2177)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28[chore]: Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#2166)Libravatar dependabot[bot]1
2023-08-28[chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.6 to 0.3.0 (#2165)Libravatar dependabot[bot]1
2023-08-21[chore]: Bump codeberg.org/gruf/go-kv from 1.6.3 to 1.6.4 (#2142)Libravatar dependabot[bot]1
2023-08-21[chore]: Bump github.com/minio/minio-go/v7 from 7.0.61 to 7.0.62 (#2141)Libravatar dependabot[bot]1
2023-08-21[chore]: Bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 (#2140)Libravatar dependabot[bot]1
2023-08-16[chore]: Bump github.com/jackc/pgx/v5 from 5.4.2 to 5.4.3 (#2112)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16[chore]: Bump github.com/abema/go-mp4 from 0.12.0 to 0.13.0 (#2113)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16[chore]: Bump modernc.org/sqlite from 1.24.0 to 1.25.0 (#2114)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-13[bugfix] bump go-kv version with logfmt quote fix (#2108)Libravatar kim1
2023-08-07[chore]: Bump github.com/tdewolff/minify/v2 from 2.12.7 to 2.12.8 (#2073)Libravatar dependabot[bot]1
2023-08-07[chore]: Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 (#2076)Libravatar dependabot[bot]1
2023-08-07[chore]: Bump github.com/abema/go-mp4 from 0.11.0 to 0.12.0 (#2075)Libravatar dependabot[bot]1
2023-08-07[chore]: Bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#2077)Libravatar dependabot[bot]1
2023-08-07[chore]: Bump golang.org/x/image from 0.9.0 to 0.11.0 (#2074)Libravatar dependabot[bot]1
2023-08-06[chore] Remove go-playground/validator (#2069)Libravatar Daenney1
* [chore] Remove go-playground/validator It turns out we're not actually using the validator code. This is a remnant from when we intended to use it, but the presence of it and its struct tags creates the illusion we're validating a lot of things we're not. It resulted in some confusion when we were trying to figure out language valdiation. Remove all this code, so that only the validation functions from the validate package we actually use remain. I'm not touching the struct tags in the migrations in order to avoid things potentially thinking migrations need to be re-run. * [chore] Bring back a struct tag on api The validate on internal/api is Gin doing form validation, not the validator from go-playground/validator.
2023-08-06[bugfix] update cache library with nil ptr fix (#2070)Libravatar kim1
Signed-off-by: kim <grufwub@gmail.com>
2023-08-04[performance] add caching of status fave, boost of, in reply to ID lists (#2060)Libravatar kim1
2023-08-03[feature] simpler cache size configuration (#2051)Libravatar kim1
* add automatic cache max size generation based on ratios of a singular fixed memory target Signed-off-by: kim <grufwub@gmail.com> * remove now-unused cache max-size config variables Signed-off-by: kim <grufwub@gmail.com> * slight ratio tweak Signed-off-by: kim <grufwub@gmail.com> * remove unused visibility config var Signed-off-by: kim <grufwub@gmail.com> * add secret little ratio config trick Signed-off-by: kim <grufwub@gmail.com> * fixed a word Signed-off-by: kim <grufwub@gmail.com> * update cache library to remove use of TTL in result caches + slice cache Signed-off-by: kim <grufwub@gmail.com> * update other cache usages to use correct interface Signed-off-by: kim <grufwub@gmail.com> * update example config to explain the cache memory target Signed-off-by: kim <grufwub@gmail.com> * update env parsing test with new config values Signed-off-by: kim <grufwub@gmail.com> * do some ratio twiddling Signed-off-by: kim <grufwub@gmail.com> * add missing header * update envparsing with latest defaults Signed-off-by: kim <grufwub@gmail.com> * update size calculations to take into account result cache, simple cache and extra map overheads Signed-off-by: kim <grufwub@gmail.com> * tweak the ratios some more Signed-off-by: kim <grufwub@gmail.com> * more nan rampaging Signed-off-by: kim <grufwub@gmail.com> * fix envparsing script Signed-off-by: kim <grufwub@gmail.com> * update cache library, add sweep function to keep caches trim Signed-off-by: kim <grufwub@gmail.com> * sweep caches once a minute Signed-off-by: kim <grufwub@gmail.com> * add a regular job to sweep caches and keep under 80% utilisation Signed-off-by: kim <grufwub@gmail.com> * remove dead code Signed-off-by: kim <grufwub@gmail.com> * add new size library used to libraries section of readme Signed-off-by: kim <grufwub@gmail.com> * add better explanations for the mem-ratio numbers Signed-off-by: kim <grufwub@gmail.com> * update go-cache Signed-off-by: kim <grufwub@gmail.com> * library version bump Signed-off-by: kim <grufwub@gmail.com> * update cache.result{} size model estimation Signed-off-by: kim <grufwub@gmail.com> --------- Signed-off-by: kim <grufwub@gmail.com>
2023-07-31[performance] cache follow, follow request and block ID lists (#2027)Libravatar kim1
2023-07-31[chore]: Bump github.com/abema/go-mp4 from ↵Libravatar dependabot[bot]1
0.10.2-0.20230727031202-a1a707db6ecd to 0.11.0 (#2042) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31[chore]: Bump github.com/minio/minio-go/v7 from 7.0.60 to 7.0.61 (#2041)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27[chore] Update activity dependency (#2031)Libravatar tobi1
2023-07-27[chore] update go-mp4 to latest commit (#2028)Libravatar Dominik Süß1
This adds support for probing mp4 files with a co64 box instead of an stco box, which is the case for videos recorded on newer android devices.
2023-07-24[chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.24 to 1.0.25 (#2021)Libravatar dependabot[bot]1
2023-07-24[chore]: Bump github.com/yuin/goldmark from 1.5.4 to 1.5.5 (#2023)Libravatar dependabot[bot]1
2023-07-24[chore]: Bump codeberg.org/gruf/go-cache/v3 from 3.4.1 to 3.4.3 (#2022)Libravatar dependabot[bot]1
2023-07-24[chore]: Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1 (#2024)Libravatar dependabot[bot]1
2023-07-24[chore]: Bump go.uber.org/automaxprocs from 1.5.2 to 1.5.3 (#2020)Libravatar dependabot[bot]1
2023-07-21[chore]: Bump modernc.org/sqlite from 1.23.1 to 1.24.0 (#1993)Libravatar dependabot[bot]1
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.23.1 to 1.24.0. - [Commits](https://gitlab.com/cznic/sqlite/compare/v1.23.1...v1.24.0) --- updated-dependencies: - dependency-name: modernc.org/sqlite 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>
2023-07-21[chore]: Bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 (#1991)Libravatar dependabot[bot]1
2023-07-21[chore]: Bump github.com/minio/minio-go/v7 from 7.0.59 to 7.0.60 (#1992)Libravatar dependabot[bot]1
2023-07-21[chore]: Bump github.com/go-playground/form/v4 from 4.2.0 to 4.2.1 (#1994)Libravatar dependabot[bot]1
2023-07-10[chore]: Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 (#1975)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10[chore]: Bump golang.org/x/net from 0.11.0 to 0.12.0 (#1973)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10[chore]: Bump golang.org/x/image from 0.8.0 to 0.9.0 (#1972)Libravatar dependabot[bot]1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04[chore]: Bump github.com/minio/minio-go/v7 from 7.0.58 to 7.0.59 (#1941)Libravatar dependabot[bot]1
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.58 to 7.0.59. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.58...v7.0.59) --- updated-dependencies: - dependency-name: github.com/minio/minio-go/v7 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>
2023-06-26[chore]: Bump github.com/minio/minio-go/v7 from 7.0.56 to 7.0.58 (#1928)Libravatar dependabot[bot]1
2023-06-26[chore]: Bump github.com/miekg/dns from 1.1.54 to 1.1.55 (#1929)Libravatar dependabot[bot]1
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.54 to 1.1.55. - [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release) - [Commits](https://github.com/miekg/dns/compare/v1.1.54...v1.1.55) --- updated-dependencies: - dependency-name: github.com/miekg/dns 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>
2023-06-26[chore]: Bump github.com/tdewolff/minify/v2 from 2.12.6 to 2.12.7 (#1927)Libravatar dependabot[bot]1
2023-06-26[chore]: Bump golang.org/x/image from 0.7.0 to 0.8.0 (#1926)Libravatar dependabot[bot]1
2023-06-21[performance] update go-cache library (#1917)Libravatar kim1
* update go-cache library Signed-off-by: kim <grufwub@gmail.com> * fix broken test after cache library upgrade Signed-off-by: kim <grufwub@gmail.com> * fix the webfinger test Signed-off-by: kim <grufwub@gmail.com> --------- Signed-off-by: kim <grufwub@gmail.com>
2023-06-19[chore]: Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 (#1908)Libravatar dependabot[bot]1
2023-06-19[chore]: Bump github.com/jackc/pgx/v5 from 5.3.1 to 5.4.1 (#1907)Libravatar dependabot[bot]1
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.1 to 5.4.1. - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.3.1...v5.4.1) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v5 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>
2023-06-19[chore]: Bump golang.org/x/net from 0.10.0 to 0.11.0 (#1909)Libravatar dependabot[bot]1
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.11.0. - [Commits](https://github.com/golang/net/compare/v0.10.0...v0.11.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>
2023-06-19[chore]: Bump golang.org/x/crypto from 0.9.0 to 0.10.0 (#1910)Libravatar dependabot[bot]1
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.9.0 to 0.10.0. - [Commits](https://github.com/golang/crypto/compare/v0.9.0...v0.10.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>
2023-06-12[chore]: Bump modernc.org/sqlite from 1.23.0 to 1.23.1 (#1884)Libravatar dependabot[bot]1
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.23.0 to 1.23.1. - [Commits](https://gitlab.com/cznic/sqlite/compare/v1.23.0...v1.23.1) --- updated-dependencies: - dependency-name: modernc.org/sqlite 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>
2023-06-05[chore] update latest deps, ensure readme up to date (#1873)Libravatar tobi1
* [chore] update latest deps, ensure readme up to date * remove double entry