gotosocial/internal
kim 23fc70f4e6
[feature] add support for receiving federated status edits (#3597)
* add support for extracting Updated field from Statusable implementers

* add support for status edits in the database, and update status dereferencer to handle them

* remove unused AdditionalInfo{}.CreatedAt

* remove unused AdditionalEmojiInfo{}.CreatedAt

* update new mention creation to use status.UpdatedAt

* remove mention.UpdatedAt, fixes related to NewULIDFromTime() change

* add migration to remove Mention{}.UpdatedAt field

* add migration to add the StatusEdit{} table

* start adding tests, add delete function for status edits

* add more of status edit migrations, fill in more of the necessary edit delete functionality

* remove unused function

* allow generating gotosocial compatible ulid via CLI with `go run ./cmd/gen-ulid`

* add StatusEdit{} test models

* fix new statusedits sql

* use model instead of table name

* actually remove the Mention.UpdatedAt field...

* fix tests now new models are added, add more status edit DB tests

* fix panic wording

* add test for deleting status edits

* don't automatically set `updated_at` field on updated statuses

* flesh out more of the dereferencer status edit tests, ensure updated at field set on outgoing AS statuses

* remove media_attachments.updated_at column

* fix up more tests, further complete the dereferencer status edit tests

* update more status serialization tests not expecting 'updated' AS property

* gah!! json serialization tests!!

* undo some gtscontext wrapping changes

* more serialization test fixing 🥲

* more test fixing, ensure the edit.status_id field is actually set 🤦

* fix status edit test

* grrr linter

* add edited_at field to apimodel status

* remove the choice of paging on the timeline public filtered test (otherwise it needs updating every time you add statuses ...)

* ensure that status.updated_at always fits chronologically

* fix more serialization tests ...

* add more code comments

* fix envparsing

* update swagger file

* properly handle media description changes during status edits

* slight formatting tweak

* code comment
2024-12-05 13:35:07 +00:00
..
ap [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
api [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
cache [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
cleaner [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
config [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
db [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
email [bugfix/email] Don't use plainAuth when no smtp username/password provided (#3332) 2024-09-23 16:07:13 +02:00
federation [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
filter [bugfix] Only allow boosting post from non-interaction-policy-aware instance if public or unlisted (#3396) 2024-10-05 19:15:02 +02:00
gtscontext [bugfix] httpclient not signing subsequent redirect requests (#2798) 2024-04-02 13:12:26 +02:00
gtserror [bugfix] Return 501 (not implemented) if user tries to schedule post (#3395) 2024-10-05 19:14:53 +02:00
gtsmodel [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
headerfilter [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
httpclient [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
id [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
iotools [performance] update storage backend and make use of seek syscall when available (#2924) 2024-05-22 11:46:24 +02:00
language [feature] Set/show instance language(s); show post language on frontend (#2362) 2023-11-17 11:35:28 +01:00
log [performance] minimise log field allocations (#3529) 2024-11-11 15:45:19 +00:00
media [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
messages [bugfix] incorrect AP serialize function used serializing worker data (#3196) 2024-08-12 18:23:24 +02:00
metrics [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
middleware [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
oauth [chore] Upgrade our Go version to 1.22 (#2862) 2024-04-26 10:40:29 +02:00
oidc [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
paging [bugfix] flaky paging test (#2888) 2024-05-01 13:29:42 +02:00
processing [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
queue [performance] update go-structr and go-mutexes with memory usage improvements (#2909) 2024-05-13 08:05:46 +00:00
regexes [feature] Allow emoji shortcode to be 1-character length (#3556) 2024-11-21 12:13:55 +01:00
router [chore] ensure consistent caller name fetching regardless of compiler inlining (#3323) 2024-09-20 13:30:33 +00:00
scheduler [feature] add support for polls + receiving federated status edits (#2330) 2023-11-08 14:32:17 +00:00
state [bugfix] Lock when checking/creating notifs to avoid race (#2890) 2024-05-02 13:43:00 +01:00
storage [bugfix] s3 media uploaded without content-type (#3353) 2024-09-26 14:43:10 +02:00
stream [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00
text [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
timeline [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
tracing [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
trans [feature] Allow users to export data via the settings panel (#3140) 2024-07-31 15:03:34 +01:00
transport [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
typeutils [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
uris [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
util [feature] Add domain permission drafts and excludes (#3547) 2024-11-21 13:09:58 +00:00
validate [feature] Add global instance CSS customization setting (#3352) 2024-12-02 12:24:48 +01:00
web [bugfix] Load instance-wide custom css unconditionally in thread details page (#3595) 2024-12-03 15:21:47 +01:00
workers [chore] reduce number admin process workers (#3354) 2024-09-26 09:40:49 +02:00