Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the appservice use 'users_in_room' rather than get_room_members since ↵ | Mark Haines | 2015-05-22 | 1 | -3/+3 |
| | | | | it is cached | ||||
* | Fix more AS sender ID thinkos. | Kegan Dougal | 2015-04-01 | 1 | -1/+4 |
| | | | | | | Specifically, the ASes own user ID wasn't being treated as 'exclusive' so a human could nab it. Also, the HS would needlessly send user queries to the AS for its own user ID. | ||||
* | Merge branch 'develop' into application-services-registration-script | Kegan Dougal | 2015-04-01 | 1 | -1/+4 |
|\ | |||||
| * | Fix thinko whereby events *for the AS specifically* were not passed on. | Kegan Dougal | 2015-03-31 | 1 | -1/+4 |
| | | | | | | | | | | This was caused by not explicitly checking the service.sender field. This has now been fixed and a regression test has been added. | ||||
* | | Fix tests and missing returns on deferreds. | Kegan Dougal | 2015-03-31 | 1 | -1/+1 |
|/ | |||||
* | Fixes from PR comments | Kegan Dougal | 2015-03-26 | 1 | -1/+2 |
| | |||||
* | Implement ServiceQueuer with tests. | Kegan Dougal | 2015-03-16 | 1 | -16/+30 |
| | |||||
* | Replace EventGrouper for ServiceQueuer to move to push-based txns. Fix tests ↵ | Kegan Dougal | 2015-03-16 | 1 | -28/+33 |
| | | | | and add stub tests for ServiceQueuer. | ||||
* | Wrap polling/retry blocks in try/excepts to avoid sending to other ASes ↵ | Kegan Dougal | 2015-03-16 | 1 | -29/+39 |
| | | | | breaking permanently should an error occur. | ||||
* | Minor PR comment tweaks. | Kegan Dougal | 2015-03-16 | 1 | -2/+2 |
| | |||||
* | Fix remaining scheduler bugs. Add more informative logging. | Kegan Dougal | 2015-03-10 | 2 | -35/+25 |
| | |||||
* | Bug fixes whilst putting it all together | Kegan Dougal | 2015-03-09 | 2 | -1/+4 |
| | |||||
* | Use seconds; start gluing in the AS scheduler into the AS handler. | Kegan Dougal | 2015-03-09 | 1 | -2/+2 |
| | |||||
* | Assign the AS ID from the database; replace old placeholder txn id. | Kegan Dougal | 2015-03-06 | 1 | -2/+2 |
| | |||||
* | Upper bound the backoff. | Kegan Dougal | 2015-03-06 | 1 | -1/+3 |
| | |||||
* | Apply clarity and docstrings | Kegan Dougal | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | Finish synapse.appservice.scheduler implementation. | Kegan Dougal | 2015-03-06 | 2 | -51/+51 |
| | | | | | With tests to assert behaviour. Not hooked up yet. Stub datastore methods not implemented yet. | ||||
* | Add some loggers | Kegan Dougal | 2015-03-06 | 1 | -0/+10 |
| | |||||
* | Flesh out more stub functions. | Kegan Dougal | 2015-03-06 | 2 | -8/+34 |
| | |||||
* | Add stub ApplicationServiceTransactionStore. Bootstrap Recoverers. Fill in ↵ | Kegan Dougal | 2015-03-06 | 1 | -7/+43 |
| | | | | stub Transaction functions. | ||||
* | Add more tests; fix bugs. | Kegan Dougal | 2015-03-06 | 1 | -2/+2 |
| | |||||
* | Start adding some tests | Kegan Dougal | 2015-03-06 | 1 | -10/+13 |
| | |||||
* | Rejig structure given the appservice_handler already filters the correct ↵ | Kegan Dougal | 2015-03-06 | 1 | -59/+85 |
| | | | | ASes to use. | ||||
* | Minor tweaks | Kegan Dougal | 2015-03-05 | 1 | -7/+9 |
| | |||||
* | Add stub architecture for txn reliability. | Kegan Dougal | 2015-03-05 | 1 | -10/+111 |
| | |||||
* | Add stub scheduler module for txn reliability | Kegan Dougal | 2015-03-05 | 1 | -0/+68 |
| | |||||
* | Add txn_id kwarg to push methods | Kegan Dougal | 2015-03-05 | 1 | -4/+9 |
| | |||||
* | Add functions to return whether an AS has exclusively claimed a matching ↵ | Kegan Dougal | 2015-02-27 | 1 | -3/+20 |
| | | | | namespace. | ||||
* | Convert expected format for AS regex to include exclusivity. | Kegan Dougal | 2015-02-27 | 1 | -7/+19 |
| | | | | | Previously you just specified the regex as a string, now it expects a JSON object with a 'regex' key and an 'exclusive' boolean, as per spec. | ||||
* | Minor tweaks based on PR feedback. | Kegan Dougal | 2015-02-11 | 1 | -3/+3 |
| | |||||
* | PEP8-ify | Kegan Dougal | 2015-02-11 | 1 | -2/+0 |
| | |||||
* | Notify ASes for events sent by other users in a room which an AS user is a ↵ | Kegan Dougal | 2015-02-11 | 1 | -4/+13 |
| | | | | part of. | ||||
* | Fix bugs so lazy room joining works as intended. | Kegan Dougal | 2015-02-09 | 1 | -3/+3 |
| | |||||
* | Register a user account for the AS when the AS registers. Add 'sender' ↵ | Kegan Dougal | 2015-02-09 | 1 | -1/+2 |
| | | | | column to AS table. | ||||
* | Fix user query checks. HS>AS pushing now works. | Kegan Dougal | 2015-02-05 | 1 | -8/+13 |
| | |||||
* | Serialize events before sending to ASes | Kegan Dougal | 2015-02-05 | 1 | -0/+10 |
| | |||||
* | Glue AS work to general event notifications. Add more exception handling ↵ | Kegan Dougal | 2015-02-05 | 2 | -2/+11 |
| | | | | when poking ASes. | ||||
* | Add hs_token column and generate a different token f.e application service. | Kegan Dougal | 2015-02-05 | 2 | -6/+8 |
| | |||||
* | Impl push_bulk function | Kegan Dougal | 2015-02-05 | 1 | -1/+18 |
| | |||||
* | Update user/alias query APIs to use new format of SimpleHttpClient.get_json | Kegan Dougal | 2015-02-04 | 1 | -8/+7 |
| | |||||
* | Add query_user/alias APIs. | Kegan Dougal | 2015-02-04 | 1 | -4/+43 |
| | |||||
* | Begin to add unit tests for appservice glue and regex testing. | Kegan Dougal | 2015-02-04 | 1 | -2/+12 |
| | |||||
* | Add stub ApplicationServiceApi and glue it with the handler. | Kegan Dougal | 2015-02-04 | 2 | -1/+23 |
| | |||||
* | Add appservice package and move ApplicationService into it. | Kegan Dougal | 2015-02-03 | 2 | -0/+134 |