You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Branch:
main
0.12.1-cherry-pick
0.12.2-cherry-pick
account_preferences_refactor
bare_public_key
css-refactor
disable_email_confirmation
docs-fix-site-url
docs-sys-reqs
emoji-alt
focus-status
frogend-edit-blocks
frontend-linting
frontend-refactor
frontend-restructure
frontend_tweaks
home_timeline_query_fiddling_alternative
improve-panic-handling
inbox_post_and_fedi_db_updates
interaction_policies_forward_compat
main
per-form-ance
refresh_before_notif_stream
remove-unused-dependencies
revert-3577-unknown_notif_types_fix
settings-refactor
settings-refactor-rebase
tag_timeline_all_param
v0.11.1
v0.13.1-cherry-pick
v0.13.2-cherry-pick
v0.13.3-cherry-pick
v0.14.1-cherry-pick
v0.14.2-cherry-pick
v0.17.4-cherry-pick
v0.18.2-cherry-pick
v0.18.3-cherry-pick
v0.9.1
wasm_recompile
v0.1.0
v0.1.1
v0.10.0
v0.10.0-rc1
v0.10.0-rc2
v0.10.0-rc3
v0.11.0
v0.11.0-rc1
v0.11.0-rc2
v0.11.0-rc3
v0.11.1
v0.12.0
v0.12.0-rc1
v0.12.0-rc2
v0.12.1
v0.12.2
v0.13.0
v0.13.0-rc1
v0.13.0-rc2
v0.13.1
v0.13.2
v0.13.3
v0.14.0
v0.14.0-rc1
v0.14.0-rc2
v0.14.0-rc3
v0.14.1
v0.14.2
v0.15.0
v0.15.0-rc1
v0.15.0-rc2
v0.16.0
v0.16.0-rc1
v0.16.0-rc2
v0.16.0-rc3
v0.17.0
v0.17.0-rc1
v0.17.0-rc2
v0.17.0-rc3
v0.17.0-rc4
v0.17.0-rc5
v0.17.1
v0.17.2
v0.17.3
v0.17.4
v0.18.0
v0.18.0-rc1
v0.18.0-rc2
v0.18.0-rc3
v0.18.1
v0.18.2
v0.18.3
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.3.0
v0.3.1
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.4.0
v0.5.0
v0.5.0-rc1
v0.5.0-rc2
v0.5.0-rc3
v0.5.1
v0.5.2
v0.6.0
v0.6.0-rc1
v0.6.0-rc2
v0.6.0-rc3
v0.7.0
v0.7.0-rc1
v0.7.0-rc2
v0.7.0-rc3
v0.7.1
v0.8.0
v0.8.0-rc1
v0.8.1
v0.9.0
v0.9.0-rc1
v0.9.0-rc2
${ noResults }
gotosocial/internal/stream
* Implement conversations API * Sort and page conversations by last status ID * Appease linter * Fix deleting conversations and statuses * Refactor to make migrations automatic * Lint * Update tests post-merge * Fixes from live-fire testing * Linter caught a format problem * Refactor tests, fix cache * Negative test for non-DMs * Run conversations advanced migration on testrig startup as well as regular server startup * Document (lack of) side effects of API method for deleting a conversation * Make not-found check less nested for readability * Rename PutConversation to UpsertConversation * Use util.Ptr instead of IIFE * Reduce cache used by conversations * Remove unnecessary TableExpr/ColumnExpr * Use struct tags for both unique constraints on Conversation * Make it clear how paging with GetDirectStatusIDsBatch should be used * Let conversation paging skip conversations it can't render * Use Bun NewDropTable * Convert delete raw query to Bun * Convert update raw query to Bun * Convert latestConversationStatusesTempTable raw query partially to Bun * Convert conversationStatusesTempTable raw query partially to Bun * Rename field used to store result of MaxDirectStatusID * Move advanced migrations to their own tiny processor * Catch up util function name with main * Remove json.… wrappers * Remove redundant check * Combine error checks * Replace map with slice of structs * Address processor/type converter comments - Add context info for errors - Extract some common processor code into shared methods - Move conversation eligibility check ahead of populating conversation * Add error context when dropping temp tables |
2 years ago | |
|---|---|---|
| .. | ||
| stream.go | [feature] Conversations API (#3013) | 2 years ago |