summary refs log tree commit diff
path: root/synapse/app (follow)
Commit message (Collapse)AuthorAgeFilesLines
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
| | | | what could possibly go wrong
* Merge pull request #2466 from matrix-org/erikj/groups_mergedErik Johnston2017-10-111-0/+6
|\ | | | | Initial Group Implementation
| * 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
| | | | | | | | Add missing parameter to _base.start_worker_reactor
* | Allow configuration of CPU affinityRichard van der Hoff2017-08-152-1/+9
| | | | | | | | | | 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-1511-464/+248
|/ | | | | We have 10 copies of this code, and I don't really want to update each one separately.
* 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
|\ | | | | Split out user directory to a separate process
| * 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
|\ | | | | print something legible if synapse already running
| * 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
| | | | | | | | 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>
* Merge pull request #2115 from matrix-org/erikj/dedupe_federation_replErik Johnston2017-04-122-18/+6
|\ | | | | Reduce federation replication traffic
| * 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
| | | | | | | | | | | | | | | | This is mainly done by moving the calculation of where to send presence updates from the presence handler to the transaction queue, so we only need to send the presence event (and not the destinations) across the replication connection. Before we were duplicating by sending the full state across once per destination.
* | 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 help
| * 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 encode replication data
| * | 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
|\ \ | | | | | | Move to using TCP replication
| * | 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 ↵Erik Johnston2017-04-041-1/+2
|\ \ \ | |/ / |/| | | | | erikj/repl_tcp_server
| * | Merge pull request #2078 from APwhitehat/assertuserfriendlyErik Johnston2017-03-311-1/+2
| |\ \ | | | | | | | | add user friendly report of assertion error in synctl.py
| | * | add user friendly report of assertion error in synctl.pyAnant Prakash2017-03-291-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Anant Prakash <anantprakashjsr@gmail.com>
* | | | 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
|\ \ | | | | | | Don't send the full event json over replication
| * | 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
|/ / | | | | | | | | | | 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.
* | Don't recreate so many setsErik Johnston2017-03-161-2/+1
| |
* | Refactor logger config for workersRichard van der Hoff2017-03-108-8/+10
|/ | | | - to make it easier to add more config options.
* 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
| | | | | | | 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-188-171/+294
| | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* 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 ↵Paul "LeoNerd" Evans2016-10-271-2/+0
| | | | split-process workers have it
* Pass the Metrics group into the process collector instead of having it find ↵Paul "LeoNerd" Evans2016-10-271-1/+1
| | | | its own one; this avoids it needing to import from synapse.metrics
* 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 #1161
| * Use sys.executable instead of hardcoded python. fixes #1161Pedro Larroy2016-10-081-1/+1
| |
* | Reduce DB hits for replicationErik Johnston2016-09-231-2/+2
|/ | | | | | | | | | | | | | Some streams will occaisonally advance their positions without actually having any new rows to send over federation. Currently this means that the token will not advance on the workers, leading to them repeatedly sending a slightly out of date token. This in turns requires the master to hit the DB to check if there are any new rows, rather than hitting the no op logic where we check if the given token matches the current token. This commit changes the API to always return an entry if the position for a stream has changed, allowing workers to advance their tokens correctly.
* 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
|
* Split out public room list into a worker processErik Johnston2016-09-141-0/+215
|
* CommentErik Johnston2016-09-091-0/+3
|
* Fix up the calls to the notifier for device messagesMark Haines2016-09-011-0/+3
|
* Add new direct message storage functions to slave storeErik Johnston2016-08-301-0/+2
|
* Update commentMark Haines2016-08-221-1/+2
|
* Add usage stats to prometheus monitoringMark Haines2016-08-221-2/+25
|
* Remove log linesErik Johnston2016-08-181-2/+0
|
* Add appservice workerErik Johnston2016-08-181-0/+211
|
* Missed a s/federation reader/media repository/ in a log messageMark Haines2016-08-181-1/+1
|
* Add a media repository workerMark Haines2016-08-181-0/+212
|
* Remove broken cache stuffErik Johnston2016-08-152-21/+0
|
* Implement cache replication streamErik Johnston2016-08-151-13/+0
|
* Make synchrotron accept /eventsErik Johnston2016-08-121-2/+34
|
* Synced up synchrotron set_state with PresenceHandler set_stateWill Hunt2016-08-111-1/+1
|
* Add federation /version APIErik Johnston2016-08-054-4/+4
|
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/fed_readerErik Johnston2016-07-291-5/+3
|\
| * Fix flake8 violationRichard van der Hoff2016-07-261-5/+3
| | | | | | | | | | Apparently flake8 v3 puts the error on a different line to v2. Easiest way to make sure that happens is by putting the whole statement on one line :)
* | Add destination retry to slave storeErik Johnston2016-07-281-0/+2
| |
* | Add slace storage functions for public room listErik Johnston2016-07-281-0/+4
| |
* | Split out a FederationReader processErik Johnston2016-07-211-0/+200
|/
* Add metrics for psutil derived memory usageErik Johnston2016-07-201-0/+3
|
* Merge branch 'master' into developMark Haines2016-06-231-27/+151
|\
| * Optionally start or stop workers in synctl.Mark Haines2016-06-211-27/+151
| | | | | | | | | | | | | | | | | | | | | | Optionally start or stop an individual worker by passing -w with the path to the worker config. Optionally start or stop every worker and the main synapse by passing -a with a path to a directory containing worker configs. The "-w" is intended to be used to bounce individual workers proceses. THe "-a" is intended for when you want to restart all the workers simultaneuously, for example when performing database upgrades.
* | 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.
* Fix setting gc thresholds in the workersMark Haines2016-06-172-2/+4
|
* Use worker_ prefixes for worker config, use existing support for multiple ↵Mark Haines2016-06-162-34/+24
| | | | config files
* Access the event_cache_size directly from the server object.Mark Haines2016-06-162-6/+6
| | | | | This means that the workers can override the event_cache_size directly without clobbering the value in the main synapse config.
* Access replication_url from the worker config directlyMark Haines2016-06-162-4/+6
|
* Inline the synchrotron and pusher configs into the main configMark Haines2016-06-162-228/+80
|
* 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
* Add gc_threshold to pusher and synchrotronErik Johnston2016-06-072-0/+28
|
* Allow setting of gc.set_thresholdsErik Johnston2016-06-073-5/+20
|
* Merge pull request #845 from matrix-org/markjh/synchrotron_presenceMark Haines2016-06-061-1/+4
|\ | | | | Fix a KeyError in the synchrotron presence
| * Fix a KeyError in the synchrotron presenceMark Haines2016-06-061-1/+4
| |
* | Yield on the sleeps intended to backoff replicationMark Haines2016-06-062-2/+2
|/
* Fix spellingMark Haines2016-06-031-1/+1
|
* Add get_presence_list_accepted to the broken caches in synchrotronMark Haines2016-06-031-4/+9
|
* Clear the list of ongoing syncs on shutdownMark Haines2016-06-031-0/+9
|
* Appease flake8Mark Haines2016-06-031-1/+1
|
* Use ClientIpStore to record client ipsMark Haines2016-06-031-3/+4
|
* Send updates to the syncing users every ten seconds or immediately if ↵Mark Haines2016-06-031-10/+43
| | | | they've just come online
* Add a separate process that can handle /sync requestsMark Haines2016-06-031-0/+467
|
* Working unsubscribe links going straight to the HSDavid Baker2016-06-021-1/+22
| | | | and authed by macaroons that let you delete pushers and nothing else
* os.environ requires a stringErik Johnston2016-05-161-1/+1
|
* Make synctl read a cache factor from config fileErik Johnston2016-05-161-0/+4
|
* Manually expire broken caches like the who_forgot_in_roomMark Haines2016-05-131-0/+16
|
* Use the SlavedAccountDataStoreMark Haines2016-05-131-10/+3
|
* Shift some of the state_group methods into the SlavedEventStoreMark Haines2016-05-131-45/+0
|
* Make email notifs work on the pusher synapseDavid Baker2016-05-131-0/+47
| | | | Plus general bugfix to email notif code
* Pass through _get_state_group_for_eventsDavid Baker2016-05-101-0/+4
|
* StateStore, not EventsStoreDavid Baker2016-05-101-2/+2
|
* Cached functions must be accessed through the dictDavid Baker2016-05-101-1/+2
|
* Pass though _get_state_group_for_eventsDavid Baker2016-05-101-0/+4
|
* Pass through get_state_groupsDavid Baker2016-05-101-0/+4
|
* Also pass through get_profile_displaynameDavid Baker2016-05-101-0/+4
|
* Add date header & message idDavid Baker2016-05-041-1/+2
|
* Add db functions used for email to the pusher appDavid Baker2016-05-041-0/+12
|
* Actually start the pusher daemonMark Haines2016-04-261-0/+2
|
* Fix typo in default pusher configMark Haines2016-04-261-1/+1
|
* Add a log context to the daemonized pusherMark Haines2016-04-261-1/+6
|
* Optionally daemonize the pusherMark Haines2016-04-261-4/+31
|
* Add a couple of update methods to the PusherSlaveStoreMark Haines2016-04-261-0/+8
|
* Remove the uncomments from the commentsMark Haines2016-04-251-2/+2
|
* Add a metrics listener and a ssh listener to the pusherMark Haines2016-04-251-2/+67
|
* 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
|/
* Optionally split out the pushers into a separate processMark Haines2016-04-211-0/+208
|
* 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-072-4/+4
|
* 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-022-27/+30
|
* 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-073-3/+3
| |
* | 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
|
* Don't change cwd in synctlErik Johnston2015-10-011-2/+2
|
* Merge pull request #288 from matrix-org/markjh/unused_definitionsMark Haines2015-09-281-6/+1
|\ | | | | Remove some of the unused definitions from synapse
| * 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
| |
* | Fix restartDaniel Wagner-Hall2015-09-241-2/+2
| |
* | Allow config file path to be configurable in in synctlDaniel Wagner-Hall2015-09-241-24/+26
|/ | | | Also, allow it to be run from directories other than the synapse directory
* Catch stats-reporting errorsDaniel Wagner-Hall2015-09-221-4/+7
|
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-222-3/+44
| | | | | | | | | | 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
|
* Don't read from the config file before checking it existsMark Haines2015-05-061-9/+10
|
* missing importMark Haines2015-04-301-0/+2
|
* read the pid_file from the config file in synctlMark Haines2015-04-301-2/+3
|
* 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
| |