Markus Unterwaditzer
79fb292246
fix the linter for real
2024-10-12 13:10:01 +02:00
Markus Unterwaditzer
3d407b556e
fix wrong formatting specifier thing
2024-10-12 13:03:28 +02:00
Markus Unterwaditzer
263ddf8128
apply review feedback
2024-10-12 12:59:19 +02:00
Markus Unterwaditzer
9b1683bee6
swagger updates
2024-10-12 12:06:59 +02:00
Markus Unterwaditzer
bd9ce6638e
get rid of remaining nolint:gosec
2024-10-12 11:01:15 +02:00
Markus Unterwaditzer
77736957ec
revert another unrelated change
2024-10-12 10:43:27 +02:00
Markus Unterwaditzer
a4f6f1474e
revert unrelated changes
2024-10-12 10:41:55 +02:00
Markus Unterwaditzer
2693b8827d
Merge branch 'go_123' into golangci-lint-upgrade
2024-10-12 10:41:29 +02:00
Markus Unterwaditzer
fe5849fcf1
fix golangci-lint documentation link
2024-10-12 10:33:00 +02:00
Markus Unterwaditzer
275a3f8636
[chore] Upgrade golangci-lint, ignore existing int overflow warnings
...
There is a new lint for unchecked int casts. Integer overflows are bad,
but the old code that triggers this lint seems to be perfectly fine.
Instead of disabling the lint entirely for new code as well, grandfather
in existing code.
2024-10-12 10:30:08 +02:00
Markus Unterwaditzer
95a316236e
[bugfix] Account.last_status_at is a date, not datetime ( #3419 )
...
* [bugfix] Account.last_status_at is a date, not datetime
Fix #3418
* update swagger
2024-10-12 10:02:26 +02:00
tobi
77d755e330
[chore] Don't cc Accept of likes to followers ( #3417 )
2024-10-11 15:22:05 +02:00
tobi
1c895f314c
[bugfix] Check interaction policies properly on incoming Likes ( #3416 )
2024-10-11 15:21:56 +02:00
tobi
cb9008fb41
[bugfix] Ensure pending_approval
set on statuses + status faves ( #3415 )
...
* [bugfix] Ensure pending_approval set on statuses + status faves
* set PendingApproval on boosts
* assume not pending approval
2024-10-11 15:21:45 +02:00
tobi
a504d8a105
[chore] Create modernc sqlite builds alongside default wasm; add openbsd builds ( #3413 )
2024-10-10 16:15:02 +00:00
tobi
a69142a403
[bugfix/frontend] Don't show replies to hidden parents; return 404 if no "main" thread ( #3411 )
2024-10-09 12:33:53 +02:00
tobi
1bc59a0a33
[bugfix] Add missing </a>
on about page ( #3410 )
2024-10-09 11:46:43 +02:00
tobi
e8fd40f3ca
[bugfix] Fix replies not being stored pending approval ( #3409 )
2024-10-09 11:02:10 +02:00
kim
2c3f1f4ddb
[chore] update go-sqlite3 to v0.19.0 ( #3406 )
2024-10-08 11:15:09 +02:00
tobi
1e421cb912
[feature] Distribute + ingest Accepts to followers ( #3404 )
2024-10-08 08:51:13 +00:00
dependabot[bot]
99f535f99b
[chore]: Bump golang.org/x/image from 0.20.0 to 0.21.0 ( #3399 )
2024-10-07 12:25:52 +00:00
dependabot[bot]
33bd97a535
[chore]: Bump golang.org/x/net from 0.29.0 to 0.30.0 ( #3402 )
2024-10-07 12:02:26 +00:00
kim
bd1866ad8a
update go-ffmpreg to v0.3.1 (pulls in latest wazero too) ( #3398 )
2024-10-06 20:53:03 +00:00
tobi
02470db5f6
[chore/themes] Tweak colors on new themes ( #3397 )
2024-10-06 13:05:13 +02:00
tobi
c023bd30f3
[bugfix] Only allow boosting post from non-interaction-policy-aware instance if public or unlisted ( #3396 )
2024-10-05 19:15:02 +02:00
tobi
18e2f69e85
[bugfix] Return 501 (not implemented) if user tries to schedule post ( #3395 )
2024-10-05 19:14:53 +02:00
tobi
f0376635ad
[chore] Change order of error checking after PostInbox ( #3394 )
...
Check for malformed errors embedded inside error *first*, then check for gtserror.WithCode.
2024-10-05 17:08:42 +02:00
tobi
5c055afa08
[feature/frontend] Add Moonlight hunt theme ( #3393 )
...
* [feature/frontend] Add Moonlight Hunt theme
* make almost see through a bit less see through
* update
2024-10-05 15:12:40 +02:00
tobi
c33b1e89c1
[bugfix] Update select of pending interaction requests to account for potential nil URI ( #3392 )
2024-10-05 12:27:53 +02:00
tobi
36abd568b1
[docs] Make protocol
config option really explicit ( #3391 )
2024-10-05 12:09:58 +02:00
tobi
37a3d224a7
[bugfix] Account for nil reply when serializing int req ( #3389 )
2024-10-05 11:36:01 +02:00
tobi
d3d6e3f920
[bugfix] Don't try to add nil filtered statuses to context ( #3388 )
2024-10-04 19:23:18 +02:00
tobi
8bd8c6fb45
[bugfix] Include own account in conversation when no other accounts involved ( #3387 )
2024-10-04 19:22:52 +02:00
kim
f550f596fa
[performance] remove the pragma optimize analysis limit on connection close ( #3386 )
2024-10-04 19:05:42 +02:00
cui fliter
23b6d2cc64
fix: fix slice init length ( #3382 )
2024-10-03 17:22:26 +00:00
tobi
3f7dc10449
[docs] Update smtp docs to mention starttls + port 587 ( #3378 )
...
* [docs] Update smtp docs to mention starttls + port 587
* remove misleading ssl bit
* further tweaks
2024-10-02 10:59:29 +00:00
kim
c17abea921
update go-structr to v0.8.11 ( #3380 )
2024-10-02 10:58:20 +00:00
dependabot[bot]
e3019eada4
[chore]: Bump go.uber.org/automaxprocs from 1.5.3 to 1.6.0 ( #3376 )
...
Bumps [go.uber.org/automaxprocs](https://github.com/uber-go/automaxprocs ) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/uber-go/automaxprocs/releases )
- [Changelog](https://github.com/uber-go/automaxprocs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/automaxprocs/compare/v1.5.3...v1.6.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/automaxprocs
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-09-30 12:58:44 +02:00
dependabot[bot]
188d28f054
[chore]: Bump github.com/ncruces/go-sqlite3 from 0.18.3 to 0.18.4 ( #3375 )
...
Bumps [github.com/ncruces/go-sqlite3](https://github.com/ncruces/go-sqlite3 ) from 0.18.3 to 0.18.4.
- [Release notes](https://github.com/ncruces/go-sqlite3/releases )
- [Commits](https://github.com/ncruces/go-sqlite3/compare/v0.18.3...v0.18.4 )
---
updated-dependencies:
- dependency-name: github.com/ncruces/go-sqlite3
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-09-30 12:46:23 +02:00
tobi
43e443f9f3
[bugfix] Carry-over "PinnedAt" when refreshing status ( #3373 )
2024-09-29 14:46:52 +02:00
kim
095663f5cc
[bugfix] visibility after implicit approval not getting invalidated ( #3370 )
...
* replicate issue
* update go-structr to v0.8.10 with internal linked-list fix, small tweaks to caching of interaction requests
* remove debug function
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-09-28 22:47:46 +02:00
kim
18b7e00fef
[chore] use string formatting package agnostic way of printing request attempts ptr ( #3371 )
2024-09-28 22:47:27 +02:00
Daenney
504b3a9162
[docs] Don't run SQLite on networked storage ( #3369 )
...
* [docs] Don't run SQLite on networked storage
This updates our documentation to include warnings against running
SQLite on networked storage.
It also slightly reorganises and consolidates some admonitions on the
Getting Started page because it was getting a bit too busy with repeated
information.
* [docs] Reword a few things
2024-09-28 22:45:43 +02:00
tobi
7978d88a01
[chore] Update apparmor example file ( #3368 )
2024-09-28 16:58:39 +02:00
kim
3f9a1dbfff
update modernc/sqlite to v1.33.1 (with our concurrency workaround) ( #3367 )
2024-09-27 22:53:36 +00:00
kim
6f3583559f
[bugfix] better handle ogg container format ( #3365 )
2024-09-27 13:16:34 +02:00
kim
497ebd8c4e
[bugfix] fix media limit reader check ( #3363 )
...
* return nicer errors for frontend when media / emoji upload limit reached
* fix reader limit check
* add code comment
2024-09-27 13:15:53 +02:00
tobi
c1c8849322
[chore] final bits of fiddling with solarized ( #3364 )
...
* [chore] final bits of fiddling with solarized
* block quote
2024-09-27 13:14:47 +02:00
kim
2f582e2e33
update gruf / {go-cache, go-maps, go-kv} ( #3361 )
2024-09-27 10:26:50 +00:00
kim
58af95a1d5
[chore] bump go-byteutil v1.2.0 -> v1.3.0 ( #3356 )
...
* bump go-byteutil v1.2.0 -> v1.3.0 which has safer (as in long-term API consistency) byte <-> string conversions
* fix test relying on byteutil exported type no longer existing
2024-09-26 19:50:08 +00:00