summary refs log tree commit diff
path: root/synapse/storage/appservice.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* txn.execute doesn't return cursorsErik Johnston2015-04-291-4/+4
|
* txn.execute doesn't return cursorsErik Johnston2015-04-291-2/+2
|
* Fix invalid SQL to work in postgres landErik Johnston2015-04-291-4/+6
|
* Go back to storing JSON in TEXTErik Johnston2015-04-161-3/+1
|
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-071-163/+296
|\
| * Add same user_id char checks as registration.Kegan Dougal2015-03-311-1/+7
| |
| * Use a sender localpart instead of a user ID.Kegan Dougal2015-03-311-2/+9
| | | | | | | | | | Form the user ID at runtime instead, This gives less room for error in AS config files since they cannot specify the domain of another HS.
| * Edit SQL schema to use string IDs not ints. Use token as ID. Update tests.Kegan Dougal2015-03-311-9/+14
| |
| * Fix tests and missing returns on deferreds.Kegan Dougal2015-03-311-7/+11
| |
| * Remove more reg/unreg methods. Read config not database for cache.Kegan Dougal2015-03-311-160/+59
| |
| * Fixes from PR commentsKegan Dougal2015-03-261-2/+2
| |
| * Set the service ID as soon as it is known.Kegan Dougal2015-03-161-3/+4
| |
| * Minor PR comment tweaks.Kegan Dougal2015-03-161-3/+3
| |
| * Merge branch 'develop' into application-services-txn-reliabilityKegan Dougal2015-03-161-2/+4
| |\ | | | | | | | | | | | | Conflicts: synapse/storage/appservice.py
| * | Fix remaining scheduler bugs. Add more informative logging.Kegan Dougal2015-03-101-2/+3
| | |
| * | Remove unused importKegan Dougal2015-03-091-1/+0
| | |
| * | Bug fixes whilst putting it all togetherKegan Dougal2015-03-091-5/+4
| | |
| * | Use event IDs instead of dumping event content in the txns table.Kegan Dougal2015-03-091-6/+8
| | |
| * | Finish appservice txn storage impl and tests.Kegan Dougal2015-03-091-15/+70
| | |
| * | Implement create_appservice_txn with tests.Kegan Dougal2015-03-091-4/+42
| | |
| * | Partially implement txn store methods with tests.Kegan Dougal2015-03-091-17/+44
| | |
| * | Start implementing ApplicationServiceTransactionStoreKegan Dougal2015-03-061-1/+5
| | |
| * | Assign the AS ID from the database; replace old placeholder txn id.Kegan Dougal2015-03-061-2/+3
| | |
| * | Add appservice txns sql schemaKegan Dougal2015-03-061-0/+6
| | |
| * | Apply clarity and docstringsKegan Dougal2015-03-061-1/+13
| | |
| * | Finish synapse.appservice.scheduler implementation.Kegan Dougal2015-03-061-0/+22
| | | | | | | | | | | | | | | With tests to assert behaviour. Not hooked up yet. Stub datastore methods not implemented yet.
| * | Flesh out more stub functions.Kegan Dougal2015-03-061-2/+15
| | |
| * | Add stub ApplicationServiceTransactionStore. Bootstrap Recoverers. Fill in ↵Kegan Dougal2015-03-061-0/+28
| | | | | | | | | | | | stub Transaction functions.
* | | 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