kim
c913f604bf
fix panic wording
2024-12-03 15:25:55 +00:00
kim
4dd9c00cac
fix tests now new models are added, add more status edit DB tests
2024-12-03 15:25:55 +00:00
kim
f9a393d6ab
actually remove the Mention.UpdatedAt field...
2024-12-03 15:25:55 +00:00
kim
0c808ecb8d
use model instead of table name
2024-12-03 15:25:55 +00:00
kim
bb862b54bd
fix new statusedits sql
2024-12-03 15:25:55 +00:00
kim
63ddeb0879
add StatusEdit{} test models
2024-12-03 15:25:55 +00:00
kim
b10bd9b782
allow generating gotosocial compatible ulid via CLI with go run ./cmd/gen-ulid
2024-12-03 15:25:55 +00:00
kim
aa7191eb52
remove unused function
2024-12-03 15:25:55 +00:00
kim
305c50b037
add more of status edit migrations, fill in more of the necessary edit delete functionality
2024-12-03 15:25:55 +00:00
kim
20e20feae0
start adding tests, add delete function for status edits
2024-12-03 15:25:55 +00:00
kim
cf707893cc
add migration to add the StatusEdit{} table
2024-12-03 15:25:55 +00:00
kim
3f89258660
add migration to remove Mention{}.UpdatedAt field
2024-12-03 15:25:55 +00:00
kim
80cc0b165c
remove mention.UpdatedAt, fixes related to NewULIDFromTime() change
2024-12-03 15:25:55 +00:00
kim
a449781152
update new mention creation to use status.UpdatedAt
2024-12-03 15:25:55 +00:00
kim
3c90e2dd76
remove unused AdditionalEmojiInfo{}.CreatedAt
2024-12-03 15:25:55 +00:00
kim
681927fa34
remove unused AdditionalInfo{}.CreatedAt
2024-12-03 15:25:55 +00:00
kim
3e131f5da6
add support for status edits in the database, and update status dereferencer to handle them
2024-12-03 15:25:55 +00:00
kim
fc8d3742c9
add support for extracting Updated field from Statusable implementers
2024-12-03 15:25:55 +00:00
CDN
55d6731497
[chore] Update frontend bug report issue title prefix ( #3596 )
2024-12-03 15:22:19 +01:00
CDN
732b03a742
[bugfix] Load instance-wide custom css unconditionally in thread details page ( #3595 )
2024-12-03 15:21:47 +01:00
dependabot[bot]
a597e1ed85
[chore]: Bump codeberg.org/gruf/go-ffmpreg from 0.6.0 to 0.6.1 ( #3591 )
...
Bumps codeberg.org/gruf/go-ffmpreg from 0.6.0 to 0.6.1.
---
updated-dependencies:
- dependency-name: codeberg.org/gruf/go-ffmpreg
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-12-02 12:54:14 +00:00
Victor Dyotte
9609c4550d
[feature] Add global instance CSS customization setting ( #3352 )
...
Allow instance admins to add custom CSS that will affect
every page of their instance.
This is done with a new CustomCSS instance setting that
works pretty much exactly like the Users CustomCSS property.
This custom CSS is then requested for every page load.
User styles/themes take precedence over this CSS.
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-12-02 12:24:48 +01:00
CDN
dce85a2b7a
[feature/themes] Add auto-switching themes for blurple/brutalist/solarized ( #3588 )
2024-12-02 10:50:32 +01:00
CDN
44b7bc71b6
[docs/zh] Update zh docs: synced to da4db81bcf ( #3589 )
2024-12-02 10:48:53 +01:00
Phil Hagelberg
dbef5ee03b
[chore] Replace Semaphore recommendation with Pinafore. ( #3586 )
...
Neither Semaphore nor Pinafore are under active development, but
Semaphore has archived its repository while Pinafore still gets
occasional minor maintenance.
Enafore has newer features, but it has accessibility bugs affecting
screen readers that prevent it from being recommended at this time.
2024-12-02 10:47:05 +01:00
dependabot[bot]
936b269b05
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.80 to 7.0.81 ( #3590 )
...
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) from 7.0.80 to 7.0.81.
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.80...v7.0.81 )
---
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-12-02 10:44:43 +01:00
kim
c9d36f7e45
[performance] use new instance of bun.DB *after* migrations to reduce number of in-memory model schema ( #3578 )
...
* use new instance of bun.DB *after* migrations to reduce number of model schema in-memory
* update sqlite address comment
2024-11-29 15:03:10 +00:00
kim
d9f67efae5
send out poll votes as separate create activities given that no other AP servers support multiple objects in a single activity ( #3582 )
2024-11-28 15:37:37 +00:00
kim
3cc50491c2
pulls in the latest exif-terminator version with bugfix and performance optimizations ( #3583 )
2024-11-28 15:14:49 +00:00
kim
312cb8b9c7
[chore] rename New___(string) int signature functions to Parse___(string) int ( #3580 )
...
* rename New___(string) int {} signature functions to Parse___(string) int {}
* remove test output
2024-11-28 12:54:22 +01:00
tobi
65917f5bb9
[bugfix] Log + ignore unknown notification types ( #3577 )
...
* [bugfix] Log + ignore unknown notification types
* pass context to ParseNotificationTypes
2024-11-27 17:22:45 +00:00
kim
61f8f1e0e3
pull in ncruces/go-sqlite3 v0.20.3 with tetratelabs/wazero v1.8.2 ( #3574 )
2024-11-26 16:25:48 +00:00
Vyr Cossont
6a8af42647
[bugfix] Allow unsetting filter expiration dates ( #3560 )
...
* Regression tests for #3497 (v1 and v2)
* use Nullable type for v2 form.expires_in
---------
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-11-26 08:23:00 -08:00
tobi
5c818debb2
[chore] Sign the bloody thing, fix the other bloody thing ( #3572 )
2024-11-25 18:21:19 +01:00
kim
3fceb5fc1a
bumps uptrace/bun dependencies to v1.2.6 ( #3569 )
2024-11-25 15:42:37 +00:00
kim
a444adee97
[bugfix] notification types missing from link header ( #3571 )
...
* ensure notification types get included in link header query for notifications
* fix type query keys
2024-11-25 15:33:21 +00:00
tobi
c454b1b488
[chore] Bump tooling versions, bump go -> v1.23.0 ( #3258 )
...
* [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
* bump versions
* undo accidental rebase change
* update container versions to just use latest major version
* update swagger to our release with go1.23 fix
* update goreleaser to use our vendored swagger version
---------
Co-authored-by: kim <grufwub@gmail.com>
2024-11-25 16:15:33 +01:00
VirtualWolf
da4db81bcf
[docs] Added note to documentation about mutuals-only posts not being functional. ( #3557 )
2024-11-25 14:50:41 +01:00
kim
cac9d65029
[performance] convert enum strings to ints ( #3558 )
...
* convert statuses.visibility and notifications.notification_type columns from type string -> int for performance / space savings
* fix test trying to compare string to int
* fix instance count query using string literal instead of gtsmodel const type
* ensure a default value is always set
* also migrate the account settings and sin bin status tables
* initialize maps outside loops and place into singular enum mapping creation func
* use int16 for enum types
* update sinbinstatus creation to be from a snapshot at initial creation
* add snapshot of poll type at creation time
2024-11-25 14:48:59 +01:00
dependabot[bot]
934e895ec0
[chore]: Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 ( #3564 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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-11-25 11:14:48 +00:00
Daenney
2ed409888b
[chore] Update gorilla/websocket ( #3561 )
...
The maintainers messed with the v1.5.2 tag which causes Go checksum
validation problems as the Go module proxy saw and recorded the original
hash.
This updates to 1.5.3 which doesn't have the issue.
2024-11-25 10:50:03 +00:00
dependabot[bot]
ae1a98558a
[chore]: Bump github.com/tdewolff/minify/v2 from 2.21.1 to 2.21.2 ( #3567 )
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.21.1 to 2.21.2.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.21.1...v2.21.2 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
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-11-25 10:45:54 +00:00
tobi
301543616b
[feature] Add domain permission drafts and excludes ( #3547 )
...
* [feature] Add domain permission drafts and excludes
* fix typescript complaining
* lint
* make filenames more consistent
* test own domain excluded
2024-11-21 13:09:58 +00:00
tobi
c2029df9bc
[feature] Allow emoji shortcode to be 1-character length ( #3556 )
...
* [feature] Allow emoji shortcode to be 1-character length
* testerino fixeroni
* spaghet
2024-11-21 12:13:55 +01:00
dependabot[bot]
daf55ba6a5
[chore] Bump cross-spawn from 7.0.3 to 7.0.6 in /web/source ( #3552 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 11:06:41 +01:00
Jannis
9ace025da1
[bugfix] post counters should not include direct messages ( #3554 )
...
* [bugfix] post counters should not include direct messages #3504
The fix is relativly simple, it just adds a line to the relevant
function which excludes all private posts.
* Formating fix
* mb
2024-11-21 11:06:06 +01:00
Thomas Karpiniec
ffa67ac1ae
[docs] Include link to a live instance in README ( #3549 )
2024-11-19 15:37:32 +00:00
dependabot[bot]
e892bc375d
[chore]: Bump golang.org/x/oauth2 from 0.23.0 to 0.24.0 ( #3537 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.23.0...v0.24.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-11-11 17:47:01 +00:00
dependabot[bot]
d850248891
[chore]: Bump golang.org/x/image from 0.21.0 to 0.22.0 ( #3533 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/image/compare/v0.21.0...v0.22.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-11-11 16:38:27 +00:00
kim
aeacbe3962
[chore] pin otel library versions ( #3538 )
...
* pin otel library versions to v1.29.0
* bump otel deps to v1.32.0 (without actually bumping, hehe)
2024-11-11 16:38:19 +00:00