summary refs log tree commit diff
path: root/synapse/appservice (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove unneeded type constraints on 3rd party protocol lookup responsesBrendan Abolivier2021-02-091-3/+0
* Tie together matches_user_in_member_list and get_users_in_room caches (#8676)Will Hunt2020-10-291-4/+6
* Add ability for access tokens to belong to one user but grant access to anoth...Erik Johnston2020-10-291-2/+2
* Limit AS transactions to 100 events (#8606)Will Hunt2020-10-211-2/+16
* Send some ephemeral events to appservices (#8437)Will Hunt2020-10-153-83/+172
* Add type hints to response cache. (#8507)Patrick Cloke2020-10-091-2/+2
* Add type annotations to SimpleHttpClient (#8372)Richard van der Hoff2020-09-241-1/+1
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Stop sub-classing object (#8249)Patrick Cloke2020-09-042-7/+7
* Convert appservice code to async/await. (#8207)Patrick Cloke2020-09-011-8/+11
* Convert additional database code to async/await. (#8195)Patrick Cloke2020-08-281-8/+11
* Convert the SimpleHttpClient to async. (#8016)Patrick Cloke2020-08-041-1/+1
* Convert appservice to async. (#7973)Patrick Cloke2020-07-303-60/+41
* Include room states on invite events sent to ASes (#6455)Sorunome2020-07-101-4/+16
* Convert the appservice handler to async/await. (#7775)Patrick Cloke2020-07-061-1/+0
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-162-5/+2
* Fix a couple of small typosAndrew Morgan2020-05-151-1/+1
* Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-211-1/+1
* rstrip slashes from url on appservice (#6306)Will Hunt2019-10-311-1/+3
* Remove double return statements (#5962)Andrew Morgan2019-09-031-3/+0
* Refactor the Appservice scheduler code (#5886)Richard van der Hoff2019-08-201-45/+65
|\
| * Refactor the Appservice scheduler codeRichard van der Hoff2019-08-201-45/+65
* | Avoid deep recursion in appservice recovery (#5885)Richard van der Hoff2019-08-201-18/+25
|/
* Replace returnValue with return (#5736)Amber Brown2019-07-233-35/+35
* 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-203-88/+67
* Run the AS senders as background processes (#4189)Richard van der Hoff2018-12-041-12/+24
* Port http/ to Python 3 (#3771)Amber Brown2018-09-061-6/+7
* run isortAmber Brown2018-07-093-15/+15
* add ip_range_whitelist parameter to limit where ASes can connect fromMatthew Hodgson2018-06-281-1/+3
* Merge pull request #3344 from Half-Shot/hs/as-metricsWill Hunt2018-06-071-0/+22
|\
| * Let's try labels instead of label, that might workWill Hunt2018-06-051-3/+3
| * Add metrics to track appservice transactionsWill Hunt2018-06-051-0/+22
* | also redact __str__ of ApplicationService used for loggingMichael Telatynski2018-06-061-1/+5
|/
* Merge remote-tracking branch 'origin/develop' into rav/use_run_in_backgroundRichard van der Hoff2018-04-271-11/+14
|\
| * Improve exception handling for background processesRichard van der Hoff2018-04-271-11/+14
* | Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-271-6/+6
|/
* Refactor ResponseCache usageRichard van der Hoff2018-04-121-7/+1
* Add metrics for ResponseCacheRichard van der Hoff2018-04-101-1/+2
* Replace some type checks with six type checksAdrian Tschira2018-04-071-1/+3
* Extract group_id from the dict for multiple useLuke Barnard2017-11-161-4/+5
* Remove unused GROUP_ID_REGEXLuke Barnard2017-11-161-2/+0
* Document get_groups_for_userLuke Barnard2017-11-161-0/+6
* Flake8Luke Barnard2017-11-161-1/+1
* Use a generator instead of a listLuke Barnard2017-11-161-2/+2
* Check group_id belongs to this domainLuke Barnard2017-11-161-3/+11
* Add automagical AS Publicised Group(s)Luke Barnard2017-11-161-0/+22
* Do logcontexts outside ResponseCacheErik Johnston2017-10-251-3/+7
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* Make get_if_app_services_interested_in_user fasterErik Johnston2017-05-181-0/+10
* Add commentErik Johnston2017-03-291-1/+1
* Cache whether an AS is interested based on membersErik Johnston2017-03-281-1/+9
* Remove param and cast at call siteErik Johnston2017-03-281-8/+6
* Compile the regex's used in ASesErik Johnston2017-03-281-9/+5
* Rename network_id to instance_id on client sideErik Johnston2016-12-121-1/+1
* Don't include appservice idErik Johnston2016-12-061-1/+0
* Add new API appservice specific public room listErik Johnston2016-12-062-0/+12
* Allow Configurable Rate Limiting Per ASLuke Barnard2016-10-181-1/+6
* Log if rejecting 3PE query metadata result due to type checkPaul "LeoNerd" Evans2016-09-091-4/+11
* Reject malformed 3PE query metadata results earlier in AS API handling codePaul "LeoNerd" Evans2016-09-091-2/+10
* Use None instead of the empty stringKegan Dougal2016-08-301-5/+5
* Flake8Kegan Dougal2016-08-301-0/+1
* Allow application services to have an optional 'url'Kegan Dougal2016-08-301-0/+11
* Just sprintf the 'kind' argument into uri directlyPaul "LeoNerd" Evans2016-08-251-3/+1
* Move ThirdPartyEntityKind into api.constants so the expectation becomes that ...Paul "LeoNerd" Evans2016-08-251-1/+1
* Root the 3PE lookup API within /_matrix/app/unstable instead of at toplevelPaul "LeoNerd" Evans2016-08-251-3/+16
* Merge pull request #1041 from matrix-org/paul/third-party-lookupPaul Evans2016-08-252-2/+26
|\
| * appease pep8Paul "LeoNerd" Evans2016-08-251-3/+2
| * Implement a ResponseCache around 3PE lookup metadata lookupsPaul "LeoNerd" Evans2016-08-251-11/+21
| * Kill PROTOCOL_META since I'm not using it any morePaul "LeoNerd" Evans2016-08-251-7/+0
| * Actually query over AS API for 3PE lookup metadataPaul "LeoNerd" Evans2016-08-251-0/+20
| * Initial hack at the 3PN protocols metadata lookup APIPaul "LeoNerd" Evans2016-08-241-0/+2
| * Move 3PU/3PL lookup APIs into /thirdparty containing entityPaul "LeoNerd" Evans2016-08-241-2/+2
* | Preserve some logcontextsErik Johnston2016-08-241-3/+3
|/
* Move validation logic for AS 3PE query response into ApplicationServiceApi cl...Paul "LeoNerd" Evans2016-08-181-1/+42
* Avoid so much copypasta between 3PU and 3PL query by unifying around a ThirdP...Paul "LeoNerd" Evans2016-08-181-14/+11
* Minor syntax neateningsPaul "LeoNerd" Evans2016-08-181-2/+2
* Copypasta the 3PU support code to also do 3PLPaul "LeoNerd" Evans2016-08-181-0/+11
* Filter 3PU lookups by only ASes that declare knowledge of that protocolPaul "LeoNerd" Evans2016-08-181-1/+8
* Merge remote-tracking branch 'origin/develop' into paul/thirdpartylookupPaul "LeoNerd" Evans2016-08-182-70/+72
|\
| * Make notify_interested_services fasterErik Johnston2016-08-171-39/+42
| * Change name of metricMatrix2016-08-171-1/+1
| * Move Measure block inside loopErik Johnston2016-08-171-9/+9
| * Clean up _ServiceQueuerErik Johnston2016-08-171-31/+30
* | Since empty lookups now return 200/empty list not 404, we can safely log fail...Paul "LeoNerd" Evans2016-08-181-3/+2
* | Don't catch the return-value-as-exception that @defer.inlineCallbacks will usePaul "LeoNerd" Evans2016-08-181-1/+1
* | Actually make 3PU lookup calls out to ASesPaul "LeoNerd" Evans2016-08-181-1/+10
* | Thread 3PU lookup through as far as the AS API object; which currently noöps itPaul "LeoNerd" Evans2016-08-171-0/+3
|/
* Move the AS handler out of the Handlers object.Mark Haines2016-05-311-7/+7
* Remove some unused functions (#711)Mark Haines2016-04-081-5/+0
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
* copyrightsMatthew Hodgson2016-01-073-3/+3
* Cap the time to retry txns to appservices to 8.5 minutesKegan Dougal2015-10-211-2/+2
* Make the appservice use 'users_in_room' rather than get_room_members since it...Mark Haines2015-05-221-3/+3
* Fix more AS sender ID thinkos.Kegan Dougal2015-04-011-1/+4
* Merge branch 'develop' into application-services-registration-scriptKegan Dougal2015-04-011-1/+4
|\
| * Fix thinko whereby events *for the AS specifically* were not passed on.Kegan Dougal2015-03-311-1/+4
* | Fix tests and missing returns on deferreds.Kegan Dougal2015-03-311-1/+1
|/
* Fixes from PR commentsKegan Dougal2015-03-261-1/+2
* Implement ServiceQueuer with tests.Kegan Dougal2015-03-161-16/+30
* Replace EventGrouper for ServiceQueuer to move to push-based txns. Fix tests ...Kegan Dougal2015-03-161-28/+33
* Wrap polling/retry blocks in try/excepts to avoid sending to other ASes break...Kegan Dougal2015-03-161-29/+39
* Minor PR comment tweaks.Kegan Dougal2015-03-161-2/+2
* Fix remaining scheduler bugs. Add more informative logging.Kegan Dougal2015-03-102-35/+25
* Bug fixes whilst putting it all togetherKegan Dougal2015-03-092-1/+4
* Use seconds; start gluing in the AS scheduler into the AS handler.Kegan Dougal2015-03-091-2/+2
* Assign the AS ID from the database; replace old placeholder txn id.Kegan Dougal2015-03-061-2/+2
* Upper bound the backoff.Kegan Dougal2015-03-061-1/+3
* Apply clarity and docstringsKegan Dougal2015-03-061-1/+1
* Finish synapse.appservice.scheduler implementation.Kegan Dougal2015-03-062-51/+51
* Add some loggersKegan Dougal2015-03-061-0/+10
* Flesh out more stub functions.Kegan Dougal2015-03-062-8/+34
* Add stub ApplicationServiceTransactionStore. Bootstrap Recoverers. Fill in st...Kegan Dougal2015-03-061-7/+43
* Add more tests; fix bugs.Kegan Dougal2015-03-061-2/+2
* Start adding some testsKegan Dougal2015-03-061-10/+13
* Rejig structure given the appservice_handler already filters the correct ASes...Kegan Dougal2015-03-061-59/+85
* Minor tweaksKegan Dougal2015-03-051-7/+9
* Add stub architecture for txn reliability.Kegan Dougal2015-03-051-10/+111
* Add stub scheduler module for txn reliabilityKegan Dougal2015-03-051-0/+68
* Add txn_id kwarg to push methodsKegan Dougal2015-03-051-4/+9
* Add functions to return whether an AS has exclusively claimed a matching name...Kegan Dougal2015-02-271-3/+20
* Convert expected format for AS regex to include exclusivity.Kegan Dougal2015-02-271-7/+19
* Minor tweaks based on PR feedback.Kegan Dougal2015-02-111-3/+3
* PEP8-ifyKegan Dougal2015-02-111-2/+0
* Notify ASes for events sent by other users in a room which an AS user is a pa...Kegan Dougal2015-02-111-4/+13
* 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/+2
* Fix user query checks. HS>AS pushing now works.Kegan Dougal2015-02-051-8/+13
* Serialize events before sending to ASesKegan Dougal2015-02-051-0/+10
* Glue AS work to general event notifications. Add more exception handling when...Kegan Dougal2015-02-052-2/+11
* Add hs_token column and generate a different token f.e application service.Kegan Dougal2015-02-052-6/+8
* Impl push_bulk functionKegan Dougal2015-02-051-1/+18
* Update user/alias query APIs to use new format of SimpleHttpClient.get_jsonKegan Dougal2015-02-041-8/+7
* Add query_user/alias APIs.Kegan Dougal2015-02-041-4/+43
* Begin to add unit tests for appservice glue and regex testing.Kegan Dougal2015-02-041-2/+12
* Add stub ApplicationServiceApi and glue it with the handler.Kegan Dougal2015-02-042-1/+23
* Add appservice package and move ApplicationService into it.Kegan Dougal2015-02-032-0/+134