summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2024-04-22[chore] bump modernc.org/sqlite to v1.29.8 (with our concurrency workaround) ↵Libravatar kim17
(#2855)
2024-04-22[chore] Update robots.txt (#2856)Libravatar Daenney3
This updates the robots.txt based on the list of the ai.robots.txt repository. We can look at automating that at some point. It's worth pointing out that some robots, namely the ones by Bytedance, are known to ignore robots.txt entirely.
2024-04-22[chore]: Bump github.com/KimMachineGun/automemlimit from 0.5.0 to 0.6.0 (#2859)Libravatar dependabot[bot]7
2024-04-18[bugfix] Fix incorrect field name for status source, add helpful message (#2854)Libravatar tobi4
* [bugfix] Fix incorrect field name for status source, add helpful message * swagger * yyammm
2024-04-18[feature] Stub conversations endpoint (#2853)Libravatar tobi5
2024-04-18[feature] Stub account mutes endpoint (#2852)Libravatar tobi4
* [feature] Stub account mutes endpoint * swagger? i barely know 'er!
2024-04-17bump to modernc.org/sqlite v1.29.7 (#2850)Libravatar kim120
2024-04-17update to set requesting account when deleting status (#2849)Libravatar kim1
2024-04-17[feature] Status source endpoint (#2848)Libravatar tobi7
* [feature] statusSource endpoint * finish up
2024-04-17[feature] Stub status history endpoint (#2847)Libravatar tobi6
2024-04-17[bugfix] Fix minor API issue w/ boosted statuses (#2846)Libravatar tobi3
2024-04-16[bugfix] fix get all tokens (#2841)Libravatar tobi2
2024-04-16[feature/performance] Store account stats in separate table (#2831)Libravatar tobi43
* [feature/performance] Store account stats in separate table, get stats from remote * test account stats * add some missing increment / decrement calls * change stats function signatures * rejig logging a bit * use lock when updating stats
2024-04-15[performance] cached oauth database types (#2838)Libravatar kim18
* update token + client code to use struct caches * add code comments * slight tweak to default mem ratios * fix envparsing * add appropriate invalidate hooks * update the tokenstore sweeping function to rely on caches * update to use PutClient() * add ClientID to list of token struct indices
2024-04-15[chore] Turn `accounts-registration-open` false by default (#2839)Libravatar tobi3
2024-04-15[chore] bump bun library versions (#2837)Libravatar kim22
2024-04-15[chore]: Bump golang.org/x/net from 0.23.0 to 0.24.0 (#2834)Libravatar dependabot[bot]3
2024-04-15[chore]: Bump golang.org/x/crypto from 0.21.0 to 0.22.0 (#2835)Libravatar dependabot[bot]10
2024-04-14[chore] Delete the unnecessary #, because this # lead to the wrong URL (#2830)Libravatar Bishochiparaa1
2024-04-13[feature] Admin accounts endpoints; approve/reject sign-ups (#2826)Libravatar tobi74
* update settings panels, add pending overview + approve/deny functions * add admin accounts get, approve, reject * send approved/rejected emails * use signup URL * docs! * email * swagger * web linting * fix email tests * wee lil fixerinos * use new paging logic for GetAccounts() series of admin endpoints, small changes to query building * shuffle useAccountIDIn check *before* adding to query * fix parse from toot react error * use `netip.Addr` * put valid slices in globals * optimistic updates for account state --------- Co-authored-by: kim <grufwub@gmail.com>
2024-04-13[performance] update GetAccountsByIDs() to use the new multi cache loader ↵Libravatar kim1
endpoint (#2828) * update GetAccountsByIDs() to use the new multi cache loader endpoint * fix broken import
2024-04-12[bugfix] Include MIME email headers to avoid mangling non-ascii text (#2827)Libravatar tobi2
2024-04-11[chore]: Bump ↵Libravatar dependabot[bot]286
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 kim7
* update go-structr => v0.6.1 (fixes nested field ptr following) * bump to v0.6.2
2024-04-11[feature] New user sign-up via web page (#2796)Libravatar tobi68
* [feature] User sign-up form and admin notifs * add chosen + filtered languages to migration * remove stray comment * chosen languages schmosen schmanguages * proper error on local account missing
2024-04-11[performance] massively improved ActivityPub delivery worker efficiency (#2812)Libravatar kim32
* 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]5
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]33
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-10[docs] update deployment considerations docs with latest findings (#2821)Libravatar tobi2
* [docs] update deployment considerations docs with latest findings * simplify single-board computer section
2024-04-08[bugfix] Ensure side effects for local -> local follows get processed (#2820)v0.15.0-rc2Libravatar tobi2
2024-04-05[bugfix] temporarily replace `modernc.org/sqlite-v1.29.5` with ↵Libravatar kim9
`gitlab.com/NyaaaWhatsUpDoc/sqlite-v1.29.5-concurrency-workaround` (#2811)
2024-04-04fix possible nil panic (#2809)Libravatar kim1
2024-04-04[chore] Log less output on failed test (#2804)Libravatar Daenney3
* [chore] Log less output on failed test This changes the testrig log level to be error by default instead of info. This makes test failures a lot easier to read, as we don't have the parade of info logs for each failure to scroll through. It speeds up the test suite by a couple of seconds since we need to buffer and flush a lot less messages. On a clean run, so no test failures, it's about a 3s difference on my machine. Depending on the amount of test failures, total time saved can vary. This also introduces a GTS_TESTRIG_LOG_LEVEL environment variable that we explicitly check for, making it easy to override the log level should we have a need for it. This would be primarily for running locally, and not so much as part of go test. Lastly, it updates the syslog tests to use log.Error because if the log level is set to error but we call log.Info no message is emitted and we hang indefinitely on the channel read. * [chore] Rename the testrig log level env var
2024-04-03[bugfix] Sort follows chronologically (#2801)Libravatar Daenney2
The id on the follows table is not a ULID, but a random ID. Sorting on them results in a completely random order. Instead, sort on created_at, which sould result in a stable and intended sort order. Fixes: #2769 Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
2024-04-03[bugfix] improved authenticate post inbox error handling (#2803)Libravatar kim4
* improved PostInboxScheme() error handling / logging in case of failed auth * dumbass kim. returning err instead of errWithCode... * add checks for the slightly changed error handling in tests, add notes in codebase about the odd way of working
2024-04-02[bugfix] Set domain for empty-domain Friendica accounts (#2800)v0.15.0-rc1Libravatar tobi1
2024-04-02[bugfix] Set the `Host` header within the signing transport (#2799)Libravatar kim7
2024-04-02[bugfix] httpclient not signing subsequent redirect requests (#2798)Libravatar kim6
* move http request signing to transport * actually hook up the http roundtripper ... * add code comments for the new gtscontext functions
2024-04-02[chore] Try to parse public key as both Actor + bare key (#2710)Libravatar tobi5
* [chore] Try to parse public key as both Actor + bare key * fix weird test fail
2024-04-02[chore] bump go structr cache version -> v0.6.0 (#2773)Libravatar kim62
* 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-04-02[feature] Option to hide followers/following (#2788)Libravatar tobi19
2024-04-02[feature] Add `enable` command to mirror existing `disable` command; update ↵Libravatar tobi4
docs (#2792) * [feature] add `enable` CLI command to mirror existing `disable` command * update docs
2024-03-29[chore] Vendor mkdocs fonts; update docs dependencies (#2789)Libravatar tobi17
* [chore] Update docs dependencies * update rtd deps * aaaa * why can't you just be normal! * vendor social plugin fonts
2024-03-29[chore] Bump express from 4.18.2 to 4.19.2 in /web/source (#2790)Libravatar dependabot[bot]1
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2) --- updated-dependencies: - dependency-name: express dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28[bugfix] Serve correct URI for AP following collection (#2787)Libravatar tobi1
2024-03-26[chore/frontend] Adjust contrast, mute blurple a bit (#2785)Libravatar tobi4
2024-03-25[feature] User-selectable preset CSS themes for accounts (#2777)Libravatar tobi32
* [feature] User-selectable preset themes * docs, more theme stuff * lint, tests * fix css name * correct some little issues * add another theme * fix poll background * okay last theme i swear * make retrieval of apimodel themes more conventional * preallocate stylesheet slices
2024-03-25[feature] Add healthcheck endpoints `/livez` and `/readyz` (#2783)Libravatar tobi11
* [feature] Add healthcheck endpoints `/livez` and `/readyz` * use select that returns no data
2024-03-25[bugfix] Avoid empty public/local timeline queries (#2784)Libravatar tobi4
2024-03-25[chore]: Bump github.com/gin-contrib/sessions from 0.0.5 to 1.0.0 (#2782)Libravatar dependabot[bot]93