summaryrefslogtreecommitdiff
path: root/internal/db/bundb/notification_test.go
AgeCommit message (Collapse)AuthorFiles
2022-11-18[performance] don't use relations to select notification structs, use caches ↵Libravatar tobi1
instead (#1072)
2022-08-31[feature] Add support for the exclude_types[] parameter on the notifications ↵Libravatar Blackle Morisanchetto1
endpoint (#784) * Add support for the exclude_types[] parameter on the notifications endpoint * Add swagger docs to notifications
2022-08-15[chore] Update bun / sqlite versions; update gtsmodels (#754)Libravatar tobi1
* upstep bun and sqlite versions * allow specific columns to be updated in the db * only update necessary columns for user * bit tidier * only update necessary fields of media_attachment * only update relevant instance fields * update tests * update only specific account columns * use bool pointers on gtsmodels includes attachment, status, account, user * update columns more selectively * test all default fields on new account insert * updating remaining bools on gtsmodels * initialize pointer fields when extracting AP emoji * copy bools properly * add copyBoolPtr convenience function + test it * initialize false bool ptrs a bit more neatly
2022-08-01[feature] Implemented notification clear (#720)Libravatar Artémis1
* Implemented notification clear * Added the cache clear mechanism * added multi user check test
2022-03-07[performance] Database optimizations (#419)v0.2.1Libravatar tobi1
* create first index on notifications * tidy up + add tests * log queries for trace, ops for debug * index commonly used fields * rearrange query * add a few more indexes * remove schema-breaking index (add this back in later) * re-add cleanup query index