Commit Graph

1152 Commits (eb036256267dc76f13a8a25ab952356e1b1e9c00)

Author SHA1 Message Date
Daniel Wagner-Hall cfd07aafff Allow guests to upgrade their accounts 9 years ago
David Baker 4eb7b950c8 = not == in sql 9 years ago
David Baker c914d67cda Rename event-actions to event_push_actions as per PR request 9 years ago
David Baker 3051c9d002 Address minor PR issues 9 years ago
David Baker 4c8f6a7e42 Insert push actions in a single db query rather than one per user/profile_tag 9 years ago
David Baker 65c451cb38 Add bulk push rule evaluator which actually still evaluates rules one by one, but does far fewer db queries to fetch the rules 9 years ago
David Baker 091c545c4f pep8 9 years ago
David Baker 413d0d6a24 Make unread notification count sending work: put the correct count in incremental syncs too, where necessary, and fix silly bugs like only select the event actions for that user... 9 years ago
Richard van der Hoff a64f9bbfe0 Fix 500 error when back-paginating search results 9 years ago
David Baker 42ad49f5b7 still very WIP, but now sends unread_notifications_count in the room object on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs). 9 years ago
Mark Haines dcfc70e8ed Allow users to change which account a 3pid is bound to 9 years ago
Mark Haines 98dfa7d24f Skip events that where the body, name or topic isn't a string when back populating the FTS index 9 years ago
Daniel Wagner-Hall 76e69cc8de Fix typo 9 years ago
Mark Haines bfc52a2342 Fix typo in sql for full text search on sqlite3 9 years ago
Erik Johnston d9a5c56930 Include approximate count of search results 9 years ago
Erik Johnston 51fb590c0e Use more efficient query form 9 years ago
David Baker aa667ee396 Save event actions to the db 9 years ago
Mark Haines 7d6b313312 Add caches for whether a room has been forgotten by a user 9 years ago
David Baker 21f135ba76 Very first cut of calculating actions for events as they come in. Doesn't store them yet. Not very efficient. 9 years ago
Mark Haines 6a5ff5f223 Track the time spent in the database per request. 9 years ago
Mark Haines d57c5cda71 Bump schema version. 9 years ago
David Baker e515b48929 Just replace the table definition with the one from full_schema 16 9 years ago
David Baker 8810eb8c39 Fix schema delta 15 on postgres in the very unlikley event that anyone upgrades to 15... 9 years ago
Erik Johnston 976cb5aaa8 Throw if unrecognized DB type 9 years ago
Erik Johnston b2def42bfd Older versions of SQLite don't like IF NOT EXISTS in virtual tables 9 years ago
Erik Johnston b9acef5301 Fix so highlight matching works again 9 years ago
Erik Johnston 7dd6e5efca Remove deuplication. Add comment about regex. 9 years ago
Erik Johnston 477da77b46 Search: Add prefix matching support 9 years ago
Mark Haines 95f30ecd1f Add API for setting account_data globaly or on a per room basis 9 years ago
Erik Johnston 4dcaa42b6d Allow paginating search ordered by recents 9 years ago
Erik Johnston 76936f43ae Return words to highlight in search results 9 years ago
Daniel Wagner-Hall df7cf6c0eb Fix SQL for postgres again 9 years ago
Daniel Wagner-Hall 3e573a5c6b Fix SQL for postgres 9 years ago
Daniel Wagner-Hall 7dfa455508 Remove size specifier for database column 9 years ago
Daniel Wagner-Hall df6824a008 Ignore forgotten rooms in v2 sync 9 years ago
Daniel Wagner-Hall 9da4c5340d Simplify code 9 years ago
Daniel Wagner-Hall bed7889703 Apply forgetting properly to historical events 9 years ago
Mark Haines d153f482dd Rename the database table 9 years ago
Mark Haines 1c960fbb80 s/private_user_data/account_data/ 9 years ago
Daniel Wagner-Hall ba26eb3d5d Allow users to forget rooms 9 years ago
Richard van der Hoff e4d622aaaf Implementation of state rollback in /sync 9 years ago
Richard van der Hoff fddedd51d9 Fix a few race conditions in the state calculation 9 years ago
Erik Johnston 3de46c7755 Trailing whitespace 9 years ago
Erik Johnston 8fd8e72cec Expand comment 9 years ago
Erik Johnston 764e79d051 Comment 9 years ago
Erik Johnston 320408ef47 Fix SQL syntax 9 years ago
Erik Johnston 14a9d805b9 Use a (hopefully) more efficient SQL query for doing recency based room search 9 years ago
Erik Johnston 39de87869c Fix bug where assumed dict was namedtuple 9 years ago
Mark Haines e1627388d1 Fix param style to work on both sqlite and postgres 9 years ago
Mark Haines 940a161192 Fix the background update 9 years ago