summary refs log tree commit diff
path: root/synapse/app (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix deleting pushers when using sharded pushers. (#9465)Erik Johnston2021-02-221-3/+0
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-162-11/+6
* Merge branch 'social_login' into developRichard van der Hoff2021-02-012-18/+9
|\
| * Fix SSO on workers (#9271)Richard van der Hoff2021-02-012-20/+9
| * Split out a separate endpoint to complete SSO registration (#9262)Richard van der Hoff2021-02-011-0/+2
* | Add phone home stats for encrypted messages. (#9283)Jan Christian Grünhage2021-02-011-2/+7
* | Fixes for PyPy compatibility (#9270)Ivan Shapovalov2021-01-301-1/+2
|/
* Allow moving account data and receipts streams off master (#9104)Erik Johnston2021-01-181-1/+14
* Split OidcProvider out of OidcHandler (#9107)Richard van der Hoff2021-01-141-1/+0
* Register the /devices endpoint on workers. (#9092)Patrick Cloke2021-01-131-0/+2
* Move more encryption endpoints off master (#9068)Erik Johnston2021-01-111-2/+10
* Clean up exception handling in the startup code (#9059)Richard van der Hoff2021-01-113-100/+119
* Remove unused SynapseService (#9058)Richard van der Hoff2021-01-111-22/+0
* Allow running sendToDevice on workers (#9044)Erik Johnston2021-01-071-0/+3
* Add initial support for a "pick your IdP" page (#9017)Richard van der Hoff2021-01-051-0/+2
* Allow redacting events on workers (#8994)Patrick Cloke2020-12-291-27/+4
* Implement a username picker for synapse (#8942)Richard van der Hoff2020-12-181-0/+2
* Fix deadlock on SIGHUP (#8918)Erik Johnston2020-12-101-1/+5
* Better formatting for config errors from modules (#8874)Richard van der Hoff2020-12-081-4/+42
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-1/+0
* Defer SIGHUP handlers to reactor. (#8817)Erik Johnston2020-11-261-1/+9
* Fix SIGHUP handler (#8697)Richard van der Hoff2020-11-061-3/+2
* Fix not sending events over federation when using sharded event persisters (#...Erik Johnston2020-10-141-4/+0
* Move additional tasks to the background worker, part 3 (#8489)Patrick Cloke2020-10-091-11/+3
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-1/+1
* Move additional tasks to the background worker (#8458)Patrick Cloke2020-10-072-22/+15
* Include the configured log level in phone home stats. (#8477)Patrick Cloke2020-10-071-0/+7
* Combine `SpamCheckerApi` with the more generic `ModuleApi`. (#8464)Richard van der Hoff2020-10-071-2/+1
* Add logging on startup/shutdown (#8448)Erik Johnston2020-10-021-0/+5
* Allow background tasks to be run on a separate worker. (#8369)Patrick Cloke2020-10-025-182/+213
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-3/+3
* Remove obsolete __future__ imports (#8337)Jonathan de Jong2020-09-171-2/+0
* Show a confirmation page during user password reset (#8004)Andrew Morgan2020-09-101-0/+10
* Directly import json from the standard library. (#8259)Patrick Cloke2020-09-081-2/+1
* Stop sub-classing object (#8249)Patrick Cloke2020-09-042-3/+3
* Convert the main methods run by the reactor to async. (#8213)Patrick Cloke2020-09-022-21/+17
* Add a comment about _LimitedHostnameResolverRichard van der Hoff2020-08-291-0/+7
* Change HomeServer definition to work with typing.Erik Johnston2020-08-111-3/+5
* Add health check endpoint (#8048)Erik Johnston2020-08-072-2/+9
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-053-11/+11
* re-implement daemonize (#8011)Richard van der Hoff2020-08-041-13/+3
* Convert ACME code to async/await. (#7989)Patrick Cloke2020-08-031-7/+6
* Merge branch 'master' into developOlivier Wilkinson (reivilibre)2020-07-301-3/+3
|\
| * Update worker docs with recent enhancements (#7969)Erik Johnston2020-07-291-3/+3
* | Ensure that remove_pusher is always async (#7981)Patrick Cloke2020-07-301-1/+1
|/
* Fix typing replication not being handled on master (#7959)Erik Johnston2020-07-271-7/+0
* Convert synapse.app to async/await. (#7868)Patrick Cloke2020-07-172-20/+17
* Allow moving typing off master (#7869)Erik Johnston2020-07-161-34/+2
* Add ability to shard the federation sender (#7798)Erik Johnston2020-07-101-43/+16
* Pass original request headers from workers to the main process. (#7797)Patrick Cloke2020-07-091-5/+25
* Merge branch 'master' into developPatrick Cloke2020-07-021-1/+2
|\
| * Ensure that HTML pages served from Synapse include headers to avoid embedding.Patrick Cloke2020-07-021-1/+2
* | Create a ListenerConfig object (#7681)Richard van der Hoff2020-06-163-41/+53
* | Discard RDATA from already seen positions. (#7648)Patrick Cloke2020-06-151-0/+5
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-4/+2
|/
* Attempt to fix PhoneHomeStatsTestCase.test_performance_100 being flaky. (#7634)Patrick Cloke2020-06-051-19/+23
* async/await get_user_id_by_threepid (#7620)Andrew Morgan2020-06-031-5/+4
* Ensure we persist and ack the same tokenErik Johnston2020-05-271-5/+7
* Speed up processing of federation stream RDATA rows.Erik Johnston2020-05-271-2/+17
* Fix incorrect exception handling in KeyUploadServlet.on_POST (#7563)Richard van der Hoff2020-05-261-1/+1
* Fix recording of federation stream token (#7564)Richard van der Hoff2020-05-261-24/+44
* Add option to move event persistence off master (#7517)Erik Johnston2020-05-221-5/+48
* Return 200 OK for all OPTIONS requests (#7534)Patrick Cloke2020-05-222-8/+11
* Fix exception reporting due to HTTP request errors. (#7556)Erik Johnston2020-05-221-4/+9
* Stub out GET presence requests in the frontend proxy (#7545)Richard van der Hoff2020-05-211-17/+4
* Allow ReplicationRestResource to be added to workers (#7515)Erik Johnston2020-05-181-0/+4
* Add a worker store for search insertion. (#7516)Erik Johnston2020-05-151-0/+2
* Move EventStream handling into default ReplicationDataHandler (#7493)Erik Johnston2020-05-141-31/+2
* Allow censoring of events to happen on workers. (#7492)Erik Johnston2020-05-131-0/+2
* Fix new flake8 errors (#7470)Erik Johnston2020-05-121-2/+3
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-111-3/+2
* Implement OpenID Connect-based login (#7256)Quentin Gliech2020-05-081-0/+12
* Thread through instance name to replication client. (#7369)Erik Johnston2020-05-011-6/+4
* Use `stream.current_token()` and remove `stream_positions()` (#7172)Erik Johnston2020-05-011-16/+0
* Persist user interactive authentication sessions (#7302)Patrick Cloke2020-04-301-0/+2
* Add instance name to RDATA/POSITION commands (#7364)Erik Johnston2020-04-291-2/+2
* Run replication streamers on workers (#7146)Erik Johnston2020-04-281-4/+9
* Stop the master relaying USER_SYNC for other workers (#7318)Richard van der Hoff2020-04-221-36/+49
* Merge branch 'release-v1.12.4' into developRichard van der Hoff2020-04-221-0/+6
|\
| * Support GET account_data requests on a worker (#7311)Richard van der Hoff2020-04-211-0/+6
| * Fix starting workers when federation sending not split out.Erik Johnston2020-03-311-0/+12
* | Add ability to run replication protocol over redis. (#7040)Erik Johnston2020-04-221-0/+6
* | Move client command handling out of TCP protocol (#7185)Erik Johnston2020-04-062-18/+3
* | Extend web_client_location to handle absolute URLs (#7006)Martin Milata2020-04-031-3/+13
* | Remove some `run_in_background` calls in replication code (#7203)Richard van der Hoff2020-04-031-8/+8
* | Remove usage of "conn_id" for presence. (#7128)Erik Johnston2020-03-301-4/+16
* | Move catchup of replication streams to worker. (#7024)Erik Johnston2020-03-251-0/+3
* | Merge pull request #7133 from matrix-org/erikj/fix_worker_startupErik Johnston2020-03-251-0/+12
|\ \
| * | Fix starting workers when federation sending not split out.Erik Johnston2020-03-241-0/+12
| |/
* | Convert `*StreamRow` classes to inner classes (#7116)Richard van der Hoff2020-03-231-1/+1
* | Fix processing of `groups` stream, and use symbolic names for streams (#7117)Richard van der Hoff2020-03-231-12/+23
* | Change device list streams to have one row per ID (#7010)Erik Johnston2020-03-191-3/+7
|\ \ | |/ |/|
| * Comments from reviewErik Johnston2020-03-181-0/+3
| * Fix worker handlingErik Johnston2020-03-021-2/+3
| * Change device list replication to match new semantics.Erik Johnston2020-02-281-1/+1
* | Move pusherpool startup into _base.setup (#7104)Richard van der Hoff2020-03-192-1/+1
* | Break down monthly active users by appservice_id (#7030)Neil Johnson2020-03-061-0/+13
|/
* Don't refuse to start worker if media listener configured. (#7002)Erik Johnston2020-02-271-14/+20
* Merge worker apps into one. (#6964)Erik Johnston2020-02-2511-2239/+947
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-213-4/+4
* Freeze allocated objects on startup. (#6953)Erik Johnston2020-02-191-0/+9
* Add support for putting fed user query API on workers (#6873)Erik Johnston2020-02-071-0/+2
* Allow moving group read APIs to workers (#6866)Erik Johnston2020-02-072-0/+5
* Fix race in federation sender that delayed device updates. (#6799)Erik Johnston2020-01-291-1/+19
* Allow monthly active user limiting support for worker mode, fixes #4639. (#6742)Neil Johnson2020-01-224-0/+16
* Wake up transaction queue when remote server comes back online (#6706)Erik Johnston2020-01-171-1/+11
* Port synapse.replication.tcp to async/await (#6666)Erik Johnston2020-01-166-17/+11
* Allow additional_resources to implement Resource directly (#6686)Richard van der Hoff2020-01-131-2/+11
* Import RoomStore in media worker to fix admin APIsErik Johnston2020-01-081-0/+2
* Fix exceptions in log when rejected event is replicatedRichard van der Hoff2020-01-061-2/+9
* async/await for SyncReplicationHandler.process_and_notifyRichard van der Hoff2020-01-061-5/+4
* Raise an error if someone tries to use the log_file config option (#6626)Richard van der Hoff2020-01-031-1/+1
* Remove unused, undocumented "content repo" resource (#6628)Richard van der Hoff2020-01-032-14/+2
* Port some admin handlers to async/await (#6559)Erik Johnston2019-12-191-2/+4
* Improve diagnostics on database upgrade failure (#6570)Richard van der Hoff2019-12-191-7/+2
* Fix sdnotify with acme enabled (#6571)Richard van der Hoff2019-12-191-3/+7
* Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_appsErik Johnston2019-12-1212-61/+1
|\
| * Remove database config parsing from apps.Erik Johnston2019-12-1012-61/+1
* | Merge tag 'v1.7.0rc2' into developErik Johnston2019-12-111-1/+6
|\ \
| * | Make the PusherSlaveStore inherit from the slave RoomStoreBrendan Abolivier2019-12-101-1/+6
| |/
* / Phone home stats DB reporting should not assume a single DB.Erik Johnston2019-12-101-2/+4
|/
* Move start up DB checks to main data store.Erik Johnston2019-12-061-18/+5
* Move are_all_users_on_domain checks to main data store.Erik Johnston2019-12-061-11/+1
* Change DataStores to accept 'database' param.Erik Johnston2019-12-062-4/+6
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/make_datab...Erik Johnston2019-12-061-1/+1
|\
| * Port rest/v1 to async/awaitErik Johnston2019-12-051-1/+1
* | Move background update handling out of storeErik Johnston2019-12-051-1/+1
* | Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-052-2/+2
|/
* Remove underscore from SQLBaseStore functionsErik Johnston2019-12-041-1/+1
* Don't call SQLBaseStore methods from outside storesErik Johnston2019-12-041-2/+2
* Merge branch 'master' into developAndrew Morgan2019-11-261-1/+1
|\
| * Fix phone home stats (#6418)Erik Johnston2019-11-261-1/+1
* | Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-211-1/+1
|/
* Fix phone home statsErik Johnston2019-11-051-2/+2
* Remove the psutil dependency (#6318)Amber Brown2019-11-051-82/+92
* Support for routing outbound HTTP requests via a proxy (#6239)Richard van der Hoff2019-11-011-1/+1
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-3112-24/+26
* Move storage classes into a main "data store".Erik Johnston2019-10-214-4/+4
* Fix MAU reaping where reserved users are specified. (#6168)Neil Johnson2019-10-111-3/+3
* Fix up some typechecking (#6150)Amber Brown2019-10-021-1/+3
* add report_stats_endpoint config option (#6012)Sorunome2019-09-121-2/+4
* Allow Synapse to send registration emails + choose Synapse or an external ser...Andrew Morgan2019-09-061-1/+1
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-4/+4
* Implement a structured logging output system. (#5680)Amber Brown2019-08-2813-29/+31
* Drop dependency on sdnotify (#5871)Richard van der Hoff2019-08-171-10/+37
* Fix issue with Synapse not starting up. Fixes #5866.Chris Moos2019-08-161-1/+1
* Don't load the media repo when configured to use an external media repo (#5754)Amber Brown2019-08-131-0/+9
* Replace returnValue with return (#5736)Amber Brown2019-07-232-5/+5
* Call startup commands as system triggers.Erik Johnston2019-07-2211-11/+29
* Add process hooks to tell systemd our state.Erik Johnston2019-07-221-0/+29
* Support Prometheus_client 0.4.0+ (#5636)Amber Brown2019-07-1812-24/+12
* Remove pointless descriptionErik Johnston2019-07-161-1/+0
* Fix typo in synapse/app/admin_cmd.pyErik Johnston2019-07-161-1/+1
* s/exfiltrate_user_data/export_user_data/Erik Johnston2019-07-151-1/+1
* Add FileExfiltrationWriterErik Johnston2019-07-151-1/+69
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_api_cmdErik Johnston2019-07-1512-40/+45
|\
| * Add basic opentracing support (#5544)Jorik Schellekens2019-07-111-0/+3
| * Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-0412-12/+12
| * Fix 'utime went backwards' errors on daemonization. (#5609)Richard van der Hoff2019-07-031-27/+30
* | Use set_defaults(func=) styleErik Johnston2019-07-151-11/+8
* | Move creation of ArgumentParser to callerErik Johnston2019-07-151-1/+3
* | Fix up commentsErik Johnston2019-07-151-2/+2
* | Add basic admin cmd appErik Johnston2019-07-022-3/+212
|/
* Drop support for cpu_affinity (#5525)Richard van der Hoff2019-06-222-26/+1
* Fix /messages on worker when no token suppliedErik Johnston2019-06-211-0/+2
* Support pagination API in client_reader workerErik Johnston2019-06-211-0/+2
* Run Black. (#5482)Amber Brown2019-06-2013-368/+358
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2019-06-111-1/+0
|\
| * Change password reset links to /_matrix.Erik Johnston2019-06-111-1/+0
* | add monthly active users to phonehome stats (#5252)Neil Johnson2019-06-101-0/+1
|/
* Add ability to perform password reset via email without trusting the identity...Andrew Morgan2019-06-061-0/+1
* Unify v1 and v2 REST client APIs (#5226)Amber Brown2019-06-031-6/+5
* Fix dropped logcontexts during high outbound traffic. (#5277)Richard van der Hoff2019-05-291-7/+13
* Neilj/ensure get profileinfo available in client reader slaved store (#5213)Neil Johnson2019-05-221-0/+2
* Revert "expose SlavedProfileStore to ClientReaderSlavedStore (#5200)"Richard van der Hoff2019-05-201-2/+0
* expose SlavedProfileStore to ClientReaderSlavedStore (#5200)Neil Johnson2019-05-171-0/+2
* Merge pull request #5037 from matrix-org/erikj/limit_inflight_dnsErik Johnston2019-05-081-1/+82
|\
| * Limit in flight DNS requestsErik Johnston2019-04-091-1/+82
* | Move admin api impl to its own packageRichard van der Hoff2019-05-011-1/+1
* | Move admin API to a new prefixRichard van der Hoff2019-05-011-0/+2
* | VersionRestServlet doesn't take a paramErik Johnston2019-04-151-1/+1
* | Merge pull request #5063 from matrix-org/erikj/move_endpointsErik Johnston2019-04-151-4/+7
|\ \ | |/ |/|
| * Move some rest endpoints to client readerErik Johnston2019-04-151-4/+7
* | add context to phonehome stats (#5020)Neil Johnson2019-04-081-1/+1
|/
* Combine the CurrentStateDeltaStream into the EventStreamRichard van der Hoff2019-03-271-7/+10
* Make EventStream rows have a typeRichard van der Hoff2019-03-271-1/+4
* Move replication.tcp.streams into a packageRichard van der Hoff2019-03-271-1/+1
* Merge pull request #4852 from matrix-org/rav/move_rr_sending_to_workerRichard van der Hoff2019-03-151-0/+30
|\
| * Move client receipt processing to federation sender worker.Richard van der Hoff2019-03-131-0/+30
* | Merge pull request #4853 from matrix-org/erikj/worker_docker_ciErik Johnston2019-03-152-15/+19
|\ \
| * | Correctly handle all command line optionsErik Johnston2019-03-142-15/+19
| |/
* / master startupAmber Brown2019-03-111-0/+1
|/
* Allow /keys/{changes,query} API to run on workerErik Johnston2019-03-041-0/+11
* Merge pull request #4759 from matrix-org/erikj/3pid_client_readerErik Johnston2019-02-271-0/+2
|\
| * Move /account/3pid to client_readerErik Johnston2019-02-271-0/+2
* | Move server key queries to federation readerErik Johnston2019-02-271-1/+5
|/
* Add database version to phonehome stats. (#4753)Richard van der Hoff2019-02-271-0/+3
* Correctly proxy exception in frontend_proxy workerErik Johnston2019-02-231-5/+10
* Merge pull request #4670 from matrix-org/erikj/register_login_splitErik Johnston2019-02-191-0/+2
|\
| * Split /login into client_readerErik Johnston2019-02-181-0/+2
* | Merge pull request #4632 from matrix-org/erikj/basic_sentryErik Johnston2019-02-181-0/+30
|\ \
| * | Fixup comments and add warningErik Johnston2019-02-131-3/+3
| * | CommentsErik Johnston2019-02-121-0/+8
| * | Basic sentry integrationErik Johnston2019-02-121-0/+22
* | | Merge pull request #4666 from matrix-org/erikj/register_login_splitErik Johnston2019-02-181-0/+2
|\ \ \ | | |/ | |/|
| * | Split out registration to workerErik Johnston2019-02-181-0/+2
* | | Fix kicking guest users in worker modeErik Johnston2019-02-181-0/+2
|/ /
* | Fix errors in acme provisioning (#4648)Richard van der Hoff2019-02-141-6/+13
* | Update synapse/app/_base.pyErik Johnston2019-02-131-1/+1
* | Use `listen_tcp` for the replication listenerRichard van der Hoff2019-02-131-7/+7
* | Improve logging around listening servicesRichard van der Hoff2019-02-132-11/+20
* | Special-case the default bind_addresses for metrics listenerRichard van der Hoff2019-02-131-3/+2
|/
* Fix error when loading cert if tls is disabled (#4618)Richard van der Hoff2019-02-121-2/+3
* Infer no_tls from presence of TLS listenersRichard van der Hoff2019-02-112-6/+1
* Don't create server contexts when TLS is disabledRichard van der Hoff2019-02-111-0/+5
* Logging improvements around TLS certsRichard van der Hoff2019-02-111-4/+2
* Move ClientTLSOptionsFactory init out of refresh_certificates (#4611)Richard van der Hoff2019-02-111-3/+0
* ACME Reprovisioning (#4522)Amber Brown2019-02-112-24/+74
* Merge pull request #4420 from matrix-org/jaywink/openid-listenerErik Johnston2019-02-112-2/+24
|\
| * Fix flake8 issuesJason Robinson2019-01-231-1/+4
| * Split federation OpenID userinfo endpoint out of the federation resourceJason Robinson2019-01-232-0/+16
| * Make SynapseHomeServer _http_listener use self.get_reactor()Jason Robinson2019-01-231-1/+3
| * Make FederationReaderServer _http_listen use self.get_reactor()Jason Robinson2019-01-231-1/+2
* | Deduplicate some code in synapse.app (#4567)Amber Brown2019-02-0812-147/+77
* | ACME config cleanups (#4525)Richard van der Hoff2019-01-302-22/+25
* | Raise ConfigError insteadErik Johnston2019-01-301-1/+3
* | _listener_http should return a listErik Johnston2019-01-301-1/+1
* | SIGHUP for TLS cert reloading (#4495)Amber Brown2019-01-302-12/+68
* | Fix worker TLS (#4492)Amber Brown2019-01-287-48/+48
* | Support ACME for certificate provisioning (#4384)Amber Brown2019-01-231-9/+47
|/
* Check jinja version for consent resource (#4327)Richard van der Hoff2019-01-071-8/+1
* Make the dependencies more like a standard Python project and hook up the opt...Amber Brown2018-12-222-6/+3
* ensure can report mau stats when hs.config.mau_stats_only is set (#4305)Neil Johnson2018-12-181-1/+1
* Merge branch 'release-v0.34.0' into developRichard van der Hoff2018-12-111-32/+14
|\
| * Merge pull request #4290 from matrix-org/rav/remove_webclientRichard van der Hoff2018-12-111-32/+11
| |\
| | * Stop installing Matrix Console by defaultRichard van der Hoff2018-12-111-32/+11
| * | Add a welcome page to the static resourcesRichard van der Hoff2018-12-111-0/+3
| |/
* | Implement SAML2 authentication (#4267)Richard van der Hoff2018-12-071-0/+4
* | Implement .well-known handling (#4262)Richard van der Hoff2018-12-051-0/+2
|/
* Add option to track MAU stats (but not limit people) (#3830)Travis Ralston2018-11-151-1/+1
* Fix typing being reset causing infinite syncs (#4127)Amber Brown2018-11-031-0/+14
* Remove deprecated v1 key exchange endpoint (#4119)Amber Brown2018-10-311-6/+1
* Merge branch 'develop' of github.com:matrix-org/synapse into neilj/fix_mau_initNeil Johnson2018-10-241-3/+3
|\
| * Merge pull request #4075 from matrix-org/rav/fix_pusher_logcontextsRichard van der Hoff2018-10-241-3/+3
| |\
| | * Remove redundant run_as_background_process() from pusherpoolRichard van der Hoff2018-10-221-2/+2
| | * Rename _refresh_pusherRichard van der Hoff2018-10-221-1/+1
* | | fix race condiftion in calling initialise_reserved_usersNeil Johnson2018-10-231-8/+0
|/ /
* | Merge pull request #4076 from matrix-org/rav/fix_init_logcontextsRichard van der Hoff2018-10-221-8/+22
|\ \
| * | Run MAU queries as background processesRichard van der Hoff2018-10-201-8/+22
| |/
* | Merge pull request #4073 from matrix-org/rav/require_psutilRichard van der Hoff2018-10-221-7/+4
|\ \