summary refs log tree commit diff
path: root/synapse/app/homeserver.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Better formatting for config errors from modules (#8874)Richard van der Hoff2020-12-081-4/+42
* Combine `SpamCheckerApi` with the more generic `ModuleApi`. (#8464)Richard van der Hoff2020-10-071-2/+1
* Allow background tasks to be run on a separate worker. (#8369)Patrick Cloke2020-10-021-182/+0
* 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
* Convert the main methods run by the reactor to async. (#8213)Patrick Cloke2020-09-021-10/+8
* Add health check endpoint (#8048)Erik Johnston2020-08-071-1/+4
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-3/+3
* Convert ACME code to async/await. (#7989)Patrick Cloke2020-08-031-7/+6
* Convert synapse.app to async/await. (#7868)Patrick Cloke2020-07-171-13/+12
* 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-161-23/+27
* | 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
* Return 200 OK for all OPTIONS requests (#7534)Patrick Cloke2020-05-221-5/+9
* 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
* Add ability to run replication protocol over redis. (#7040)Erik Johnston2020-04-221-0/+6
* Extend web_client_location to handle absolute URLs (#7006)Martin Milata2020-04-031-3/+13
* Move pusherpool startup into _base.setup (#7104)Richard van der Hoff2020-03-191-1/+0
* Break down monthly active users by appservice_id (#7030)Neil Johnson2020-03-061-0/+13
* Allow additional_resources to implement Resource directly (#6686)Richard van der Hoff2020-01-131-2/+11
* 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-031-9/+1
* Improve diagnostics on database upgrade failure (#6570)Richard van der Hoff2019-12-191-7/+2
* Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_appsErik Johnston2019-12-121-6/+1
|\
| * Remove database config parsing from apps.Erik Johnston2019-12-101-6/+1
* | 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
* Move background update handling out of storeErik Johnston2019-12-051-1/+1
* Don't call SQLBaseStore methods from outside storesErik Johnston2019-12-041-2/+2
* Fix phone home stats (#6418)Erik Johnston2019-11-261-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-311-3/+3
* Fix MAU reaping where reserved users are specified. (#6168)Neil Johnson2019-10-111-3/+3
* add report_stats_endpoint config option (#6012)Sorunome2019-09-121-2/+4
* Implement a structured logging output system. (#5680)Amber Brown2019-08-281-2/+2
* Fix issue with Synapse not starting up. Fixes #5866.Chris Moos2019-08-161-1/+1
* Replace returnValue with return (#5736)Amber Brown2019-07-231-1/+1
* Call startup commands as system triggers.Erik Johnston2019-07-221-1/+1
* Support Prometheus_client 0.4.0+ (#5636)Amber Brown2019-07-181-2/+1
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Drop support for cpu_affinity (#5525)Richard van der Hoff2019-06-221-1/+0
* Run Black. (#5482)Amber Brown2019-06-201-84/+79
* 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
* 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
* add context to phonehome stats (#5020)Neil Johnson2019-04-081-1/+1
* Merge pull request #4853 from matrix-org/erikj/worker_docker_ciErik Johnston2019-03-151-9/+7
|\
| * Correctly handle all command line optionsErik Johnston2019-03-141-9/+7
* | master startupAmber Brown2019-03-111-0/+1
|/
* Add database version to phonehome stats. (#4753)Richard van der Hoff2019-02-271-0/+3
* Fix errors in acme provisioning (#4648)Richard van der Hoff2019-02-141-6/+13
* Use `listen_tcp` for the replication listenerRichard van der Hoff2019-02-131-7/+7
* Improve logging around listening servicesRichard van der Hoff2019-02-131-2/+6
* Infer no_tls from presence of TLS listenersRichard van der Hoff2019-02-111-5/+0
* ACME Reprovisioning (#4522)Amber Brown2019-02-111-24/+55
* Merge pull request #4420 from matrix-org/jaywink/openid-listenerErik Johnston2019-02-111-1/+12
|\
| * Split federation OpenID userinfo endpoint out of the federation resourceJason Robinson2019-01-231-0/+9
| * Make SynapseHomeServer _http_listener use self.get_reactor()Jason Robinson2019-01-231-1/+3
* | Deduplicate some code in synapse.app (#4567)Amber Brown2019-02-081-50/+4
* | 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-301-5/+46
* | Support ACME for certificate provisioning (#4384)Amber Brown2019-01-231-9/+47
|/
* Make the dependencies more like a standard Python project and hook up the opt...Amber Brown2018-12-221-3/+0
* 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
* Remove deprecated v1 key exchange endpoint (#4119)Amber Brown2018-10-311-6/+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
|/
* 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-271-2/+2
* Fix some instances of ExpiringCache not expiring cache itemsErik Johnston2018-09-211-1/+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-281-6/+8
* remove errant yieldNeil Johnson2018-08-171-1/+1
* call reap on start up and fix under reaping bugNeil Johnson2018-08-161-0/+1
* pep8Neil Johnson2018-08-141-0/+1
* combine mau metrics into one groupNeil Johnson2018-08-141-4/+3
* Merge pull request #3439 from vojeroen/send_sni_for_federation_requestsRichard van der Hoff2018-08-101-0/+2
|\
| * Merge branch 'develop' into send_sni_for_federation_requestsRichard van der Hoff2018-07-271-5/+14
| |\
| * \ Merge remote-tracking branch 'upstream/develop' into send_sni_for_federation_...Jeroen2018-07-141-13/+20
| |\ \
| * | | send SNI for federation requestsJeroen2018-06-241-0/+2
* | | | 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
|\ \ \ \
| * | | | 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
| | |_|/ | |/| |
* / | | api into monthly_active_users tableNeil Johnson2018-07-311-0/+4
|/ / /
* | | 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
* | | Make the rest of the .iterwhatever go away (#3562)Amber Brown2018-07-211-2/+4
| |/ |/|
* | run isortAmber Brown2018-07-091-13/+20
|/
* Write a clear restart indicator in logsRichard van der Hoff2018-06-201-6/+1
* The flag is named enable_metrics, not collect_metricsTravis Ralston2018-06-121-1/+1
* 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-311-4/+9
* | 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-141-0/+2
| | |\
| | * | 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-101-0/+2
|/
* 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
* | 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-231-2/+2
* s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
* Split replication layer into twoErik Johnston2018-03-131-1/+1
* 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-261-13/+0
* Implement listen_tcp method in remaining workersSilke2017-12-181-3/+1
* Remove logger argument and do not catch replication listenerSilke2017-12-181-18/+11
* Add methods for listening on multiple addressesSilke Hofstra2017-12-171-50/+34
* Allow binds to both :: and 0.0.0.0Silke Hofstra2017-12-171-37/+58
* Add config option to disable media_repo on main synapseRichard van der Hoff2017-11-221-8/+13
* Build MediaRepositoryResource as a homeserver dependencyRichard van der Hoff2017-11-221-2/+1
* 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
|/
* Move quit_with_errorErik Johnston2017-10-021-10/+1
* Allow configuration of CPU affinityRichard van der Hoff2017-08-151-0/+1
* Factor out common application startRichard van der Hoff2017-08-151-72/+39
* TypoErik Johnston2017-06-151-1/+3
* Add some more statsErik Johnston2017-06-151-0/+7
* Fix phone home statsErik Johnston2017-06-141-36/+13
* 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
* Remove HTTP replication APIsErik Johnston2017-04-111-4/+0
* Add tcp replication listener type and hook it upErik Johnston2017-03-301-0/+11
* Run the reactor with the sentinel logcontextRichard van der Hoff2017-03-181-2/+7
* Refactor logger config for workersRichard van der Hoff2017-03-101-1/+3
* Restore default bind addressErik Johnston2017-01-101-10/+2
* Fix check for bind_addressJohannes Löthberg2016-12-201-2/+2
* Add support for specifying multiple bind addressesJohannes Löthberg2016-12-181-31/+45
* Update commentMark Haines2016-08-221-1/+2
* Add usage stats to prometheus monitoringMark Haines2016-08-221-2/+25
* Add federation /version APIErik Johnston2016-08-051-1/+1
* Add metrics for psutil derived memory usageErik Johnston2016-07-201-0/+3
* Remove the legacy v0 content upload API.Mark Haines2016-06-211-2/+1
* Add function to load config without generating itMark Haines2016-06-091-2/+1
* Allow setting of gc.set_thresholdsErik Johnston2016-06-071-0/+5
* Move the listenTCP call outside the manhole functionMark Haines2016-04-251-7/+9
* Split out setting up the manhole to a separate fileMark Haines2016-04-221-26/+7
* Merge branch 'develop' into markjh/split_out_site.pyMark Haines2016-04-221-82/+7
|\
| * Split out create_resource_tree to a separate fileMark Haines2016-04-221-82/+7
* | Move SynapseSite to its own fileMark Haines2016-04-221-130/+3
|/
* Move the versionstring code out of app.homeserver into utilMark Haines2016-04-111-83/+4
* Don't require config to create databaseErik Johnston2016-04-061-6/+9
* Use syntax that works on both py2.7 and py3Mark Haines2016-03-071-1/+1
* Merge pull request #571 from matrix-org/daniel/asidsDaniel Wagner-Hall2016-03-031-1/+1
|\
| * Mark AS users with their AS's IDDaniel Wagner-Hall2016-02-111-1/+1
* | Add a /replication API for extracting the updates that happened onMark Haines2016-03-011-0/+4
|/
* Fix up logcontextsErik Johnston2016-02-081-0/+2
* Host /media/r0 as well as /media/v1Daniel Wagner-Hall2016-02-051-2/+4
* Error if macaroon key is missing from configDaniel Wagner-Hall2016-02-051-5/+15
* Simplify get_roomsErik Johnston2016-02-031-2/+2
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-27/+11
* Merge pull request #534 from matrix-org/erikj/setupErik Johnston2016-01-281-12/+22
|\
| * Clean up a bit. Add commentErik Johnston2016-01-281-6/+7
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/setupErik Johnston2016-01-271-1/+1
| |\
| * | Add a Homeserver.setup method.Erik Johnston2016-01-261-12/+21
* | | Remove chdirErik Johnston2016-01-281-1/+0
| |/ |/|
* | Don't turn on profilingErik Johnston2016-01-261-1/+1
|/
* Remove redundated BaseHomeServerErik Johnston2016-01-261-89/+48
* Use compiled regexErik Johnston2016-01-131-2/+4
* Don't log urlencoded access_tokensErik Johnston2016-01-081-2/+2
* Turn on core dumpsErik Johnston2016-01-071-2/+5
* Merge pull request #473 from matrix-org/erikj/ssh_manholeErik Johnston2016-01-071-5/+21
|\
| * Change manhole to use sshErik Johnston2016-01-071-5/+21
* | copyrightsMatthew Hodgson2016-01-071-1/+1
* | Add /_matrix/versions to report supported versionsDaniel Wagner-Hall2016-01-061-0/+1
* | Log when starting stats reportingDaniel Wagner-Hall2016-01-061-0/+1
* | Log on stats schedulingDaniel Wagner-Hall2016-01-061-0/+1
|/
* Actually host r0 and unstable prefixesDaniel Wagner-Hall2015-12-081-16/+12
* Track the time spent in the database per request.Mark Haines2015-12-071-1/+6
* Fix warningsMark Haines2015-12-041-1/+11
* Run the background updates when starting synapse.Mark Haines2015-11-101-0/+1
* Move static folder into synapseErik Johnston2015-10-261-1/+3
* Only turn on the twisted deferred debugging if full_twisted_stacktraces is se...Mark Haines2015-10-131-3/+0
* Bounce all deferreds through the reactor to make debugging easier.Mark Haines2015-10-131-0/+2
* rename schema_prepare to prepare_databaseErik Johnston2015-10-131-1/+1
* Expose error more nicelyErik Johnston2015-10-131-3/+2
* Note that GzipFile was removed in comment that referenced itMark Haines2015-09-221-0/+1
* synapse/app/homeserver.py:GzipFile was unusedMark Haines2015-09-221-6/+0
* Catch stats-reporting errorsDaniel Wagner-Hall2015-09-221-4/+7
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-1/+34
* Merge pull request #267 from matrix-org/markjh/missing_requirementsMark Haines2015-09-181-2/+15
|\
| * Print an example "pip install" line for a missing requirementMark Haines2015-09-011-2/+15
* | Merge branch 'daniel/insecureclient' into developDaniel Wagner-Hall2015-09-091-4/+3
|\ \
| * | Fix random formattingDaniel Wagner-Hall2015-09-091-1/+0
| * | Allow configuration to ignore invalid SSL certsDaniel Wagner-Hall2015-09-091-4/+4
| |/
* | Merge branch 'master' into developMark Haines2015-09-071-1/+1
|\ \ | |/ |/|
| * Change log level to infoErik Johnston2015-09-031-1/+1
* | don't log the whole DB config (including postgres password...)Matthew Hodgson2015-08-291-2/+2
|/
* Print the correct pip install line when failing due to lack of matrix-angular...Erik Johnston2015-08-251-3/+4
* Update the log messageErik Johnston2015-08-251-5/+10
* Remove dependency on matrix-angular-sdkErik Johnston2015-08-251-1/+8
* Allow specifying a directory to host a web client fromErik Johnston2015-08-251-3/+5
* Only print the pidfile path on startup if requested by a commandline flagPaul "LeoNerd" Evans2015-08-071-1/+2
* Merge pull request #187 from matrix-org/erikj/sanitize_loggingErik Johnston2015-06-191-15/+88
|\
| * Add site_tag to loggerErik Johnston2015-06-191-2/+2
| * Disable twisted access logging. Move access logging to SynapseRequest objectErik Johnston2015-06-151-17/+47
| * Log more when we have processed the requestErik Johnston2015-06-151-2/+8