* In-progress work on optimizing actor search
* Tidy-up approach to using trgm index on actor search, apply to bsky appview
* Set trigram on session rather than on db via migration
* Add migration for post & profile aggs to pds
* Post/profile agg db tweaks
* Post/profile aggregation queries on pds
* Add facility for performing work on db commit in pds
* Add background queue to pds
* Perform aggregations during indexing on background queue
* Tidy pds background queue, incorporate into labeler
* Fix pds onCommit, remove unused indexing dep, fix zeros for aggs
* Finish background tasks for view tests in pds
* Update aggregations on account deletion, tidy
* Update profile and post views to serve materialized aggregations
* Add migration for post & profile aggs to pds
* Post/profile agg db tweaks
* Post/profile aggregation queries on pds
* Add facility for performing work on db commit in pds
* Add background queue to pds
* Perform aggregations during indexing on background queue
* Tidy pds background queue, incorporate into labeler
* Fix pds onCommit, remove unused indexing dep, fix zeros for aggs
* Finish background tasks for view tests in pds
* Update aggregations on account deletion, tidy
* Update types to allow for abort signal in xrpc subscriptions
* Support abort signal in xrpc-server subscriptions
* Stop sequencer listener in outbox when subscription aborts
* Reproduce issue with empty negateLabelVals
* normalize str arrays
* Reproduce issue with reversing labels on repo
* Use multiple labels for record labeling test
* join with space
---------
Co-authored-by: Devin Ivy <devinivy@gmail.com>
* adding to moderation flows
* some bugfixing in labels
* hardcode profile nsid
* make labels off moderation action
* db updates
* wip
* report labels in admin views & reverse moderation actions
* Test admin get record and repo w/ labels
* update db
* fix
* exclude negs from labels
* exclude neg on moderation views as well
* Check-in missing lex
* Check-in missing lex
* In-progress admin label tests
* Test label creation/reversal via actions
* Admin label test snapshots (#808)
* new snapshots for label on user
* fix get moderation action snap
* fix dev-env
---------
Co-authored-by: Devin Ivy <devinivy@gmail.com>
* take notifs off of message queue
* fix order of notif handling
* rip out message queue
* drop mq tables
* rm stream consumers
* Tidy
* Temporarily remove drop message queue migration
---------
Co-authored-by: Devin Ivy <devinivy@gmail.com>
* com.atproto.label.label lexicon
For persisting un-signed label objects in repositories.
There will likely be a handful of XRPC query endpoints in the
com.atproto.label namespace in the near future.
* lexicons: com.atproto.label.subscribeLabels
* lexicons: com.atproto.label.query
* lexicons: label updates post lex-refactor
* lexicons: rename label.query to label.queryLabels
* lexicons: queryLabels larger batch sizes; improve description
* lexicons: add labels to profiles, posts, notifications
* lexicons: add negation ('neg') flag to labels
* lexicon: label vals on moderation actions
This is a mechanism to create (or negate) labels as part of a moderation
action. The fields are optional, so this is backwards compatible, and if
we wanted to embed entire labels in the future (instead of just "val"
strings), that would be possible using a different field name.
* lexicons: update label.label to label.defs#label
* codegen
---------
Co-authored-by: dholms <dtholmgren@gmail.com>
* Index posts and reposts into feed_item table for building feeds
* Use feed_item table for building timeline and author feeds
* Apply feed item indexing to bsky app view
* Fix bsky appview tests, test getPopular
* Use feed item index to build feeds in bsky app view