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
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
3f9a1dbfff
update modernc/sqlite to v1.33.1 (with our concurrency workaround) ( #3367 )
2024-09-27 22:53:36 +00: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
kim
f3e2d36d64
[chore] update go-sched pkg ( #3357 )
...
* update go-sched to v1.2.4 which removes some now unused dependencies
* whoops, remove test output
2024-09-26 19:23:41 +00:00
kim
53ee6aef08
[bugfix] s3 media uploaded without content-type ( #3353 )
...
* update go-storage dependency, for S3Storage manually call PutObject() so we can set content-type
* update calls to PutFile() to include the contentType
2024-09-26 14:43:10 +02:00
tobi
de72855790
[chore] Roll otel deps back to v1.29.0
/ v0.51.0
( #3337 )
2024-09-24 12:26:26 +02:00
dependabot[bot]
862cc9e3c4
[chore]: Bump github.com/prometheus/client_golang from 1.20.3 to 1.20.4 ( #3327 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.3 to 1.20.4.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.3...v1.20.4 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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-23 10:40:01 +02:00
kim
77b095a8c3
[chore] ensure consistent caller name fetching regardless of compiler inlining ( #3323 )
...
* move logging levels into log package itself
* ensure inconsistent inlining doesn't mess with log calling function name
* remove unused global variable
* fix log level
2024-09-20 13:30:33 +00:00
kim
84279f6a6a
[performance] cache more database calls, reduce required database calls overall ( #3290 )
...
* improvements to caching for lists and relationship to accounts / follows
* fix nil panic in AddToList()
* ensure list related caches are correctly invalidated
* ensure returned ID lists are ordered correctly
* bump go-structr to v0.8.9 (returns early if zero uncached keys to be loaded)
* remove zero checks in uncached key load functions (go-structr now handles this)
* fix issues after rebase on upstream/main
* update the expected return order of CSV exports (since list entries are now down by entry creation date)
* rename some funcs, allow deleting list entries for multiple follow IDs at a time, fix up more tests
* use returning statements on delete to get cache invalidation info
* fixes to recent database delete changes
* fix broken list entries delete sql
* remove unused db function
* update remainder of delete functions to behave in similar way, some other small tweaks
* fix delete user sql, allow returning on err no entries
* uncomment + fix list database tests
* update remaining list tests
* update envparsing test
* add comments to each specific key being invalidated
* add more cache invalidation explanatory comments
* whoops; actually delete poll votes from database in the DeletePollByID() func
* remove added but-commented-out field
* improved comment regarding paging being disabled
* make cache invalidation comments match what's actually happening
* fix up delete query comments to match what is happening
* rename function to read a bit better
* don't use ErrNoEntries on delete when not needed (it's only needed for a RETURNING call)
* update function name in test
* move list exclusivity check to AFTER eligibility check. use log.Panic() instead of panic()
* use the poll_id column in poll_votes for selecting votes in poll ID
* fix function name
2024-09-16 16:46:09 +00:00
tobi
efd1a4f717
[bugfix] Use better plaintext representation of status for filtering ( #3301 )
...
* [bugfix] Use better plaintext representation of status for filtering
* add new deps to readme
* lint
* update tests
* update regexes
* address review comments
* remove now unused xxhash
* whoops, wrong logger
* Merge branch 'main' into status_filtering_bugfix
* put cache in caches struct
* pain
2024-09-16 14:00:23 +02:00
tobi
b2572b9e07
[chore] Bump otel deps -> v1.30.0/v0.52.0 ( #3307 )
2024-09-16 09:06:00 +00:00
dependabot[bot]
9046220979
[chore]: Bump golang.org/x/net from 0.28.0 to 0.29.0 ( #3303 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.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>
2024-09-16 09:27:05 +02:00
dependabot[bot]
ca729aa4a0
[chore]: Bump github.com/jackc/pgx/v5 from 5.6.0 to 5.7.1 ( #3302 )
...
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx ) from 5.6.0 to 5.7.1.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jackc/pgx/compare/v5.6.0...v5.7.1 )
---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
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-16 09:26:41 +02:00
Daenney
4fa0d41202
[chore] Update go-sqlite3 to 0.18.3 ( #3295 )
...
* [chore] Update go-sqlite3 to 0.18.3
* [chore] Fix getting the sqlite3.Conn
2024-09-14 16:36:25 +02:00
kim
6c0bd0e20e
update go-ffmpreg v0.2.5 -> v0.2.6 ( #3287 )
2024-09-10 19:10:19 +00:00
dependabot[bot]
7785fa54da
[chore]: Bump golang.org/x/crypto from 0.26.0 to 0.27.0 ( #3283 )
2024-09-09 08:24:38 +00:00
dependabot[bot]
f3eebfcf80
[chore]: Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 ( #3284 )
2024-09-09 08:08:49 +00:00
dependabot[bot]
0595c83188
[chore]: Bump golang.org/x/image from 0.19.0 to 0.20.0 ( #3285 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/image/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
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-09 09:51:48 +02:00
dependabot[bot]
6c0db21821
[chore]: Bump golang.org/x/text from 0.17.0 to 0.18.0 ( #3286 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
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-09 09:51:35 +02:00
dependabot[bot]
1649bfbee2
[chore]: Bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3 ( #3282 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.3/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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-09 09:51:21 +02:00
dependabot[bot]
f924297af1
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.75 to 7.0.76 ( #3262 )
...
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) from 7.0.75 to 7.0.76.
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.75...v7.0.76 )
---
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-09-02 13:08:54 +02:00
kim
0a1555521d
[performance] use single-threaded image transforms ( #3252 )
...
* use single-threaded image resizing in native code so we have more control over goroutines
* implement parallel-free versions of image transform functions also
* remove debug code
2024-08-31 10:41:38 +02:00
Daenney
1e0c858a05
[chore] Upgrade ncruces/go-sqlite3 to v0.18.1 ( #3253 )
...
Contains a fix for locking behaviour on the BSDs.
2024-08-30 17:02:24 +02:00
tobi
8a34e4c28f
[bugfix] Fix incorrect json-ld @context
serialization ( #3243 )
2024-08-26 19:17:45 +02:00
tobi
28d57d1f13
[chore] Bump all otel deps ( #3241 )
2024-08-26 18:05:54 +02:00
dependabot[bot]
291bb68b47
[chore]: Bump github.com/prometheus/client_golang from 1.20.0 to 1.20.2 ( #3239 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.0 to 1.20.2.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.0...v1.20.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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-08-26 10:41:21 +02:00
kim
8e5a72ac5c
[performance] ffmpeg ffprobe wrapper improvements ( #3225 )
...
* use a single instance of wazero runtime and compiled modules
* remove test output 🤦
* undo process-{media,emoji} changes
* update test runner to include wazero compilation cache
* sign drone.yml
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-08-23 17:15:35 +02:00
dependabot[bot]
c78c3d5ed9
[chore]: Bump github.com/miekg/dns from 1.1.61 to 1.1.62 ( #3209 )
2024-08-19 11:35:08 +00:00
dependabot[bot]
c28a18b680
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.74 to 7.0.75 ( #3208 )
2024-08-19 10:37:44 +00:00
dependabot[bot]
6ff8376d96
[chore]: Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 ( #3210 )
2024-08-19 10:13:46 +00:00
kim
586639ccf0
update go-sqlite3 to v0.18.0 ( #3204 )
2024-08-15 00:30:58 +00:00
kim
09f24e0446
update go-ffmpreg to v0.2.5 (pulls in latest tetratelabs/wazero) ( #3203 )
2024-08-15 00:08:55 +00:00
kim
6fe96a5611
update go-fastcopy to v1.1.3 ( #3200 )
2024-08-14 16:56:56 +00:00
kim
f8d5b9f49c
update go-structr to v0.8.8 ( #3199 )
2024-08-14 12:08:24 +00:00
dependabot[bot]
871d062bd6
[chore]: Bump golang.org/x/image from 0.18.0 to 0.19.0 ( #3191 )
2024-08-12 10:12:52 +00:00
dependabot[bot]
745b80259f
[chore]: Bump golang.org/x/net from 0.27.0 to 0.28.0 ( #3194 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.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>
2024-08-12 11:49:45 +02:00
kim
3045782b49
updates our ffmpreg version, heh ( #3181 )
2024-08-07 15:38:02 +02:00
dependabot[bot]
b78be9fd4a
[chore]: Bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 ( #3171 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.21.0...v0.22.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-08-05 09:52:20 +00:00
kim
94e87610c4
[chore] add back exif-terminator and use only for jpeg,png,webp ( #3161 )
...
* add back exif-terminator and use only for jpeg,png,webp
* fix arguments passed to terminateExif()
* pull in latest exif-terminator
* fix test
* update processed img
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-08-02 12:46:41 +01:00
tobi
8ab2b19a94
[feature] Federate interaction policies + Accepts; enforce policies ( #3138 )
...
* [feature] Federate interaction policies + Accepts; enforce policies
* use Acceptable type
* fix index
* remove appendIRIStrs
* add GetAccept federatingdb function
* lock on object IRI
2024-07-26 12:04:28 +02:00
dependabot[bot]
5338825d2b
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.73 to 7.0.74 ( #3125 )
...
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) from 7.0.73 to 7.0.74.
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.73...v7.0.74 )
---
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-07-22 14:12:51 +01:00
kim
409b3987ac
update go-ffmpreg to v0.2.3 ( #3120 )
2024-07-20 14:14:58 +01:00
kim
50c9b5498b
[feature] use webp for thumbnails ( #3116 )
...
* update to use webp for thumbnails
* bump webp quality up to 40% from 12% (it's a bit different to jpeg quality setting)
* update to use yuva colorspace, and use thumbnail=n=10 to select frame
* fix missing comma in ffmpeg args
* add links to appropriate ffmpeg docs
* update tests
* add file size tests for thumbnails
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-07-19 17:28:43 +02:00
dependabot[bot]
16421f7576
[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.34 to 2.20.37 ( #3106 )
2024-07-15 09:15:31 +00:00
dependabot[bot]
b8a291c430
[chore]: Bump github.com/coreos/go-oidc/v3 from 3.10.0 to 3.11.0 ( #3104 )
2024-07-15 09:14:50 +00:00
tobi
e2ed6ef024
[chore] Go mod tidy / vendor ( #3100 )
2024-07-13 16:23:25 +02:00