summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2025-03-17[feature] Application creation + management via API + settings panel (#3906)Libravatar tobi61
* [feature] Application creation + management via API + settings panel * fix docs links * add errnorows test * use known application as shorter * add comment about side effects
2025-03-14[feature/frontend] Add visibility icon for posts (#3908)Libravatar tobi2
2025-03-14[chore] Tweak "nothing here!" message (#3907)Libravatar tobi1
2025-03-13Bump @babel/helpers from 7.23.1 to 7.26.10 in /web/source (#3901)Libravatar dependabot[bot]1
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.23.1 to 7.26.10. - [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.26.10/packages/babel-helpers) --- updated-dependencies: - dependency-name: "@babel/helpers" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13[chore]: Bump golang.org/x/net from 0.35.0 to 0.36.0 (#3905)Libravatar dependabot[bot]13
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.35.0 to 0.36.0. - [Commits](https://github.com/golang/net/compare/v0.35.0...v0.36.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-12update go-structr to v0.9.0 with new Timeline{} cache type (#3903)Libravatar kim19
2025-03-11[docs] Update swagger docs command (#3897)Libravatar tobi1
2025-03-11[bugfix] Fix panic when opening instance actor in web view (#3898)Libravatar tobi1
2025-03-10bumps our uptrace/bun dependencies to v1.2.11 (#3895)Libravatar kim11
2025-03-10[chore] add warning message when wazero compiler not supported (#3894)Libravatar kim2
* add warning message when wazero compiler not supported, update supported platforms in README * whoops don't return a reason string for arm64, since it should always be supported
2025-03-10[performance] Optimize local timeline + local status count queries (#3892)Libravatar tobi4
* [performance] Optimize local timeline + local status count queries * remove if not exists from create view
2025-03-10[docs/zh] update zh docs: synced to 98c4cae + fix typo (#3884)Libravatar CDN13
* [docs/zh] update zh docs: synced to 98c4cae8 * fix typo * sync the support matrix in README * update mkdocs.yml: add new article
2025-03-10[chore]: Bump ↵Libravatar dependabot[bot]97
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#3888)
2025-03-10[chore]: Bump github.com/prometheus/client_golang from 1.21.0 to 1.21.1 (#3890)Libravatar dependabot[bot]14
2025-03-10[chore]: Bump golang.org/x/crypto from 0.35.0 to 0.36.0 (#3887)Libravatar dependabot[bot]9
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.35.0 to 0.36.0. - [Commits](https://github.com/golang/crypto/compare/v0.35.0...v0.36.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>
2025-03-09[bugfix] Fix `length for type varchar must be at least 1` on Postgres (#3885)Libravatar tobi1
2025-03-08[chore] update links in CONTRIBUTING.md (#3881)Libravatar CDN2
2025-03-07[feature] Parse content warning to HTML, serialize via client API as ↵Libravatar tobi48
plaintext (#3876) * [feature] Parse content warning as HTML, serialize via API to plaintext * tidy up some cruft * whoops * oops * i'm da joker baybee * clemency muy lorde * rename some of the text functions for clarity * jiggle the opts * fiddle de deee * hopefully the last test fix i ever have to do in my beautiful life
2025-03-06[bugfix] Store and expose status content type (#3870)Libravatar ewwwin26
* Add ContentType to internal models * Add ContentType to API models StatusSource and StatusEdit * Add helpers to convert between API/internal StatusContentType * Write status content type on create/edit * Add migration * Update API docs go run github.com/go-swagger/go-swagger/cmd/swagger generate spec --scan-models --exclude-deps --output docs/api/swagger.yaml * ensure ContentType is updated anywhere Text is * Update docs, take care of TODOs * Set ContentType in more places where Text is set * We don't actually use ContentType on the API status model * Update StatusSource test * Remove unused helper function I copied * Revert change to StatusContentType swagger annotation I'm going to include this in a follow-on PR instead. * Add test for updating content type in edits * Return a value from processContentType instead of modifying the existing status Fixes an issue that was caught by the test I just added - the recorded edit would be marked with the *new* content type instead of the old one, which is obviously bad * Add test for handling of statuses with no stored content type * repurpose an existing test status instead of adding a new one to avoid breaking other tests * Add test to ensure newly created statuses always have content type saved * Do include content type on status API model actually This is mostly important when deleting and redrafting. The comment on `apimodel.Status.Text` implies that it's not sent except in response to status deletion, but actually this doesn't seem to be the case; it also appears to be present in responses to creations and normal fetches and stuff. So I'm treating `ContentType` the same here. * Update new tests to check content type on API statuses * Check content type of API statuses in all tests where text is checked * update other api tests with status content type field * Add test ensuring text and content type are returned when deleting a status * Convert processContentType to free function and remove unused parameter * check for the correct value in the deletion test * Be explicit about this test status having an empty content type * Use omitempty consistently on API models * clean up the final diff a bit * one more swagger regen for the road * Handle nil statuses in processContentType * Don't pass processContentType the entire edit form, it doesn't need it * Move processContentType to common.go and use for creation as well * Remove unused parameters to ContentTypeToAPIContentType
2025-03-05[bugfix] Return useful err on `server start` failure (#3879)Libravatar tobi9
* [bugfix] Return useful err on `server start` failure * remove scheduler started func * remove tryUntil
2025-03-04[feature] Add token review / delete to backend + settings panel (#3845)Libravatar tobi25
2025-03-04[chore] fixed email template to align with the new "Log in" button + ↵Libravatar jade arson.1
separate page (#3871)
2025-03-03[bugfix] Fix app migration (#3868)Libravatar tobi1
* [bugfix] Fix app migration * use temporary index during migration * create temporary index for the migration * include local = true in temporary index * tweak migration a bit for SPEED
2025-03-03[bugfix] fix refreshed additional media info being ignored (#3867)Libravatar kim2
* fix refreshed additional media info being ignored when force flag already set * also update to always iterate through all additional info fields * make similar changes for emoji, even if not necessary, just to keep in-sync
2025-03-03[feature] Refactor tokens, allow multiple app redirect_uris (#3849)Libravatar tobi77
* [feature] Refactor tokens, allow multiple app redirect_uris * move + tweak handlers a bit * return error for unset oauth2.ClientStore funcs * wrap UpdateToken with cache * panic handling * cheeky little time optimization * unlock on error
2025-03-03bumps go-ffmpreg to v0.6.6 (#3866)Libravatar kim4
2025-03-03bumps our uptrace/bun dependencies to v1.2.10 (#3865)Libravatar kim37
2025-03-03[chore]: Bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0 (#3860)Libravatar dependabot[bot]25
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.5 to 1.21.0. - [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.20.5...v1.21.0) --- 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03bump our fork of modernc.org/sqlite to tag v1.36.0-concurrency-workaround ↵Libravatar kim18
(#3864)
2025-03-03[chore]: Bump github.com/ncruces/go-sqlite3 from 0.23.0 to 0.24.0 (#3862)Libravatar dependabot[bot]26
Bumps [github.com/ncruces/go-sqlite3](https://github.com/ncruces/go-sqlite3) from 0.23.0 to 0.24.0. - [Release notes](https://github.com/ncruces/go-sqlite3/releases) - [Commits](https://github.com/ncruces/go-sqlite3/compare/v0.23.0...v0.24.0) --- updated-dependencies: - dependency-name: github.com/ncruces/go-sqlite3 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>
2025-03-02[chore] migrate oauth2 -> codeberg (#3857)Libravatar tobi65
2025-03-02[chore] go-swagger -> codeberg (#3856)Libravatar tobi3
2025-03-02[chore] Update exif terminator version with codeberg libraries (#3855)Libravatar tobi24
2025-03-02[chore] github.com/superseriousbusiness/httpsig -> ↵Libravatar tobi20
codeberg.org/superseriousbusiness/httpsig (#3854)
2025-03-02[chore] github.com/superseriousbusiness/activity -> ↵Libravatar tobi801
codeberg.org/superseriousbusiness/activity (#3853)
2025-03-02[chore] little frontend tweaks (#3852)Libravatar tobi6
* [chore] little frontend tweaks * beep boop * poke * clarify server time
2025-03-01[feature] add microformat support (#3848)Libravatar Luca Matei Pintilie5
Related: #2959 Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
2025-03-01[chore]: Bump github.com/go-jose/go-jose/v4 from 4.0.2 to 4.0.5 (#3831)Libravatar dependabot[bot]12
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) from 4.0.2 to 4.0.5. - [Release notes](https://github.com/go-jose/go-jose/releases) - [Changelog](https://github.com/go-jose/go-jose/blob/main/CHANGELOG.md) - [Commits](https://github.com/go-jose/go-jose/compare/v4.0.2...v4.0.5) --- updated-dependencies: - dependency-name: github.com/go-jose/go-jose/v4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-01[feature/frontend] use localized time string in status & poll info page (#3821)Libravatar CDN3
2025-03-01[feature] Implement CSV import for mutes (#3696)Libravatar Xavier Vello7
* Implement CSV import for mutes * update swagger.yaml * update documentation * add ImportTestSuite.TestImportMutes * fix comment typo
2025-02-28Document importing posts (#3844)Libravatar Vyr Cossont3
2025-02-27[feature] Added an extra CSS class name to the About This Instance and ↵Libravatar VirtualWolf2
Register an Account sections in the root index template to allow for easier targeting with custom CSS. (#3843)
2025-02-26[chore] Remove duplicate swagger docs build in Dockerfile (#3842)Libravatar tobi1
* [chore] Use vendored swagger in Docker container * skip the swagger step altogether actually, it's already done by goreleaser anyway
2025-02-26[chore] Update KimMachineGun/automemlimit (#3841)Libravatar tobi4
2025-02-26[feature] Enforce OAuth token scopes (#3835)Libravatar tobi213
* move tokenauth to apiutil * enforce scopes * docs * update test models, remove deprecated "follow" * file header * tests * tweak scope matcher * simplify... * fix tests * log user out of settings panel in case of oauth error
2025-02-25[chore]: Bump golang.org/x/crypto from 0.33.0 to 0.34.0 (#3824)Libravatar dependabot[bot]4
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.33.0 to 0.34.0. - [Commits](https://github.com/golang/crypto/compare/v0.33.0...v0.34.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>
2025-02-25[chore]: Bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (#3826)Libravatar dependabot[bot]5
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.6.0 to 0.7.0. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0) --- updated-dependencies: - dependency-name: github.com/google/go-cmp 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>
2025-02-25[chore]: Bump github.com/tetratelabs/wazero from 1.8.2 to 1.9.0 (#3827)Libravatar dependabot[bot]14
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero) from 1.8.2 to 1.9.0. - [Release notes](https://github.com/tetratelabs/wazero/releases) - [Commits](https://github.com/tetratelabs/wazero/compare/v1.8.2...v1.9.0) --- updated-dependencies: - dependency-name: github.com/tetratelabs/wazero 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>
2025-02-25[docs] Fix swagger operation descriptions (#3830)Libravatar mkljczk3
* Fix swagger operation descriptions Signed-off-by: mkljczk <git@mkljczk.pl> * generate a swagger file Signed-off-by: mkljczk <git@mkljczk.pl> --------- Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-25[docs] correct docker version format (#3832)Libravatar Elliot Blackburn1
The documentation explains that the release tag is in the format of `vX.Y.Z` for container images. This does not appear to be correct when looking at the image tags in dockerhub. It seems the `v` prefix has been dropped at some point, or was never in place.