Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Require ID and as_token be unique for ASs | Daniel Wagner-Hall | 2016-01-14 | 1 | -1/+25 |
| | | | | | Defaults ID to as_token if not specified. This will change when IDs are fully supported. | ||||
* | Merge pull request #494 from matrix-org/daniel/2 | Daniel Wagner-Hall | 2016-01-14 | 1 | -0/+1 |
|\ | | | | | Don't start server if ASes are invalidly configured | ||||
| * | Don't start server if ASes are invalidly configured | Daniel Wagner-Hall | 2016-01-13 | 1 | -0/+1 |
| | | |||||
* | | Delete unused code | Daniel Wagner-Hall | 2016-01-13 | 1 | -59/+0 |
|/ | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | txn.execute doesn't return cursors | Erik Johnston | 2015-04-29 | 1 | -4/+4 |
| | |||||
* | txn.execute doesn't return cursors | Erik Johnston | 2015-04-29 | 1 | -2/+2 |
| | |||||
* | Fix invalid SQL to work in postgres land | Erik Johnston | 2015-04-29 | 1 | -4/+6 |
| | |||||
* | Go back to storing JSON in TEXT | Erik Johnston | 2015-04-16 | 1 | -3/+1 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 1 | -163/+296 |
|\ | |||||
| * | Add same user_id char checks as registration. | Kegan Dougal | 2015-03-31 | 1 | -1/+7 |
| | | |||||
| * | Use a sender localpart instead of a user ID. | Kegan Dougal | 2015-03-31 | 1 | -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 Dougal | 2015-03-31 | 1 | -9/+14 |
| | | |||||
| * | Fix tests and missing returns on deferreds. | Kegan Dougal | 2015-03-31 | 1 | -7/+11 |
| | | |||||
| * | Remove more reg/unreg methods. Read config not database for cache. | Kegan Dougal | 2015-03-31 | 1 | -160/+59 |
| | | |||||
| * | Fixes from PR comments | Kegan Dougal | 2015-03-26 | 1 | -2/+2 |
| | | |||||
| * | Set the service ID as soon as it is known. | Kegan Dougal | 2015-03-16 | 1 | -3/+4 |
| | | |||||
| * | Minor PR comment tweaks. | Kegan Dougal | 2015-03-16 | 1 | -3/+3 |
| | | |||||
| * | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-16 | 1 | -2/+4 |
| |\ | | | | | | | | | | | | | Conflicts: synapse/storage/appservice.py | ||||
| * | | Fix remaining scheduler bugs. Add more informative logging. | Kegan Dougal | 2015-03-10 | 1 | -2/+3 |
| | | | |||||
| * | | Remove unused import | Kegan Dougal | 2015-03-09 | 1 | -1/+0 |
| | | | |||||
| * | | Bug fixes whilst putting it all together | Kegan Dougal | 2015-03-09 | 1 | -5/+4 |
| | | | |||||
| * | | Use event IDs instead of dumping event content in the txns table. | Kegan Dougal | 2015-03-09 | 1 | -6/+8 |
| | | | |||||
| * | | Finish appservice txn storage impl and tests. | Kegan Dougal | 2015-03-09 | 1 | -15/+70 |
| | | | |||||
| * | | Implement create_appservice_txn with tests. | Kegan Dougal | 2015-03-09 | 1 | -4/+42 |
| | | | |||||
| * | | Partially implement txn store methods with tests. | Kegan Dougal | 2015-03-09 | 1 | -17/+44 |
| | | | |||||
| * | | Start implementing ApplicationServiceTransactionStore | Kegan Dougal | 2015-03-06 | 1 | -1/+5 |
| | | | |||||
| * | | Assign the AS ID from the database; replace old placeholder txn id. | Kegan Dougal | 2015-03-06 | 1 | -2/+3 |
| | | | |||||
| * | | Add appservice txns sql schema | Kegan Dougal | 2015-03-06 | 1 | -0/+6 |
| | | | |||||
| * | | Apply clarity and docstrings | Kegan Dougal | 2015-03-06 | 1 | -1/+13 |
| | | | |||||
| * | | Finish synapse.appservice.scheduler implementation. | Kegan Dougal | 2015-03-06 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | With tests to assert behaviour. Not hooked up yet. Stub datastore methods not implemented yet. | ||||
| * | | Flesh out more stub functions. | Kegan Dougal | 2015-03-06 | 1 | -2/+15 |
| | | | |||||
| * | | Add stub ApplicationServiceTransactionStore. Bootstrap Recoverers. Fill in ↵ | Kegan Dougal | 2015-03-06 | 1 | -0/+28 |
| | | | | | | | | | | | | stub Transaction functions. | ||||
* | | | Convert storage layer to be mysql compatible | Erik Johnston | 2015-03-19 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Add a description to storage layer's _execute_and_decode() | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #93 from matrix-org/application-services-exclusive | Kegsay | 2015-03-02 | 1 | -3/+13 |
|\ | | | | | Application services exclusive flag support | ||||
| * | Convert expected format for AS regex to include exclusivity. | Kegan Dougal | 2015-02-27 | 1 | -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 Dougal | 2015-03-02 | 1 | -12/+26 |
| | | |||||
* | | JOIN state_events rather than parsing unrecognized_keys to pull out member ↵ | Kegan Dougal | 2015-03-02 | 1 | -1/+1 |
| | | | | | | | | state_keys | ||||
* | | Modify _simple_select_list to allow an empty WHERE clause. Use it for ↵ | Kegan Dougal | 2015-03-02 | 1 | -2/+2 |
| | | | | | | | | get_all_rooms and get_all_users. | ||||
* | | PR tweaks: set earlier on and use 'as json' for compat | Kegan Dougal | 2015-03-02 | 1 | -11/+7 |
| | | |||||
* | | Finish impl to extract all room IDs an AS may be interested in when polling ↵ | Kegan Dougal | 2015-02-26 | 1 | -6/+29 |
| | | | | | | | | the event stream. | ||||
* | | PEP8 and pyflakes | Kegan Dougal | 2015-02-25 | 1 | -5/+3 |
| | | |||||
* | | Add support for extracting matching room_ids and room_aliases for a given AS. | Kegan Dougal | 2015-02-25 | 1 | -2/+48 |
| | | |||||
* | | Add stub functions and work out execution flow to implement AS event stream ↵ | Kegan Dougal | 2015-02-25 | 1 | -0/+19 |
|/ | | | | polling. | ||||
* | Squash out the now-redundant ApplicationServicesCache object class | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -20/+8 |
| | |||||
* | PEP8-ify | Kegan Dougal | 2015-02-11 | 1 | -3/+0 |
| | |||||
* | Modify auth.get_user_by_req for authing appservices directly. | Kegan Dougal | 2015-02-09 | 1 | -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 Dougal | 2015-02-09 | 1 | -2/+3 |
| | | | | column to AS table. | ||||
* | Add hs_token column and generate a different token f.e application service. | Kegan Dougal | 2015-02-05 | 1 | -5/+12 |
| | |||||
* | Fix bug in store defer. Add more unit tests. | Kegan Dougal | 2015-02-04 | 1 | -4/+14 |
| | |||||
* | Add stub ApplicationServiceApi and glue it with the handler. | Kegan Dougal | 2015-02-04 | 1 | -0/+1 |
| | |||||
* | Add appservice package and move ApplicationService into it. | Kegan Dougal | 2015-02-03 | 1 | -104/+1 |
| | |||||
* | Implement restricted namespace checks. Begin fleshing out the main hook for ↵ | Kegan Dougal | 2015-02-03 | 1 | -5/+16 |
| | | | | notifying application services. | ||||
* | Add namespace constants. Add restrict_to option to limit namespace checks. | Kegan Dougal | 2015-02-03 | 1 | -17/+24 |
| | |||||
* | Everyone loves SQL typos | Kegan Dougal | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Implement regex checks for app services. | Kegan Dougal | 2015-02-03 | 1 | -27/+44 |
| | | | | | Expose handler.get_services_for_event which manages the checks for all services. | ||||
* | Add defers in the right places. | Kegan Dougal | 2015-02-02 | 1 | -0/+2 |
| | |||||
* | Implement txns for AS (un)registration. | Kegan Dougal | 2015-02-02 | 1 | -21/+99 |
| | |||||
* | Add basic application_services SQL, and hook up parts of the appservice ↵ | Kegan Dougal | 2015-01-28 | 1 | -11/+78 |
| | | | | store to read from it. | ||||
* | Remove unused import | Kegan Dougal | 2015-01-28 | 1 | -2/+0 |
| | |||||
* | Log when ASes are registered/unregistered. | Kegan Dougal | 2015-01-27 | 1 | -1/+3 |
| | |||||
* | Use ApplicationService when registering. | Kegan Dougal | 2015-01-27 | 1 | -10/+6 |
| | |||||
* | Add stub methods, TODOs and docstrings for application services. | Kegan Dougal | 2015-01-27 | 1 | -2/+50 |
| | |||||
* | Add AS specific classes with docstrings. | Kegan Dougal | 2015-01-27 | 1 | -1/+59 |
| | |||||
* | Add appservice handler and store. Glue together rest > handler > store. | Kegan Dougal | 2015-01-27 | 1 | -0/+45 |