Markus Unterwaditzer
a48cce82b9
[chore] Upgrade golangci-lint, ignore existing int overflow warnings ( #3420 )
...
* [chore] Bump tooling versions, bump go -> v1.23.0
* undo silly change
* sign
* bump go version in go.mod
* allow overflow in imaging
* goreleaser deprecation notices
* [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.
* fix golangci-lint documentation link
* revert unrelated changes
* revert another unrelated change
* get rid of remaining nolint:gosec
* swagger updates
* apply review feedback
* fix wrong formatting specifier thing
* fix the linter for real
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-10-16 14:13:58 +02:00
tobi
3e8c4951e1
[docs] remove duplicate entry from supported platforms ( #3442 )
2024-10-15 13:37:16 +02:00
kim
3ad49f7718
updates exported interface types to match ncruces/go-sqlite3/driver methods ( #3440 )
2024-10-14 20:28:59 +00:00
tobi
4fcea3d6ae
[chore] Hopefully final tweak to changelog generation ( #3437 )
2024-10-14 16:02:16 +02:00
tobi
400fd8c62b
[docs] Document experimental, unsupported `nowasm` tag ( #3436 )
...
* [docs] Document experimental, unsupported `nowasm` tag
* change some awkward wording
2024-10-14 14:06:19 +02:00
kim
6a76b9d609
[feature/OFFICIALLY UNSUPPORTED] add nowasm build tag to disable building with WebAssembly ( #3429 )
...
* add experimental build-tag 'nowasm' which uses local ffmpeg / ffprobe
* updated experimental support message
* add comment to build script explaining build tag
* add nowasm build tags to moderncsqlite files
2024-10-14 11:59:12 +02:00
dependabot[bot]
157ee3193d
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.77 to 7.0.78 ( #3431 )
...
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) from 7.0.77 to 7.0.78.
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.77...v7.0.78 )
---
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>
2024-10-14 11:46:02 +02:00
dependabot[bot]
be3b8076ca
[chore]: Bump github.com/yuin/goldmark from 1.7.4 to 1.7.6 ( #3430 )
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.7.4 to 1.7.6.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.4...v1.7.6 )
---
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-10-14 11:43:44 +02:00
tobi
020da28daa
[chore] Clarify supported platforms, add notes + docs ( #3427 )
...
* [chore] Don't build for OpenBSD, add support level notes + tips
* tweak a bit
* add supported platforms matrix
2024-10-14 11:41:55 +02:00
kim
2076f7d85f
[feature] for an sqlite database with journal mode != WAL, use maximum of 1 open conn ( #3428 )
2024-10-14 00:19:52 +02:00
tobi
096767bb3b
[chore/docs] Add `/gotosocial/.cache` to Docker container, document `GTS_WAZERO_COMPILATION_CACHE` ( #3425 )
...
* [chore/docs] Add `/gotosocial/.cache` to Docker container, document `GTS_WAZERO_COMPILATION_CACHE`
* update wazero artifact size guesstimate
2024-10-13 19:51:31 +00:00
Cy Pokhrel
3f68e13dc7
[docs] fix httpsig repo typo ( #3426 )
2024-10-13 21:44:18 +02:00
tobi
86fb00da10
[chore] Ensure current tag not set as `GORELEASER_PREVIOUS_TAG` ( #3424 )
...
* [chore] Ensure current tag not set as `GORELEASER_PREVIOUS_TAG`
* tweak tweak
2024-10-13 14:53:35 +02:00
tobi
ab1cb12057
[chore/bugfix] goreleaser make previous_tag cmd busybox-compatible ( #3423 )
...
* [chore/bugfix] goreleaser make previous_tag cmd busybox-compatible
* Please muy lorde
2024-10-12 16:54:37 +02:00
tobi
4716840c4e
[chore] goreleaser - use custom previous tag ( #3422 )
2024-10-12 16:26:21 +02:00
tobi
c77faee057
[chore] Update goreleaser, add release notes template ( #3421 )
2024-10-12 14:01:57 +00: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