gotosocial/internal/api/client
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
..
accounts [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
admin [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
apps [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
blocks [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
bookmarks [chore] Swagger: add missing paging params to bookmarks list (#2759) 2024-03-15 11:43:24 +01:00
conversations [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00
customemojis [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
exports [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
favourites [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
featuredtags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
filters [bugfix] Allow unsetting filter expiration dates (#3560) 2024-11-26 08:23:00 -08:00
followedtags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
followrequests [feature] Add image descriptions for default avatar + header; don't allow editing default desc (#3473) 2024-10-21 14:04:50 +02:00
import [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
instance [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
interactionpolicies [feature] Allow users to submit interaction_policy on new statuses (#3314) 2024-09-18 16:35:35 +00:00
interactionrequests [feature] Interaction requests client api + settings panel (#3215) 2024-08-24 11:49:37 +02:00
lists [performance] cache more database calls, reduce required database calls overall (#3290) 2024-09-16 16:46:09 +00:00
markers [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
media [performance] use single-threaded image transforms (#3252) 2024-08-31 10:41:38 +02:00
mutes [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
notifications [chore] rename New___(string) int signature functions to Parse___(string) int (#3580) 2024-11-28 12:54:22 +01:00
polls [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
preferences [performance] http response encoding / writing improvements (#2374) 2023-11-27 14:00:57 +00:00
reports [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
search [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
statuses [feature] add support for receiving federated status edits (#3597) 2024-12-05 13:35:07 +00:00
streaming [chore] Fix loop issue in streaming 🤦 (#3457) 2024-10-18 16:57:50 +02:00
tags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
timelines [bugfix] Avoid empty public/local timeline queries (#2784) 2024-03-25 16:20:45 +00:00
user [chore] Warn about email/password change when using OIDC (#2975) 2024-06-07 15:21:57 +01:00