Commit Graph

1304 Commits (4ebb688f4ffcef2784df0aa7f5b088e72b28c07b)

Author SHA1 Message Date
Mark Haines ba660ecde2 Add a comment to offer a hint to an explanation for why we have a unique constraint on (app_id, pushkey, user_id) 9 years ago
Mark Haines ee32d622ce Fix a couple of errors when deleting pushers 9 years ago
Mark Haines b6e8420aee Add replication stream for pushers 9 years ago
Erik Johnston 15122da0e2 Thats not how transactions work. 9 years ago
Erik Johnston b13035cc91 Implement logout 9 years ago
Erik Johnston c081228439 Fix SQL statement 9 years ago
David Baker 2dee03aee5 more pep8 9 years ago
David Baker af59826a2f Make select more sensible when dseleting access tokens, rename pusher deletion to match access token deletion and make exception arg optional. 9 years ago
David Baker f523177850 Delete old, unused methods and rename new one to just be `user_delete_access_tokens` with an `except_token_ids` argument doing what it says on the tin. 9 years ago
David Baker 57c444b3ad Dear PyCharm, please indent sensibly for me. Thx. 9 years ago
David Baker aa11db5f11 Fix cache invalidation so deleting access tokens (which we did when changing password) actually takes effect without HS restart. Reinstate the code to avoid logging out the session that changed the password, removed in 415c2f0549 9 years ago
Daniel Wagner-Hall 465605d616 Store appservice ID on register 9 years ago
Erik Johnston 9669a99d1a Update users table in a batched manner 9 years ago
Erik Johnston 8a88684736 Add comment 9 years ago
Erik Johnston af2fe6110c Return the correct token form 9 years ago
Erik Johnston 3ecaabc7fd Use topological orders for initial sync timeline 9 years ago
Erik Johnston 158a322e82 Ensure integer is an integer 9 years ago
Daniel Wagner-Hall edca2d9891 Idempotent-ise schema update script 9 years ago
Mark Haines 7076082ae6 Fix relative imports so they work in both py3 and py27 9 years ago
Mark Haines 9848b54cac Prefill from the correct stream 9 years ago
Mark Haines deda48068c prefill the push rules stream change cache 9 years ago
Mark Haines ebcbb23226 s/stream_ordering/event_stream_ordering/ in push 9 years ago
Mark Haines 7e9fc9b6af /FNARG/d 9 years ago
Mark Haines 1b4f4a936f Hook up the push rules stream to account_data in /sync 9 years ago
Mark Haines 2223204eba Hook push rules up to the replication API 9 years ago
Mark Haines a1cf9e3bf3 Add a stream for push rule updates 9 years ago
Mark Haines 60a0f81c7a Add a /replication API for extracting the updates that happened on 9 years ago
Erik Johnston f9af8962f8 Allow alias creators to delete aliases 9 years ago
Mark Haines 54172924c8 Load the current id in the IdGenerator constructor 9 years ago
Mark Haines de27f7fc79 Add support for changing the actions for default rules 9 years ago
Daniel Wagner-Hall 33300673b7 Generate guest access token on 3pid invites 9 years ago
Erik Johnston 6451fcd085 Create a new stream_id per presence update 9 years ago
Erik Johnston e6c5e3f28a Close cursor 9 years ago
Erik Johnston 42109a62a4 Remove unused param from get_max_token 9 years ago
Mark Haines b9977ea667 Remove dead code for setting device specific rules. 9 years ago
Erik Johnston 112283e230 Prefix TS fields with _ts 9 years ago
Erik Johnston e5999bfb1a Initial cut 9 years ago
Daniel Wagner-Hall a4e278bfe7 Respond to federated invite with non-empty context 9 years ago
Mark Haines a9c9868957 Make adding push rules idempotent 9 years ago
Daniel Wagner-Hall 763360594d Mark AS users with their AS's ID 9 years ago
Erik Johnston ce14c7a995 Fix SYN-627, events are in incorrect room in /sync 9 years ago
Erik Johnston 0eff740523 Return events in correct order for /events 9 years ago
Erik Johnston 5189bfdef4 Batch fetch _get_state_groups_from_groups 9 years ago
Erik Johnston 24f00a6c33 Use _simple_select_many for _get_state_group_for_events 9 years ago
Erik Johnston 0214745239 Rename functions 9 years ago
Erik Johnston 7b0d846407 Atomically persit push actions when we persist the event 9 years ago
Erik Johnston 78d6c1b5be Change a log from debug to info 9 years ago
Erik Johnston 70a8608749 Invalidate get_last_receipt_event_id_for_user cache 9 years ago
Erik Johnston eff12e838c Don't load all ephemeral state for a room on every sync 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago