summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2023-11-21[feature] Federate status language in and out (#2366)Libravatar tobi15
* [feature] Federate status language in + out * go fmt * tests, little fix * improve comments * unnest a bit * avoid unnecessary nil check * use more descriptive variable for contentMap * prefer instance languages when selecting from contentMap * update docs to reflect lang selection * rename rdfLangString -> rdfLangs * update comments to mention Pollable * iter through slice instead of map
2023-11-21[docs] Annotate split-domain setup (#2372)Libravatar Daenney1
This adds account-domain and host comments next to each config line to hopefully make it easier for folks to understand what goes where.
2023-11-21[chore/security] refactor AuthenticateFederatedRequest() to handle account ↵Libravatar kim7
deref + suspension checks (#2371) * refactor AuthenticateFederatedRequest() to handle account suspension + fetching of owner * small fixups * small changes * revert to 'IsEitherBlocked' instead of just 'IsBlocked" :grimace: * update code comment to indicate that AuthenticateFederatedRequest() will handle account + instance dereferencing
2023-11-20[feature] Initial Prometheus metrics implementation (#2334)Libravatar Tsuribori251
* feat: Initial OTEL metrics * docs: add metrics documentation * fix: metrics endpoint conditional check * feat: metrics endpoint basic auth * fix: make metrics-auth-enabled default false * fix: go fmt helpers.gen.go * fix: add metric-related env vars to envparsing.sh * fix: metrics docs * fix: metrics related stuff in envparsing.sh * fix: metrics docs * chore: metrics docs wording * fix: metrics stuff in envparsing? * bump otel versions --------- Co-authored-by: Tsuribori <user@acertaindebian> Co-authored-by: Tsuribori <none@example.org> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-11-20[bugfix] self-referencing collection pages for status replies (#2364)Libravatar kim24
2023-11-20[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.6 to 2.20.7 (#2370)Libravatar dependabot[bot]3
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20[chore]: Bump go.opentelemetry.io/otel from 1.20.0 to 1.21.0 (#2369)Libravatar dependabot[bot]8
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.20.0 to 1.21.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.20.0...v1.21.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel 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-11-20[chore]: Bump golang.org/x/image from 0.13.0 to 0.14.0 (#2367)Libravatar dependabot[bot]3
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.13.0 to 0.14.0. - [Commits](https://github.com/golang/image/compare/v0.13.0...v0.14.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>
2023-11-17[chore/whoops] re-add missing languages flag (#2365)Libravatar tobi1
2023-11-17[feature] Set/show instance language(s); show post language on frontend (#2362)Libravatar tobi73
* update go text, include text/display * [feature] Set instance langs, show post lang on frontend * go fmt * WebGet * set language for whole article, don't use FA icon * mention instance languages + other optional config vars * little tweak * put languages in config properly * warn log language parse * change some naming around * tidy up validate a bit * lint * rename LanguageTmpl in template
2023-11-14[bugfix] process account delete side effects in serial, not in parallel (#2360)Libravatar tobi41
* [bugfix] process account delete side effects in serial, not in parallel * StartWorkers / StartNoopWorkers for tests * undo testrig trace logging * log errors instead of immediately returning
2023-11-14[bugfix] Update poll delete/update db queries (#2361)Libravatar tobi3
2023-11-13[feature/performance] Wrap incoming HTTP requests in timeout handler (#2353)Libravatar tobi14
* deinterface router, start messing about with deadlines * weeeee * thanks linter (thinter) * write Connection: close when timing out requests * update wording * don't replace req * don't bother with fancy Cause functions (I'll use them one day...)
2023-11-13[chore] update otel -> v1.20.0 (#2358)Libravatar tobi422
2023-11-11[bugfix] support endless polls, and misskey's' method of inferring expiry in ↵Libravatar kim16
closed polls (#2349)
2023-11-10[feature] Media attachment placeholders (#2331)Libravatar tobi41
* [feature] Use placeholders for unknown media types * fix read of underreported small files * switch to reduce nesting * simplify cleanup
2023-11-10[chore/bugfix/horror] Allow `expires_in` and poll choices to be parsed from ↵Libravatar tobi14
strings (#2346)
2023-11-10[bugfix] Don't try to update suspended accounts (#2348)Libravatar tobi4
* [bugfix] Don't try to update suspended accounts * bail early if requesting account suspended
2023-11-09[bugfix/docs] Poll api fixups + swagger docs (#2345)Libravatar tobi5
2023-11-09[bugfix] actually decrement votes during poll vote delete ... (#2344)Libravatar kim1
2023-11-08[bugfix] fix poll vote count responses on client and fedi API vote creation ↵Libravatar kim3
(#2343) * increment poll votes *before* enqueuing vote to client API worker * increment vote counts before federating status update after vote in local poll * improved vote count calculation during backend -> frontend model conversion
2023-11-08[feature] add support for polls + receiving federated status edits (#2330)Libravatar kim84
2023-11-08[chore]: Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#2338)Libravatar dependabot[bot]22
2023-11-06[chore]: Bump github.com/jackc/pgx/v5 from 5.4.3 to 5.5.0 (#2336)Libravatar dependabot[bot]47
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.0 to 2.20.6 (#2337)Libravatar dependabot[bot]19
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06[chore]: Bump modernc.org/sqlite from 1.26.0 to 1.27.0 (#2339)Libravatar dependabot[bot]20
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-04[feature] support canceling scheduled tasks, some federation API performance ↵Libravatar kim23
improvements (#2329)
2023-11-04[docs/bugfix] fix link to swagger yaml (#2333)Libravatar tobi1
2023-10-31Remove account_suspended_at_idx to resolve slow query issues (#2310)Libravatar Sam Lade1
2023-10-31:see_no_evil: (#2322)Libravatar kim4
2023-10-31[feature] add per-uri dereferencer locks (#2291)Libravatar kim54
2023-10-31[bugfix] Relax `Mention` parsing, allowing either href or name (#2320)Libravatar tobi6
2023-10-30[bugfix] Allow blocked accounts to show in precise search (#2321)Libravatar tobi8
2023-10-30[feature] Customizable media cleaner schedule (#2304)Libravatar tobi22
2023-10-30[chore]: Bump github.com/google/uuid from 1.3.1 to 1.4.0 (#2315)Libravatar dependabot[bot]6
2023-10-30[chore] Bump browserify-sign from 4.2.1 to 4.2.2 in /web/source (#2305)Libravatar dependabot[bot]1
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2. - [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md) - [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: browserify-sign dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30[chore]: Bump github.com/yuin/goldmark from 1.5.6 to 1.6.0 (#2318)Libravatar dependabot[bot]10
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.5.6 to 1.6.0. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.5.6...v1.6.0) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark 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-10-30[chore]: Bump github.com/tdewolff/minify/v2 from 2.19.10 to 2.20.0 (#2316)Libravatar dependabot[bot]9
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.19.10 to 2.20.0. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.19.10...v2.20.0) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 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-10-30[docs] added split-domain configuration for Caddy 2 (#2288)Libravatar wuchyi1
* Update host-account-domain.md Added split-domain configuration for Caddy 2
2023-10-26[bugfix] Extract description as `summary` first, fall back to `name` (#2303)Libravatar tobi3
2023-10-26[chore]: Bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#2301)Libravatar dependabot[bot]6
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.2 to 1.58.3. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.58.2...v1.58.3) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25[feature] attach any request errors if found, only set level=ERROR if code ↵Libravatar kim1
>= 500 (#2300)
2023-10-25[feature] Status thread mute/unmute functionality (#2278)Libravatar tobi48
* add db models + functions for keeping track of threads * give em the old linty testy * create, remove, check mutes * swagger * testerino * test mute/unmute via api * add info log about new index creation * thread + allow muting of any remote statuses that mention a local account * IsStatusThreadMutedBy -> IsThreadMutedByAccount * use common processing functions in status processor * set = NULL * favee! * get rekt darlings, darlings get rekt * testrig please, have mercy muy liege
2023-10-25[bugfix] allow store smaller PNG image than 261 bytes (#2263) (#2298)Libravatar KEINOS4
* chore: add test of golden cases before fix of #2263 * chore: add test case to reproduce error of #2263 * [bugfix] allow store smaller PNG image than 261 bytes (#2263)
2023-10-24[bugfix/frontend] Export/import CSV correctly (#2294)Libravatar tobi3
* [bugfix/frontend] Export/import CSV correctly * export mastodon style
2023-10-24[bugfix] serialize instance terms via API (#2293)Libravatar tobi3
2023-10-24[chore] bump go swagger version in build (#2292)Libravatar tobi1
2023-10-24[bugfix/frontend] Add `nosubmit` option to form fields + use it when ↵Libravatar tobi6
instance custom CSS disabled (#2290)
2023-10-23[chore] update minify library (#2286)Libravatar kim3
2023-10-23Bump @babel/traverse from 7.23.0 to 7.23.2 in /web/source (#2269)Libravatar dependabot[bot]1
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.23.0 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>