Commit graph

2,215 commits

Author SHA1 Message Date
kim
70a6bcc1bc fix envparsing 2024-12-04 00:59:00 +00:00
kim
9f51f1d3db add more code comments 2024-12-04 00:20:32 +00:00
kim
436363cd09 fix more serialization tests ... 2024-12-04 00:13:19 +00:00
kim
bcfa9af8a5 ensure that status.updated_at always fits chronologically 2024-12-03 23:57:36 +00:00
kim
8edb57a782 remove the choice of paging on the timeline public filtered test (otherwise it needs updating every time you add statuses ...) 2024-12-03 16:06:21 +00:00
kim
db3f6687ed add edited_at field to apimodel status 2024-12-03 15:53:23 +00:00
kim
8bee4508a5 grrr linter 2024-12-03 15:34:33 +00:00
kim
880dd899a1 fix status edit test 2024-12-03 15:25:56 +00:00
kim
6b4f12283f more test fixing, ensure the edit.status_id field is actually set 🤦 2024-12-03 15:25:56 +00:00
kim
9a01b647da more serialization test fixing 🥲 2024-12-03 15:25:56 +00:00
kim
7635a0d133 undo some gtscontext wrapping changes 2024-12-03 15:25:56 +00:00
kim
9f7a84f9f3 gah!! json serialization tests!! 2024-12-03 15:25:55 +00:00
kim
0c0780d4a4 update more status serialization tests not expecting 'updated' AS property 2024-12-03 15:25:55 +00:00
kim
34fe804242 fix up more tests, further complete the dereferencer status edit tests 2024-12-03 15:25:55 +00:00
kim
736d45db7f remove media_attachments.updated_at column 2024-12-03 15:25:55 +00:00
kim
d1db703e5b flesh out more of the dereferencer status edit tests, ensure updated at field set on outgoing AS statuses 2024-12-03 15:25:55 +00:00
kim
f4f5e8b5aa don't automatically set updated_at field on updated statuses 2024-12-03 15:25:55 +00:00
kim
ca809d8cc0 add test for deleting status edits 2024-12-03 15:25:55 +00:00
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