Commit Graph

97 Commits (6ea27fafad7c290b8f082fedfa8ff7948cf9f1fd)

Author SHA1 Message Date
Kegan Dougal 4dec901c76 Cap the time to retry txns to appservices to 8.5 minutes 9 years ago
Mark Haines f43544eecc Make the appservice use 'users_in_room' rather than get_room_members since it is cached 10 years ago
Kegan Dougal 813e54bd5b Fix more AS sender ID thinkos. 10 years ago
Kegan Dougal 09cbff174a Fix thinko whereby events *for the AS specifically* were not passed on. 10 years ago
Kegan Dougal b59aa74556 Fix tests and missing returns on deferreds. 10 years ago
Kegan Dougal 32206dde3f Fixes from PR comments 10 years ago
Kegan Dougal d04fa1f712 Implement ServiceQueuer with tests. 10 years ago
Kegan Dougal 6279285b2a Replace EventGrouper for ServiceQueuer to move to push-based txns. Fix tests and add stub tests for ServiceQueuer. 10 years ago
Kegan Dougal c9c444f562 Wrap polling/retry blocks in try/excepts to avoid sending to other ASes breaking permanently should an error occur. 10 years ago
Kegan Dougal 835e01fc70 Minor PR comment tweaks. 10 years ago
Kegan Dougal db1fbc6c6f Fix remaining scheduler bugs. Add more informative logging. 10 years ago
Kegan Dougal 04c9751f24 Bug fixes whilst putting it all together 10 years ago
Kegan Dougal 21fd84dcb8 Use seconds; start gluing in the AS scheduler into the AS handler. 10 years ago
Kegan Dougal 4a6afa6abf Assign the AS ID from the database; replace old placeholder txn id. 10 years ago
Kegan Dougal 64345b7559 Upper bound the backoff. 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 7d3491c741 Add some loggers 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 0fbfe1b08a Add more tests; fix bugs. 10 years ago
Kegan Dougal 192e228a98 Start adding some tests 10 years ago
Kegan Dougal d516d68b29 Rejig structure given the appservice_handler already filters the correct ASes to use. 10 years ago
Kegan Dougal 0c838f9f5e Minor tweaks 10 years ago
Kegan Dougal 773cb3b688 Add stub architecture for txn reliability. 10 years ago
Kegan Dougal e319071191 Add stub scheduler module for txn reliability 10 years ago
Kegan Dougal be09c23ff0 Add txn_id kwarg to push methods 10 years ago
Kegan Dougal 40c9896705 Add functions to return whether an AS has exclusively claimed a matching namespace. 10 years ago
Kegan Dougal 16b90764ad Convert expected format for AS regex to include exclusivity. 10 years ago
Kegan Dougal f518324426 Minor tweaks based on PR feedback. 10 years ago
Kegan Dougal fd40d992ad PEP8-ify 10 years ago
Kegan Dougal c7783d6fee Notify ASes for events sent by other users in a room which an AS user is a part of. 10 years ago
Kegan Dougal f7cac2f7b6 Fix bugs so lazy room joining works as intended. 10 years ago
Kegan Dougal ac3183caaa Register a user account for the AS when the AS registers. Add 'sender' column to AS table. 10 years ago
Kegan Dougal c71456117d Fix user query checks. HS>AS pushing now works. 10 years ago
Kegan Dougal 0613666d9c Serialize events before sending to ASes 10 years ago
Kegan Dougal 51d63ac329 Glue AS work to general event notifications. Add more exception handling when poking ASes. 10 years ago
Kegan Dougal 27091f146a Add hs_token column and generate a different token f.e application service. 10 years ago
Kegan Dougal a1a4960baf Impl push_bulk function 10 years ago
Kegan Dougal 6d3e4f4d0a Update user/alias query APIs to use new format of SimpleHttpClient.get_json 10 years ago
Kegan Dougal aa8cce58bf Add query_user/alias APIs. 10 years ago
Kegan Dougal 525a218b2b Begin to add unit tests for appservice glue and regex testing. 10 years ago
Kegan Dougal 17753f0c20 Add stub ApplicationServiceApi and glue it with the handler. 10 years ago
Kegan Dougal 94a5db9f4d Add appservice package and move ApplicationService into it. 10 years ago