summary refs log tree commit diff
path: root/synapse/storage/appservice.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert storage layer to be mysql compatibleErik Johnston2015-03-191-2/+2
|
* Add a description to storage layer's _execute_and_decode()Paul "LeoNerd" Evans2015-03-111-1/+1
|
* Merge pull request #93 from matrix-org/application-services-exclusiveKegsay2015-03-021-3/+13
|\ | | | | Application services exclusive flag support
| * Convert expected format for AS regex to include exclusivity.Kegan Dougal2015-02-271-3/+13
| | | | | | | | | | 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.
* | Wrap all of get_app_service_rooms in a txn.Kegan Dougal2015-03-021-12/+26
| |
* | JOIN state_events rather than parsing unrecognized_keys to pull out member ↵Kegan Dougal2015-03-021-1/+1
| | | | | | | | state_keys
* | Modify _simple_select_list to allow an empty WHERE clause. Use it for ↵Kegan Dougal2015-03-021-2/+2
| | | | | | | | get_all_rooms and get_all_users.
* | PR tweaks: set earlier on and use 'as json' for compatKegan Dougal2015-03-021-11/+7
| |
* | Finish impl to extract all room IDs an AS may be interested in when polling ↵Kegan Dougal2015-02-261-6/+29
| | | | | | | | the event stream.
* | PEP8 and pyflakesKegan Dougal2015-02-251-5/+3
| |
* | Add support for extracting matching room_ids and room_aliases for a given AS.Kegan Dougal2015-02-251-2/+48
| |
* | Add stub functions and work out execution flow to implement AS event stream ↵Kegan Dougal2015-02-251-0/+19
|/ | | | polling.
* Squash out the now-redundant ApplicationServicesCache object classPaul "LeoNerd" Evans2015-02-231-20/+8
|
* PEP8-ifyKegan Dougal2015-02-111-3/+0
|
* Modify auth.get_user_by_req for authing appservices directly.Kegan Dougal2015-02-091-1/+3
| | | | | | Add logic to map the appservice token to the autogenned appservice user ID. Add unit tests for all forms of get_user_by_req (user/appservice, valid/bad/missing tokens)
* Register a user account for the AS when the AS registers. Add 'sender' ↵Kegan Dougal2015-02-091-2/+3
| | | | column to AS table.
* Add hs_token column and generate a different token f.e application service.Kegan Dougal2015-02-051-5/+12
|
* Fix bug in store defer. Add more unit tests.Kegan Dougal2015-02-041-4/+14
|
* Add stub ApplicationServiceApi and glue it with the handler.Kegan Dougal2015-02-041-0/+1
|
* Add appservice package and move ApplicationService into it.Kegan Dougal2015-02-031-104/+1
|
* Implement restricted namespace checks. Begin fleshing out the main hook for ↵Kegan Dougal2015-02-031-5/+16
| | | | notifying application services.
* Add namespace constants. Add restrict_to option to limit namespace checks.Kegan Dougal2015-02-031-17/+24
|
* Everyone loves SQL typosKegan Dougal2015-02-031-1/+1
|
* Implement regex checks for app services.Kegan Dougal2015-02-031-27/+44
| | | | | Expose handler.get_services_for_event which manages the checks for all services.
* Add defers in the right places.Kegan Dougal2015-02-021-0/+2
|
* Implement txns for AS (un)registration.Kegan Dougal2015-02-021-21/+99
|
* Add basic application_services SQL, and hook up parts of the appservice ↵Kegan Dougal2015-01-281-11/+78
| | | | store to read from it.
* Remove unused importKegan Dougal2015-01-281-2/+0
|
* Log when ASes are registered/unregistered.Kegan Dougal2015-01-271-1/+3
|
* Use ApplicationService when registering.Kegan Dougal2015-01-271-10/+6
|
* Add stub methods, TODOs and docstrings for application services.Kegan Dougal2015-01-271-2/+50
|
* Add AS specific classes with docstrings.Kegan Dougal2015-01-271-1/+59
|
* Add appservice handler and store. Glue together rest > handler > store.Kegan Dougal2015-01-271-0/+45