summary refs log tree commit diff
path: root/synapse/app/homeserver.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | I'm fed up with never being able to find the point a server restarted in the logs.
* The flag is named enable_metrics, not collect_metricsTravis Ralston2018-06-121-1/+1
| | | Signed-off-by: Travis Ralston <travpc@gmail.com>
* Merge pull request #3264 from matrix-org/neil/sign-up-statsNeil Johnson2018-06-011-0/+4
|\ | | | | daily user type phone home stats
| * 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
| | | | | | | | | | | | | | Delay the import of ConsentResource, so that we can get away without jinja2 if people don't have the consent resource enabled. Fixes #3259
| * Merge pull request #3163 from matrix-org/cohort_analyticsNeil Johnson2018-05-161-0/+8
| |\ | | | | | | user visit data
| | * 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
| | | | | | | | | | | | The aim is to keep track of when it was last called and only query from that point in time
| | * instead of inserting user daily visit data at the end of the day, instead ↵Neil Johnson2018-05-141-3/+16
| | | | | | | | | | | | insert incrementally through the day
| | * Merge branch 'develop' of https://github.com/matrix-org/synapse into ↵Neil Johnson2018-05-141-0/+2
| | |\ | | | | | | | | | | | | cohort_analytics
| | * | 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 users
| | * | ConsentResource to gather policy consent from usersRichard van der Hoff2018-05-151-0/+9
| | |/ | | | | | | | | | | | | Hopefully there are enough comments and docs in this that it makes sense on its own.
* | / look at the Prometheus metrics insteadAmber Brown2018-05-211-5/+3
|/ /
* / Set Server header in SynapseRequestRichard van der Hoff2018-05-101-0/+2
|/ | | | | | | | | | | | (instead of everywhere that writes a response. Or rather, the subset of places which write responses where we haven't forgotten it). This also means that we don't have to have the mysterious version_string attribute in anything with a request handler. Unfortunately it does mean that we have to pass the version string wherever we instantiate a SynapseSite, which has been c&ped 150 times, but that is code that ought to be cleaned up anyway really.
* Merge pull request #3041 from matrix-org/r30_statsNeil Johnson2018-04-051-0/+4
|\ | | | | R30 stats
| * Review commentsNeil Johnson2018-04-051-1/+1
| | | | | | | | | | Use iteritems over item to loop over dict formatting
| * 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
|/ | | | | This requires the psutil module, and is still opt-in based on the report_stats config option.
* 404 correctly on missing paths via NoResourceMatthew Hodgson2018-03-231-2/+2
| | | | fixes https://github.com/matrix-org/synapse/issues/2043 and https://github.com/matrix-org/synapse/issues/2029
* 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
| | | | | This function is identical to all subclasses, so we may as well push it up to the base class to reduce duplication (and make use of it in the tests)
* Implement listen_tcp method in remaining workersSilke2017-12-181-3/+1
| | | | Signed-off-by: Silke <silke@slxh.eu>
* Remove logger argument and do not catch replication listenerSilke2017-12-181-18/+11
| | | | Signed-off-by: Silke <silke@slxh.eu>
* Add methods for listening on multiple addressesSilke Hofstra2017-12-171-50/+34
| | | | | | | Add listen_tcp and listen_ssl which implement Twisted's reactor.listenTCP and reactor.listenSSL for multiple addresses. Signed-off-by: Silke Hofstra <silke@slxh.eu>
* Allow binds to both :: and 0.0.0.0Silke Hofstra2017-12-171-37/+58
| | | | | | | | | | Binding on 0.0.0.0 when :: is specified in the bind_addresses is now allowed. This causes a warning explaining the behaviour. Configuration changed to match. See #2232 Signed-off-by: Silke Hofstra <silke@slxh.eu>
* Add config option to disable media_repo on main synapseRichard van der Hoff2017-11-221-8/+13
| | | | ... to stop us doing the cache cleanup jobs on the master.
* Build MediaRepositoryResource as a homeserver dependencyRichard van der Hoff2017-11-221-2/+1
| | | | | | This avoids the scenario where we have four different PreviewUrlResources configured on a single app, each of which have their own caches and cache clearing jobs.
* Merge pull request #2627 from matrix-org/rav/custom_rest_endpointsDavid Baker2017-11-021-0/+12
|\ | | | | Add a hook for custom rest endpoints
| * Add a hook for custom rest endpointsRichard van der Hoff2017-11-021-0/+12
| | | | | | | | | | Let the user specify custom modules which can be used for implementing extra endpoints.
* | Factor out _configure_named_resourceRichard van der Hoff2017-11-021-46/+64
|/ | | | This was a bit of a code vomit, so let's factor it out to preserve some sanity
* Move quit_with_errorErik Johnston2017-10-021-10/+1
|
* Allow configuration of CPU affinityRichard van der Hoff2017-08-151-0/+1
| | | | | Make it possible to set the CPU affinity in the config file, so that we don't need to remember to do it manually every time.
* Factor out common application startRichard van der Hoff2017-08-151-72/+39
| | | | | We have 10 copies of this code, and I don't really want to update each one separately.
* 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
| | | | Signed-off-by: Matthew Wolff <matthewjwolff@gmail.com>
* web_server_root documentation fixMatthew Wolff2017-04-171-2/+1
| | | | Signed-off-by: Matthew Wolff <matthewjwolff@gmail.com>
* 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
| | | | | | This fixes a class of 'Unexpected logcontext' messages, which were happening because the logcontext was somewhat arbitrarily swapping between the sentinel and the `run` logcontext.
* Refactor logger config for workersRichard van der Hoff2017-03-101-1/+3
| | | | - to make it easier to add more config options.
* Restore default bind addressErik Johnston2017-01-101-10/+2
|
* Fix check for bind_addressJohannes Löthberg2016-12-201-2/+2
| | | | | | | The empty string is a valid setting for the bind_address option, so explicitly check for None here instead. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* Add support for specifying multiple bind addressesJohannes Löthberg2016-12-181-31/+45
| | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* 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
| | | | | | The existing content can still be downloaded. The last upload to the matrix.org server was in January 2015, so it is probably safe to remove the upload API.
* Add function to load config without generating itMark Haines2016-06-091-2/+1
| | | | | | | | | | | | | | | | Renames ``load_config`` to ``load_or_generate_config`` Adds a method called ``load_config`` that just loads the config. The main synapse.app.homeserver will continue to use ``load_or_generate_config`` to retain backwards compat. However new worker processes can use ``load_config`` to load the config avoiding some of the cruft needed to generate the config. As the new ``load_config`` method is expected to be used by new configs it removes support for the legacy commandline overrides that ``load_or_generate_config`` supports
* 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
|\ | | | | | | | | Conflicts: synapse/app/homeserver.py
| * 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 ID
| * 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
|/ | | | | | | | | | | | | | | | | | | | | | | | synapse This is necessary for replicating the data in synapse to be visible to a separate service because presence and typing notifications aren't stored in a database so won't be visible to another process. This API can be used to either get the raw data by requesting the tables themselves or to just receive notifications for updates by following the streams meta-stream. Returns updates for each table requested a JSON array of arrays with a row for each row in the table. Each table is prefixed by a header row with the: name of the table, current stream_id position for the table, number of rows, number of columns and the names of the columns. This is followed by the rows that have been added to the server since the requester last asked. The API has a timeout and is hooked up to the notifier so that a slave can long poll for updates.
* 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
| | | | | | | | | | | | | Currently we store all access tokens in the DB, and fall back to that check if we can't validate the macaroon, so our fallback works here, but for guests, their macaroons don't get persisted, so we don't get to find them in the database. Each restart, we generate a new ephemeral key, so guests lose access after each server restart. I tried to fix up the config stuff to be less insane, but gave up, so instead I bolt on yet another piece of custom one-off insanity. Also, add some basic tests for config generation and loading.
* 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
|\ | | | | Add a Homeserver.setup method
| * 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
| | | | | | | | | | | | | | | | | | This is for setting up dependencies that require work on startup. This is useful for the DataStore that wants to read a bunch from the database before initiliazing.
* | | 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 ssh
| * 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
| | | | and track the number of transactions that request started.
* 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
| | | | | | | This is because otherwise it won't get picked up by python packaging. This also fixes the problem where the "static" folder was found if synapse wasn't started from that directory.
* Only turn on the twisted deferred debugging if full_twisted_stacktraces is ↵Mark Haines2015-10-131-3/+0
| | | | set in the config
* Bounce all deferreds through the reactor to make debugging easier.Mark Haines2015-10-131-0/+2
| | | | | | If all deferreds wait a reactor tick before resolving then there is always a chance to add an errback to the deferred so that stacktraces get reported, rather than being discarded.
* 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
| | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set.
* Merge pull request #267 from matrix-org/markjh/missing_requirementsMark Haines2015-09-181-2/+15
|\ | | | | Print an example "pip install" line for a missing requirement
| * 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
| |/ | | | | | | | | This will be useful for sytest, and sytest only, hence the aggressive config key name.
* | Merge branch 'master' into developMark Haines2015-09-071-1/+1
|\ \ | |/ |/| | | | | Conflicts: setup.py
| * 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 ↵Erik Johnston2015-08-251-3/+4
| | | | matrix-angular-sdk
* 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
|\ | | | | Sanitize logging
| * 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
| |
| * Create SynapseRequest that overrides __repr__ to not print access_tokenErik Johnston2015-06-151-6/+43
| |
* | Make upload dir a configurable path.Eric Myhre2015-06-181-2/+1
|/ | | | | | Fixes SYN-425. Signed-off-by: Eric Myhre <hash@exultant.us>
* Add backwards compat support for metrics, manhole and webclient config optionsErik Johnston2015-06-121-7/+0
|
* PEP8Erik Johnston2015-06-121-3/+3
|
* Correctly handle x_forwaded listener optionErik Johnston2015-06-121-4/+27
|
* Use config.listenersErik Johnston2015-06-121-66/+84
|
* Fix up create_resource_treeErik Johnston2015-06-121-104/+100
|
* Add config option to disable compression of http responsesErik Johnston2015-06-011-2/+8
|
* Add config option to turn off freezing events. Use new encode_json api and ↵Erik Johnston2015-05-291-0/+4
| | | | ujson.loads
* s/metric_interface/metric_bind_host/Erik Johnston2015-05-221-2/+2
|
* Update log lineErik Johnston2015-05-221-1/+4
|
* Enable changing the interface the metrics listener binds toErik Johnston2015-05-221-1/+1
|
* Disable GZip encoding on static file resources as per commentDavid Baker2015-05-191-1/+7
|
* Revert accidental commitErik Johnston2015-05-191-3/+3
|
* SYN-383: Handle the fact the server might not have signed thingsErik Johnston2015-05-191-3/+3
|
* Support gzip encoding for client, client v2 and web client resources (SYN-176).David Baker2015-05-141-5/+16
|
* Optional profiling using cProfileMark Haines2015-05-061-1/+21
|
* Merge branch 'develop' into markjh/config_cleanupMark Haines2015-04-301-3/+36
|\ | | | | | | | | Conflicts: synapse/config/captcha.py
| * Do access log using python's logging stuff, just under a separate logger nameDavid Baker2015-04-301-14/+28
| |
| * Add an access_logDavid Baker2015-04-301-3/+22
| | | | | | | | SYN-161 #resolve
| * Revert previousErik Johnston2015-04-291-5/+1
| |
| * Only start pushers when synapse has fully startedErik Johnston2015-04-291-1/+5
| |
* | remove duplicate parse_size methodMark Haines2015-04-301-1/+0
| |
* | Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-301-4/+2
|/ | | | arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class
* Fix whitespaceMark Haines2015-04-291-1/+1
|
* Check requirements before doing anything else when running the homeserverMark Haines2015-04-291-1/+4
|
* Merge pull request #129 from matrix-org/key_distributionErik Johnston2015-04-291-1/+7
|\ | | | | Key distribution v2
| * Merge branch 'develop' into key_distributionMark Haines2015-04-291-12/+39
| |\ | | | | | | | | | | | | Conflicts: synapse/config/homeserver.py
| * | Add a version 2 of the key server apiMark Haines2015-04-141-1/+7
| | |
* | | Make postgres database error slightly more helpfulErik Johnston2015-04-291-12/+15
| | |
* | | Check that postgres database has correct charset setErik Johnston2015-04-291-1/+10
| |/ |/|
* | Remove unused importsErik Johnston2015-04-281-2/+1
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-281-1/+20
|\ \
| * | pep8David Baker2015-04-271-1/+0
| | |
| * | Run database check before daemonizing, at the cost of database hygiene.David Baker2015-04-271-9/+8
| | |
| * | rename db method to be more informativeDavid Baker2015-04-271-1/+1
| | |
| * | Check users in our table aren't on a different domain to the one we're ↵David Baker2015-04-241-0/+19
| |/ | | | | | | configured with to try & fix SYN-266
* | Remove unused importErik Johnston2015-04-271-1/+0
| |
* | Move database configuration into config moduleErik Johnston2015-04-271-31/+4
| |
* | Ensure check_same_thread is enabled for sqlite3Erik Johnston2015-04-271-0/+1
| |
* | Remove mysql/maria supportErik Johnston2015-04-151-8/+1
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-151-1/+1
|\|
| * Move server key api into rest/key/v1Mark Haines2015-04-141-1/+1
| |
* | Add support for postgres instead of mysql. Change sql accourdingly. blob + ↵Erik Johnston2015-04-141-0/+2
| | | | | | | | varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS.
* | Use case sensitive collationsErik Johnston2015-04-101-2/+1
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-071-7/+1
|\|
| * PyflakesKegan Dougal2015-03-311-2/+1
| |
| * Remove appservice REST servletsKegan Dougal2015-03-311-5/+0
| |
* | PEP8Erik Johnston2015-04-071-5/+2
| |
* | Explicitly name the __main__ module loggerErik Johnston2015-04-071-1/+1
| |
* | Fix unicode supportErik Johnston2015-04-021-8/+4
| |
* | Fix SQLite supportErik Johnston2015-04-011-3/+12
| |
* | Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-7/+13
| |
* | Fix unicode database supportErik Johnston2015-03-251-18/+29
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-03-201-3/+6
|\|
| * Wire up the webclient optionDavid Baker2015-03-171-3/+5
| | | | | | | | | | | | It existed but was hardcoded to True. Give it an underscore for consistency. Also don't pull in syweb unless we're actually using the web client.
* | Make database selection configurableErik Johnston2015-03-201-11/+33
|/
* actually uphold the bind_host parameter. in theory should make ipv6 binds ↵Matthew Hodgson2015-03-141-2/+7
| | | | work like bind_host: 'fe80::1%lo0'
* Option to serve metrics from their own localhost-only TCP port instead of ↵Paul "LeoNerd" Evans2015-03-121-2/+10
| | | | muxed on the main listener
* Fold the slightly-odd bind_port/secure_port/etc.. logic into ↵Paul "LeoNerd" Evans2015-03-121-12/+11
| | | | SynapseHomeServer.start_listening()
* Build MetricsResource as a specific HomeServer dependencyPaul "LeoNerd" Evans2015-03-121-6/+10
|
* A trivial 'hello world'-style resource on /_synapse/metrics, with optional ↵Paul "LeoNerd" Evans2015-03-121-0/+7
| | | | commandline flag
* No need to explicitly pass 'web_client' in to create_resource_tree as it can ↵Paul "LeoNerd" Evans2015-03-121-2/+3
| | | | be found via config
* in_thread takes no argumentsErik Johnston2015-03-101-1/+1
|
* Split out the 'run' from 'setup'Erik Johnston2015-03-101-26/+27
|
* Add documentation. When starting via twistd respect soft_file_limit config ↵Erik Johnston2015-03-101-2/+17
| | | | option.
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj-perfErik Johnston2015-03-091-28/+133
|\
| * Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-03-061-53/+56
| |\
| | * Don't exit if we can't work out if we're running in a git repoErik Johnston2015-02-211-53/+56
| | |
| * | SYN-67: Finish up implementing new database schema managementErik Johnston2015-03-041-1/+4
| | |
| * | Merge pull request #83 from matrix-org/nofile_limit_configErik Johnston2015-03-021-8/+26
| |\ \ | | | | | | | | Add config option to set the soft fd limit on start
| | * | By default set soft limit to hard limitErik Johnston2015-02-201-2/+6
| | | |
| | * | Rename resource variable so as to not shadow module importErik Johnston2015-02-191-5/+5
| | | |
| | * | Add config option to set the soft fd limit on startErik Johnston2015-02-191-3/+17
| | |/
| * | Trailing commaKegan Dougal2015-02-231-1/+1
| | |
| * | Actually treat this as static content, not random Resources.Kegan Dougal2015-02-231-2/+6
| | |
| * | Add RegisterFallbackResource to /_matrix/static/client/registerKegan Dougal2015-02-231-0/+2
| |/ | | | | | | | | Try to keep both forms of registration logic (native/fallback) close together for sanity.
| * Conform to header spec take twoErik Johnston2015-02-181-1/+1
| |
| * Make version_string conform to User-Agent and Server specErik Johnston2015-02-181-1/+1
| |
| * pyflakesErik Johnston2015-02-181-1/+0
| |
| * When computing git version run git commands in same dir as source filesErik Johnston2015-02-181-0/+5
| |
| * Generate a version string that includes git details if run from git checkoutErik Johnston2015-02-181-1/+61
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into developErik Johnston2015-02-181-0/+1
| |\
| | * Rename _fail_fetch_pdu_cache to _get_pdu_cacheErik Johnston2015-02-181-1/+1
| | |
| | * Start the get_pdu cacheErik Johnston2015-02-171-0/+1
| | |
| * | Merge branch 'hotfixes-v0.7.0g' of github.com:matrix-org/synapse into developErik Johnston2015-02-171-1/+3
| |\ \ | | |/ | |/|
| | * Don't write bytecodeErik Johnston2015-02-171-1/+3
| | |
| * | Merge pull request #50 from matrix-org/application-servicesMark Haines2015-02-131-1/+6
| |\ \ | | | | | | | | Application Services
| | * \ Merge branch 'develop' into application-servicesKegan Dougal2015-02-111-1/+1
| | |\ \
| | * \ \ Merge branch 'develop' into application-servicesKegan Dougal2015-02-091-1/+3
| | |\ \ \
| | * \ \ \ Merge branch 'develop' into application-servicesKegan Dougal2015-02-021-0/+2
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/__init__.py synapse/storage/__init__.py
| | * | | | | Add stub application services REST API.Kegan Dougal2015-01-271-1/+6
| | | | | | |
| * | | | | | Prepare the database whenever a connection is opened from the db_pool so ↵Mark Haines2015-02-131-10/+4
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | that in-memory databases will work
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into state-chacheErik Johnston2015-02-111-1/+1
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | Fix code-styleMark Haines2015-02-101-1/+1
| | | |_|/ | | |/| |
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into state-chacheErik Johnston2015-02-101-1/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/app/homeserver.py synapse/state.py
| | * | | Time how long we're spending on the database threadErik Johnston2015-02-091-0/+2
| | | | |
| | * | | Log when we receive a request, when we send a response and how long it took ↵Erik Johnston2015-02-091-1/+1
| | | |/ | | |/| | | | | | | | | to process it.
| * / | Bug fixes.Erik Johnston2015-02-061-0/+2
| |/ /
| * | Merge branch 'develop' into pushersDavid Baker2015-01-281-4/+8
| |\| | | | | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/server.py
| | * Add client v2_alpha resource to synapse server resource treeMark Haines2015-01-231-1/+6
| | |
| | * Merge rest servlets into the client json resource objectMark Haines2015-01-231-3/+2
| | |
| * | Merge branch 'develop' into pushersDavid Baker2015-01-221-4/+11
| |\| | | | | | | | | | | | | Conflicts: synapse/rest/__init__.py
| | * Move rest APIs back under the rest directoryMark Haines2015-01-221-2/+2
| | |
| * | Merge branch 'develop' into pushersDavid Baker2015-01-131-2/+10
| |\ \
| * \ \ Merge branch 'develop' into pushersDavid Baker2014-12-181-5/+17
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/api/errors.py synapse/server.py synapse/storage/__init__.py
| * \ \ \ Merge branch 'develop' into pushersDavid Baker2014-11-201-1/+1
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' into pushersDavid Baker2014-11-201-3/+6
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'http_client_refactor' into pushersDavid Baker2014-11-201-2/+2
| |\ \ \ \ \ \
| * | | | | | | Start creating a module to do generic notifications (just prints them to ↵David Baker2014-11-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stdout currently!)
* | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj-perfErik Johnston2015-01-221-2/+17
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/app/homeserver.py
| * | | | | | | Fix pyflakes errorsMark Haines2015-01-191-1/+1
| | | | | | | |
| * | | | | | | Fix syntaxMark Haines2015-01-191-2/+3
| | | | | | | |
| * | | | | | | Allow ':memory:' as the database path for sqlite3Mark Haines2015-01-191-1/+7
| | |_|_|_|_|/ | |/| | | | |
| * | | | | | Check the existance and versions of necessary modules when starting synapse, ↵Mark Haines2015-01-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | log which modules are used
| * | | | | | Log server version on startupErik Johnston2015-01-071-0/+3
| | | | | | |
* | | | | | | Add twisted Service interfaceErik Johnston2015-01-071-3/+18
|/ / / / / /
* | | | | | Merge branch 'master' into developMark Haines2015-01-061-1/+1
|\ \ \ \ \ \
| * | | | | | improve error msgMatthew Hodgson2014-12-241-1/+1
| | |_|_|_|/ | |/| | | |
* / | | | | Update copyright noticesMark Haines2015-01-061-1/+1
|/ / / / /