summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2023-06-10[bugfix] Delete from list timeline on status deletion (#1878)Libravatar tobi1
2023-06-09[docs] Add example tracing infrastructure (#1866)Libravatar Daenney6
This adds an example on how to get Grafana Tempo up to receive spans as well as Grafana itself to view them. I've added this as a separate Tracing doc in the installation guide as the Advanced one was starting to get rather full. Fixes: #1791
2023-06-05[chore] update latest deps, ensure readme up to date (#1873)Libravatar tobi156
* [chore] update latest deps, ensure readme up to date * remove double entry
2023-06-05[chore]: Bump github.com/minio/minio-go/v7 from 7.0.55 to 7.0.56 (#1869)Libravatar dependabot[bot]5
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.55 to 7.0.56. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.55...v7.0.56) --- 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-05[chore]: Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#1872)Libravatar dependabot[bot]3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4) --- updated-dependencies: - dependency-name: github.com/stretchr/testify 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-04[bugfix] Fix slow joined home timeline query (#1867)Libravatar tobi1
2023-06-04[bugfix/docs] AppArmor profile for SQLite (#1864)Libravatar Daenney2
Our default configuration places the SQLite DB in /gotosocial/, but the AppArmor profile doesn't allow us to write there. Instead of making the whole directory writable, add a writable area in /gotosocial/db/ instead and advise in the docs to move the DB there.
2023-06-04[chore] tidy + test timelines a bit better (#1865)Libravatar tobi12
* [chore] tidy + test timelines a bit better * thanks linter
2023-06-04[docs] Add Repology stats (#1859)Libravatar Daenney2
Instead of a manually curated list of distribution packages, this adds the Repology[1] widget instead. This also separates out the distribution packages from the self-hosting/deployment options into their own sections. [1]: https://repology.org/project/gotosocial/versions
2023-06-03[chore] Update versions, fix lint errors (#1860)Libravatar tobi12
2023-06-03[bugfix] Fix first item of thread dereferencing always being skipped (#1858)Libravatar tobi1
* [bugfix] Fix first item of thread dereferencing always being skipped * tweak to status descendant item iteration Signed-off-by: kim <grufwub@gmail.com> --------- Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: kim <grufwub@gmail.com>
2023-06-02[bugfix] Allow lowercase emoji shortcode in frontend (#1851)Libravatar Julian-Samuel Gebühr6
* Replace pinafore with semaphore * Typo * Allow lowercase emoji shortcode in frontend * Fix failing test (corrected expected outcome)
2023-06-02[bugfix] Overwrite API client closed errors with `499 - Client Closed ↵Libravatar tobi3
Request` (#1857) * [bugfix] Overwrite client closed errors with 499 * bleep bloop * review changes
2023-06-02[performance] wrap httpclient response body to ensure drained before close ↵Libravatar kim5
(#1854) Signed-off-by: kim <grufwub@gmail.com>
2023-06-01[chore]: Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1855)Libravatar dependabot[bot]138
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31[chore/frontend] refactor header templating, add apple-touch-icon (#1850)Libravatar tobi1
2023-05-31[bugfix] only attempt to populate account/statuses from DB if already exist ↵Libravatar kim2
(#1839) * only attempt to populate account/statuses from DB if already up-to-date Signed-off-by: kim <grufwub@gmail.com> * add missing status is-up-to-date check :grimace: + ensure populated if so Signed-off-by: kim <grufwub@gmail.com> --------- Signed-off-by: kim <grufwub@gmail.com>
2023-05-31[docs] clarify other federation modes not yet implemented (#1849)Libravatar tobi1
2023-05-31[fix] Fix link to remote emoji pgae (#1845)Libravatar Julian-Samuel Gebühr1
* Replace pinafore with semaphore * Typo * Fix remote emoji link
2023-05-29[chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.23 to 1.0.24 (#1843)Libravatar dependabot[bot]5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29[chore]: Bump github.com/coreos/go-oidc/v3 from 3.5.0 to 3.6.0 (#1840)Libravatar dependabot[bot]7
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29[chore]: Bump github.com/ulule/limiter/v3 from 3.11.1 to 3.11.2 (#1841)Libravatar dependabot[bot]6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29[chore]: Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#1842)Libravatar dependabot[bot]14
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29[chore]: Bump github.com/minio/minio-go/v7 from 7.0.53 to 7.0.55 (#1844)Libravatar dependabot[bot]31
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-28[bugfix/chore] Inbox post updates (#1821)Libravatar tobi4
Co-authored-by: kim <grufwub@gmail.com>
2023-05-28[chore] tidy up media manager, add calling func to errors, build-script ↵Libravatar kim64
improvements (#1835) * media manager tidy-up: de-interface and remove unused PostDataFunc Signed-off-by: kim <grufwub@gmail.com> * remove last traces of media.Manager being an interface Signed-off-by: kim <grufwub@gmail.com> * update error to provide caller, allow tuneable via build tags Signed-off-by: kim <grufwub@gmail.com> * remove kim-specific build script changes Signed-off-by: kim <grufwub@gmail.com> * fix merge conflicts Signed-off-by: kim <grufwub@gmail.com> * update build-script to support externally setting build variables Signed-off-by: kim <grufwub@gmail.com> --------- Signed-off-by: kim <grufwub@gmail.com>
2023-05-26[docs] Update + simplify roadmap, revise beta estimate (#1826)Libravatar tobi3
2023-05-25[docs]: semaphone ref & DEBUG usage for standalone testing (#1828)Libravatar decentral1se1
* Point to semaphore for local testing * Use `DEBUG=1` when running the testrig * Provide an approach for install yarn Co-authored-by: decentral1se <cellarspoon@riseup.net>
2023-05-25[bugfix/docs] Fix clear notifications API docs (#1831)Libravatar Daenney2
The handler is already hooked to the right path, it's just the docs that were missing the path.
2023-05-25[feature] Configurable custom css length (#1827)Libravatar tobi9
* [feature] Make accounts custom css length configurable * test custom css validation
2023-05-25[bugfix] allow usernames of length 1 (#1823)Libravatar decentral1se2
Closes https://github.com/superseriousbusiness/gotosocial/issues/1691. Co-authored-by: decentral1se <cellarspoon@riseup.net>
2023-05-25[feature] Add List functionality (#1802)Libravatar tobi123
* start working on lists * further list work * test list db functions nicely * more work on lists * peepoopeepoo * poke * start list timeline func * we're getting there lads * couldn't be me working on stuff... could it? * hook up handlers * fiddling * weeee * woah * screaming, pissing * fix streaming being a whiny baby * lint, small test fix, swagger * tidying up, testing * fucked! by the linter * move timelines to state like a boss * add timeline start to tests using state * invalidate lists
2023-05-23[docs] local docs hacking howto (#1816)v0.9.0Libravatar decentral1se1
Co-authored-by: decentral1se <cellarspoon@riseup.net>
2023-05-23[docs] code highlighting configuration (#1817)Libravatar decentral1se1
Co-authored-by: decentral1se <cellarspoon@riseup.net>
2023-05-23[docs] support copy/pasta for code blocks (#1818)Libravatar decentral1se1
Co-authored-by: decentral1se <cellarspoon@riseup.net>
2023-05-22[chore]: Bump github.com/minio/minio-go/v7 from 7.0.52 to 7.0.53 (#1808)Libravatar dependabot[bot]10
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.52 to 7.0.53. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.52...v7.0.53) --- 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-05-22[chore] update account statuses paging logic (#1814)Libravatar tobi5
2023-05-22[chore]: Bump github.com/go-playground/validator/v10 (#1812)Libravatar dependabot[bot]38
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.13.0 to 10.14.0. - [Release notes](https://github.com/go-playground/validator/releases) - [Commits](https://github.com/go-playground/validator/compare/v10.13.0...v10.14.0) --- updated-dependencies: - dependency-name: github.com/go-playground/validator/v10 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-05-21[chore] Replace pinafore with semaphore (#1801)Libravatar Julian-Samuel Gebühr8
* Replace pinafore with semaphore * Typo
2023-05-21[bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805)v0.9.0-rc2Libravatar kim12
* add back removed ValidateRequest() before backoff-retry loop Signed-off-by: kim <grufwub@gmail.com> * include response body in error response log Signed-off-by: kim <grufwub@gmail.com> * improved error response body draining Signed-off-by: kim <grufwub@gmail.com> * add more code commenting Signed-off-by: kim <grufwub@gmail.com> * move new error response logic to gtserror, handle instead in transport.Transport{} impl Signed-off-by: kim <grufwub@gmail.com> * appease ye oh mighty linter Signed-off-by: kim <grufwub@gmail.com> * fix mockhttpclient not setting request in http response Signed-off-by: kim <grufwub@gmail.com> --------- Signed-off-by: kim <grufwub@gmail.com>
2023-05-21[feature] Make client IP logging configurable (#1799)Libravatar Daenney9
2023-05-21[bugfix] Start + stop caches properly for testrig + pruning (#1804)Libravatar tobi2
* [bugfix] Start + stop caches properly for testrig + pruning * go fmt ./...
2023-05-21[bugfix] Fix incorrect default for empty emoji domain (#1803)Libravatar tobi1
2023-05-16[chore] Change time comparison in webfinger test (#1798)Libravatar Daenney1
Every now and then the TestFingerWithHostMetaCacheStrategy would fail on a time related error. I suspect suite.Equal doesn't quite work as expected when given two time.Time's, so instead explicitly check with the time.Equal.
2023-05-16[bugfix] Fix NegotiateFormat with multiple accept headers (#1797)Libravatar Daenney5
* [bugfix] Fix NegotiateAccept with multi accept There's a bug in Gin's NegotiateFormat that doesn't handle the presence of multilpe accept headers. This lifts the code from the PR @tsmethurst sent a year ago to Gin into our codebase to fix the issue. * [bugfix] Concat accept header in webfinger Some implementations bug out when there's multiple accept headers, including Gin (see 7050112af1ccc935ec542cb41fa8b07f7357539d). But things seem to work reliably with a single accept header with multiple parts. Fixes: #1793
2023-05-15[bugfix] Fix proxy_pass in named location (#1794)Libravatar Daenney1
A proxy_pass in a named location, @name, should not include a trailing slash.
2023-05-15[docs] add missing observability settings to example config (#1790)Libravatar tobi1
2023-05-15[docs] remove nginx trailing slash (#1789)Libravatar tobi1
2023-05-15[chore]: Bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#1784)Libravatar dependabot[bot]3
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.8.0 to 0.9.0. - [Commits](https://github.com/golang/crypto/compare/v0.8.0...v0.9.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-05-15[bugfix] Fix duplicating fields on profile edit (#1788)Libravatar tobi3
* [bugfix] Fix duplicating fields on profile edit * test non-duplicate fields