summary refs log tree commit diff
path: root/synapse/server.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Add MSC3030 experimental client and federation API endpoints to get the close...Eric Eastwood2021-12-021-0/+5
* Add missing type hints to `synapse.app`. (#11287)Patrick Cloke2021-11-101-6/+9
* Enable passing typing stream writers as a list. (#11237)Nick Barrett2021-11-031-2/+2
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-221-3/+8
* Port the Password Auth Providers module interface to the new generic interfac...Azrenbeth2021-10-131-1/+5
* Refactor MSC2716 `/batch_send` endpoint into separate handler functions (#10974)Eric Eastwood2021-10-081-0/+5
* Remove the deprecated BaseHandler. (#11005)Patrick Cloke2021-10-081-1/+10
* Use direct references for some configuration variables (part 2) (#10812)Patrick Cloke2021-09-151-8/+8
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-11/+13
* Split `FederationHandler` in half (#10692)Richard van der Hoff2021-08-261-0/+5
* Experimental support for MSC3266 Room Summary API. (#10394)Michael Telatynski2021-08-161-3/+3
* Add a setting to disable TLS for sending email (#10546)Richard van der Hoff2021-08-061-6/+0
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-3/+3
* Standardise the module interface (#10062)Brendan Abolivier2021-06-181-4/+35
* Remove support for ACME v1 (#10194)Brendan Abolivier2021-06-171-5/+0
* Split multiplart email sending into a dedicated handler (#9977)Brendan Abolivier2021-05-171-0/+5
* Remove various bits of compatibility code for Python <3.6 (#9879)Andrew Morgan2021-04-271-5/+0
* Improved validation for received requests (#9817)Richard van der Hoff2021-04-231-0/+8
* Split presence out of master (#9820)Erik Johnston2021-04-231-3/+3
* Check for space membership during a remote join of a restricted room (#9814)Patrick Cloke2021-04-231-0/+5
* Rename handler and config modules which end in handler/config. (#9816)Patrick Cloke2021-04-201-5/+5
* remove `HomeServer.get_config` (#9815)Richard van der Hoff2021-04-141-3/+0
* Revert "Check for space membership during a remote join of a restricted room....Patrick Cloke2021-04-141-5/+0
* Check for space membership during a remote join of a restricted room. (#9763)Patrick Cloke2021-04-141-0/+5
* Move some replication processing out of generic_worker (#9796)Erik Johnston2021-04-141-3/+10
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Add a Synapse Module for configuring presence update routing (#9491)Andrew Morgan2021-04-061-0/+5
* Make RateLimiter class check for ratelimit overrides (#9711)Erik Johnston2021-03-301-0/+1
* Add type hints for the federation sender. (#9681)Patrick Cloke2021-03-291-2/+2
* Add a type hints for service notices to the HomeServer object. (#9675)Patrick Cloke2021-03-241-2/+2
* Initial spaces summary API (#9643)Richard van der Hoff2021-03-181-0/+5
* Fix up types for the typing handler. (#9638)Patrick Cloke2021-03-171-1/+10
* Add type hints to the room member handler. (#9631)Patrick Cloke2021-03-171-2/+2
* Fix additional type hints from Twisted 21.2.0. (#9591)Patrick Cloke2021-03-121-5/+3
* Create a SynapseReactor type which incorporates the necessary reactor interfa...Patrick Cloke2021-03-081-3/+2
* Fix additional type hints from Twisted upgrade. (#9518)Patrick Cloke2021-03-031-1/+2
* Add support for no_proxy and case insensitive env variables (#9372)Tim Leung2021-02-261-8/+2
* Clean up `ShardedWorkerHandlingConfig` (#9466)Erik Johnston2021-02-241-5/+2
* Fix deleting pushers when using sharded pushers. (#9465)Erik Johnston2021-02-221-3/+0
* Type hints and validation improvements. (#9321)Patrick Cloke2021-02-081-2/+14
* Precompute joined hosts and store in Redis (#9198)Erik Johnston2021-01-261-0/+30
* Allow moving account data and receipts streams off master (#9104)Erik Johnston2021-01-181-0/+5
* Remove user's avatar URL and displayname when deactivated. (#8932)Dirk Klimpel2021-01-121-1/+1
* Kill off `HomeServer.get_ip_from_request()` (#9080)Richard van der Hoff2021-01-121-4/+0
* Allow spam-checker modules to be provide async methods. (#8890)David Teller2020-12-111-1/+1
* Default to blacklisting reserved IP ranges and add a whitelist. (#8870)Patrick Cloke2020-12-091-1/+2
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-7/+29
* Simplify the way the `HomeServer` object caches its internal attributes. (#8...Jonathan de Jong2020-11-301-14/+13
* Add type hints to matrix federation client / agent. (#8806)Patrick Cloke2020-11-251-1/+2
* Abstract shared SSO code. (#8765)Patrick Cloke2020-11-171-0/+5
* Solidify the HomeServer constructor. (#8515)Jonathan de Jong2020-10-151-5/+9
* Move additional tasks to the background worker, part 4 (#8513)Patrick Cloke2020-10-131-5/+7
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-5/+25
* Combine `SpamCheckerApi` with the more generic `ModuleApi`. (#8464)Richard van der Hoff2020-10-071-0/+5
* Allow background tasks to be run on a separate worker. (#8369)Patrick Cloke2020-10-021-4/+13
* Fix ratelimiting for federation `/send` requests. (#8342)Erik Johnston2020-09-181-0/+5
* Add comment explaining castErik Johnston2020-08-111-0/+2
* Handle optional dependencies for Oidc and SamlErik Johnston2020-08-111-5/+9
* Change HomeServer definition to work with typing.Erik Johnston2020-08-111-224/+231
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-2/+2
* Allow moving typing off master (#7869)Erik Johnston2020-07-161-7/+6
* Add some tiny type annotations (#7870)Richard van der Hoff2020-07-161-2/+2
* Add delete room admin endpoint (#7613)Dirk Klimpel2020-07-141-1/+9
* Add `HomeServer.signing_key` property (#7805)Richard van der Hoff2020-07-081-0/+2
* Performance improvements and refactor of Ratelimiter (#7595)Andrew Morgan2020-06-051-10/+7
* Add ability to wait for replication streams (#7542)Erik Johnston2020-05-221-0/+5
* Move EventStream handling into default ReplicationDataHandler (#7493)Erik Johnston2020-05-141-1/+1
* Implement OpenID Connect-based login (#7256)Quentin Gliech2020-05-081-0/+6
* Add instance name to RDATA/POSITION commands (#7364)Erik Johnston2020-04-291-2/+11
* Move client command handling out of TCP protocol (#7185)Erik Johnston2020-04-061-1/+7
* Fix a bug which could cause incorrect 'cyclic dependency' error. (#7178)Richard van der Hoff2020-03-311-12/+10
* Remove usage of "conn_id" for presence. (#7128)Erik Johnston2020-03-301-0/+11
* Refactor the CAS code (move the logic out of the REST layer to a handler) (#7...Patrick Cloke2020-03-261-0/+5
* Allow server admins to define and enforce a password policy (MSC2000). (#7118)Dirk Klimpel2020-03-261-0/+5
* Move catchup of replication streams to worker. (#7024)Erik Johnston2020-03-251-0/+5
* Share SSL contexts for non-federation requests (#7094)Richard van der Hoff2020-03-171-3/+3
* Allow moving group read APIs to workers (#6866)Erik Johnston2020-02-071-4/+10
* Add database config class (#6513)Erik Johnston2019-12-181-37/+4
* Add new config param to docstring and add typesErik Johnston2019-12-111-1/+3
* Remove database config parsing from apps.Erik Johnston2019-12-101-1/+9
* Pass Database into the data storeErik Johnston2019-12-061-2/+1
* Fix startup error when http proxy is defined. (#6421)Richard van der Hoff2019-11-261-2/+2
* Remove the psutil dependency (#6318)Amber Brown2019-11-051-0/+2
* Support for routing outbound HTTP requests via a proxy (#6239)Richard van der Hoff2019-11-011-0/+9
* Review commentsErik Johnston2019-10-301-3/+2
* Use new EventPersistenceStoreErik Johnston2019-10-231-1/+8
* Allow use of different ratelimits for admin redactions.Erik Johnston2019-09-111-0/+4
* cleanupsRichard van der Hoff2019-06-271-4/+4
* Move all the saml stuff out to a centralised handlerRichard van der Hoff2019-06-261-6/+6
* Merge branch 'develop' into rav/saml2_clientRichard van der Hoff2019-06-261-81/+83
|\
| * Run Black. (#5482)Amber Brown2019-06-201-81/+75
| * Add plugin APIs for implementations of custom event rules.Brendan Abolivier2019-06-141-0/+7
* | Code cleanups and simplifications.Richard van der Hoff2019-06-111-0/+5
|/
* Room Statistics (#4338)Amber Brown2019-05-211-0/+6
* Allow client event serialization to be asyncErik Johnston2019-05-141-0/+5
* Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-171-0/+5
* Merge pull request #4855 from matrix-org/rav/refactor_transaction_queueRichard van der Hoff2019-03-151-2/+2
|\
| * Rename and move the classesRichard van der Hoff2019-03-131-2/+2
* | fixupAmber Brown2019-03-131-0/+5
* | master startupAmber Brown2019-03-111-0/+8
|/
* Make registration ratelimiter separate from the main events oneBrendan Abolivier2019-03-061-0/+4
* Revert "Split ratelimiters in two (one for events, one for registration)"Brendan Abolivier2019-03-061-7/+3
* Split ratelimiters in two (one for events, one for registration)Brendan Abolivier2019-03-051-3/+7
* Split DeviceHandler into master and workerErik Johnston2019-03-041-2/+5
* Fix registration on workers (#4682)Erik Johnston2019-02-201-0/+5
* Move ClientTLSOptionsFactory init out of refresh_certificates (#4611)Richard van der Hoff2019-02-111-1/+5
* ACME Reprovisioning (#4522)Amber Brown2019-02-111-0/+3
* Refactor event building into EventBuilderErik Johnston2019-01-291-4/+1
* Support ACME for certificate provisioning (#4384)Amber Brown2019-01-231-0/+5
* Write some tests for the email pusher (#4095)Amber Brown2018-10-301-0/+5
* commit transaction before closingNeil Johnson2018-10-241-0/+1
* Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backupsDavid Baker2018-10-091-2/+12
|\
| * use abc.abstractpropertyRichard van der Hoff2018-08-281-5/+4
| * Make sure that we close db connections opened during initRichard van der Hoff2018-08-281-2/+13
* | Merge branch 'develop' into e2e_backupsHubert Chathi2018-08-241-3/+10
|\|
| * Rename WorkerProfileHandler to BaseProfileHandlerErik Johnston2018-08-221-2/+2
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_prof...Erik Johnston2018-08-171-1/+5
| |\
| | * Add EDU/query handling over replicationErik Johnston2018-08-061-1/+5
| * | Split ProfileHandler into master and workerErik Johnston2018-08-171-2/+5
| |/
* / make it work and fix pep8Matthew Hodgson2018-08-121-0/+5
|/
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/client_api...Erik Johnston2018-07-231-0/+5
|\
| * Admin API for creating new users (#3415)Amber Brown2018-07-201-0/+5
* | Move PaginationHandler to its own fileErik Johnston2018-07-201-5/+2
* | Move RoomContextHandler out of HandlersErik Johnston2018-07-181-1/+5
* | Split MessageHandler into read only and writersErik Johnston2018-07-181-1/+13
|/
* run isortAmber Brown2018-07-091-17/+17
* Pass around the reactor explicitly (#3385)Amber Brown2018-06-221-4/+15
* Stub out ServerNoticesSender on the workersRichard van der Hoff2018-05-221-0/+7
* Send users a server notice about consentRichard van der Hoff2018-05-221-0/+5
* Infrastructure for a server notices roomRichard van der Hoff2018-05-171-0/+5
* Move RoomCreationHandler out of synapse.handlers.HandlersRichard van der Hoff2018-05-171-0/+5
* ConsentResource to gather policy consent from usersRichard van der Hoff2018-05-151-0/+3
* Burminate v1authAdrian Tschira2018-04-301-10/+0
* Split RoomMemberWorkerHandler to separate fileErik Johnston2018-03-141-3/+2
* Implement RoomMemberWorkerHandlerErik Johnston2018-03-131-2/+4
* Merge pull request #2987 from matrix-org/erikj/split_room_member_handlerErik Johnston2018-03-131-2/+4
|\
| * Raise, don't return, exceptionErik Johnston2018-03-131-1/+1
| * Split RoomMemberHandler into base and master classErik Johnston2018-03-131-2/+4
* | s/replication_client/federation_client/Erik Johnston2018-03-131-2/+2
* | s/replication_server/federation_serverErik Johnston2018-03-131-2/+2
* | Split replication layer into twoErik Johnston2018-03-131-4/+9
|/
* Split out edu/query registration to a separate classErik Johnston2018-03-131-0/+5
* Move RoomMemberHandler out of HandlersErik Johnston2018-03-011-0/+5
* Update places where we create eventsErik Johnston2018-02-051-0/+5
* Factor out resolve_state_groups to a separate handlerRichard van der Hoff2018-02-011-1/+5
* Factor out get_db_conn to HomeServer base classRichard van der Hoff2018-01-261-0/+17
* Merge branch 'develop' into matthew/search-all-local-usersMatthew Hodgson2017-11-301-17/+35
|\
| * Move set_password into its own handlerRichard van der Hoff2017-11-291-0/+5
| * Move deactivate_account into its own handlerRichard van der Hoff2017-11-291-0/+5
| * Build MediaRepositoryResource as a homeserver dependencyRichard van der Hoff2017-11-221-1/+10
| * Clean up dependency listRichard van der Hoff2017-11-211-16/+15
* | Add user_directory_include_pattern config param to expand search results to a...Matthew Hodgson2017-11-291-2/+2
|/
* Merge branch 'develop' into erikj/groups_mergedDavid Baker2017-10-021-0/+5
|\
| * Make the spam checker a moduleDavid Baker2017-09-261-0/+5
* | Split out profile handler to fix testsErik Johnston2017-08-251-0/+5
* | Add local group server supportErik Johnston2017-07-171-0/+5
* | Initial group server implementationErik Johnston2017-07-101-0/+14
|/
* Add user_directory to databaseErik Johnston2017-05-311-0/+5
* Store ActionGenerator in HomeServerErik Johnston2017-05-191-0/+5
* Finish implementing RM endpointLuke Barnard2017-04-111-0/+5
* Update all the workers and master to use TCP replicationErik Johnston2017-04-031-0/+4
* Fix email push in pusher workerErik Johnston2017-02-021-1/+5
* Shuffle receipt handler around so that worker apps don't need to load itErik Johnston2016-11-231-0/+5
* Ensure only main or federation_sender process can send federation trafficErik Johnston2016-11-231-2/+11
* Hook up the send queue and create a federation sender workerErik Johnston2016-11-161-1/+5
* Add transaction queue and transport layer to DIErik Johnston2016-11-161-0/+10
* Support /initialSync in synchrotron workerErik Johnston2016-09-211-0/+5
* Move RoomListHandler into a separate fileErik Johnston2016-09-141-1/+1
* Send device messages over federationMark Haines2016-09-061-0/+5
* Make synchrotron accept /eventsErik Johnston2016-08-121-0/+9
* Move e2e query logic into a handlerRichard van der Hoff2016-08-011-21/+24
* Add device_id support to /loginRichard van der Hoff2016-07-181-0/+5
* Implement purge_media_cache admin APIErik Johnston2016-06-291-0/+5
* Split out the auth handlerDavid Baker2016-06-021-0/+5
* Move the AS handler out of the Handlers object.Mark Haines2016-05-311-0/+15
* Split out the room list handlerDavid Baker2016-05-311-0/+5
* Move typing handler out of the Handlers objectMark Haines2016-05-171-0/+5
* Move SyncHandler out of the Handlers objectMark Haines2016-05-161-0/+5
* Move the presence handler out of the Handlers objectMark Haines2016-05-161-0/+5
* Optionally split out the pushers into a separate processMark Haines2016-04-211-0/+3
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
* Clean up a bit. Add commentErik Johnston2016-01-281-2/+2
* PEP 8Erik Johnston2016-01-271-1/+0
* Add a Homeserver.setup method.Erik Johnston2016-01-261-15/+17
* Remove redundated BaseHomeServerErik Johnston2016-01-261-49/+57
* Use split rather than endswithErik Johnston2016-01-191-2/+1
* Add regex cache. Only caculate push actions for users that have sent read rec...Erik Johnston2016-01-191-0/+4
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Actually host r0 and unstable prefixesDaniel Wagner-Hall2015-12-081-2/+1
* Remove the LockManager class because it wasn't being usedMark Haines2015-11-041-5/+0
* Use shorter config key nameDaniel Wagner-Hall2015-09-151-1/+2
* Rename context factoryDaniel Wagner-Hall2015-09-151-2/+2
* Allow configuration to ignore invalid SSL certsDaniel Wagner-Hall2015-09-091-0/+14
* Correctly handle x_forwaded listener optionErik Johnston2015-06-121-10/+2
* Manually generate the default config yaml, remove most of the commandline arg...Mark Haines2015-04-301-1/+0
* Merge branch 'develop' into key_distributionMark Haines2015-04-291-0/+10
|\
| * Merge branch 'develop' into csauthDavid Baker2015-04-171-1/+0
| |\
| * | 1) Pushers are now associated with an access tokenDavid Baker2015-03-241-0/+10
* | | Add a version 2 of the key server apiMark Haines2015-04-141-0/+1
| |/ |/|
* | Remove appservice REST servletsKegan Dougal2015-03-311-1/+0
|/
* Build MetricsResource as a specific HomeServer dependencyPaul "LeoNerd" Evans2015-03-121-0/+1
* Expose 'config' as a real HomeServer dependency keyPaul "LeoNerd" Evans2015-03-121-0/+1
* Actually treat this as static content, not random Resources.Kegan Dougal2015-02-231-0/+1
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-021-0/+10
|\
| * Merge changes from developMark Haines2015-01-291-0/+5
| |\
| | * Merge branch 'develop' into pushersDavid Baker2015-01-281-39/+1
| | |\
| | * \ Merge branch 'develop' into pushersDavid Baker2015-01-221-1/+1
| | |\ \
| | * \ \ Merge branch 'develop' into pushersDavid Baker2015-01-131-3/+3
| | |\ \ \
| | * \ \ \ Merge branch 'develop' into pushersDavid Baker2014-12-181-15/+17
| | |\ \ \ \
| | * | | | | Start creating a module to do generic notifications (just prints them to stdo...David Baker2014-11-191-0/+5
| * | | | | | Initial trivial implementation of an actual 'Filtering' object; move storage ...Paul "LeoNerd" Evans2015-01-271-0/+5
| | |_|_|_|/ | |/| | | |
* / | | | | Add stub application services REST API.Kegan Dougal2015-01-271-0/+1
|/ / / / /
* | | | | Remove unused import from server.pyMark Haines2015-01-261-1/+0
* | | | | Pass the current time to serialize event, rather than passing anMark Haines2015-01-261-3/+0
* | | | | Add client v2_alpha resource to synapse server resource treeMark Haines2015-01-231-0/+1
* | | | | Remove hs.parse_eventidMark Haines2015-01-231-9/+0
* | | | | Replace hs.parse_roomalias with RoomAlias.from_stringMark Haines2015-01-231-6/+1
* | | | | Replace hs.parse_roomid with RoomID.from_stringMark Haines2015-01-231-6/+1
* | | | | Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-6/+0
* | | | | Merge rest servlets into the client json resource objectMark Haines2015-01-231-10/+0
| |_|_|/ |/| | |
* | | | Move rest APIs back under the rest directoryMark Haines2015-01-221-1/+1
* | | | Move client v1 api rest servlets into a "client/v1" directoryMark Haines2015-01-221-1/+1
| |_|/ |/| |
* | | Return the raw federation event rather than adding extra keys for federation ...Kegan Dougal2015-01-081-2/+2
* | | Add 'raw' query parameter to expose the event graph and signatures to savvy c...Kegan Dougal2015-01-081-2/+2
* | | Update copyright noticesMark Haines2015-01-061-1/+1
| |/ |/|
* | Kill off synapse.api.events.*Erik Johnston2014-12-161-10/+0
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-111-0/+1
|\ \
| * | Get uploads working with new media repoMark Haines2014-12-021-0/+1
| |/
* | Start making more things use EventContext rather than event.*Erik Johnston2014-12-051-1/+1
* | Convert rest and handlers to use new event structureErik Johnston2014-12-041-0/+8
* | Change DomainSpecificString so that it doesn't use a HomeServer objectErik Johnston2014-12-021-4/+7
|/
* Add an EventValidator. Fix bugs in auth ++ storageErik Johnston2014-11-101-0/+5
* Convert event ids to be of the form :example.comErik Johnston2014-10-301-1/+6
* Merge branch 'develop' into server2server_signingMark Haines2014-09-301-0/+12
|\
| * Track the IP users connect with. Add an admin column to users table.Erik Johnston2014-09-261-0/+12
* | SYN-75 Verify signatures on server to server transactionsMark Haines2014-09-301-0/+5
* | Add a _matrix/key/v1 resource with the verification keys of the local serverMark Haines2014-09-231-0/+1
|/
* Merge remote-tracking branch 'origin/develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-151-0/+4
|\
| * Correctly handle the 'age' key in events and pdusErik Johnston2014-09-151-0/+4
* | Move database preparing code out of homserver.py into storage where it belongsPaul "LeoNerd" Evans2014-09-101-0/+1
|/
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Add ratelimiting function to basehandlerMark Haines2014-09-021-0/+5
* Fix pyflakes warningsMark Haines2014-08-281-5/+0
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-1/+6
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-271-1/+14
| |\
| * | WIP: Completely change how event streaming and pagination work. This reflects...Erik Johnston2014-08-261-1/+6
* | | Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-0/+5
|\ \ \ | | |/ | |/|
| * | Added parse_roomid() helperPaul "LeoNerd" Evans2014-08-271-0/+5
* | | Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-1/+9
|\| |
| * | Modified /join/$identifier to support $identifier being a room ID in addition...Kegan Dougal2014-08-271-1/+9
| |/