summaryrefslogtreecommitdiff
path: root/vendor
AgeCommit message (Collapse)AuthorFiles
2024-05-06[chore]: Bump golang.org/x/image from 0.15.0 to 0.16.0 (#2898)Libravatar dependabot[bot]2
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-04-29[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.19 to 2.20.20 (#2875)Libravatar dependabot[bot]4
2024-04-29[chore]: Bump github.com/minio/minio-go/v7 from 7.0.69 to 7.0.70 (#2877)Libravatar dependabot[bot]25
2024-04-29[chore]: Bump ↵Libravatar dependabot[bot]10
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2878)
2024-04-29[chore]: Bump go.opentelemetry.io/otel/sdk from 1.25.0 to 1.26.0 (#2879)Libravatar dependabot[bot]8
2024-04-26[performance] update remaining worker pools to use queues (#2865)Libravatar kim7
* start replacing client + federator + media workers with new worker + queue types * refactor federatingDB.Delete(), drop queued messages when deleting account / status * move all queue purging to the processor workers * undo toolchain updates * code comments, ensure dereferencer worker pool gets started * update gruf libraries in readme * start the job scheduler separately to the worker pools * reshuffle ordering or server.go + remove duplicate worker start / stop * update go-list version * fix vendoring * move queue invalidation to before wipeing / deletion, to ensure queued work not dropped * add logging to worker processing functions in testrig, don't start workers in unexpected places * update go-structr to add (+then rely on) QueueCtx{} type * ensure more worker pools get started properly in tests * fix remaining broken tests relying on worker queue logic * fix account test suite queue popping logic, ensure noop workers do not pull from queue * move back accidentally shuffled account deletion order * ensure error (non nil!!) gets passed in refactored federatingDB{}.Delete() * silently drop deletes from accounts not permitted to * don't warn log on forwarded deletes * make if else clauses easier to parse * use getFederatorMsg() * improved code comment * improved code comment re: requesting account delete checks * remove boolean result from worker start / stop since false = already running or already stopped * remove optional passed-in http.client * remove worker starting from the admin CLI commands (we don't need to handle side-effects) * update prune cli to start scheduler but not all of the workers * fix rebase issues * remove redundant return statements * i'm sorry sir linter
2024-04-26[chore] Bump go swagger (#2871)Libravatar tobi248
* bump go swagger version * bump swagger version
2024-04-22[chore]: Bump codeberg.org/gruf/go-mutexes from 1.4.0 to 1.4.1 (#2860)Libravatar dependabot[bot]2
Bumps codeberg.org/gruf/go-mutexes from 1.4.0 to 1.4.1. --- updated-dependencies: - dependency-name: codeberg.org/gruf/go-mutexes 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-04-22[chore]: Bump github.com/miekg/dns from 1.1.58 to 1.1.59 (#2861)Libravatar dependabot[bot]7
2024-04-22[chore] bump modernc.org/sqlite to v1.29.8 (with our concurrency workaround) ↵Libravatar kim15
(#2855)
2024-04-22[chore]: Bump github.com/KimMachineGun/automemlimit from 0.5.0 to 0.6.0 (#2859)Libravatar dependabot[bot]5
2024-04-17bump to modernc.org/sqlite v1.29.7 (#2850)Libravatar kim118
2024-04-15[chore] bump bun library versions (#2837)Libravatar kim20
2024-04-15[chore]: Bump golang.org/x/net from 0.23.0 to 0.24.0 (#2834)Libravatar dependabot[bot]1
2024-04-15[chore]: Bump golang.org/x/crypto from 0.21.0 to 0.22.0 (#2835)Libravatar dependabot[bot]8
2024-04-11[chore]: Bump ↵Libravatar dependabot[bot]284
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2818) Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.24.0 to 1.25.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc 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-04-11[chore] update go-structr => v0.6.2 (fixes nested field ptr following) (#2822)Libravatar kim5
* update go-structr => v0.6.1 (fixes nested field ptr following) * bump to v0.6.2
2024-04-11[performance] massively improved ActivityPub delivery worker efficiency (#2812)Libravatar kim3
* add delivery worker type that pulls from queue to httpclient package * finish up some code commenting, bodge a vendored activity library change, integrate the deliverypool changes into transportcontroller * hook up queue deletion logic * support deleting queued http requests by target ID * don't index APRequest by hostname in the queue * use gorun * use the original context's values when wrapping msg type as delivery{} * actually log in the AP delivery worker ... * add uncommitted changes * use errors.AsV2() * use errorsv2.AsV2() * finish adding some code comments, add bad host handling to delivery workers * slightly tweak deliveryworkerpool API, use advanced sender multiplier * remove PopCtx() method, let others instead rely on Wait() * shuffle things around to move delivery stuff into transport/ subpkg * remove dead code * formatting * validate request before queueing for delivery * finish adding code comments, fix up backoff code * finish adding more code comments * clamp minimum no. senders to 1 * add start/stop logging to delivery worker, some slight changes * remove double logging * use worker ptrs * expose the embedded log fields in httpclient.Request{} * ensure request context values are preserved when updating ctx * add delivery worker tests * fix linter issues * ensure delivery worker gets inited in testrig * fix tests to delivering messages to check worker delivery queue * update error type to use ptr instead of value receiver * fix test calling Workers{}.Start() instead of testrig.StartWorkers() * update docs for advanced-sender-multiplier * update to the latest activity library version * add comment about not using httptest.Server{}
2024-04-10[chore]: Bump github.com/yuin/goldmark from 1.7.0 to 1.7.1 (#2819)v0.15.0Libravatar dependabot[bot]3
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.0 to 1.7.1. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.7.0...v1.7.1) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark 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-04-10[chore]: Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 (#2816)Libravatar dependabot[bot]31
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.18.0 to 0.19.0. - [Commits](https://github.com/golang/oauth2/compare/v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: golang.org/x/oauth2 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-04-05[bugfix] temporarily replace `modernc.org/sqlite-v1.29.5` with ↵Libravatar kim7
`gitlab.com/NyaaaWhatsUpDoc/sqlite-v1.29.5-concurrency-workaround` (#2811)
2024-04-02[chore] bump go structr cache version -> v0.6.0 (#2773)Libravatar kim38
* update go-structr library -> v0.6.0, add necessary wrapping types + code changes to support these changes * update readme with go-structr package changes * improved wrapping of the SliceCache type * add code comments for the cache wrapper types * remove test.out :innocent: --------- Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
2024-03-25[chore]: Bump github.com/gin-contrib/sessions from 0.0.5 to 1.0.0 (#2782)Libravatar dependabot[bot]91
2024-03-25[chore]: Bump github.com/coreos/go-oidc/v3 from 3.9.0 to 3.10.0 (#2779)Libravatar dependabot[bot]36
2024-03-25[chore]: Bump github.com/gin-contrib/cors from 1.7.0 to 1.7.1 (#2778)Libravatar dependabot[bot]1
2024-03-25[chore]: Bump github.com/gin-contrib/gzip from 0.0.6 to 1.0.0 (#2781)Libravatar dependabot[bot]103
2024-03-21[chore]: Bump modernc.org/sqlite from 1.29.4 to 1.29.5 (#2768)Libravatar dependabot[bot]3
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.29.4 to 1.29.5. - [Commits](https://gitlab.com/cznic/sqlite/commits/v1.29.5) --- 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>
2024-03-18[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.18 to 2.20.19 (#2767)Libravatar dependabot[bot]2
2024-03-18[chore]: Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 (#2766)Libravatar dependabot[bot]1
2024-03-18[chore]: Bump github.com/technologize/otel-go-contrib (#2765)Libravatar dependabot[bot]1
2024-03-12[chore] bump modernc.org/sqlite v1.28.0 -> v1.29.4 (#2749)Libravatar kim123
2024-03-11[chore] Update usage of OTEL libraries (#2725)Libravatar Daenney122
* otel to 1.24 * prometheus exporter to 0.46 * bunotel to 1.1.17 Also: * Use schemaless URL for metrics * Add software version to tracing schema
2024-03-11[chore]: Bump github.com/minio/minio-go/v7 from 7.0.67 to 7.0.69 (#2748)Libravatar dependabot[bot]26
2024-03-11[chore]: Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 (#2733)Libravatar dependabot[bot]19
2024-03-11[chore]: Bump github.com/jackc/pgx/v5 from 5.5.3 to 5.5.5 (#2747)Libravatar dependabot[bot]65
2024-03-11[chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745)Libravatar dependabot[bot]156
2024-03-08[chore] Downgrade sqlite v1.29.2 -> v1.28.0 (#2736)Libravatar tobi115
* [chore] Downgrade sqlite v1.29.2 -> v1.29.0 * go down to v1.28.0
2024-03-06[bugfix] Fix Swagger spec and add test script (#2698)Libravatar Vyr Cossont632
* Add Swagger spec test script * Fix Swagger spec errors not related to statuses with polls * Add API tests that post a status with a poll * Fix creating a status with a poll from form params * Fix Swagger spec errors related to statuses with polls (this is the last error) * Fix Swagger spec warnings not related to unused definitions * Suppress a duplicate list update params definition that was somehow causing wrong param names * Add Swagger test to CI - updates Drone config - vendorizes go-swagger - fixes a file extension issue that caused the test script to generate JSON instead of YAML with the vendorized version * Put `Sample: ` on its own line everywhere * Remove unused id param from emojiCategoriesGet * Add 5 more pairs of profile fields to account update API Swagger * Remove Swagger prefix from dummy fields It makes the generated code look weird * Manually annotate params for statusCreate operation * Fix all remaining Swagger spec warnings - Change some models into operation parameters - Ignore models that already correspond to manually documented operation parameters but can't be trivially changed (those with file fields) * Documented that creating a status with scheduled_at isn't implemented yet * sign drone.yml * Fix filter API Swagger errors * fixup! Fix filter API Swagger errors --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-03-04[chore]: Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#2714)v0.14.0Libravatar dependabot[bot]11
* [chore]: Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * cast the exxpected test values as float32 to bypass (possible) testify suite regression --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kim <grufwub@gmail.com>
2024-03-04[chore]: Bump golang.org/x/crypto from 0.19.0 to 0.20.0 (#2716)Libravatar dependabot[bot]2
2024-03-04[chore]: Bump modernc.org/sqlite from 1.28.0 to 1.29.2 (#2718)Libravatar dependabot[bot]354
2024-02-26[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.17 to 2.20.18 (#2689)Libravatar dependabot[bot]1
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.17 to 2.20.18. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.20.17...v2.20.18) --- 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-23[bugfix] 2643 bug search for account url doesnt always work when redirected ↵Libravatar kim6
(#2673) * update activity library so dereferencer returns full response and checks *final* link to allow for redirects * temporarily add bodged fixed library * remove unused code * update getAccountFeatured() to use dereferenceCollectionPage() * make sure to release map * perform a 2nd decode to ensure reader is empty after primary decode * add comment explaining choice of using Decode() instead of Unmarshal() * update embedded activity library to latest matching https://github.com/superseriousbusiness/activity/pull/21 * add checks to look for changed URI and re-check database if redirected * update max iteration count to 512, add checks during dereferenceAncestors() for indirect URLs * remove doubled-up code * fix use of status instead of current * use URIs for checking equality for security * use the latest known URI for boost_of_uri in case original was an indirect * add dereferenceCollection() function for dereferenceAccountFeatured() * pull in latest github.com/superseriousbusiness/activity version (and remove the bodge!!) * fix typo in code comments * update decodeType() to accept a readcloser and handle body closing * switch to checking using BoostOfID and add note why not using BoostOfURI * ensure InReplyTo gets unset when deleting status parent in case currently stubbed * add tests for Collection and CollectionPage iterators
2024-02-19[chore]: Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.3 (#2664)Libravatar dependabot[bot]14
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.2 to 5.5.3. - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.5.2...v5.5.3) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v5 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-19[chore]: Bump github.com/minio/minio-go/v7 from 7.0.66 to 7.0.67 (#2662)Libravatar dependabot[bot]10
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.66 to 7.0.67. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.66...v7.0.67) --- 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>
2024-02-19[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.16 to 2.20.17 (#2661)Libravatar dependabot[bot]3
2024-02-12[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.14 to 2.20.16 (#2631)Libravatar dependabot[bot]2
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]3
2024-02-12[chore]: Bump golang.org/x/crypto from 0.18.0 to 0.19.0 (#2632)Libravatar dependabot[bot]36
2024-02-05[chore]: Bump github.com/miekg/dns from 1.1.57 to 1.1.58 (#2606)Libravatar dependabot[bot]13