summary refs log tree commit diff
path: root/synapse/app (follow)
Commit message (Expand)AuthorAgeFilesLines
* Don't start Synapse master process if `worker_app` is set (#11416)Shay2021-11-301-0/+7
* Expose worker & homeserver as entrypoints in `setup.py` (#11449)Maximilian Bosch2021-11-301-1/+5
* Support the stable /hierarchy endpoint from MSC2946 (#11329)Patrick Cloke2021-11-291-0/+1
* Fix using MSC2716 batch sending with event persistence workers (#11220)Tulir Asokan2021-11-291-0/+2
* Add type annotations to `synapse.metrics` (#10847)Sean Quah2021-11-171-1/+1
* Add support for `/_matrix/media/v3` APIs (#11371)Aaron R2021-11-172-4/+11
* Add support for `/_matrix/client/v3` APIs (#11318)Aaron R2021-11-161-0/+1
* Add missing type hints to `synapse.app`. (#11287)Patrick Cloke2021-11-106-151/+191
* Support for serving server well-known files (#11211)Richard van der Hoff2021-11-012-2/+5
* Add metrics to the threadpools (#11178)Erik Johnston2021-11-011-0/+5
* Add knock information in admin exported data (#11171)Rafael Gonçalves2021-10-281-0/+14
* Shut down the DNS threadpool (#11190)Sean Quah2021-10-271-0/+1
* Move DNS lookups into separate thread pool (#11177)Erik Johnston2021-10-261-1/+12
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-225-11/+15
* Fix broken export-data admin command and add a test for it to CI (#11078)Hillery Shay2021-10-181-8/+6
* Port the Password Auth Providers module interface to the new generic interfac...Azrenbeth2021-10-131-0/+2
* Require direct references to configuration variables. (#10985)Patrick Cloke2021-10-063-4/+4
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-295-18/+18
* Use direct references for configuration variables (part 5). (#10897)Patrick Cloke2021-09-244-9/+9
* Use direct references for configuration variables (part 4). (#10893)Patrick Cloke2021-09-235-13/+17
* Use direct references for some configuration variables (part 3) (#10885)Patrick Cloke2021-09-231-1/+1
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-135-15/+19
* Document that /spaces & /hierarchy can be routed to workers. (#10648)Patrick Cloke2021-09-081-24/+18
* Add config option to use non-default manhole password and keys (#10643)Azrenbeth2021-09-063-4/+16
* Skip the final GC on shutdown to improve restart times (#10712)Sean2021-09-011-0/+7
* Persist room hierarchy pagination sessions to the database. (#10613)Patrick Cloke2021-08-241-0/+2
* Implement MSC3231: Token authenticated registration (#10142)Callum Brown2021-08-211-1/+5
* Merge branch 'release-v1.41' into developErik Johnston2021-08-182-4/+2
|\
| * Remove the unused public_room_list_stream (#10565)Andrew Morgan2021-08-172-4/+2
* | Port the PresenceRouter module interface to the new generic interface (#10524)Azrenbeth2021-08-171-0/+2
|/
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-20/+20
* Remove shebang line from module files (#10415)V024602021-07-2913-13/+0
* Fix typo that causes R30v2 to actually be old R30 (#10486)reivilibre2021-07-271-1/+1
* Port the ThirdPartyEventRules module interface to the new generic interface (...Brendan Abolivier2021-07-201-0/+2
* Factorise `get_datastore` calls in phone_stats_home. (#10427)reivilibre2021-07-191-16/+18
* Add a new version of the R30 phone-home metric, which removes a false impress...reivilibre2021-07-191-0/+4
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-192-8/+4
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-1/+1
* Add support for evicting cache entries based on last access time. (#10205)Erik Johnston2021-07-051-2/+9
* Add a distributed lock (#10269)Erik Johnston2021-06-291-0/+2
* Ensure that errors during startup are written to the logs and the console. (#...Richard van der Hoff2021-06-213-13/+53
* Standardise the module interface (#10062)Brendan Abolivier2021-06-183-0/+17
* Remove support for ACME v1 (#10194)Brendan Abolivier2021-06-172-50/+1
* Rip out the DNS lookup limiter (#10190)Richard van der Hoff2021-06-171-104/+0
* Clean up a broken import in admin_cmd.py (#10154)Andrew Morgan2021-06-111-2/+0
* Move some more endpoints off master (#10084)Erik Johnston2021-05-271-2/+2
* Remove redundant code to reload tls cert (#10054)Richard van der Hoff2021-05-271-4/+1
* Don't hammer the database for destination retry timings every ~5mins (#10036)Erik Johnston2021-05-211-2/+0
* Export jemalloc stats to prometheus when used (#9882)Erik Johnston2021-05-061-0/+2
* Optionally track memory usage of each LruCache (#9881)Erik Johnston2021-05-052-0/+2
* Limit how often GC happens by time. (#9902)Erik Johnston2021-05-052-0/+6
* Improved validation for received requests (#9817)Richard van der Hoff2021-04-234-21/+45
* pass a reactor into SynapseSite (#9874)Richard van der Hoff2021-04-232-15/+11
* Split presence out of master (#9820)Erik Johnston2021-04-231-27/+4
* remove `HomeServer.get_config` (#9815)Richard van der Hoff2021-04-142-10/+10
* Move some replication processing out of generic_worker (#9796)Erik Johnston2021-04-141-468/+2
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-1415-15/+0
* Add a Synapse Module for configuring presence update routing (#9491)Andrew Morgan2021-04-061-1/+2
* Add type hints for the federation sender. (#9681)Patrick Cloke2021-03-291-7/+0
* Suppress CryptographyDeprecationWarning (#9698)Richard van der Hoff2021-03-263-14/+25
* Fix lintBrendan Abolivier2021-03-191-4/+4
* Move support for MSC3026 behind an experimental flagBrendan Abolivier2021-03-181-1/+6
* Implement MSC3026: busy presence stateBrendan Abolivier2021-03-181-0/+1
* Enable flake8-bugbear, but disable most checks. (#9499)Jonathan de Jong2021-03-161-1/+3
* Set X-Forwarded-Proto header when frontend-proxy proxies a request (#9539)Richard van der Hoff2021-03-031-2/+13
* Allow bytecode again (#9502)Jonathan de Jong2021-02-261-2/+0
* Clean up `ShardedWorkerHandlingConfig` (#9466)Erik Johnston2021-02-242-32/+2
* 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