Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't catch the return-value-as-exception that @defer.inlineCallbacks will use | Paul "LeoNerd" Evans | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | Actually make 3PU lookup calls out to ASes | Paul "LeoNerd" Evans | 2016-08-18 | 1 | -1/+10 |
| | |||||
* | Thread 3PU lookup through as far as the AS API object; which currently noöps it | Paul "LeoNerd" Evans | 2016-08-17 | 1 | -0/+3 |
| | |||||
* | Move the AS handler out of the Handlers object. | Mark Haines | 2016-05-31 | 1 | -7/+7 |
| | | | | | | Access it directly from the homeserver itself. It already wasn't inheriting from BaseHandler storing it on the Handlers object was already somewhat dubious. | ||||
* | Remove some unused functions (#711) | Mark Haines | 2016-04-08 | 1 | -5/+0 |
| | | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want | ||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 3 | -3/+3 |
| | |||||
* | Cap the time to retry txns to appservices to 8.5 minutes | Kegan Dougal | 2015-10-21 | 1 | -2/+2 |
| | | | | | | | | | | | There's been numerous issues with people playing around with their application service and then not receiving events from their HS for ages due to backoff timers reaching crazy heights (albeit capped at < 1 day). Reduce the max time between pokes to be 8.5 minutes (2^9 secs) which is quick enough for people to wait it out (avg wait time being 4.25 min) but long enough to actually give the AS breathing room if it needs it. | ||||
* | 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 |