You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gotosocial/internal/db/bundb
kim fe8d5f2307
[feature] add support for clients editing statuses and fetching status revision history (#3628)
* start adding client support for making status edits and viewing history

* modify 'freshest' freshness window to be 5s, add typeutils test for status -> api edits

* only populate the status edits when specifically requested

* start adding some simple processor status edit tests

* add test editing status but adding a poll

* test edits appropriately adding poll expiry handlers

* finish adding status edit tests

* store both new and old revision emojis in status

* add code comment

* ensure the requester's account is populated before status edits

* add code comments for status edit tests

* update status edit form swagger comments

* remove unused function

* fix status source test

* add more code comments, move media description check back to media process in status create

* fix tests, add necessary form struct tag
2 days ago
..
migrations [chore] Log during potentially long migrations (#3613) 2 weeks ago
account.go [performance] minimise log field allocations (#3529) 1 month ago
account_test.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
admin.go [bugfix] Deref stats async, serve stub collections if handshaking (#2990) 7 months ago
admin_test.go [experiment] add alternative wasm sqlite3 implementation available via build-tag (#2863) 7 months ago
advancedmigration.go [feature] Conversations API (#3013) 5 months ago
application.go [performance] minimise log field allocations (#3529) 1 month ago
application_test.go [bugfix] fix get all tokens (#2841) 8 months ago
basic.go [feature] Add healthcheck endpoints `/livez` and `/readyz` (#2783) 9 months ago
basic_test.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
bundb.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
bundb_test.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
bundbnew_test.go [chore] Improve copyright header handling (#1608) 2 years ago
conversation.go [performance] minimise log field allocations (#3529) 1 month ago
conversation_test.go [feature] Conversations API (#3013) 5 months ago
domain.go [feature] Add domain permission drafts and excludes (#3547) 1 month ago
domain_test.go [bugfix] fix higher-level explicit domain rules causing issues with lower-level domain blocking (#2513) 12 months ago
domainpermissiondraft.go [feature] Add domain permission drafts and excludes (#3547) 1 month ago
domainpermissiondraft_test.go [feature] Add domain permission drafts and excludes (#3547) 1 month ago
domainpermissionexclude.go [feature] Add domain permission drafts and excludes (#3547) 1 month ago
domainpermissionexclude_test.go [feature] Add domain permission drafts and excludes (#3547) 1 month ago
drivers.go [experiment] add alternative wasm sqlite3 implementation available via build-tag (#2863) 7 months ago
emoji.go [performance] minimise log field allocations (#3529) 1 month ago
emoji_test.go [bugfix] Fix Postgres emoji delete, emoji category change (#2570) 11 months ago
errors_test.go [bugfix] Postgres error wrapping fix (#2276) 1 year ago
filter.go [performance] minimise log field allocations (#3529) 1 month ago
filter_test.go [bugfix] Fix filter title unique constraint (#3458) 2 months ago
filterkeyword.go [performance] minimise log field allocations (#3529) 1 month ago
filterkeyword_test.go [feature] Filters v1 (#2594) 10 months ago
filterstatus.go [performance] minimise log field allocations (#3529) 1 month ago
filterstatus_test.go [feature] Filters v1 (#2594) 10 months ago
headerfilter.go [feature/performance] sqlite pragma optimize on close (#2596) 11 months ago
headerfilter_test.go [feature] request blocking by http headers (#2409) 1 year ago
hook.go [chore] ensure consistent caller name fetching regardless of compiler inlining (#3323) 3 months ago
instance.go [performance] convert enum strings to ints (#3558) 1 month ago
instance_test.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
interaction.go [performance] minimise log field allocations (#3529) 1 month ago
interaction_test.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
list.go [performance] minimise log field allocations (#3529) 1 month ago
list_test.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
marker.go [chore] renames the `GTS` caches to `DB` caches (#3127) 5 months ago
markers_test.go [feature] Implement markers API (#1989) 1 year ago
media.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
media_test.go [feature] Media attachment placeholders (#2331) 1 year ago
mention.go [performance] minimise log field allocations (#3529) 1 month ago
mention_test.go [chore] Improve copyright header handling (#1608) 2 years ago
move.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
move_test.go [feature/chore] Add Move database functions + cache (#2647) 10 months ago
notification.go [bugfix] notification types missing from link header (#3571) 1 month ago
notification_test.go [bugfix] notification types missing from link header (#3571) 1 month ago
poll.go [feature] unending polls (#3592) 3 weeks ago
poll_test.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
relationship.go [feature] Allow users to export data via the settings panel (#3140) 5 months ago
relationship_block.go [performance] minimise log field allocations (#3529) 1 month ago
relationship_follow.go [performance] minimise log field allocations (#3529) 1 month ago
relationship_follow_req.go [performance] convert enum strings to ints (#3558) 1 month ago
relationship_mute.go [performance] minimise log field allocations (#3529) 1 month ago
relationship_note.go [chore] renames the `GTS` caches to `DB` caches (#3127) 5 months ago
relationship_test.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
report.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
report_test.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
rule.go [chore] renames the `GTS` caches to `DB` caches (#3127) 5 months ago
rule_test.go [feature] Instance rules (#2125) 1 year ago
search.go [feature] Add from: search operator and account_id query param (#2943) 7 months ago
search_test.go [feature] Add from: search operator and account_id query param (#2943) 7 months ago
session.go [feature/performance] sqlite pragma optimize on close (#2596) 11 months ago
session_test.go [chore] Improve copyright header handling (#1608) 2 years ago
sinbinstatus.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
status.go [feature] add support for clients editing statuses and fetching status revision history (#3628) 2 days ago
status_test.go [feature/frontend] Add player for audio files; use thumbnail for `poster` (#3099) 5 months ago
statusbookmark.go [performance] minimise log field allocations (#3529) 1 month ago
statusbookmark_test.go [feature] do not uncache status / emoji media if attached status is bookmarked (#2956) 7 months ago
statusedit.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
statusedit_test.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
statusfave.go [performance] minimise log field allocations (#3529) 1 month ago
statusfave_test.go [chore/docs] Replace specific year range of copyright notice (#2520) 12 months ago
tag.go [performance] minimise log field allocations (#3529) 1 month ago
tag_test.go [experiment] add alternative wasm sqlite3 implementation available via build-tag (#2863) 7 months ago
thread.go [chore] renames the `GTS` caches to `DB` caches (#3127) 5 months ago
thread_test.go [feature] Status thread mute/unmute functionality (#2278) 1 year ago
timeline.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
timeline_test.go [feature] add support for receiving federated status edits (#3597) 3 weeks ago
tombstone.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
upsert.go [feature/performance] Store account stats in separate table (#2831) 8 months ago
user.go [performance] cache more database calls, reduce required database calls overall (#3290) 3 months ago
user_test.go [feature] Add list command to admin account (#1648) 2 years ago
util.go [bugfix] Account timeline: exclude self-replies that mention other accounts (#2670) 10 months ago
workertask.go [feature] persist worker queues to db (#3042) 5 months ago