Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Review comments | Neil Johnson | 2018-04-05 | 1 | -1/+1 |
| | | | | | Use iteritems over item to loop over dict formatting | ||||
* | Support multi client R30 for psql | Neil Johnson | 2018-03-28 | 1 | -1/+3 |
| | |||||
* | rename stat to future proof | Neil Johnson | 2018-03-28 | 1 | -1/+1 |
| | |||||
* | query and call for r30 stats | Neil Johnson | 2018-03-28 | 1 | -0/+2 |
| | |||||
* | 404 correctly on missing paths via NoResource | Matthew Hodgson | 2018-03-23 | 11 | -22/+22 |
| | | | | fixes https://github.com/matrix-org/synapse/issues/2043 and https://github.com/matrix-org/synapse/issues/2029 | ||||
* | Register membership/state servlets in event_creator | Erik Johnston | 2018-03-14 | 1 | -1/+13 |
| | |||||
* | Merge pull request #2978 from matrix-org/erikj/refactor_replication_layer | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
|\ | | | | | Remove ReplicationLayer and user Client/Server directly | ||||
| * | s/replication_client/federation_client/ | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | | |||||
* | | Don't build handlers on workers unnecessarily | Erik Johnston | 2018-03-13 | 5 | -5/+0 |
|/ | |||||
* | Split replication layer into two | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Calculate push actions on worker | Erik Johnston | 2018-02-28 | 1 | -0/+8 |
| | |||||
* | Move storage functions for push calculations | Erik Johnston | 2018-02-27 | 2 | -11/+2 |
| | | | | This will allow push actions for an event to be calculated on workers. | ||||
* | Add event_creator worker | Erik Johnston | 2018-02-07 | 1 | -0/+170 |
| | |||||
* | Add replication http endpoint for event sending | Erik Johnston | 2018-02-07 | 1 | -0/+4 |
| | |||||
* | Factor out get_db_conn to HomeServer base class | Richard van der Hoff | 2018-01-26 | 10 | -130/+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) | ||||
* | Actually make it work | Erik Johnston | 2018-01-12 | 1 | -2/+10 |
| | |||||
* | Refactor | Erik Johnston | 2018-01-12 | 1 | -9/+4 |
| | |||||
* | When using synctl with workers, don't start the main synapse automatically | Erik Johnston | 2018-01-11 | 1 | -8/+26 |
| | |||||
* | Implement listen_tcp method in remaining workers | Silke | 2017-12-18 | 10 | -192/+155 |
| | | | | Signed-off-by: Silke <silke@slxh.eu> | ||||
* | Remove logger argument and do not catch replication listener | Silke | 2017-12-18 | 2 | -24/+18 |
| | | | | Signed-off-by: Silke <silke@slxh.eu> | ||||
* | Add methods for listening on multiple addresses | Silke Hofstra | 2017-12-17 | 2 | -51/+90 |
| | | | | | | | 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.0 | Silke Hofstra | 2017-12-17 | 1 | -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 a comment which might save some confusion | Richard van der Hoff | 2017-11-24 | 1 | -0/+1 |
| | |||||
* | Remove dead sync_callback | Richard van der Hoff | 2017-11-24 | 1 | -2/+0 |
| | | | | This is never used; let's remove it to stop confusing things. | ||||
* | Add config option to disable media_repo on main synapse | Richard van der Hoff | 2017-11-22 | 2 | -8/+20 |
| | | | | ... to stop us doing the cache cleanup jobs on the master. | ||||
* | Build MediaRepositoryResource as a homeserver dependency | Richard van der Hoff | 2017-11-22 | 2 | -4/+2 |
| | | | | | | 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_endpoints | David Baker | 2017-11-02 | 1 | -0/+12 |
|\ | | | | | Add a hook for custom rest endpoints | ||||
| * | Add a hook for custom rest endpoints | Richard van der Hoff | 2017-11-02 | 1 | -0/+12 |
| | | | | | | | | | | Let the user specify custom modules which can be used for implementing extra endpoints. | ||||
* | | Factor out _configure_named_resource | Richard van der Hoff | 2017-11-02 | 1 | -46/+64 |
|/ | | | | This was a bit of a code vomit, so let's factor it out to preserve some sanity | ||||
* | Merge pull request #2586 from matrix-org/rav/frontend_proxy_auth_header | Richard van der Hoff | 2017-10-27 | 1 | -0/+7 |
|\ | | | | | Front-end proxy: pass through auth header | ||||
| * | Front-end proxy: pass through auth header | Richard van der Hoff | 2017-10-26 | 1 | -0/+7 |
| | | | | | | | | So that access-token-in-an-auth-header works. | ||||
* | | Support /keys/upload on /r0 as well as /unstable | Richard van der Hoff | 2017-10-26 | 1 | -2/+1 |
|/ | | | | (So that we can stop riot relying on it in /unstable) | ||||
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -1/+1 |
| | | | | what could possibly go wrong | ||||
* | Merge pull request #2466 from matrix-org/erikj/groups_merged | Erik Johnston | 2017-10-11 | 1 | -0/+6 |
|\ | | | | | Initial Group Implementation | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/groups_merged | Erik Johnston | 2017-09-19 | 11 | -465/+257 |
| |\ | |||||
| * | | Fix replication. And notify | Erik Johnston | 2017-07-20 | 1 | -0/+6 |
| | | | |||||
* | | | Make 'affinity' package optional | Erik Johnston | 2017-10-02 | 1 | -1/+14 |
| | | | |||||
* | | | Move quit_with_error | Erik Johnston | 2017-10-02 | 2 | -10/+11 |
| |/ |/| | |||||
* | | Fix user_dir startup | Richard van der Hoff | 2017-08-16 | 1 | -1/+1 |
| | | | | | | | | Add missing parameter to _base.start_worker_reactor | ||||
* | | Allow configuration of CPU affinity | Richard van der Hoff | 2017-08-15 | 2 | -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 start | Richard van der Hoff | 2017-08-15 | 11 | -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 proxy | Erik Johnston | 2017-07-07 | 1 | -0/+4 |
| | |||||
* | Add a frontend proxy | Erik Johnston | 2017-07-07 | 1 | -0/+267 |
| | |||||
* | Make workers report to master for user ip updates | Erik Johnston | 2017-06-27 | 4 | -8/+8 |
| | |||||
* | Fix for workers | Erik Johnston | 2017-06-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2286 from matrix-org/erikj/split_out_user_dir | Erik Johnston | 2017-06-16 | 2 | -1/+271 |
|\ | | | | | Split out user directory to a separate process | ||||
| * | Initial worker impl | Erik Johnston | 2017-06-16 | 2 | -1/+271 |
| | | |||||
* | | Typo | Erik Johnston | 2017-06-15 | 1 | -1/+3 |
| | | |||||
* | | Add some more stats | Erik Johnston | 2017-06-15 | 1 | -0/+7 |
| | | |||||
* | | Fix phone home stats | Erik Johnston | 2017-06-14 | 1 | -36/+13 |
|/ | |||||
* | Merge pull request #2127 from APwhitehat/alreadystarted | Erik Johnston | 2017-04-27 | 1 | -0/+3 |
|\ | | | | | print something legible if synapse already running | ||||
| * | synctl.py: Check if synapse is already running | Anant Prakash | 2017-04-13 | 1 | -0/+3 |
| | | |||||
* | | Queried CONDITIONAL_REQUIREMENTS | Matthew Wolff | 2017-04-18 | 1 | -2/+5 |
| | | |||||
* | | Fixed travis build failure | Matthew Wolff | 2017-04-17 | 1 | -3/+1 |
| | | | | | | | | Signed-off-by: Matthew Wolff <matthewjwolff@gmail.com> | ||||
* | | web_server_root documentation fix | Matthew Wolff | 2017-04-17 | 1 | -2/+1 |
|/ | | | | Signed-off-by: Matthew Wolff <matthewjwolff@gmail.com> | ||||
* | Merge pull request #2115 from matrix-org/erikj/dedupe_federation_repl | Erik Johnston | 2017-04-12 | 2 | -18/+6 |
|\ | | | | | Reduce federation replication traffic | ||||
| * | Move get_presence_list_* to SlaveStore | Erik Johnston | 2017-04-11 | 2 | -24/+3 |
| | | |||||
| * | Move get_interested_parties | Erik Johnston | 2017-04-11 | 1 | -3/+2 |
| | | |||||
| * | Reduce federation presence replication traffic | Erik Johnston | 2017-04-10 | 2 | -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 APIs | Erik Johnston | 2017-04-11 | 1 | -4/+0 |
|/ | |||||
* | Fix up federation SendQueue and document types | Erik Johnston | 2017-04-07 | 1 | -65/+1 |
| | |||||
* | Merge pull request #2107 from HarHarLinks/patch-1 | Erik Johnston | 2017-04-07 | 1 | -1/+1 |
|\ | | | | | fix typo in synctl help | ||||
| * | fix typo in synctl help | Kim Brose | 2017-04-06 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2103 from matrix-org/erikj/no-double-encode | Erik Johnston | 2017-04-07 | 2 | -6/+2 |
|\ \ | | | | | | | Don't double encode replication data | ||||
| * | | Don't double json encode typing replication data | Erik Johnston | 2017-04-05 | 1 | -3/+1 |
| | | | |||||
| * | | Don't double json encode federation replication data | Erik Johnston | 2017-04-05 | 1 | -3/+1 |
| | | | |||||
* | | | Comment | Erik Johnston | 2017-04-06 | 1 | -1/+1 |
| | | | |||||
* | | | Docs | Erik Johnston | 2017-04-06 | 1 | -0/+7 |
| | | | |||||
* | | | Don't immediately notify the master about users whose syncs have gone away | Erik Johnston | 2017-04-05 | 1 | -4/+36 |
|/ / | |||||
* | | Merge pull request #2097 from matrix-org/erikj/repl_tcp_client | Erik Johnston | 2017-04-05 | 7 | -402/+271 |
|\ \ | | | | | | | Move to using TCP replication | ||||
| * | | Add comment | Erik Johnston | 2017-04-04 | 1 | -0/+5 |
| | | | |||||
| * | | Add the appropriate amount of preserve_fn | Erik Johnston | 2017-04-04 | 4 | -17/+19 |
| | | | |||||
| * | | Shuffle and comment synchrotron presence | Erik Johnston | 2017-04-04 | 1 | -9/+11 |
| | | | |||||
| * | | Move where we ack federation | Erik Johnston | 2017-04-04 | 1 | -7/+16 |
| | | | |||||
| * | | Update all the workers and master to use TCP replication | Erik Johnston | 2017-04-03 | 7 | -401/+252 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2017-04-04 | 1 | -1/+2 |
|\ \ \ | |/ / |/| | | | | | erikj/repl_tcp_server | ||||
| * | | Merge pull request #2078 from APwhitehat/assertuserfriendly | Erik Johnston | 2017-03-31 | 1 | -1/+2 |
| |\ \ | | | | | | | | | add user friendly report of assertion error in synctl.py | ||||
| | * | | add user friendly report of assertion error in synctl.py | Anant Prakash | 2017-03-29 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | Signed-off-by: Anant Prakash <anantprakashjsr@gmail.com> | ||||
* | | | | Add tcp replication listener type and hook it up | Erik Johnston | 2017-03-30 | 1 | -0/+11 |
|/ / / | |||||
* / / | synctl.py: wait for synapse to stop before restarting (#2020) | Anant Prakash | 2017-03-29 | 1 | -4/+43 |
|/ / | |||||
* | | Add slave transaction store | Erik Johnston | 2017-03-24 | 2 | -0/+4 |
| | | |||||
* | | Merge pull request #2033 from matrix-org/erikj/repl_speed | Erik Johnston | 2017-03-21 | 1 | -4/+8 |
|\ \ | | | | | | | Don't send the full event json over replication | ||||
| * | | PEP8 | Erik Johnston | 2017-03-20 | 1 | -1/+0 |
| | | | |||||
| * | | Don't send the full event json over replication | Erik Johnston | 2017-03-17 | 1 | -3/+8 |
| | | | |||||
* | | | Run the reactor with the sentinel logcontext | Richard van der Hoff | 2017-03-18 | 8 | -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 sets | Erik Johnston | 2017-03-16 | 1 | -2/+1 |
| | | |||||
* | | Refactor logger config for workers | Richard van der Hoff | 2017-03-10 | 8 | -8/+10 |
|/ | | | | - to make it easier to add more config options. | ||||
* | Add db functions needed for room initial sync to slave | Mark Haines | 2017-02-13 | 1 | -0/+4 |
| | |||||
* | Remove debug logging | Erik Johnston | 2017-01-30 | 1 | -1/+0 |
| | |||||
* | Hook device list updates to replication | Erik Johnston | 2017-01-27 | 2 | -2/+28 |
| | |||||
* | Restore default bind address | Erik Johnston | 2017-01-10 | 8 | -80/+16 |
| | |||||
* | Remove spurious for..else.. | Erik Johnston | 2017-01-10 | 1 | -11/+0 |
| | |||||
* | Fix check for bind_address | Johannes Löthberg | 2016-12-20 | 8 | -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 addresses | Johannes Löthberg | 2016-12-18 | 8 | -171/+294 |
| | | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> | ||||
* | Comment | Erik Johnston | 2016-11-23 | 1 | -0/+3 |
| | |||||
* | Explicit federation ack | Erik Johnston | 2016-11-23 | 1 | -1/+4 |
| | |||||
* | Comments | Erik Johnston | 2016-11-21 | 1 | -0/+12 |
| | |||||
* | Store federation stream positions in the database | Erik Johnston | 2016-11-21 | 1 | -16/+22 |
| | |||||
* | Handle sending events and device messages over federation | Erik Johnston | 2016-11-17 | 1 | -13/+18 |
| | |||||
* | Hook up the send queue and create a federation sender worker | Erik Johnston | 2016-11-16 | 1 | -0/+302 |
| | |||||
* | Respect use_frozen_dicts option in workers | Erik Johnston | 2016-11-08 | 6 | -0/+22 |
| | |||||
* | Set up the process collector during metrics __init__; that way all ↵ | Paul "LeoNerd" Evans | 2016-10-27 | 1 | -2/+0 |
| | | | | split-process workers have it | ||||
* | Pass the Metrics group into the process collector instead of having it find ↵ | Paul "LeoNerd" Evans | 2016-10-27 | 1 | -1/+1 |
| | | | | its own one; this avoids it needing to import from synapse.metrics | ||||
* | Move the process metrics collector code into its own file | Paul "LeoNerd" Evans | 2016-10-19 | 1 | -0/+2 |
| | |||||
* | Merge pull request #1162 from larroy/master | Erik Johnston | 2016-10-14 | 1 | -1/+1 |
|\ | | | | | Use sys.executable instead of hardcoded python. fixes #1161 | ||||
| * | Use sys.executable instead of hardcoded python. fixes #1161 | Pedro Larroy | 2016-10-08 | 1 | -1/+1 |
| | | |||||
* | | Reduce DB hits for replication | Erik Johnston | 2016-09-23 | 1 | -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 worker | Erik Johnston | 2016-09-21 | 1 | -0/+6 |
| | |||||
* | fix logger for client_reader worker | Matthew Hodgson | 2016-09-17 | 1 | -1/+1 |
| | |||||
* | Enable state caches on workers | Erik Johnston | 2016-09-15 | 6 | -0/+6 |
| | |||||
* | Split out public room list into a worker process | Erik Johnston | 2016-09-14 | 1 | -0/+215 |
| | |||||
* | Comment | Erik Johnston | 2016-09-09 | 1 | -0/+3 |
| | |||||
* | Fix up the calls to the notifier for device messages | Mark Haines | 2016-09-01 | 1 | -0/+3 |
| | |||||
* | Add new direct message storage functions to slave store | Erik Johnston | 2016-08-30 | 1 | -0/+2 |
| | |||||
* | Update comment | Mark Haines | 2016-08-22 | 1 | -1/+2 |
| | |||||
* | Add usage stats to prometheus monitoring | Mark Haines | 2016-08-22 | 1 | -2/+25 |
| | |||||
* | Remove log lines | Erik Johnston | 2016-08-18 | 1 | -2/+0 |
| | |||||
* | Add appservice worker | Erik Johnston | 2016-08-18 | 1 | -0/+211 |
| | |||||
* | Missed a s/federation reader/media repository/ in a log message | Mark Haines | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | Add a media repository worker | Mark Haines | 2016-08-18 | 1 | -0/+212 |
| | |||||
* | Remove broken cache stuff | Erik Johnston | 2016-08-15 | 2 | -21/+0 |
| | |||||
* | Implement cache replication stream | Erik Johnston | 2016-08-15 | 1 | -13/+0 |
| | |||||
* | Make synchrotron accept /events | Erik Johnston | 2016-08-12 | 1 | -2/+34 |
| | |||||
* | Synced up synchrotron set_state with PresenceHandler set_state | Will Hunt | 2016-08-11 | 1 | -1/+1 |
| | |||||
* | Add federation /version API | Erik Johnston | 2016-08-05 | 4 | -4/+4 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/fed_reader | Erik Johnston | 2016-07-29 | 1 | -5/+3 |
|\ | |||||
| * | Fix flake8 violation | Richard van der Hoff | 2016-07-26 | 1 | -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 store | Erik Johnston | 2016-07-28 | 1 | -0/+2 |
| | | |||||
* | | Add slace storage functions for public room list | Erik Johnston | 2016-07-28 | 1 | -0/+4 |
| | | |||||
* | | Split out a FederationReader process | Erik Johnston | 2016-07-21 | 1 | -0/+200 |
|/ | |||||
* | Add metrics for psutil derived memory usage | Erik Johnston | 2016-07-20 | 1 | -0/+3 |
| | |||||
* | Merge branch 'master' into develop | Mark Haines | 2016-06-23 | 1 | -27/+151 |
|\ | |||||
| * | Optionally start or stop workers in synctl. | Mark Haines | 2016-06-21 | 1 | -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 Haines | 2016-06-21 | 1 | -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 workers | Mark Haines | 2016-06-17 | 2 | -2/+4 |
| | |||||
* | Use worker_ prefixes for worker config, use existing support for multiple ↵ | Mark Haines | 2016-06-16 | 2 | -34/+24 |
| | | | | config files | ||||
* | Access the event_cache_size directly from the server object. | Mark Haines | 2016-06-16 | 2 | -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 directly | Mark Haines | 2016-06-16 | 2 | -4/+6 |
| | |||||
* | Inline the synchrotron and pusher configs into the main config | Mark Haines | 2016-06-16 | 2 | -228/+80 |
| | |||||
* | Add function to load config without generating it | Mark Haines | 2016-06-09 | 1 | -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 synchrotron | Erik Johnston | 2016-06-07 | 2 | -0/+28 |
| | |||||
* | Allow setting of gc.set_thresholds | Erik Johnston | 2016-06-07 | 3 | -5/+20 |
| | |||||
* | Merge pull request #845 from matrix-org/markjh/synchrotron_presence | Mark Haines | 2016-06-06 | 1 | -1/+4 |
|\ | | | | | Fix a KeyError in the synchrotron presence | ||||
| * | Fix a KeyError in the synchrotron presence | Mark Haines | 2016-06-06 | 1 | -1/+4 |
| | | |||||
* | | Yield on the sleeps intended to backoff replication | Mark Haines | 2016-06-06 | 2 | -2/+2 |
|/ | |||||
* | Fix spelling | Mark Haines | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Add get_presence_list_accepted to the broken caches in synchrotron | Mark Haines | 2016-06-03 | 1 | -4/+9 |
| | |||||
* | Clear the list of ongoing syncs on shutdown | Mark Haines | 2016-06-03 | 1 | -0/+9 |
| | |||||
* | Appease flake8 | Mark Haines | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Use ClientIpStore to record client ips | Mark Haines | 2016-06-03 | 1 | -3/+4 |
| | |||||
* | Send updates to the syncing users every ten seconds or immediately if ↵ | Mark Haines | 2016-06-03 | 1 | -10/+43 |
| | | | | they've just come online | ||||
* | Add a separate process that can handle /sync requests | Mark Haines | 2016-06-03 | 1 | -0/+467 |
| | |||||
* | Working unsubscribe links going straight to the HS | David Baker | 2016-06-02 | 1 | -1/+22 |
| | | | | and authed by macaroons that let you delete pushers and nothing else | ||||
* | os.environ requires a string | Erik Johnston | 2016-05-16 | 1 | -1/+1 |
| | |||||
* | Make synctl read a cache factor from config file | Erik Johnston | 2016-05-16 | 1 | -0/+4 |
| | |||||
* | Manually expire broken caches like the who_forgot_in_room | Mark Haines | 2016-05-13 | 1 | -0/+16 |
| | |||||
* | Use the SlavedAccountDataStore | Mark Haines | 2016-05-13 | 1 | -10/+3 |
| | |||||
* | Shift some of the state_group methods into the SlavedEventStore | Mark Haines | 2016-05-13 | 1 | -45/+0 |
| | |||||
* | Make email notifs work on the pusher synapse | David Baker | 2016-05-13 | 1 | -0/+47 |
| | | | | Plus general bugfix to email notif code | ||||
* | Pass through _get_state_group_for_events | David Baker | 2016-05-10 | 1 | -0/+4 |
| | |||||
* | StateStore, not EventsStore | David Baker | 2016-05-10 | 1 | -2/+2 |
| | |||||
* | Cached functions must be accessed through the dict | David Baker | 2016-05-10 | 1 | -1/+2 |
| | |||||
* | Pass though _get_state_group_for_events | David Baker | 2016-05-10 | 1 | -0/+4 |
| | |||||
* | Pass through get_state_groups | David Baker | 2016-05-10 | 1 | -0/+4 |
| | |||||
* | Also pass through get_profile_displayname | David Baker | 2016-05-10 | 1 | -0/+4 |
| | |||||
* | Add date header & message id | David Baker | 2016-05-04 | 1 | -1/+2 |
| | |||||
* | Add db functions used for email to the pusher app | David Baker | 2016-05-04 | 1 | -0/+12 |
| | |||||
* | Actually start the pusher daemon | Mark Haines | 2016-04-26 | 1 | -0/+2 |
| | |||||
* | Fix typo in default pusher config | Mark Haines | 2016-04-26 | 1 | -1/+1 |
| | |||||
* | Add a log context to the daemonized pusher | Mark Haines | 2016-04-26 | 1 | -1/+6 |
| | |||||
* | Optionally daemonize the pusher | Mark Haines | 2016-04-26 | 1 | -4/+31 |
| | |||||
* | Add a couple of update methods to the PusherSlaveStore | Mark Haines | 2016-04-26 | 1 | -0/+8 |
| | |||||
* | Remove the uncomments from the comments | Mark Haines | 2016-04-25 | 1 | -2/+2 |
| | |||||
* | Add a metrics listener and a ssh listener to the pusher | Mark Haines | 2016-04-25 | 1 | -2/+67 |
| | |||||
* | Move the listenTCP call outside the manhole function | Mark Haines | 2016-04-25 | 1 | -7/+9 |
| | |||||
* | Split out setting up the manhole to a separate file | Mark Haines | 2016-04-22 | 1 | -26/+7 |
| | |||||
* | Merge branch 'develop' into markjh/split_out_site.py | Mark Haines | 2016-04-22 | 1 | -82/+7 |
|\ | | | | | | | | | Conflicts: synapse/app/homeserver.py | ||||
| * | Split out create_resource_tree to a separate file | Mark Haines | 2016-04-22 | 1 | -82/+7 |
| | | |||||
* | | Move SynapseSite to its own file | Mark Haines | 2016-04-22 | 1 | -130/+3 |
|/ | |||||
* | Optionally split out the pushers into a separate process | Mark Haines | 2016-04-21 | 1 | -0/+208 |
| | |||||
* | Move the versionstring code out of app.homeserver into util | Mark Haines | 2016-04-11 | 1 | -83/+4 |
| | |||||
* | Don't require config to create database | Erik Johnston | 2016-04-06 | 1 | -6/+9 |
| | |||||
* | Use syntax that works on both py2.7 and py3 | Mark Haines | 2016-03-07 | 2 | -4/+4 |
| | |||||
* | Merge pull request #571 from matrix-org/daniel/asids | Daniel Wagner-Hall | 2016-03-03 | 1 | -1/+1 |
|\ | | | | | Mark AS users with their AS's ID | ||||
| * | Mark AS users with their AS's ID | Daniel Wagner-Hall | 2016-02-11 | 1 | -1/+1 |
| | | |||||
* | | Add a /replication API for extracting the updates that happened on | Mark Haines | 2016-03-01 | 1 | -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 logcontexts | Erik Johnston | 2016-02-08 | 1 | -0/+2 |
| | |||||
* | Host /media/r0 as well as /media/v1 | Daniel Wagner-Hall | 2016-02-05 | 1 | -2/+4 |
| | |||||
* | Error if macaroon key is missing from config | Daniel Wagner-Hall | 2016-02-05 | 1 | -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_rooms | Erik Johnston | 2016-02-03 | 1 | -2/+2 |
| | |||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 2 | -27/+30 |
| | |||||
* | Merge pull request #534 from matrix-org/erikj/setup | Erik Johnston | 2016-01-28 | 1 | -12/+22 |
|\ | | | | | Add a Homeserver.setup method | ||||
| * | Clean up a bit. Add comment | Erik Johnston | 2016-01-28 | 1 | -6/+7 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/setup | Erik Johnston | 2016-01-27 | 1 | -1/+1 |
| |\ | |||||
| * | | Add a Homeserver.setup method. | Erik Johnston | 2016-01-26 | 1 | -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 chdir | Erik Johnston | 2016-01-28 | 1 | -1/+0 |
| |/ |/| | |||||
* | | Don't turn on profiling | Erik Johnston | 2016-01-26 | 1 | -1/+1 |
|/ | |||||
* | Remove redundated BaseHomeServer | Erik Johnston | 2016-01-26 | 1 | -89/+48 |
| | |||||
* | Use compiled regex | Erik Johnston | 2016-01-13 | 1 | -2/+4 |
| | |||||
* | Don't log urlencoded access_tokens | Erik Johnston | 2016-01-08 | 1 | -2/+2 |
| | |||||
* | Turn on core dumps | Erik Johnston | 2016-01-07 | 1 | -2/+5 |
| | |||||
* | Merge pull request #473 from matrix-org/erikj/ssh_manhole | Erik Johnston | 2016-01-07 | 1 | -5/+21 |
|\ | | | | | Change manhole to use ssh | ||||
| * | Change manhole to use ssh | Erik Johnston | 2016-01-07 | 1 | -5/+21 |
| | | |||||
* | | copyrights | Matthew Hodgson | 2016-01-07 | 3 | -3/+3 |
| | | |||||
* | | Add /_matrix/versions to report supported versions | Daniel Wagner-Hall | 2016-01-06 | 1 | -0/+1 |
| | | |||||
* | | Log when starting stats reporting | Daniel Wagner-Hall | 2016-01-06 | 1 | -0/+1 |
| | | |||||
* | | Log on stats scheduling | Daniel Wagner-Hall | 2016-01-06 | 1 | -0/+1 |
|/ | |||||
* | Actually host r0 and unstable prefixes | Daniel Wagner-Hall | 2015-12-08 | 1 | -16/+12 |
| | |||||
* | Track the time spent in the database per request. | Mark Haines | 2015-12-07 | 1 | -1/+6 |
| | | | | and track the number of transactions that request started. | ||||
* | Fix warnings | Mark Haines | 2015-12-04 | 1 | -1/+11 |
| | |||||
* | Run the background updates when starting synapse. | Mark Haines | 2015-11-10 | 1 | -0/+1 |
| | |||||
* | Move static folder into synapse | Erik Johnston | 2015-10-26 | 1 | -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 Haines | 2015-10-13 | 1 | -3/+0 |
| | | | | set in the config | ||||
* | Bounce all deferreds through the reactor to make debugging easier. | Mark Haines | 2015-10-13 | 1 | -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_database | Erik Johnston | 2015-10-13 | 1 | -1/+1 |
| | |||||
* | Expose error more nicely | Erik Johnston | 2015-10-13 | 1 | -3/+2 |
| | |||||
* | Don't change cwd in synctl | Erik Johnston | 2015-10-01 | 1 | -2/+2 |
| | |||||
* | Merge pull request #288 from matrix-org/markjh/unused_definitions | Mark Haines | 2015-09-28 | 1 | -6/+1 |
|\ | | | | | Remove some of the unused definitions from synapse | ||||
| * | Note that GzipFile was removed in comment that referenced it | Mark Haines | 2015-09-22 | 1 | -0/+1 |
| | | |||||
| * | synapse/app/homeserver.py:GzipFile was unused | Mark Haines | 2015-09-22 | 1 | -6/+0 |
| | | |||||
* | | Fix restart | Daniel Wagner-Hall | 2015-09-24 | 1 | -2/+2 |
| | | |||||
* | | Allow config file path to be configurable in in synctl | Daniel Wagner-Hall | 2015-09-24 | 1 | -24/+26 |
|/ | | | | Also, allow it to be run from directories other than the synapse directory | ||||
* | Catch stats-reporting errors | Daniel Wagner-Hall | 2015-09-22 | 1 | -4/+7 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 2 | -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_requirements | Mark Haines | 2015-09-18 | 1 | -2/+15 |
|\ | | | | | Print an example "pip install" line for a missing requirement | ||||
| * | Print an example "pip install" line for a missing requirement | Mark Haines | 2015-09-01 | 1 | -2/+15 |
| | | |||||
* | | Merge branch 'daniel/insecureclient' into develop | Daniel Wagner-Hall | 2015-09-09 | 1 | -4/+3 |
|\ \ | |||||
| * | | Fix random formatting | Daniel Wagner-Hall | 2015-09-09 | 1 | -1/+0 |
| | | | |||||
| * | | Allow configuration to ignore invalid SSL certs | Daniel Wagner-Hall | 2015-09-09 | 1 | -4/+4 |
| |/ | | | | | | | | | This will be useful for sytest, and sytest only, hence the aggressive config key name. | ||||
* | | Merge branch 'master' into develop | Mark Haines | 2015-09-07 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | Conflicts: setup.py | ||||
| * | Change log level to info | Erik Johnston | 2015-09-03 | 1 | -1/+1 |
| | | |||||
* | | don't log the whole DB config (including postgres password...) | Matthew Hodgson | 2015-08-29 | 1 | -2/+2 |
|/ | |||||
* | Print the correct pip install line when failing due to lack of ↵ | Erik Johnston | 2015-08-25 | 1 | -3/+4 |
| | | | | matrix-angular-sdk | ||||
* | Update the log message | Erik Johnston | 2015-08-25 | 1 | -5/+10 |
| | |||||
* | Remove dependency on matrix-angular-sdk | Erik Johnston | 2015-08-25 | 1 | -1/+8 |
| | |||||
* | Allow specifying a directory to host a web client from | Erik Johnston | 2015-08-25 | 1 | -3/+5 |
| | |||||
* | Only print the pidfile path on startup if requested by a commandline flag | Paul "LeoNerd" Evans | 2015-08-07 | 1 | -1/+2 |
| | |||||
* | Merge pull request #187 from matrix-org/erikj/sanitize_logging | Erik Johnston | 2015-06-19 | 1 | -15/+88 |
|\ | | | | | Sanitize logging | ||||
| * | Add site_tag to logger | Erik Johnston | 2015-06-19 | 1 | -2/+2 |
| | | |||||
| * | Disable twisted access logging. Move access logging to SynapseRequest object | Erik Johnston | 2015-06-15 | 1 | -17/+47 |
| | | |||||
| * | Log more when we have processed the request | Erik Johnston | 2015-06-15 | 1 | -2/+8 |
| | | |||||
| * | Create SynapseRequest that overrides __repr__ to not print access_token | Erik Johnston | 2015-06-15 | 1 | -6/+43 |
| | | |||||
* | | Make upload dir a configurable path. | Eric Myhre | 2015-06-18 | 1 | -2/+1 |
|/ | | | | | | Fixes SYN-425. Signed-off-by: Eric Myhre <hash@exultant.us> | ||||
* | Add backwards compat support for metrics, manhole and webclient config options | Erik Johnston | 2015-06-12 | 1 | -7/+0 |
| | |||||
* | PEP8 | Erik Johnston | 2015-06-12 | 1 | -3/+3 |
| | |||||
* | Correctly handle x_forwaded listener option | Erik Johnston | 2015-06-12 | 1 | -4/+27 |
| | |||||
* | Use config.listeners | Erik Johnston | 2015-06-12 | 1 | -66/+84 |
| | |||||
* | Fix up create_resource_tree | Erik Johnston | 2015-06-12 | 1 | -104/+100 |
| | |||||
* | Add config option to disable compression of http responses | Erik Johnston | 2015-06-01 | 1 | -2/+8 |
| | |||||
* | Add config option to turn off freezing events. Use new encode_json api and ↵ | Erik Johnston | 2015-05-29 | 1 | -0/+4 |
| | | | | ujson.loads |