summary refs log tree commit diff
path: root/synapse/handlers/appservice.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-3/+1
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-1/+4
* Remove double return statements (#5962)Andrew Morgan2019-09-031-2/+0
* Replace returnValue with return (#5736)Amber Brown2019-07-231-11/+11
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-38/+36
* Remove unnecessary extra function call layerErik Johnston2018-10-081-15/+3
* Use errback pattern and catch async failuresErik Johnston2018-10-081-1/+6
* more metrics for the federation and appservice sendersRichard van der Hoff2018-08-071-0/+10
* another couple of logcontext leaksRichard van der Hoff2018-07-241-1/+4
* run isortAmber Brown2018-07-091-7/+6
* Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-311-1/+3
* cleanupAmber Brown2018-05-221-3/+6
* replacing portionsAmber Brown2018-05-211-13/+6
* Merge pull request #3143 from matrix-org/rav/remove_redundant_preserve_fnRichard van der Hoff2018-04-301-4/+2
|\
| * Remove redundant call to preserve_fnRichard van der Hoff2018-04-301-4/+2
* | Merge pull request #3150 from NotAFile/py3-listcomp-yieldRichard van der Hoff2018-04-301-5/+9
|\ \ | |/ |/|
| * Don't yield in list comprehensionsAdrian Tschira2018-04-281-5/+9
* | Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-271-1/+4
|/
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/processed_...Erik Johnston2018-04-121-2/+19
|\
| * Send events to ASes concurrentlyErik Johnston2018-04-111-2/+19
* | Set all metrics at the same timeErik Johnston2018-04-121-4/+4
* | Track last processed event received_tsErik Johnston2018-04-111-0/+10
* | Track where event stream processing have gotten up toErik Johnston2018-04-111-0/+4
|/
* Metrics for events processed in appservice and fed senderRichard van der Hoff2018-01-151-0/+7
* Remove preserve_context_over_{fn, deferred}Richard van der Hoff2017-11-141-2/+2
* Remove useless assignment in notify_interested_servicesIlya Zhuravlev2017-11-071-1/+0
* Fix appservices being backlogged and not receiving new events due to a bug in...Ilya Zhuravlev2017-11-021-4/+1
* storage/appservice: make appservice methods only relying on the cache synchro...Patrik Oldsberg2016-10-061-11/+9
* Reject malformed 3PE query metadata results earlier in AS API handling codePaul "LeoNerd" Evans2016-09-091-9/+5
* Minor fixes from PR commentsPaul "LeoNerd" Evans2016-09-091-2/+2
* Efficiency fix for lookups of a single protocolPaul "LeoNerd" Evans2016-09-091-1/+4
* Don't corrupt shared cache on subsequent protocol requestsPaul "LeoNerd" Evans2016-09-091-0/+2
* Collect up all the "instances" lists of individual AS protocol results into o...Paul "LeoNerd" Evans2016-09-081-1/+29
* Merge pull request #1041 from matrix-org/paul/third-party-lookupPaul Evans2016-08-251-0/+10
|\
| * Don't need toplevel cache on 3PE lookup metadata any morePaul "LeoNerd" Evans2016-08-251-8/+0
| * Actually query over AS API for 3PE lookup metadataPaul "LeoNerd" Evans2016-08-251-13/+1
| * Move static knowledge of protocol metadata into AS handler; cache the resultPaul "LeoNerd" Evans2016-08-241-2/+24
| * Initial hack at the 3PN protocols metadata lookup APIPaul "LeoNerd" Evans2016-08-241-0/+8
* | Preserve some logcontextsErik Johnston2016-08-241-4/+4
|/
* Merge pull request #1026 from matrix-org/paul/thirdpartylookupPaul Evans2016-08-181-0/+24
|\
| * Move validation logic for AS 3PE query response into ApplicationServiceApi cl...Paul "LeoNerd" Evans2016-08-181-44/+2
| * More warnings about invalid results from AS 3PE queryPaul "LeoNerd" Evans2016-08-181-2/+7
| * Avoid so much copypasta between 3PU and 3PL query by unifying around a ThirdP...Paul "LeoNerd" Evans2016-08-181-26/+9
| * Minor syntax neateningsPaul "LeoNerd" Evans2016-08-181-14/+8
| * Appease pep8Paul "LeoNerd" Evans2016-08-181-0/+2
| * Copypasta the 3PU support code to also do 3PLPaul "LeoNerd" Evans2016-08-181-3/+30
| * Log a warning if an AS yields an invalid 3PU lookup resultPaul "LeoNerd" Evans2016-08-181-1/+6
| * Scattergather the call out to ASes; validate received resultsPaul "LeoNerd" Evans2016-08-181-7/+34
| * Filter 3PU lookups by only ASes that declare knowledge of that protocolPaul "LeoNerd" Evans2016-08-181-2/+4
| * Merge remote-tracking branch 'origin/develop' into paul/thirdpartylookupPaul "LeoNerd" Evans2016-08-181-44/+55
| |\
| * | Extend individual list results into the main return list, don't appendPaul "LeoNerd" Evans2016-08-181-1/+1
| * | Thread 3PU lookup through as far as the AS API object; which currently noƶps itPaul "LeoNerd" Evans2016-08-171-0/+21
* | | Add appservice workerErik Johnston2016-08-181-38/+51
| |/ |/|
* | Make AppserviceHandler stream events from databaseErik Johnston2016-08-181-21/+44
* | Make notify_interested_services fasterErik Johnston2016-08-171-23/+8
* | Measure notify_interested_servicesErik Johnston2016-08-171-19/+22
|/
* Move the AS handler out of the Handlers object.Mark Haines2016-05-311-10/+5
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Fix bug where synapse was sending AS user queries incorrectly.Kegan Dougal2015-06-171-1/+1
* Remove unused importMark Haines2015-05-221-1/+1
* Make the appservice use 'users_in_room' rather than get_room_members since it...Mark Haines2015-05-221-4/+1
* More missed get_user_by_id API changesDavid Baker2015-05-011-1/+1
* Fix more AS sender ID thinkos.Kegan Dougal2015-04-011-1/+8
* Remove more reg/unreg methods. Read config not database for cache.Kegan Dougal2015-03-311-37/+0
* Set the service ID as soon as it is known.Kegan Dougal2015-03-161-1/+1
* Minor PR comment tweaks.Kegan Dougal2015-03-161-2/+8
* Use seconds; start gluing in the AS scheduler into the AS handler.Kegan Dougal2015-03-091-3/+14
* Notify ASes for events sent by other users in a room which an AS user is a pa...Kegan Dougal2015-02-111-5/+16
* Fix bugs so lazy room joining works as intended.Kegan Dougal2015-02-091-3/+3
* Register a user account for the AS when the AS registers. Add 'sender' column...Kegan Dougal2015-02-091-1/+7
* Dependency inject ApplicationServiceApi when creating ApplicationServicesHand...Kegan Dougal2015-02-051-3/+2
* Fix user query checks. HS>AS pushing now works.Kegan Dougal2015-02-051-13/+31
* Glue AS work to general event notifications. Add more exception handling when...Kegan Dougal2015-02-051-14/+25
* Add unknown room alias check. Call it from directory_handler.get_associationKegan Dougal2015-02-051-43/+54
* Add unknown user ID check. Use store.get_aliases_for_room(room_id) when searc...Kegan Dougal2015-02-051-5/+19
* Add hs_token column and generate a different token f.e application service.Kegan Dougal2015-02-051-3/+6
* Impl push_bulk functionKegan Dougal2015-02-051-1/+1
* Add query_user/alias APIs.Kegan Dougal2015-02-041-10/+16
* Begin to add unit tests for appservice glue and regex testing.Kegan Dougal2015-02-041-2/+6
* Add stub ApplicationServiceApi and glue it with the handler.Kegan Dougal2015-02-041-3/+15
* Add appservice package and move ApplicationService into it.Kegan Dougal2015-02-031-1/+3
* Implement restricted namespace checks. Begin fleshing out the main hook for n...Kegan Dougal2015-02-031-0/+19
* Add namespace constants. Add restrict_to option to limit namespace checks.Kegan Dougal2015-02-031-10/+15
* Implement regex checks for app services.Kegan Dougal2015-02-031-2/+23
* Implement txns for AS (un)registration.Kegan Dougal2015-02-021-1/+2
* Add basic application_services SQL, and hook up parts of the appservice store...Kegan Dougal2015-01-281-3/+4
* Log when ASes are registered/unregistered.Kegan Dougal2015-01-271-0/+2
* Use ApplicationService when registering.Kegan Dougal2015-01-271-8/+5
* Add stub methods, TODOs and docstrings for application services.Kegan Dougal2015-01-271-3/+22
* Add appservice handler and store. Glue together rest > handler > store.Kegan Dougal2015-01-271-0/+49