summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2023-09-29[frontend] Add `discoverable` flag to settings panel (#2235)Libravatar tobi4
2023-09-29[chore/bugfix] Deinterface text.Formatter, allow underscores in hashtags (#2233)Libravatar tobi18
2023-09-29[bugfix] Move follow.show_reblogs check further up to avoid showing unwanted ↵Libravatar tobi3
reblogs in home timeline (#2234)
2023-09-28[chore] Enable S256 code challenge (#2224)Libravatar Daenney1
For some reason we only had plain enabled. This adds S256.
2023-09-28[chore]: Bump ↵Libravatar dependabot[bot]3
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2221) Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.17.0 to 1.18.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.17.0...v1.18.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>
2023-09-25[chore]: Bump golang.org/x/oauth2 from 0.11.0 to 0.12.0 (#2223)Libravatar dependabot[bot]6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25[chore]: Bump github.com/abema/go-mp4 from 0.13.0 to 1.0.0 (#2222)Libravatar dependabot[bot]15
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23[bugfix] support both CollectionPage AND OrderedCollectionPage in status ↵Libravatar kim5
replies (#2220)
2023-09-23[chore] deinterface the typeutils.Converter and update to use state ↵Libravatar kim119
structure (#2217) * update typeconverter to use state structure * deinterface the typeutils.TypeConverter -> typeutils.Converter * finish copying over old type converter code comments * fix cherry-pick merge issues, fix tests pointing to old typeutils interface type still
2023-09-23[chore] fix typo in slice.go (#2219)Libravatar K1
2023-09-22[docs] ahs article milestone a (#2218)Libravatar tobi1
2023-09-21[feature] Implement explicit domain allows + allowlist federation mode (#2200)Libravatar tobi52
* love like winter! wohoah, wohoah * domain allow side effects * tests! logging! unallow! * document federation modes * linty linterson * test * further adventures in documentation * finish up domain block documentation (i think) * change wording a wee little bit * docs, example * consolidate shared domainPermission code * call mode once * fetch federation mode within domain blocked func * read domain perm import in streaming manner * don't use pointer to slice for domain perms * don't bother copying blocks + allows before deleting * admonish! * change wording just a scooch * update docs
2023-09-20[docs] Add a note on cluster support (#2214)Libravatar Daenney2
* [docs] Callout no cluster/multi-node support Though we have a GitHub issue for this, we don't mention it anywhere in the docs. This adds it to the deployment considerations so hopefully folks will see it when standing up their own instance. * [docs] Add daenney as a developer
2023-09-20[feature] add paging to AP following / followers endpoints (#2198)Libravatar kim9
2023-09-18[chore]: Bump ↵Libravatar dependabot[bot]72
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.17.0 to 1.18.0 (#2207) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18[chore]: Bump github.com/miekg/dns from 1.1.55 to 1.1.56 (#2204)Libravatar dependabot[bot]31
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18[bugfix] fix flakey paging test (#2210)Libravatar kim1
2023-09-18[chore] bump bun (and related libraries) versions to v1.1.16 (#2209)Libravatar kim9
2023-09-12[feature] add paging to account follows, followers and follow requests ↵Libravatar kim51
endpoints (#2186)
2023-09-12[feature] Allow admins to expire remote public keys; refetch expired keys on ↵Libravatar tobi23
demand (#2183)
2023-09-11[feature] Support Actor URIs for webfinger queries (#2187)Libravatar Daenney3
* [feature] Support Actor URIs for webfinger queries It's now possible to pass an Actor URI as the resource to query for when doing a webfinger query. The code now extracts the username and domain from the URI. The URI needs to be fully qualified, including having a scheme of http or https to be recognised as such. The acct scheme is handled as we used to, including dealing with an erroneous leading @ on the username. We retain the ability to handle resources without a scheme by parsing them again with the acct scheme if the original parse failed. This can happen due to parsing ambiguities when dealing with a string like user@domain.tld:port. * [bugfix] Remove debugging changes * [chore] Make TestExtractNamestring table-driven * [chore] Unnest Trim and Split for readability
2023-09-11[chore] bump bun v1.1.14 -> v1.1.15 (#2195)Libravatar tobi27
2023-09-11[chore]: Bump golang.org/x/net from 0.14.0 to 0.15.0 (#2193)Libravatar dependabot[bot]11
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.15.0. - [Commits](https://github.com/golang/net/compare/v0.14.0...v0.15.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-09-11[chore]: Bump github.com/tdewolff/minify/v2 from 2.12.8 to 2.12.9 (#2194)Libravatar dependabot[bot]4
2023-09-11[chore]: Bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#2190)Libravatar dependabot[bot]13
2023-09-11[docs] add fail2ban regex in the doc (#2189)Libravatar OniriCorpe1
2023-09-07[chore] much improved paging package (#2182)Libravatar kim15
2023-09-07[feature] Support OTLP HTTP, drop Jaeger (#2184)Libravatar Daenney199
* [feature] Add http trace exporter, drop Jaeger Jaeger supports ingesting traces using the OpenTelemetry gRPC or HTTP methods. The Jaeger project has deprecated the old jaeger transport. * Add support for submitting traces over HTTP * Drop support for the old Jaeger protocol * Upgrade the trace libraries to v1.17 Fixes: #2176 Fixes: #2179
2023-09-05[bugfix] fix checks for deref the same status descendants / ascendants (#2181)Libravatar kim1
2023-09-04[chore] Add script for downloading latest snapshot tar.gz (#2157)Libravatar tobi1
* [chore] Add script for downloading latest snapshot tar.gz * Update scripts/get_latest_snapshot.sh Co-authored-by: Daenney <daenney@users.noreply.github.com> * Update scripts/get_latest_snapshot.sh Co-authored-by: Daenney <daenney@users.noreply.github.com> * update comment --------- Co-authored-by: Daenney <daenney@users.noreply.github.com>
2023-09-04[feature] Don't trace non-existing routes (#2172)Libravatar Daenney1
c.FullPath() is the empty string if a request doesn't match any route on our mux. In those cases, there's no value in emitting a trace. The trace will be empty, containing no other information beyond the fact that we didn't match a route. Since Gin breaks off the processing early we don't need to trace this request as it won't do anything and consumes no further resources. The 404 will still be emitted by our logs and will be visible from a reverse proxy too.
2023-09-04[feature] Store admin actions in the db, prevent conflicting actions (#2167)Libravatar tobi23
2023-09-04[chore]: Bump golang.org/x/image from 0.11.0 to 0.12.0 (#2178)Libravatar dependabot[bot]3
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]8
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]4
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01[bugfix] move SQLite pragmas into connection string (#2171)Libravatar kim1
* move SQLite pragmas into connection string Signed-off-by: kim <grufwub@gmail.com> * use url.Values type for SQLite connection preferences Signed-off-by: kim <grufwub@gmail.com> * set SQLite URI prefs properly using _pragma query key Signed-off-by: kim <grufwub@gmail.com> * add notes on SQLite connection preferences Signed-off-by: kim <grufwub@gmail.com> * fix typo Signed-off-by: kim <grufwub@gmail.com> * add one extra line regarding connection pooling Signed-off-by: kim <grufwub@gmail.com> --------- Signed-off-by: kim <grufwub@gmail.com>
2023-08-31[bugfix] wrap bun.Tx to add our own error processing (#2169)Libravatar kim7
* wrap bun.Tx to add our own error processing Signed-off-by: kim <grufwub@gmail.com> * add compile-time check for updateRowError() compatibility with sql.Row, fix wrapTx() not being used properly Signed-off-by: kim <grufwub@gmail.com> --------- Signed-off-by: kim <grufwub@gmail.com>
2023-08-28[chore]: Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#2166)Libravatar dependabot[bot]9
2023-08-28[chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.6 to 0.3.0 (#2165)Libravatar dependabot[bot]7
2023-08-24[chore/frontend] Make line-height a wee little bit bigger (#2159)Libravatar tobi1
2023-08-23[docs] Update backup docs (#2153)Libravatar Daenney2
2023-08-23[bugfix/frontend] Normalize header sizes (#2152)Libravatar tobi1
* [bugfix/frontend] Normalize header sizes * ensmallen heading a little
2023-08-23[feature] list commands for both attachment and emojis (#2121)Libravatar rdelaage7
* [feature] list commands for both attachment and emojis * use fewer commands, provide `local-only` and `remote-only` as filters * envparsing --------- Co-authored-by: Romain de Laage <romain.delaage@rdelaage.ovh> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-08-23[feature] Add rate limit exceptions option, use ISO8601 for rate limit reset ↵Libravatar tobi12
(#2151) * start updating rate limiting, add exceptions * tests, comments, tidying up * add rate limiting exceptions to example config * envparsing * nolint * apply kimbediff * add examples
2023-08-22[performance] Rework home timeline query to use cache more (#2148)Libravatar tobi2
2023-08-21[feature] Make log format configurable (#2130)Libravatar Daenney12
* [feature] Don't emit timestamp in log lines When running gotosocial with a service manager like systemd, or a container runtime, the associated log driver usually emits timestamps itself. In those cases, having the extra timestamp from our own log lines ends up being a bit noisy and when centrally ingesting logs is duplicate information. This introduces a configuration flag that allows disabling emitting the timestamp. It's only wired up for "daemonised" processes, meaning server and testrig. * [chore] Add docs for log-timestamp * [feature] Simplify timestamp handling Co-Authored-By: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> * [chore] Less escaped double-quotes * [chore] Fix help string --------- Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
2023-08-21[performance] Tweak media attachment cleanup; replace stale index (#2143)Libravatar tobi5
2023-08-21[chore]: Bump codeberg.org/gruf/go-kv from 1.6.3 to 1.6.4 (#2142)Libravatar dependabot[bot]5
2023-08-21[chore]: Bump github.com/minio/minio-go/v7 from 7.0.61 to 7.0.62 (#2141)Libravatar dependabot[bot]5
2023-08-21[chore]: Bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 (#2140)Libravatar dependabot[bot]37