summary refs log tree commit diff
path: root/synapse/app (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
|\ \
| * | Make psutil an explicit dependencyRichard van der Hoff2018-10-191-7/+4
| |/
* / Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on...Amber Brown2018-10-201-1/+1
|/
* synapse/app: frontend_proxy.py: actually make workers work on py3Ivan Shapovalov2018-10-141-2/+2
* Make workers work on Py3 (#4027)Amber Brown2018-10-134-28/+32
* Remove redundant call to start_get_pdu_cacheRichard van der Hoff2018-09-281-1/+0
* Replaced all occurences of e.message with str(e)Schnuffle2018-09-2712-13/+13
* Merge pull request #3948 from matrix-org/rav/no_symlink_synctlAmber Brown2018-09-261-284/+0
|\
| * Move synctl into top dir to avoid a symlinkRichard van der Hoff2018-09-251-284/+0
* | Fix some instances of ExpiringCache not expiring cache itemsErik Johnston2018-09-2111-11/+0
|/
* typoWill Hunt2018-09-171-1/+1
* make pip happy?Will Hunt2018-09-171-2/+4
* Use a string for versionsWill Hunt2018-09-171-1/+1
* Add python_version phone home statWill Hunt2018-09-171-0/+2
* improve namingNeil Johnson2018-09-121-5/+9
* expose number of real reserved usersNeil Johnson2018-09-121-3/+7
* Make sure that we close db connections opened during initRichard van der Hoff2018-08-2811-46/+18
* Merge pull request #3659 from matrix-org/erikj/split_profilesErik Johnston2018-08-221-0/+12
|\
| * Add some fixmesErik Johnston2018-08-171-0/+2
| * Call UserDirectoryHandler methods directlyErik Johnston2018-08-171-0/+2
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_prof...Erik Johnston2018-08-178-14/+43
| |\
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_prof...Erik Johnston2018-08-091-1/+10
| |\ \
| * | | Allow profile changes to happen on workersErik Johnston2018-08-071-0/+8
* | | | Merge pull request #3709 from matrix-org/rav/logcontext_for_replication_commandsRichard van der Hoff2018-08-175-5/+10
|\ \ \ \
| * | | | Logcontexts for replication command handlersRichard van der Hoff2018-08-175-5/+10
* | | | | Merge pull request #3710 from matrix-org/rav/logcontext_for_pusher_updatesRichard van der Hoff2018-08-171-2/+2
|\ \ \ \ \
| * | | | | Fix logcontexts for running pushersRichard van der Hoff2018-08-171-2/+2
| |/ / / /
* | | | / Integrate presence from hotfixes (#3694)Amber Brown2018-08-183-8/+53
| |_|_|/ |/| | |
* | | | remove errant yieldNeil Johnson2018-08-171-1/+1
* | | | call reap on start up and fix under reaping bugNeil Johnson2018-08-161-0/+1
|/ / /
* | | Fix inbound federation on reader workerErik Johnston2018-08-161-0/+2
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_fede...Erik Johnston2018-08-158-4/+20
|\ \ \
| * | | pep8Neil Johnson2018-08-141-0/+1
| * | | combine mau metrics into one groupNeil Johnson2018-08-141-4/+3
| * | | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
| * | | Merge pull request #3439 from vojeroen/send_sni_for_federation_requestsRichard van der Hoff2018-08-108-0/+16
| |\ \ \ | | |_|/ | |/| |
| | * | Merge branch 'develop' into send_sni_for_federation_requestsRichard van der Hoff2018-07-274-11/+33
| | |\ \
| | * \ \ Merge remote-tracking branch 'upstream/develop' into send_sni_for_federation_...Jeroen2018-07-1414-50/+71
| | |\ \ \
| | * | | | send SNI for federation requestsJeroen2018-06-248-0/+16
* | | | | | Rename slave TransactionStore to SlaveTransactionStoreErik Johnston2018-08-155-10/+10
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_fede...Erik Johnston2018-08-091-1/+10
|\| | | | |
| * | | | | implement reserved users for mau limitsNeil Johnson2018-08-071-0/+6
| * | | | | fix caching and testsNeil Johnson2018-08-031-1/+0
| * | | | | update generate_monthly_active_users, and reap_monthly_active_usersNeil Johnson2018-08-021-2/+2
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into neilj/mau_trackerNeil Johnson2018-08-011-0/+19
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | api into monthly_active_users tableNeil Johnson2018-07-311-0/+4
| | |_|_|/ | |/| | |
* | | | | Pull in necessary stores in federation_readerErik Johnston2018-08-061-0/+2
* | | | | Add replication APIs for persisting federation eventsErik Johnston2018-08-061-0/+8
| |/ / / |/| | |
* | | | count_monthly_users is now asyncNeil Johnson2018-08-011-1/+2
* | | | remove need to plot limit_usage_by_mauNeil Johnson2018-08-011-4/+0
* | | | only need to loop if mau limiting is enabledNeil Johnson2018-08-011-1/+2
* | | | coding styleNeil Johnson2018-07-311-1/+5
* | | | remove errant loggingNeil Johnson2018-07-301-1/+0
* | | | factor out metrics from __init__ to app/homeserverNeil Johnson2018-07-301-1/+19
|/ / /
* | | Fix some looping_call calls which were broken in #3604Richard van der Hoff2018-07-261-2/+2
* | | Wrap a number of things that run in the backgroundRichard van der Hoff2018-07-251-3/+10
* | | Replace usage of get_current_toke with StreamToken.STARTErik Johnston2018-07-241-0/+2
* | | Pull out did_forget to worker storeErik Johnston2018-07-241-4/+1
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/client_api...Erik Johnston2018-07-232-3/+7
|\ \ \
| * | | Make the rest of the .iterwhatever go away (#3562)Amber Brown2018-07-212-3/+7
| | |/ | |/|
* / | Add some room read only APIs to client_readerErik Johnston2018-07-181-1/+13
|/ /
* / run isortAmber Brown2018-07-0914-50/+71
|/
* Write a clear restart indicator in logsRichard van der Hoff2018-06-201-6/+1
* Merge pull request #3389 from turt2live/travis/name_metricsAmber Brown2018-06-1311-11/+11
|\
| * The flag is named enable_metrics, not collect_metricsTravis Ralston2018-06-1211-11/+11
* | Use the RegistryProxy for appservices tooTravis Ralston2018-06-121-1/+2
|/
* Add hacky cache factor override systemErik Johnston2018-06-041-0/+4
* Merge pull request #3264 from matrix-org/neil/sign-up-statsNeil Johnson2018-06-011-0/+4
|\
| * daily user type phone home statsNeil Johnson2018-05-221-0/+4
* | Run Prometheus on a different port, optionally. (#3274)Amber Brown2018-05-3112-14/+110
* | fixesAmber Brown2018-05-221-2/+4
* | Merge remote-tracking branch 'origin/develop' into 3218-official-promAmber Brown2018-05-221-0/+17
|\|
| * Fix dependency on jinja2Richard van der Hoff2018-05-221-1/+1
| * Merge pull request #3163 from matrix-org/cohort_analyticsNeil Johnson2018-05-161-0/+8
| |\
| | * remove unused method recurring_user_daily_visit_statsNeil Johnson2018-05-161-3/+0
| | * pep8Neil Johnson2018-05-151-1/+0
| | * Limit query load of generate_user_daily_visitsNeil Johnson2018-05-151-14/+7
| | * instead of inserting user daily visit data at the end of the day, instead ins...Neil Johnson2018-05-141-3/+16
| | * Merge branch 'develop' of https://github.com/matrix-org/synapse into cohort_a...Neil Johnson2018-05-1411-87/+119
| | |\
| | * | 10 mins seems more reasonable that every minuteNeil Johnson2018-05-011-1/+1
| | * | Generate user daily statsNeil Johnson2018-04-251-0/+6
| * | | Merge pull request #3213 from matrix-org/rav/consent_handlerRichard van der Hoff2018-05-161-0/+9
| |\ \ \ | | |_|/ | |/| |
| | * | ConsentResource to gather policy consent from usersRichard van der Hoff2018-05-151-0/+9
* | | | look at the Prometheus metrics insteadAmber Brown2018-05-211-5/+3
|/ / /
* / / Set Server header in SynapseRequestRichard van der Hoff2018-05-1011-0/+12
|/ /
* | Merge remote-tracking branch 'origin/develop' into rav/use_run_in_backgroundRichard van der Hoff2018-04-275-80/+101
|\ \
| * | Improve exception handling for background processesRichard van der Hoff2018-04-275-80/+101
| |/
* / Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-273-7/+6
|/
* Use six.itervalues in some placesAdrian Tschira2018-04-151-1/+3
* Merge pull request #3061 from NotAFile/add-some-byte-stringsRichard van der Hoff2018-04-091-1/+1
|\
| * Add b prefixes to some strings that are bytes in py3Adrian Tschira2018-04-041-1/+1
* | more verbosity in synctlRichard van der Hoff2018-04-061-0/+1
* | Merge pull request #3041 from matrix-org/r30_statsNeil Johnson2018-04-051-0/+4
|\ \
| * | Review commentsNeil Johnson2018-04-051-1/+1
| * | Support multi client R30 for psqlNeil Johnson2018-03-281-1/+3
| * | rename stat to future proofNeil Johnson2018-03-281-1/+1
| * | query and call for r30 statsNeil Johnson2018-03-281-0/+2
| |/
* | phone home cache size configurationsJan Christian Grünhage2018-04-041-0/+3
* | Merge pull request #3000 from NotAFile/change-except-styleRichard van der Hoff2018-04-041-2/+2
|\ \
| * | replace old style error catching with 'as' keywordNotAFile2018-03-151-2/+2
* | | Handle review commentsMichael Kaye2018-03-281-6/+9
* | | As daemonizing will make a new process, defer call to init.Michael Kaye2018-03-281-13/+23
* | | Include coarse CPU and Memory use in stats callbacks.Michael Kaye2018-03-271-0/+20
| |/ |/|
* | 404 correctly on missing paths via NoResourceMatthew Hodgson2018-03-2311-22/+22
|/
* Register membership/state servlets in event_creatorErik Johnston2018-03-141-1/+13
* Merge pull request #2978 from matrix-org/erikj/refactor_replication_layerErik Johnston2018-03-131-1/+1
|\
| * s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
* | Don't build handlers on workers unnecessarilyErik Johnston2018-03-135-5/+0
|/
* Split replication layer into twoErik Johnston2018-03-131-1/+1
* Calculate push actions on workerErik Johnston2018-02-281-0/+8
* Move storage functions for push calculationsErik Johnston2018-02-272-11/+2
* Add event_creator workerErik Johnston2018-02-071-0/+170
* Add replication http endpoint for event sendingErik Johnston2018-02-071-0/+4
* Factor out get_db_conn to HomeServer base classRichard van der Hoff2018-01-2610-130/+0
* Actually make it workErik Johnston2018-01-121-2/+10
* RefactorErik Johnston2018-01-121-9/+4
* When using synctl with workers, don't start the main synapse automaticallyErik Johnston2018-01-111-8/+26
* Implement listen_tcp method in remaining workersSilke2017-12-1810-192/+155
* Remove logger argument and do not catch replication listenerSilke2017-12-182-24/+18
* Add methods for listening on multiple addressesSilke Hofstra2017-12-172-51/+90
* Allow binds to both :: and 0.0.0.0Silke Hofstra2017-12-171-37/+58
* Add a comment which might save some confusionRichard van der Hoff2017-11-241-0/+1
* Remove dead sync_callbackRichard van der Hoff2017-11-241-2/+0
* Add config option to disable media_repo on main synapseRichard van der Hoff2017-11-222-8/+20
* Build MediaRepositoryResource as a homeserver dependencyRichard van der Hoff2017-11-222-4/+2
* Merge pull request #2627 from matrix-org/rav/custom_rest_endpointsDavid Baker2017-11-021-0/+12
|\
| * Add a hook for custom rest endpointsRichard van der Hoff2017-11-021-0/+12
* | Factor out _configure_named_resourceRichard van der Hoff2017-11-021-46/+64
|/
* Merge pull request #2586 from matrix-org/rav/frontend_proxy_auth_headerRichard van der Hoff2017-10-271-0/+7
|\
| * Front-end proxy: pass through auth headerRichard van der Hoff2017-10-261-0/+7
* | Support /keys/upload on /r0 as well as /unstableRichard van der Hoff2017-10-261-2/+1
|/
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* Merge pull request #2466 from matrix-org/erikj/groups_mergedErik Johnston2017-10-111-0/+6
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/groups_mergedErik Johnston2017-09-1911-465/+257
| |\
| * | Fix replication. And notifyErik Johnston2017-07-201-0/+6
* | | Make 'affinity' package optionalErik Johnston2017-10-021-1/+14
* | | Move quit_with_errorErik Johnston2017-10-022-10/+11
| |/ |/|
* | Fix user_dir startupRichard van der Hoff2017-08-161-1/+1
* | Allow configuration of CPU affinityRichard van der Hoff2017-08-152-1/+9
* | Factor out common application startRichard van der Hoff2017-08-1511-464/+248
|/
* Include registration and as stores in frontend proxyErik Johnston2017-07-071-0/+4
* Add a frontend proxyErik Johnston2017-07-071-0/+267
* Make workers report to master for user ip updatesErik Johnston2017-06-274-8/+8
* Fix for workersErik Johnston2017-06-211-1/+1
* Merge pull request #2286 from matrix-org/erikj/split_out_user_dirErik Johnston2017-06-162-1/+271
|\
| * Initial worker implErik Johnston2017-06-162-1/+271
* | TypoErik Johnston2017-06-151-1/+3
* | Add some more statsErik Johnston2017-06-151-0/+7
* | Fix phone home statsErik Johnston2017-06-141-36/+13
|/
* Merge pull request #2127 from APwhitehat/alreadystartedErik Johnston2017-04-271-0/+3
|\
| * synctl.py: Check if synapse is already runningAnant Prakash2017-04-131-0/+3
* | Queried CONDITIONAL_REQUIREMENTSMatthew Wolff2017-04-181-2/+5
* | Fixed travis build failureMatthew Wolff2017-04-171-3/+1
* | web_server_root documentation fixMatthew Wolff2017-04-171-2/+1
|/
* Merge pull request #2115 from matrix-org/erikj/dedupe_federation_replErik Johnston2017-04-122-18/+6
|\
| * Move get_presence_list_* to SlaveStoreErik Johnston2017-04-112-24/+3
| * Move get_interested_partiesErik Johnston2017-04-111-3/+2
| * Reduce federation presence replication trafficErik Johnston2017-04-102-4/+14
* | Remove HTTP replication APIsErik Johnston2017-04-111-4/+0
|/
* Fix up federation SendQueue and document typesErik Johnston2017-04-071-65/+1
* Merge pull request #2107 from HarHarLinks/patch-1Erik Johnston2017-04-071-1/+1
|\
| * fix typo in synctl helpKim Brose2017-04-061-1/+1
* | Merge pull request #2103 from matrix-org/erikj/no-double-encodeErik Johnston2017-04-072-6/+2
|\ \
| * | Don't double json encode typing replication dataErik Johnston2017-04-051-3/+1
| * | Don't double json encode federation replication dataErik Johnston2017-04-051-3/+1
* | | CommentErik Johnston2017-04-061-1/+1
* | | DocsErik Johnston2017-04-061-0/+7
* | | Don't immediately notify the master about users whose syncs have gone awayErik Johnston2017-04-051-4/+36
|/ /
* | Merge pull request #2097 from matrix-org/erikj/repl_tcp_clientErik Johnston2017-04-057-402/+271
|\ \
| * | Add commentErik Johnston2017-04-041-0/+5
| * | Add the appropriate amount of preserve_fnErik Johnston2017-04-044-17/+19
| * | Shuffle and comment synchrotron presenceErik Johnston2017-04-041-9/+11
| * | Move where we ack federationErik Johnston2017-04-041-7/+16
| * | Update all the workers and master to use TCP replicationErik Johnston2017-04-037-401/+252
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/repl_tcp_s...Erik Johnston2017-04-041-1/+2
|\ \ \ | |/ / |/| |
| * | Merge pull request #2078 from APwhitehat/assertuserfriendlyErik Johnston2017-03-311-1/+2
| |\ \
| | * | add user friendly report of assertion error in synctl.pyAnant Prakash2017-03-291-1/+2
* | | | Add tcp replication listener type and hook it upErik Johnston2017-03-301-0/+11
|/ / /
* / / synctl.py: wait for synapse to stop before restarting (#2020)Anant Prakash2017-03-291-4/+43
|/ /
* | Add slave transaction storeErik Johnston2017-03-242-0/+4
* | Merge pull request #2033 from matrix-org/erikj/repl_speedErik Johnston2017-03-211-4/+8
|\ \
| * | PEP8Erik Johnston2017-03-201-1/+0
| * | Don't send the full event json over replicationErik Johnston2017-03-171-3/+8
* | | Run the reactor with the sentinel logcontextRichard van der Hoff2017-03-188-16/+51
|/ /
* | Don't recreate so many setsErik Johnston2017-03-161-2/+1
* | Refactor logger config for workersRichard van der Hoff2017-03-108-8/+10
|/
* Add db functions needed for room initial sync to slaveMark Haines2017-02-131-0/+4
* Remove debug loggingErik Johnston2017-01-301-1/+0
* Hook device list updates to replicationErik Johnston2017-01-272-2/+28
* Restore default bind addressErik Johnston2017-01-108-80/+16
* Remove spurious for..else..Erik Johnston2017-01-101-11/+0
* Fix check for bind_addressJohannes Löthberg2016-12-208-16/+16
* Add support for specifying multiple bind addressesJohannes Löthberg2016-12-188-171/+294
* CommentErik Johnston2016-11-231-0/+3
* Explicit federation ackErik Johnston2016-11-231-1/+4
* CommentsErik Johnston2016-11-211-0/+12
* Store federation stream positions in the databaseErik Johnston2016-11-211-16/+22
* Handle sending events and device messages over federationErik Johnston2016-11-171-13/+18
* Hook up the send queue and create a federation sender workerErik Johnston2016-11-161-0/+302
* Respect use_frozen_dicts option in workersErik Johnston2016-11-086-0/+22
* Set up the process collector during metrics __init__; that way all split-proc...Paul "LeoNerd" Evans2016-10-271-2/+0
* Pass the Metrics group into the process collector instead of having it find i...Paul "LeoNerd" Evans2016-10-271-1/+1
* Move the process metrics collector code into its own filePaul "LeoNerd" Evans2016-10-191-0/+2
* Merge pull request #1162 from larroy/masterErik Johnston2016-10-141-1/+1
|\
| * Use sys.executable instead of hardcoded python. fixes #1161Pedro Larroy2016-10-081-1/+1
* | Reduce DB hits for replicationErik Johnston2016-09-231-2/+2
|/
* Support /initialSync in synchrotron workerErik Johnston2016-09-211-0/+6
* fix logger for client_reader workerMatthew Hodgson2016-09-171-1/+1
* Enable state caches on workersErik Johnston2016-09-156-0/+6