Commit Graph

77 Commits (29ded770b16ee302a3f7b3b09c6c8de492301f02)

Author SHA1 Message Date
Erik Johnston 0163466d72 Ignore AS users when fetching push rules 8 years ago
Patrik Oldsberg 9bfc617791 storage/appservice: make appservice methods only relying on the cache synchronous 8 years ago
Erik Johnston b770435389 Make get_new_events_for_appservice use indices 8 years ago
Erik Johnston 07229bbdae Add appservice worker 8 years ago
Erik Johnston 9da84a9a1e Make AppserviceHandler stream events from database 8 years ago
Erik Johnston 84379062f9 Fix AS retries, but with correct ordering 9 years ago
Erik Johnston 310197bab5 Fix AS retries 9 years ago
Erik Johnston 05e01f21d7 Remove event fetching from DB threads 9 years ago
Mark Haines 6a30a0bfd3 Move the functions for parsing app service config 9 years ago
Daniel Wagner-Hall 763360594d Mark AS users with their AS's ID 9 years ago
Erik Johnston b84d59c5f0 Add descriptions 9 years ago
Daniel Wagner-Hall 2680043bc6 Require ID and as_token be unique for ASs 9 years ago
Daniel Wagner-Hall f6fcff3602 Don't start server if ASes are invalidly configured 9 years ago
Daniel Wagner-Hall 244b356a37 Delete unused code 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston 0337eaf321 txn.execute doesn't return cursors 10 years ago
Erik Johnston 884fb88e28 txn.execute doesn't return cursors 10 years ago
Erik Johnston d76c058eea Fix invalid SQL to work in postgres land 10 years ago
Erik Johnston b8092fbc82 Go back to storing JSON in TEXT 10 years ago
Kegan Dougal 5e88a09a42 Add same user_id char checks as registration. 10 years ago
Kegan Dougal cf1fa59f4b Use a sender localpart instead of a user ID. 10 years ago
Kegan Dougal c217504949 Edit SQL schema to use string IDs not ints. Use token as ID. Update tests. 10 years ago
Kegan Dougal b59aa74556 Fix tests and missing returns on deferreds. 10 years ago
Kegan Dougal d33ae65efc Remove more reg/unreg methods. Read config not database for cache. 10 years ago
Kegan Dougal 32206dde3f Fixes from PR comments 10 years ago
Erik Johnston d7a0496f3e Convert storage layer to be mysql compatible 10 years ago
Kegan Dougal f0d6f724a2 Set the service ID as soon as it is known. 10 years ago
Kegan Dougal 835e01fc70 Minor PR comment tweaks. 10 years ago
Paul "LeoNerd" Evans 099e4b88d8 Add a description to storage layer's _execute_and_decode() 10 years ago
Kegan Dougal db1fbc6c6f Fix remaining scheduler bugs. Add more informative logging. 10 years ago
Kegan Dougal 7e0bba555c Remove unused import 10 years ago
Kegan Dougal 04c9751f24 Bug fixes whilst putting it all together 10 years ago
Kegan Dougal b98cd03193 Use event IDs instead of dumping event content in the txns table. 10 years ago
Kegan Dougal 0a60bbf4fa Finish appservice txn storage impl and tests. 10 years ago
Kegan Dougal 1ead1caa18 Implement create_appservice_txn with tests. 10 years ago
Kegan Dougal 1c2dcf762a Partially implement txn store methods with tests. 10 years ago
Kegan Dougal 406d32f8b5 Start implementing ApplicationServiceTransactionStore 10 years ago
Kegan Dougal 4a6afa6abf Assign the AS ID from the database; replace old placeholder txn id. 10 years ago
Kegan Dougal 01c099d9ef Add appservice txns sql schema 10 years ago
Kegan Dougal 2602ddc379 Apply clarity and docstrings 10 years ago
Kegan Dougal 0354659f9d Finish synapse.appservice.scheduler implementation. 10 years ago
Kegan Dougal f260cb72cd Flesh out more stub functions. 10 years ago
Kegan Dougal 141ec04d19 Add stub ApplicationServiceTransactionStore. Bootstrap Recoverers. Fill in stub Transaction functions. 10 years ago
Kegan Dougal 377ae369c1 Wrap all of get_app_service_rooms in a txn. 10 years ago
Kegan Dougal b216b36892 JOIN state_events rather than parsing unrecognized_keys to pull out member state_keys 10 years ago
Kegan Dougal 3d73383d18 Modify _simple_select_list to allow an empty WHERE clause. Use it for get_all_rooms and get_all_users. 10 years ago
Kegan Dougal ebc4830666 PR tweaks: set earlier on and use 'as json' for compat 10 years ago
Kegan Dougal 16b90764ad Convert expected format for AS regex to include exclusivity. 10 years ago
Kegan Dougal 92478e96d6 Finish impl to extract all room IDs an AS may be interested in when polling the event stream. 10 years ago
Kegan Dougal 29267cf9d7 PEP8 and pyflakes 10 years ago