Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move creation of ArgumentParser to caller | Erik Johnston | 2019-07-15 | 2 | -11/+8 |
| | |||||
* | Fix up comments | Erik Johnston | 2019-07-15 | 2 | -3/+3 |
| | |||||
* | Change add_arguments to be a static method | Erik Johnston | 2019-07-15 | 5 | -5/+39 |
| | |||||
* | Newsfile | Erik Johnston | 2019-07-02 | 1 | -0/+1 |
| | |||||
* | Add basic admin cmd app | Erik Johnston | 2019-07-02 | 3 | -6/+257 |
| | |||||
* | Newsfile | Erik Johnston | 2019-07-02 | 1 | -0/+1 |
| | |||||
* | Add basic function to get all data for a user out of synapse | Erik Johnston | 2019-07-02 | 4 | -1/+478 |
| | |||||
* | fix async/await consentresource (#5585) | Amber Brown | 2019-07-01 | 2 | -1/+4 |
| | | | Fixes #5582 | ||||
* | Merge pull request #5507 from matrix-org/erikj/presence_sync_tighloop | Erik Johnston | 2019-07-01 | 2 | -2/+20 |
|\ | | | | | Fix sync tightloop bug. | ||||
| * | Fixup comment | Erik Johnston | 2019-07-01 | 1 | -6/+13 |
| | | |||||
| * | Newsfile | Erik Johnston | 2019-06-21 | 1 | -0/+1 |
| | | |||||
| * | Fix sync tightloop bug. | Erik Johnston | 2019-06-21 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | If, for some reason, presence updates take a while to persist then it can trigger clients to tightloop calling `/sync` due to the presence handler returning updates but not advancing the stream token. Fixes #5503. | ||||
* | | Make the http server handle coroutine-making REST servlets (#5475) | Amber Brown | 2019-06-29 | 12 | -174/+162 |
| | | |||||
* | | Merge pull request #5576 from matrix-org/babolivier/3pid-invite-ratelimit | Brendan Abolivier | 2019-06-28 | 2 | -0/+2 |
|\ \ | | | | | | | Don't update the ratelimiter before sending a 3PID invite | ||||
| * | | Only ratelimit when sending the email | Brendan Abolivier | 2019-06-28 | 1 | -1/+2 |
| | | | | | | | | | | | | If we do the opposite, an event can arrive after or while sending the email and the 3PID invite event will get ratelimited. | ||||
| * | | Changelog | Brendan Abolivier | 2019-06-28 | 1 | -0/+1 |
| | | | |||||
| * | | Don't update the ratelimiter before sending a 3PID invite | Brendan Abolivier | 2019-06-28 | 1 | -1/+1 |
| | | | | | | | | | | | | This would cause emails being sent, but Synapse responding with a 429 when creating the event. The client would then retry, and with bad timing the same scenario would happen again. Some testing I did ended up sending me 10 emails for one single invite because of this. | ||||
* | | | Don't log GC 0s at INFO (#5557) | Amber Brown | 2019-06-28 | 2 | -1/+5 |
| | | | |||||
* | | | Update the TLS cipher string and provide configurability for TLS on outgoing ↵ | Amber Brown | 2019-06-28 | 7 | -9/+190 |
| | | | | | | | | | | | | federation (#5550) | ||||
* | | | Added possibilty to disable local password authentication (#5092) | Daniel Hoffend | 2019-06-27 | 5 | -1/+18 |
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Hoffend <dh@dotlan.net> | ||||
* | | | Include systemd-python in Debian package to allow logging to journal (#5261) | Silke Hofstra | 2019-06-27 | 2 | -1/+8 |
| | | | | | | | | | Signed-off-by: Silke Hofstra <silke@slxh.eu> | ||||
* | | | Make it clearer that the template dir is relative to synapse's root dir (#5543) | Andrew Morgan | 2019-06-27 | 3 | -2/+19 |
| | | | | | | | | | Helps address #5444 | ||||
* | | | Merge pull request #5559 from matrix-org/erikj/refactor_changed_devices | Erik Johnston | 2019-06-27 | 4 | -37/+98 |
|\ \ \ | |/ / |/| | | Refactor devices changed query to pull less from DB | ||||
| * | | Review comments | Erik Johnston | 2019-06-27 | 2 | -7/+5 |
| | | | |||||
| * | | Move changelog | Erik Johnston | 2019-06-26 | 1 | -0/+0 |
| | | | |||||
| * | | Refactor and comment sync device list code | Erik Johnston | 2019-06-26 | 1 | -17/+53 |
| | | | |||||
| * | | Use batch_iter and correct docstring | Erik Johnston | 2019-06-26 | 1 | -15/+12 |
| | | | |||||
| * | | Rename get_users_whose_devices_changed | Erik Johnston | 2019-06-26 | 3 | -5/+5 |
| | | | |||||
| * | | Newsfile | Erik Johnston | 2019-06-26 | 1 | -0/+1 |
| | | | |||||
| * | | Refactor get_user_ids_changed to pull less from DB | Erik Johnston | 2019-06-26 | 3 | -28/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a client asks for users whose devices have changed since a token we used to pull *all* users from the database since the token, which could easily be thousands of rows for old tokens. This PR changes this to only check for changes for users the client is actually interested in. Fixes #5553 | ||||
* | | | Docker image: Add a migrate_config mode (#5567) | Richard van der Hoff | 2019-06-27 | 4 | -17/+58 |
| | | | | | | | | | ... to help people escape env var hell | ||||
* | | | Docker image: open the non-TLS port by default. (#5568) | Richard van der Hoff | 2019-06-27 | 2 | -0/+2 |
| | | | | | | | | | There's not much point in binding to localhost when it's in a docker container. | ||||
* | | | Deprecate the env var way of running the docker image (#5566) | Richard van der Hoff | 2019-06-27 | 4 | -154/+99 |
| | | | | | | | | | | | | | | | This is mostly a documentation change, but also adds a default value for SYNAPSE_CONFIG_PATH, so that running from the generated config is the default, and will Just Work provided your config is in the right place. | ||||
* | | | Fix JWT login (#5555) | PauRE | 2019-06-27 | 3 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix JWT login with register Signed-off-by: Pau Rodriguez-Estivill <prodrigestivill@gmail.com> * Add pyjwt conditional dependency Signed-off-by: Pau Rodriguez-Estivill <prodrigestivill@gmail.com> * Added changelog file Signed-off-by: Pau Rodriguez-Estivill <prodrigestivill@gmail.com> * Improved changelog description Signed-off-by: Pau Rodriguez-Estivill <prodrigestivill@gmail.com> | ||||
* | | | Merge pull request #5565 from matrix-org/rav/docker/fix_log_config | Richard van der Hoff | 2019-06-27 | 3 | -1/+14 |
|\ \ \ | | | | | | | | | Docker: generate our own log config | ||||
| * | | | changelog | Richard van der Hoff | 2019-06-26 | 1 | -0/+1 |
| | | | | |||||
| * | | | Docker: generate our own log config | Richard van der Hoff | 2019-06-26 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | When running under docker, we want to use docker's own logging stuff rather than losing the logs somewhere on the container's filesystem, so let's use log configs that spit logs out to stdout instead. | ||||
| * | | | Add support for SYNAPSE_CONFIG_DIR | Richard van der Hoff | 2019-06-26 | 2 | -0/+5 |
| | | | | |||||
* | | | | Reduce the amount of stuff we send in the docker context (#5564) | Richard van der Hoff | 2019-06-27 | 2 | -9/+14 |
| | | | | | | | | | | | | this makes docker builds a bit faster. | ||||
* | | | | Merge pull request #5563 from matrix-org/rav/docker/data_dir | Richard van der Hoff | 2019-06-27 | 3 | -4/+25 |
|\| | | | | | | | | | | | Docker image: add support for SYNAPSE_DATA_DIR parameter | ||||
| * | | | changelog | Richard van der Hoff | 2019-06-26 | 1 | -0/+1 |
| | | | | |||||
| * | | | Docker image: add support for SYNAPSE_DATA_DIR parameter | Richard van der Hoff | 2019-06-26 | 2 | -4/+17 |
| | | | | | | | | | | | | | | | | Fixes #4830. | ||||
| * | | | document supported env vars for docker 'generate' option | Richard van der Hoff | 2019-06-26 | 1 | -0/+7 |
| | | | | |||||
* | | | | Merge pull request #5562 from matrix-org/rav/docker/no-generate-keys | Richard van der Hoff | 2019-06-27 | 2 | -8/+24 |
|\ \ \ \ | | | | | | | | | | | Docker: only run --generate-keys when generating config on-the-fly. | ||||
| * | | | | changelog | Richard van der Hoff | 2019-06-26 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Docker: only run --generate-keys when generating config on-the-fly. | Richard van der Hoff | 2019-06-26 | 1 | -7/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't want to generate any missing configs when running from a precanned config. (There's a strong argument that we don't want to do this at all, since generating a new signing key on each invocation sounds disasterous, but I don't fancy unpicking that for now.) | ||||
| * | | | | improve logging for generate_config_from_template | Richard van der Hoff | 2019-06-26 | 1 | -1/+2 |
| |/ / / | |||||
* | | | | Merge pull request #5561 from matrix-org/rav/docker/refactor | Richard van der Hoff | 2019-06-27 | 2 | -62/+118 |
|\| | | | | | | | | | | | Refactor the docker/start.py script | ||||
| * | | | changelog | Richard van der Hoff | 2019-06-26 | 1 | -0/+1 |
| | | | | |||||
| * | | | isort | Richard van der Hoff | 2019-06-25 | 1 | -4/+5 |
| | | | | |||||
| * | | | Add a main() function | Richard van der Hoff | 2019-06-25 | 1 | -8/+11 |
| | | | | |||||
| * | | | Factor out a run_generate_config function | Richard van der Hoff | 2019-06-25 | 1 | -17/+28 |
| | | | | |||||
| * | | | Factor out "generate_config_from_template" | Richard van der Hoff | 2019-06-25 | 1 | -41/+81 |
| | | | | | | | | | | | | | | | | ... and inline generate_secrets | ||||
* | | | | Merge pull request #5570 from almereyda/patch-2 | Richard van der Hoff | 2019-06-27 | 2 | -2/+3 |
|\ \ \ \ | | | | | | | | | | | Update purge_api README | ||||
| * | | | | fix changelog | Richard van der Hoff | 2019-06-27 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Create 5570.misc | jon r | 2019-06-27 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | Signed-off-by: Jon Richter <jon@allmende.io> | ||||
| * | | | | Update purge_api README | jon r | 2019-06-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | This points the reverse links at the intended location. | ||||
* | | | | | Merge pull request #5313 from twrist/patch-1 | Richard van der Hoff | 2019-06-27 | 2 | -2/+5 |
|\ \ \ \ \ | |/ / / / |/| | | | | Update HAProxy example rules | ||||
| * | | | | Create 5313.misc | Ike Johnson | 2019-06-02 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Update HAProxy example rules | Ike Johnson | 2019-06-02 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | These new rules allow a user to instead route only matrix traffic, allowing them to run matrix on the domain without affecting their existing websites | ||||
* | | | | | Improve docs on choosing server_name (#5558) | Richard van der Hoff | 2019-06-26 | 2 | -13/+19 |
| |_|/ / |/| | | | | | | | Fixes #4901 | ||||
* | | | | Remove & changelog (#5548) | Amber Brown | 2019-06-26 | 2 | -54/+1 |
| | | | | |||||
* | | | | Merge branch 'master' into develop | Andrew Morgan | 2019-06-25 | 3 | -2/+7 |
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | * master: Fix broken link in MSC1711 FAQ Update changelog to better expain password reset change (#5545) | ||||
| * | | | Merge branch 'release-v1.0.0' | Andrew Morgan | 2019-06-25 | 2 | -1/+6 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | * release-v1.0.0: Update changelog to better expain password reset change (#5545) | ||||
| | * | | | Update changelog to better expain password reset change (#5545) github/release-v1.0.0 release-v1.0.0 | Andrew Morgan | 2019-06-24 | 2 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Updates the v1.0.0 changelog to provide more information to those upgrading to v1.0 on why they may receive errors or find their password reset abilities have now been disabled. Helps address #5444 | ||||
| * | | | | Fix broken link in MSC1711 FAQ | Richard van der Hoff | 2019-06-25 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Prevent multiple upgrades on the same room at once (#5051) | Andrew Morgan | 2019-06-25 | 3 | -52/+91 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #4583 Does slightly less than #5045, which prevented a room from being upgraded multiple times, one after another. This PR still allows that, but just prevents two from happening at the same time. Mostly just to mitigate the fact that servers are slow and it can take a moment for the room upgrade to actually complete. We don't want people sending another request to upgrade the room when really they just thought the first didn't go through. | ||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into develop | Richard van der Hoff | 2019-06-25 | 5 | -8/+7 |
|\ \ \ \ \ | |||||
| * | | | | | Increase default log level for docker image to INFO. (#5547) | Richard van der Hoff | 2019-06-25 | 2 | -5/+3 |
| | | | | | | | | | | | | | | | | | | Fixes #3370. | ||||
| * | | | | | Update docker image to use Python 3.7. (#5546) | Richard van der Hoff | 2019-06-25 | 3 | -3/+4 |
| | | | | | | | | | | | | | | | | | | Python 3.7 is apparently faster than 3.6, and should be mature enough. | ||||
* | | | | | | Grafana dashboard updates | Richard van der Hoff | 2019-06-25 | 1 | -1/+6814 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | |||||
| * | | | | | Add extremities graphs to grafana dashboard | Richard van der Hoff | 2019-06-25 | 1 | -23/+832 |
| | | | | | | |||||
| * | | | | | format json for grafana dashboard | Richard van der Hoff | 2019-06-25 | 1 | -1/+6005 |
|/ / / / / | |||||
* | | | | | Add info about black to code_style.rst (#5537) | Andrew Morgan | 2019-06-24 | 2 | -45/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #5533 Adds information about how to install and run black on the codebase. | ||||
* | | | | | Merge pull request #5524 from matrix-org/rav/new_cmdline_options | Richard van der Hoff | 2019-06-24 | 4 | -6/+43 |
|\ \ \ \ \ | | | | | | | | | | | | | Add --data-dir and --open-private-ports options. | ||||
| * | | | | | changelog | Richard van der Hoff | 2019-06-24 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Add "--open-private-ports" cmdline option | Richard van der Hoff | 2019-06-24 | 3 | -6/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | This is helpful when generating a config file for running synapse under docker. | ||||
| * | | | | | Add --data-directory commandline argument | Richard van der Hoff | 2019-06-24 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | We don't necessarily want to put the data in the cwd. | ||||
* | | | | | | Merge pull request #5523 from matrix-org/rav/arg_defaults | Richard van der Hoff | 2019-06-24 | 30 | -107/+88 |
|\| | | | | | | | | | | | | | | | | | Stop conflating generated config and default config | ||||
| * | | | | | changelog | Richard van der Hoff | 2019-06-24 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Don't load the generated config as the default. | Richard van der Hoff | 2019-06-24 | 29 | -94/+60 |
| | | | | | | | | | | | | | | | | | | | | | | | | It's too confusing. | ||||
| * | | | | | Ensure that all config options have sensible defaults | Richard van der Hoff | 2019-06-24 | 4 | -13/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will enable us to skip the unintuitive behaviour where the generated config and default config are the same thing. | ||||
* | | | | | | Merge pull request #5499 from matrix-org/rav/cleanup_metrics | Richard van der Hoff | 2019-06-24 | 3 | -29/+53 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Cleanups and sanity-checking in cpu and db metrics | ||||
| * | | | | | | black | Richard van der Hoff | 2019-06-24 | 1 | -6/+2 |
| | | | | | | | |||||
| * | | | | | | Avoid raising exceptions in metrics | Richard van der Hoff | 2019-06-24 | 1 | -8/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sentry will catch the errors if they happen, so that should be good enough, and woun't make things explode if we hit the error condition. | ||||
| * | | | | | | Merge branch 'develop' into rav/cleanup_metrics | Richard van der Hoff | 2019-06-24 | 397 | -10437/+9513 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | changelog | Richard van der Hoff | 2019-06-19 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Sanity-checking for metrics updates | Richard van der Hoff | 2019-06-19 | 1 | -7/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that our clocks go forward. | ||||
| * | | | | | | | Simplify PerformanceCounters.update interface | Richard van der Hoff | 2019-06-19 | 1 | -11/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we already have the duration for the update, so may as well use it rather than passing extra params around and recalculating it. | ||||
| * | | | | | | | Remove unused _get_event_counters | Richard van der Hoff | 2019-06-19 | 1 | -7/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been redundant since cdb3757942fefdcdc3d33b9c6d7c9e44decefd6f. | ||||
* | | | | | | | | Merge pull request #5534 from matrix-org/babolivier/federation-publicrooms | Brendan Abolivier | 2019-06-24 | 6 | -20/+49 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Split public rooms directory auth config in two | ||||
| * | | | | | | | | Split public rooms directory auth config in two | Brendan Abolivier | 2019-06-24 | 6 | -20/+49 |
| | | | | | | | | | |||||
* | | | | | | | | | Merge pull request #5531 from matrix-org/erikj/workers_pagination_token | Erik Johnston | 2019-06-24 | 3 | -17/+20 |
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | Fix /messages on workers when no from param specified. | ||||
| * | | | | | | | | Newsfile | Erik Johnston | 2019-06-24 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Fix /messages on workers when no from param specified. | Erik Johnston | 2019-06-24 | 2 | -17/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If no `from` param is specified we calculate and use the "current token" that inlcuded typing, presence, etc. These are unused during pagination and are not available on workers, so we simply don't calculate them. | ||||
* | | | | | | | | | Merge pull request #5516 from matrix-org/rav/acme_key_path | Richard van der Hoff | 2019-06-24 | 10 | -12/+62 |
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | Allow configuration of the path used for ACME account keys. | ||||
| * | | | | | | | | changelog | Richard van der Hoff | 2019-06-24 | 5 | -2/+3 |
| | | | | | | | | | |||||
| * | | | | | | | | Remove unused Config.config_dir_path attribute | Richard van der Hoff | 2019-06-24 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is no longer used and only serves to confuse. | ||||
| * | | | | | | | | Allow configuration of the path used for ACME account keys. | Richard van der Hoff | 2019-06-24 | 4 | -7/+59 |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because sticking it in the same place as the config isn't necessarily the right thing to do. | ||||
* | | | | | | | | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) | Richard van der Hoff | 2019-06-24 | 35 | -67/+104 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pull config_dir_path and data_dir_path calculation out of read_config_files * Pass config_dir_path and data_dir_path into read_config | ||||
* | | | | | | | | Factor acme bits out to a separate file (#5521) | Richard van der Hoff | 2019-06-24 | 3 | -53/+94 |
|/ / / / / / / | | | | | | | | | | | | | | | This makes some of the conditional-import hoop-jumping easier. | ||||
* | | | | | | | Merge pull request #5498 from matrix-org/rav/fix_clock_reversal | Richard van der Hoff | 2019-06-24 | 2 | -6/+15 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Use monotonic clock where possible for metrics | ||||
| * | | | | | | | Use monotonic clock where possible for metrics | Richard van der Hoff | 2019-06-19 | 2 | -6/+15 |
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes intermittent errors observed on Apple hardware which were caused by time.clock() appearing to go backwards when called from different threads. Also fixes a bug where database activity times were logged as 1/1000 of their correct ratio due to confusion between milliseconds and seconds. | ||||
* | | | | | | | Drop support for cpu_affinity (#5525) | Richard van der Hoff | 2019-06-22 | 6 | -74/+2 |
| |_|/ / / / |/| | | | | | | | | | | | This has no useful purpose on python3, and is generally a source of confusion. | ||||
* | | | | | | Improve help and cmdline option names for --generate-config options (#5512) | Richard van der Hoff | 2019-06-21 | 2 | -22/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * group the arguments together into a group * add new names "--generate-missing-config" and "--config-directory" for existing cmdline options "--generate-keys" and "--keys-dir", which better reflect their purposes. | ||||
* | | | | | | Refactor Config parser and add some comments. (#5511) | Richard van der Hoff | 2019-06-21 | 2 | -14/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | Add some comments, and simplify `read_config_files`. | ||||
* | | | | | | Improve logging when generating config files (#5510) | Richard van der Hoff | 2019-06-21 | 4 | -1/+8 |
| | | | | | | | | | | | | | | | | | | Make it a bit clearer what's going on. | ||||
* | | | | | | Only import jinja2 when needed (#5514) | Andrew Morgan | 2019-06-21 | 2 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/matrix-org/synapse/issues/5431 `jinja2` was being imported even when it wasn't strictly necessary. This made it required to run Synapse, even if the functionality that required it wasn't enabled. This was causing new Synapse installations to crash on startup. Email modules are now required. | ||||
* | | | | | | Fix "Unexpected entry in 'full_schemas'" log warning (#5509) | Richard van der Hoff | 2019-06-21 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a README.txt which always sets off this warning, which is a bit alarming when you first start synapse. I don't think we need to warn about this. | ||||
* | | | | | | Fix logging error when a tampered event is detected. (#5500) | Richard van der Hoff | 2019-06-21 | 2 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #5513 from matrix-org/erikj/fix_messages_token | Erik Johnston | 2019-06-21 | 2 | -0/+3 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix /messages on worker when no token supplied | ||||
| * | | | | | | Newsfile | Erik Johnston | 2019-06-21 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Fix /messages on worker when no token supplied | Erik Johnston | 2019-06-21 | 1 | -0/+2 |
|/ / / / / / | |||||
* | | | | | | Merge pull request #5505 from matrix-org/erikj/messages_worker | Erik Johnston | 2019-06-21 | 3 | -0/+10 |
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | Support pagination API in client_reader worker | ||||
| * | | | | | Update docs/workers.rst | Erik Johnston | 2019-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | E_TOO_MANY_NEGATIVES Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
| * | | | | | Newsfile | Erik Johnston | 2019-06-21 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Support pagination API in client_reader worker | Erik Johnston | 2019-06-21 | 2 | -0/+9 |
|/ / / / / | |||||
* | | | | | Merge pull request #5476 from matrix-org/erikj/histogram_extremities | Erik Johnston | 2019-06-21 | 3 | -1/+37 |
|\ \ \ \ \ | | | | | | | | | | | | | Add metrics for length of new extremities persisted. | ||||
| * | | | | | Black | Erik Johnston | 2019-06-20 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-06-20 | 400 | -10564/+9688 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | erikj/histogram_extremities | ||||
| * | | | | | | Add descriptions and remove redundant set(..) | Erik Johnston | 2019-06-19 | 2 | -4/+7 |
| | | | | | | | |||||
| * | | | | | | Only count non-cache state resolution | Erik Johnston | 2019-06-18 | 1 | -3/+3 |
| | | | | | | | |||||
| * | | | | | | Use consistent buckets | Erik Johnston | 2019-06-18 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Newsfile | Erik Johnston | 2019-06-17 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Add metric fo number of state groups in resolution | Erik Johnston | 2019-06-17 | 1 | -0/+10 |
| | | | | | | | |||||
| * | | | | | | Add metrics for len of new extremities persisted. | Erik Johnston | 2019-06-17 | 1 | -1/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Of new events being persisted add metrics for total size of forward extremities and number of unchanged, "stale" extremities. | ||||
* | | | | | | | Improve email notification logging (#5502) | Neil Johnson | 2019-06-20 | 2 | -1/+2 |
| |/ / / / / |/| | | | | | |||||
* | | | | | | Run Black. (#5482) | Amber Brown | 2019-06-20 | 376 | -10399/+9153 |
| | | | | | | |||||
* | | | | | | Merge pull request #5042 from matrix-org/erikj/fix_get_missing_events_error | Erik Johnston | 2019-06-19 | 2 | -9/+20 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Handle the case of `get_missing_events` failing | ||||
| * | | | | | | Fix logline | Erik Johnston | 2019-06-18 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-06-18 | 387 | -9715/+17324 |
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | erikj/fix_get_missing_events_error | ||||
| * | | | | | | Newsfile | Erik Johnston | 2019-04-10 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Handle the case of `get_missing_events` failing | Erik Johnston | 2019-04-10 | 1 | -9/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently if a call to `/get_missing_events` fails we log an exception and stop processing the top level event we received over federation. Instead let's try and handle it sensibly given it is a somewhat expected failure mode. | ||||
* | | | | | | | Merge pull request #5480 from matrix-org/erikj/extremities_dummy_events | Erik Johnston | 2019-06-19 | 7 | -1/+166 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Add experimental option to reduce extremities. | ||||
| * | | | | | | | Run as background process and fix comments | Erik Johnston | 2019-06-19 | 3 | -4/+7 |
| | | | | | | | | |||||
| * | | | | | | | Newsfile | Erik Johnston | 2019-06-18 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Add experimental option to reduce extremities. | Erik Johnston | 2019-06-18 | 6 | -1/+162 |
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new config option `cleanup_extremities_with_dummy_events` which periodically sends dummy events to rooms with more than 10 extremities. THIS IS REALLY EXPERIMENTAL. | ||||
* | | | | | | | Merge pull request #5490 from matrix-org/rav/xmlsec_in_docker | Richard van der Hoff | 2019-06-19 | 2 | -1/+4 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Include xmlsec in the docker image | ||||
| * | | | | | | | changelog | Richard van der Hoff | 2019-06-18 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Include xmlsec in the docker image | Richard van der Hoff | 2019-06-18 | 1 | -1/+3 |
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | Fixes #5467. | ||||
* | | | | | | | Merge pull request #5493 from matrix-org/babolivier/deactivate_bg_job_typo | Brendan Abolivier | 2019-06-19 | 2 | -1/+2 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Fix typo in deactivation background job | ||||
| * | | | | | | | Fix typo in deactivation background job | Brendan Abolivier | 2019-06-19 | 2 | -1/+2 |
|/ / / / / / / | |||||
* | | | | | | | Merge pull request #4276 from Ralith/performance-advice | Richard van der Hoff | 2019-06-18 | 3 | -7/+29 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Improve advice regarding poor performance | ||||
| * | | | | | | | README.rst: fix header level | Richard van der Hoff | 2019-06-18 | 1 | -1/+1 |
| | | | | | | | | |||||
| * | | | | | | | Improve advice regarding poor performance | Benjamin Saunders | 2019-06-09 | 3 | -7/+29 |
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com> | ||||
* | | | | | | | Add some logging to 3pid invite sig verification (#5015) | David Baker | 2019-06-18 | 2 | -8/+39 |
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had to add quite a lot of logging to diagnose a problem with 3pid invites - we only logged the one failure which isn't all that informative. NB. I'm not convinced the logic of this loop is right: I think it should just accept a single valid signature from a trusted source rather than fail if *any* signature is invalid. Also it should probably not skip the rest of middle loop if a check fails? However, I'm deliberately not changing the logic here. | ||||
* | | | | | | Fix seven contrib files with Python syntax errors (#5446) | cclauss | 2019-06-18 | 7 | -119/+131 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix seven contrib files with Python syntax errors Signed-off-by: cclauss <cclauss@me.com> | ||||
* | | | | | | Merge pull request #5477 from matrix-org/babolivier/third_party_rules_3pid | Brendan Abolivier | 2019-06-17 | 3 | -1/+43 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add third party rules hook for 3PID invites | ||||
| * | | | | | | Make check_threepid_can_be_invited async | Brendan Abolivier | 2019-06-17 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Changelog | Brendan Abolivier | 2019-06-17 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Add third party rules hook for 3PID invites | Brendan Abolivier | 2019-06-17 | 2 | -1/+41 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #5479 from matrix-org/erikj/add_create_room_hook_develop | Erik Johnston | 2019-06-17 | 3 | -4/+49 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Add third party rules hook into create room | ||||
| * | | | | | | | Newsfile | Erik Johnston | 2019-06-17 | 1 | -0/+1 |
| |/ / / / / / | |||||
| * | / / / / | Add third party rules hook into create room | Erik Johnston | 2019-06-17 | 2 | -4/+48 |
| | |/ / / / | |/| | | | | |||||
* | | | | | | Merge pull request #5478 from matrix-org/joriks/demo_python3 | Jorik Schellekens | 2019-06-17 | 3 | -4/+71 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Joriks/demo python3 | ||||
| * | | | | | | Changelog | Jorik Schellekens | 2019-06-17 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | One shot demo server startup | Jorik Schellekens | 2019-06-17 | 2 | -4/+70 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure the demo servers to use untrusted tls certs so that they communicate with each other. This configuration makes them very unsafe so I've added warnings about it in the readme. | ||||
* | | | | | | | Remove Postgres 9.4 support (#5448) | Amber Brown | 2019-06-18 | 10 | -79/+50 |
| |/ / / / / |/| | | | | | |||||
* | | | | | | Merge pull request #5385 from matrix-org/erikj/reduce_http_exceptions | Erik Johnston | 2019-06-17 | 5 | -19/+29 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Handle HttpResponseException when using federation client. | ||||
| * | | | | | | Handle failing to talk to master over replication | Erik Johnston | 2019-06-07 | 1 | -1/+9 |
| | | | | | | | |||||
| * | | | | | | Newsfile | Erik Johnston | 2019-06-07 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Handle HttpResponseException when using federation client. | Erik Johnston | 2019-06-07 | 3 | -18/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we just log exceptions everywhere. | ||||
* | | | | | | | Merge pull request #5388 from matrix-org/erikj/fix_email_push | Erik Johnston | 2019-06-17 | 5 | -30/+124 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Fix email notifications for unnamed rooms with multiple people | ||||
| * | | | | | | | Newsfile | Erik Johnston | 2019-06-07 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Add test | Erik Johnston | 2019-06-07 | 3 | -8/+70 |
| | | | | | | | | |||||
| * | | | | | | | Refactor email tests | Erik Johnston | 2019-06-07 | 1 | -22/+42 |
| | | | | | | | | |||||
| * | | | | | | | Fix email notifications for large unnamed rooms. | Erik Johnston | 2019-06-07 | 1 | -0/+11 |
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we try and calculate a description for a room for with no name but multiple other users we threw an exception (due to trying to subscript result of `dict.values()`). | ||||
* | | | | | | | Merge pull request #5389 from matrix-org/erikj/renew_attestations_on_master | Erik Johnston | 2019-06-17 | 2 | -3/+5 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Only start background group attestation renewals on master | ||||
| * | | | | | | | Newsfile | Erik Johnston | 2019-06-07 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Only start background group attestation renewals on master | Erik Johnston | 2019-06-07 | 1 | -3/+4 |
| | | | | | | | | |||||
* | | | | | | | | Move SyTest to Buildkite (#5459) | Amber Brown | 2019-06-17 | 6 | -76/+247 |
| | | | | | | | | | | | | | | | | | | | | | | | | Including workers! | ||||
* | | | | | | | | Merge pull request #5464 from matrix-org/erikj/3pid_remote_invite_state | Erik Johnston | 2019-06-17 | 3 | -7/+2 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Fix 3PID invite room state over federation. | ||||
| * | | | | | | | | Newsfile | Erik Johnston | 2019-06-14 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Fix 3PID invite room state over federation. | Erik Johnston | 2019-06-14 | 1 | -6/+0 |
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes that when a user exchanges a 3PID invite for a proper invite over federation it does not include the `invite_room_state` key. This was due to synapse incorrectly sending out two invite requests. | ||||
| * | | | | | | | Change to absolute path for contrib/docker | Neil Johnson | 2019-06-13 | 1 | -1/+1 |
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | because this file is reproduced on dockerhub and relative paths don't work | ||||
* | | | | | | | Merge pull request #5440 from matrix-org/babolivier/third_party_event_rules | Brendan Abolivier | 2019-06-14 | 9 | -4/+284 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Allow server admins to define implementations of extra rules for allowing or denying incoming events | ||||
| * | | | | | | | Add plugin APIs for implementations of custom event rules. | Brendan Abolivier | 2019-06-14 | 9 | -4/+284 |
| | | | | | | | | |||||
* | | | | | | | | Merge pull request #5461 from matrix-org/erikj/histograms_are_cumalitive | Erik Johnston | 2019-06-14 | 4 | -12/+13 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Prometheus histograms are cumalative | ||||
| * | | | | | | | | Newsfile | Erik Johnston | 2019-06-14 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Prometheus histograms are cumalative | Erik Johnston | 2019-06-14 | 3 | -12/+12 |
| | | | | | | | | | |||||
* | | | | | | | | | Merge pull request #5465 from matrix-org/babolivier/fix_deactivation_bg_job | Brendan Abolivier | 2019-06-14 | 2 | -2/+6 |
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | Fix background job for deactivated flag | ||||
| * | | | | | | | | Fix changelog | Brendan Abolivier | 2019-06-14 | 2 | -1/+2 |
| | | | | | | | | | |||||
| * | | | | | | | | Changelog | Brendan Abolivier | 2019-06-14 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Fix background job for deactivated flag | Brendan Abolivier | 2019-06-14 | 1 | -2/+4 |
| | | | | | | | | | |||||
* | | | | | | | | | Merge pull request #5462 from ↵ | Brendan Abolivier | 2019-06-14 | 6 | -27/+68 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/babolivier/account_validity_deactivated_accounts_2 Don't send renewal emails to deactivated users (second attempt) | ||||
| * | | | | | | | | Don't send renewal emails to deactivated users | Brendan Abolivier | 2019-06-14 | 6 | -27/+68 |
| |/ / / / / / / | |||||
* | | | | | | | | Merge pull request #5460 from matrix-org/joriks/demo_python3 | Jorik Schellekens | 2019-06-14 | 2 | -2/+3 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Use python3 in the demo | ||||
| * | | | | | | | | Changelog | Jorik Schellekens | 2019-06-14 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Use python3 in the demo | Jorik Schellekens | 2019-06-14 | 1 | -2/+2 |
| | | | | | | | | | |||||
* | | | | | | | | | Merge pull request #5390 from matrix-org/erikj/dont_log_on_fail_to_get_file | Erik Johnston | 2019-06-14 | 3 | -6/+14 |
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | Don't log exception when failing to fetch remote content. | ||||
| * | | | | | | | | Newsfile | Erik Johnston | 2019-06-07 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Don't log exception when failing to fetch remote content. | Erik Johnston | 2019-06-07 | 2 | -6/+13 |
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, let's not log stack traces when we stop processing becuase the response body was too large. | ||||
* | | | | | | | | Track deactivated accounts in the database (#5378) | Brendan Abolivier | 2019-06-14 | 5 | -0/+183 |
| | | | | | | | | |||||
* | | | | | | | | Merge pull request #5458 from matrix-org/hawkowl/fix-prometheus | Erik Johnston | 2019-06-14 | 3 | -39/+25 |
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | Fix Prometheus erroring after the extremities monitoring | ||||
| * | | | | | | | changelog | Amber H. Brown | 2019-06-14 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | fix prometheus rendering error | Amber H. Brown | 2019-06-14 | 2 | -39/+24 |
|/ / / / / / / | |||||
* | | | | | | | Updates to the federation_client script (#5447) | Richard van der Hoff | 2019-06-13 | 2 | -5/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * py3 fixes for federation_client * .well-known support for federation_client | ||||
* | | | | | | | Clean up code for sending federation EDUs. (#5381) | Richard van der Hoff | 2019-06-13 | 2 | -14/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code confused the hell out of me today. Split _get_new_device_messages into its two (unrelated) parts. | ||||
* | | | | | | | Expose statistics on extrems to prometheus (#5384) | Amber Brown | 2019-06-13 | 7 | -114/+331 |
| | | | | | | | |||||
* | | | | | | | Remove Python 2.7 support. (#5425) | Amber Brown | 2019-06-12 | 9 | -170/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove 2.7 from CI and publishing * fill out classifiers and also make it not be installed on 3.5 * some minor bumps so that the old deps work on python 3.5 | ||||
* | | | | | | | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2019-06-11 | 18 | -50/+394 |
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | |||||
| * | | | | | | 1.0.0 v1.0.0 | Erik Johnston | 2019-06-11 | 6 | -4/+28 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #5424 from matrix-org/erikj/change_password_reset_links | Erik Johnston | 2019-06-11 | 12 | -32/+262 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | Change password reset links to /_matrix. | ||||
| | * | | | | | | Bump bleach version so that tests can run on old deps. | Erik Johnston | 2019-06-11 | 5 | -25/+1 |
| | | | | | | | | |||||
| | * | | | | | | Newsfile | Erik Johnston | 2019-06-11 | 1 | -0/+1 |
| | | | | | | | | |||||
| | * | | | | | | Change password reset links to /_matrix. | Erik Johnston | 2019-06-11 | 6 | -7/+260 |
| | | |/ / / / | | |/| | | | | |||||
| * / | | | | | Neilj/improve federation docs (#5419) | Neil Johnson | 2019-06-11 | 4 | -16/+106 |
| |/ / / / / | | | | | | | | | | | | | | | | | | | Add FAQ questions to federate.md. Add a health warning making it clear that the 1711 upgrade FAQ is now out of date. | ||||
* | | | | | | Merge branch 'release-v1.0.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2019-06-11 | 6 | -2/+14 |
|\| | | | | | |||||
| * | | | | | 1.0.0rc3 v1.0.0rc3 | Erik Johnston | 2019-06-11 | 2 | -1/+7 |
| | | | | | | |||||
| * | | | | | Fix defaults on checking threepids | Erik Johnston | 2019-06-10 | 2 | -1/+2 |
| | | | | | | |||||
| * | | | | | Merge pull request #5418 from matrix-org/erikj/fix_send_fed_with_limit_zero | Erik Johnston | 2019-06-10 | 2 | -0/+5 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Fix bug sending federation transactions with lots of EDUs | ||||
| | * | | | | | Update changelog.d/5418.bugfix | Erik Johnston | 2019-06-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
| | * | | | | | Newsfile | Erik Johnston | 2019-06-10 | 1 | -0/+1 |
| | | | | | | | |||||
| | * | | | | | Fix bug sending federation transactions with lots of EDUs | Erik Johnston | 2019-06-10 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we try and send a transaction with lots of EDUs and we run out of space, we call get_new_device_msgs_for_remote with a limit of 0, which then failed. | ||||
* | | | | | | | Don't warn user about password reset disabling through config code (#5387) | Andrew Morgan | 2019-06-11 | 3 | -10/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves the warning about password resets being disabled to the point where a user actually tries to reset their password. Is this an appropriate place for it to happen? Also removed the disabling of msisdn password resets when you don't have an email config, as that just doesn't make sense. Also change the error a user receives upon disabled passwords to specify that only email-based password reset is disabled. | ||||
* | | | | | | | add monthly active users to phonehome stats (#5252) | Neil Johnson | 2019-06-10 | 3 | -15/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add monthly active users to phonehome stats | ||||
* | | | | | | | Merge branch 'release-v1.0.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2019-06-10 | 14 | -195/+489 |
|\| | | | | | | |||||
| * | | | | | | 1.0.0rc2 v1.0.0rc2 | Erik Johnston | 2019-06-10 | 5 | -4/+12 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #5417 from matrix-org/rav/shared_ssl_context | Erik Johnston | 2019-06-10 | 10 | -182/+455 |
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | Share an SSL context object between SSL connections | ||||
| | * | | | | | fix ci on py2, again | Richard van der Hoff | 2019-06-10 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | rename gutwrenched attr | Richard van der Hoff | 2019-06-10 | 1 | -5/+9 |
| | | | | | | | |||||
| | * | | | | | fix CI on python 2.7 | Richard van der Hoff | 2019-06-10 | 1 | -6/+4 |
| | | | | | | | |||||
| | * | | | | | fix build fails | Richard van der Hoff | 2019-06-10 | 2 | -1/+4 |
| | | | | | | | |||||
| | * | | | | | Tests for SSL certs for federation connections | Richard van der Hoff | 2019-06-10 | 6 | -106/+343 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some tests for bad certificates for federation and .well-known connections | ||||
| | * | | | | | Fix federation connections to literal IP addresses | Richard van der Hoff | 2019-06-10 | 2 | -6/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | turns out we need a shiny version of service_identity to enforce this correctly. | ||||
| | * | | | | | clean up impl, and import idna directly | Richard van der Hoff | 2019-06-10 | 2 | -15/+12 |
| | | | | | | | |||||
| | * | | | | | Share an SSL context object between SSL connections | Richard van der Hoff | 2019-06-09 | 1 | -60/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This involves changing how the info callbacks work. | ||||
| * | | | | | | Merge branch 'erikj/fix_null_valid_until_ms' of ↵ | Erik Johnston | 2019-06-10 | 3 | -1/+58 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | github.com:matrix-org/synapse into release-v1.0.0 | ||||
| * | | | | | | | Improve startup checks for insecure notary configs (#5392) | Richard van der Hoff | 2019-06-10 | 3 | -11/+24 |
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not really a problem to trust notary responses signed by the old key so long as we are also doing TLS validation. This commit adds a check to the config parsing code at startup to check that we do not have the insecure matrix.org key without tls validation, and refuses to start without it. This allows us to remove the rather alarming-looking warning which happens at runtime. | ||||
* | | | | | | | Merge pull request #5415 from matrix-org/erikj/fix_null_valid_until_ms | Erik Johnston | 2019-06-10 | 3 | -1/+58 |
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | Fix key verification when key stored with null valid_until_ms | ||||
| * | | | | | | Newsfile | Erik Johnston | 2019-06-10 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Fix key verification when key stored with null valid_until_ms | Erik Johnston | 2019-06-10 | 2 | -1/+57 |
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some keys are stored in the synapse database with a null valid_until_ms which caused an exception to be thrown when using that key. We fix this by treating nulls as zeroes, i.e. they keys will match verification requests with a minimum_valid_until_ms of zero (i.e. don't validate ts) but will not match requests with a non-zero minimum_valid_until_ms. Fixes #5391. | ||||
* | | | | | | Merge pull request #5412 from SohamG/fix-4130 | Erik Johnston | 2019-06-10 | 2 | -3/+17 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add --no-daemonize option to synctl | ||||
| * | | | | | | Accidentally reversed pep8 fixed before, fixed now | sohamg | 2019-06-10 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Edited description to note that the arg will not work with daemonize set in ↵ | sohamg | 2019-06-10 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the config. | ||||
| * | | | | | | Resolved pep8 extra spacing issue | sohamg | 2019-06-10 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Added changelog file. | sohamg | 2019-06-10 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | - Fix https://github.com/matrix-org/synapse/issues/4130 | sohamg | 2019-06-10 | 1 | -3/+15 |
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add parser argument "--no-daemonize" Signed-off-by: sohamg <sohamg2@gmail.com> | ||||
* | | | | | | Merge pull request #5325 from matrix-org/babolivier/port_db_account_validity | Brendan Abolivier | 2019-06-10 | 2 | -0/+2 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add account_validity's email_sent column to the list of boolean columns in synapse_port_db | ||||
| * | | | | | | Rewrite changelog | Brendan Abolivier | 2019-06-05 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Merge branch 'develop' into babolivier/port_db_account_validity | Brendan Abolivier | 2019-06-04 | 51 | -417/+529 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Changelog | Brendan Abolivier | 2019-06-03 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Add account_validity's email_sent column to the list of boolean columns in ↵ | Brendan Abolivier | 2019-06-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | synapse_port_db Fixes #5306 | ||||
* | | | | | | | | Merge pull request #5363 from ↵ | Brendan Abolivier | 2019-06-10 | 4 | -3/+50 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/babolivier/account_validity_send_mail_auth Don't check whether the user's account is expired on /send_mail requests | ||||
| * | | | | | | | | Better wording | Brendan Abolivier | 2019-06-10 | 1 | -1/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Doc | Brendan Abolivier | 2019-06-10 | 1 | -0/+5 |
| | | | | | | | | | |||||
| * | | | | | | | | Gah towncrier | Brendan Abolivier | 2019-06-05 | 1 | -1/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Changelog | Brendan Abolivier | 2019-06-05 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Don't check whether the user's account is expired on /send_mail requests | Brendan Abolivier | 2019-06-05 | 3 | -3/+44 |
| | | | | | | | | | |||||
* | | | | | | | | | Liberapay is now officially recognised, update FUNDING.yml (#5386) | Andrew Morgan | 2019-06-09 | 2 | -1/+3 |
| |_|_|_|_|/ / / |/| | | | | | | |