Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4718 from matrix-org/erikj/fix_backfill_state_shred | Erik Johnston | 2019-02-25 | 1 | -3/+31 |
|\ | | | | | Fix backfill storing incorrect state for events | ||||
| * | Fix typo | Erik Johnston | 2019-02-25 | 1 | -1/+1 |
| | | |||||
| * | More comments | Erik Johnston | 2019-02-25 | 1 | -0/+4 |
| | | |||||
| * | Assert rather than clobber the values | Erik Johnston | 2019-02-25 | 1 | -2/+2 |
| | | |||||
| * | Add comments and paranoia | Erik Johnston | 2019-02-25 | 1 | -2/+23 |
| | | |||||
| * | Fix backfill storing incorrect state for events | Erik Johnston | 2019-02-22 | 1 | -1/+4 |
| | | |||||
* | | Merge pull request #4721 from matrix-org/erikj/msc_1866 | Erik Johnston | 2019-02-25 | 2 | -2/+26 |
|\ \ | | | | | | | MSC 1866 - Use M_UNSUPPORTED_ROOM_VERSION for invite API | ||||
| * | | MSC 1866 - Use M_UNSUPPORTED_ROOM_VERSION for invite API | Erik Johnston | 2019-02-23 | 2 | -2/+26 |
| | | | |||||
* | | | Merge pull request #4722 from ↵ | Erik Johnston | 2019-02-25 | 1 | -21/+51 |
|\ \ \ | | | | | | | | | | | | | | | | | matrix-org/erikj/correctly_handle_keyring_exceptions Handle errors when fetching remote server keys | ||||
| * | | | raise_from already raises | Erik Johnston | 2019-02-25 | 1 | -4/+4 |
| | | | | |||||
| * | | | Handle errors when fetching remote server keys | Erik Johnston | 2019-02-23 | 1 | -21/+51 |
| |/ / | |||||
* / / | Correctly proxy exception in frontend_proxy worker | Erik Johnston | 2019-02-23 | 1 | -5/+10 |
|/ / | |||||
* | | Merge pull request #4716 from matrix-org/erikj/pusher_logging | Erik Johnston | 2019-02-22 | 3 | -1/+16 |
|\ \ | | | | | | | Fix up pusher logging a bit | ||||
| * | | Add missing return | Erik Johnston | 2019-02-22 | 1 | -0/+1 |
| | | | |||||
| * | | Correctly handle PusherConfigException | Erik Johnston | 2019-02-22 | 1 | -0/+9 |
| | | | |||||
| * | | Drop logging level of creating a pusher | Erik Johnston | 2019-02-22 | 1 | -1/+1 |
| | | | |||||
| * | | Correctly handle null data in HttpPusher | Erik Johnston | 2019-02-22 | 1 | -0/+5 |
| |/ | |||||
* / | Fix state cache invalidation on workers | Erik Johnston | 2019-02-22 | 2 | -12/+35 |
|/ | |||||
* | Add prometheus metrics for number of badge update pushes. (#4709) | Richard van der Hoff | 2019-02-22 | 1 | -8/+25 |
| | | | | | | We're counting the number of push notifications, but not the number of badges; I'd like to see if they are significant. | ||||
* | bail out early in on_new_receipts if no pushers (#4706) | Richard van der Hoff | 2019-02-21 | 1 | -0/+8 |
| | |||||
* | Run push_receipts_to_remotes as background job (#4707) | Richard van der Hoff | 2019-02-21 | 1 | -34/+34 |
| | | | I suspect the CPU usage metrics for this are going to /dev/null at the moment. | ||||
* | Merge pull request #4263 from rkfg/develop | Erik Johnston | 2019-02-21 | 1 | -1/+1 |
|\ | | | | | Prevent crash on pagination. | ||||
| * | Prevent crash on pagination. | rkfg | 2018-12-06 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4694 from matrix-org/erikj/fix_sentry_config_format | Erik Johnston | 2019-02-20 | 1 | -0/+2 |
|\ \ | | | | | | | Fixup generated metrics config | ||||
| * | | Fixup generated metrics config | Erik Johnston | 2019-02-20 | 1 | -0/+2 |
| | | | |||||
* | | | Add metrics for number of outgoing EDUs, by type (#4695) | Richard van der Hoff | 2019-02-20 | 2 | -6/+18 |
| | | | |||||
* | | | UPSERT many functionality (#4644) | Amber Brown | 2019-02-20 | 1 | -12/+134 |
| | | | |||||
* | | | Logging improvements for the pusher (#4691) | Richard van der Hoff | 2019-02-20 | 2 | -13/+14 |
| | | | |||||
* | | | Fix TaskStopped exceptions when outbound requests time out (#4690) | Richard van der Hoff | 2019-02-20 | 3 | -18/+29 |
| | | | |||||
* | | | Merge pull request #4678 from matrix-org/rav/tls_install_instructions | Richard van der Hoff | 2019-02-20 | 24 | -196/+248 |
|\ \ \ | |/ / |/| | | Attempt to clarify installation/config instructions | ||||
| * | | Attempt to make default config more consistent | Richard van der Hoff | 2019-02-19 | 24 | -196/+248 |
| | | | | | | | | | | | | | | | | | | The general idea here is that config examples should just have a hash and no extraneous whitespace, both to make it easier for people who don't understand yaml, and to make the examples stand out from the comments. | ||||
* | | | Fix registration on workers (#4682) | Erik Johnston | 2019-02-20 | 12 | -150/+275 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move RegistrationHandler init to HomeServer * Move post registration actions to RegistrationHandler * Add post regisration replication endpoint * Newsfile | ||||
* | | | Merge pull request #4671 from matrix-org/erikj/state_cache_invalidation | Erik Johnston | 2019-02-19 | 3 | -32/+70 |
|\ \ \ | |/ / |/| | | Batch cache invalidation over replication | ||||
| * | | Docs | Erik Johnston | 2019-02-19 | 1 | -2/+3 |
| | | | |||||
| * | | Use itertools | Erik Johnston | 2019-02-19 | 1 | -2/+2 |
| | | | |||||
| * | | Documentation | Erik Johnston | 2019-02-19 | 1 | -4/+4 |
| | | | |||||
| * | | Batch cache invalidation over replication | Erik Johnston | 2019-02-18 | 3 | -32/+69 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently whenever the current state changes in a room invalidate a lot of caches, which cause *a lot* of traffic over replication. Instead, lets batch up all those invalidations and send a single poke down the replication streams. Hopefully this will reduce load on the master process by substantially reducing traffic. | ||||
* | | | Merge pull request #4652 from matrix-org/babolivier/acme-delegated | Brendan Abolivier | 2019-02-19 | 2 | -4/+20 |
|\ \ \ | | | | | | | | | Support .well-known delegation when issuing certificates through ACME | ||||
| * | | | Improve config documentation | Brendan Abolivier | 2019-02-19 | 1 | -3/+11 |
| | | | | |||||
| * | | | Fetch ACME domain into an instance member | Brendan Abolivier | 2019-02-19 | 1 | -4/+5 |
| | | | | |||||
| * | | | Use a configuration parameter to give the domain to generate a certificate for | Brendan Abolivier | 2019-02-18 | 2 | -25/+11 |
| | | | | |||||
| * | | | Merge branch 'develop' into babolivier/acme-delegated | Brendan Abolivier | 2019-02-18 | 8 | -40/+213 |
| |\ \ \ | |||||
| * | | | | Typo in info log | Andrew Morgan | 2019-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Co-Authored-By: babolivier <contact@brendanabolivier.com> | ||||
| * | | | | Various cosmetics to make TravisCI happy | Brendan Abolivier | 2019-02-15 | 1 | -2/+5 |
| | | | | | |||||
| * | | | | Remove unused import | Brendan Abolivier | 2019-02-15 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Support .well-known delegation when issuing certificates through ACME | Brendan Abolivier | 2019-02-15 | 1 | -4/+23 |
| | | | | | |||||
* | | | | | Merge pull request #4670 from matrix-org/erikj/register_login_split | Erik Johnston | 2019-02-19 | 2 | -41/+43 |
|\ \ \ \ \ | | | | | | | | | | | | | Split /login into client_reader | ||||
| * | | | | | Split /login into client_reader | Erik Johnston | 2019-02-18 | 2 | -41/+43 |
| | | | | | | |||||
* | | | | | | Try and make TLS federation client code faster (#4674) | Richard van der Hoff | 2019-02-19 | 1 | -8/+6 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | * fix to use makeContext so that we don't need to rebuild the certificateoptions each time | ||||
| * | | | | | | fix to use makeContext so that we don't need to rebuild the ↵ | Amber Brown | 2019-02-19 | 1 | -8/+6 |
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | certificateoptions each time | ||||
* | | | | | | Merge pull request #4642 from matrix-org/anoa/bans_room_upgrade | Andrew Morgan | 2019-02-19 | 1 | -0/+22 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Transfer bans on room upgrade | ||||
| * | | | | | lint | Andrew Morgan | 2019-02-18 | 1 | -1/+3 |
| | | | | | | |||||
| * | | | | | Move member event processing and changelog fix | Andrew Morgan | 2019-02-18 | 1 | -9/+7 |
| | | | | | | |||||
| * | | | | | Membership events are done later | Andrew Morgan | 2019-02-18 | 1 | -12/+20 |
| | | | | | | |||||
| * | | | | | Transfer bans on room upgrade | Andrew Morgan | 2019-02-18 | 1 | -0/+14 |
| | | | | | | |||||
* | | | | | | Merge pull request #4632 from matrix-org/erikj/basic_sentry | Erik Johnston | 2019-02-18 | 3 | -1/+60 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add basic optional sentry.io integration | ||||
| * | | | | | | Fixup error handling and message | Erik Johnston | 2019-02-18 | 1 | -5/+6 |
| | | | | | | | |||||
| * | | | | | | Fixup | Erik Johnston | 2019-02-18 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Fixup comments and add warning | Erik Johnston | 2019-02-13 | 2 | -5/+10 |
| | | | | | | | |||||
| * | | | | | | Comments | Erik Johnston | 2019-02-12 | 1 | -0/+8 |
| | | | | | | | |||||
| * | | | | | | Raise an appropriate error message if sentry_sdk missing | Erik Johnston | 2019-02-12 | 1 | -1/+15 |
| | | | | | | | |||||
| * | | | | | | Basic sentry integration | Erik Johnston | 2019-02-12 | 3 | -0/+31 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #4666 from matrix-org/erikj/register_login_split | Erik Johnston | 2019-02-18 | 8 | -193/+419 |
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | Split out registration to worker | ||||
| * | | | | | | Move register_device into handler | Erik Johnston | 2019-02-18 | 4 | -102/+74 |
| | | | | | | | |||||
| * | | | | | | Update docs | Erik Johnston | 2019-02-18 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Split out registration to worker | Erik Johnston | 2019-02-18 | 7 | -147/+401 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows registration to be handled by a worker, though the actual write to the database still happens on master. Note: due to the in-memory session map all registration requests must be handled by the same worker. | ||||
* | | | | | | | Merge pull request #4668 from matrix-org/erikj/catch_exceptions | Erik Johnston | 2019-02-18 | 1 | -5/+9 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Correctly handle HttpResponseException when handling device updates | ||||
| * | | | | | | | pep8 | Erik Johnston | 2019-02-18 | 1 | -1/+5 |
| | | | | | | | | |||||
| * | | | | | | | Correctly handle HttpResponseException | Erik Johnston | 2019-02-18 | 1 | -4/+4 |
| | |_|_|_|/ / | |/| | | | | | |||||
* | | | | | | | Merge pull request #4669 from matrix-org/erikj/log_exception | Erik Johnston | 2019-02-18 | 1 | -3/+3 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Cleanup top level request exception logging | ||||
| * | | | | | | | Cleanup top level request exception logging | Erik Johnston | 2019-02-18 | 1 | -3/+3 |
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firstly, we always logged that the request was being handled via `JsonResource._async_render`, so we change that to use the servlet name we add to the request. Secondly, we pass the exception information to the logger rather than formatting it manually. This makes it consistent with other exception logging, allwoing logging hooks and formatters to access the exception information. | ||||
* | | | | | | | Merge pull request #4651 from matrix-org/matthew/well-known-cors | Erik Johnston | 2019-02-18 | 1 | -0/+3 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | set CORS on .well-known URI to unbreak modular | ||||
| * | | | | | | | Fixup | Erik Johnston | 2019-02-18 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | fix missig import | Matthew Hodgson | 2019-02-18 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | tabs | Matthew Hodgson | 2019-02-14 | 1 | -1/+1 |
| | | | | | | | | |||||
| * | | | | | | | set CORS on .well-known URI to unbreak modular | Matthew Hodgson | 2019-02-14 | 1 | -0/+1 |
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise a riot/web running on foo.riot.im can't query the .well-known on foo.modular.im... | ||||
* | | | | | | | Merge pull request #4667 from matrix-org/erikj/fix_revoke_guest_access_workers | Erik Johnston | 2019-02-18 | 2 | -1/+3 |
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | Fix kicking guest users in worker mode | ||||
| * | | | | | | Fix kicking guest users in worker mode | Erik Johnston | 2019-02-18 | 2 | -1/+3 |
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When guest_access changes from allowed to forbidden all local guest users should be kicked from the room. This did not happen when revocation was received from federation on a worker. Presumably broken in #4141 | ||||
* | | | | | | Merge pull request #4643 from matrix-org/erikj/catch_exceptions | Erik Johnston | 2019-02-18 | 4 | -8/+19 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Correctly handle RequestSendFailed exceptions | ||||
| * | | | | | Correctly handle RequestSendFailed exceptions | Erik Johnston | 2019-02-14 | 4 | -8/+19 |
| | |_|/ / | |/| | | | | | | | | | | | | | This mainly reduces the number of exceptions we log. | ||||
* | | | | | config: Remove a repeated word from a logger warning | Juuso "Linda" Lapinlampi | 2019-02-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | The warning for missing macaroon_secret_key was "missing missing". | ||||
* | | | | | Merge pull request #4647 from matrix-org/erikj/add_room_publishing_rules | Erik Johnston | 2019-02-15 | 3 | -31/+193 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Add configurable room list publishing rules | ||||
| * | | | | Move defaults up into code | Erik Johnston | 2019-02-15 | 1 | -22/+44 |
| | | | | | |||||
| * | | | | Hoist up checks to reduce overall work | Erik Johnston | 2019-02-15 | 1 | -17/+15 |
| | | | | | |||||
| * | | | | Fixup comments | Erik Johnston | 2019-02-15 | 1 | -8/+27 |
| | | | | | |||||
| * | | | | Clarify comments | Erik Johnston | 2019-02-14 | 1 | -3/+3 |
| | | | | | |||||
| * | | | | Clarify and fix behaviour when there are multiple aliases | Erik Johnston | 2019-02-14 | 1 | -6/+18 |
| | | | | | |||||
| * | | | | Only fetch aliases when publishing rooms | Erik Johnston | 2019-02-14 | 1 | -15/+15 |
| | | | | | |||||
| * | | | | Fixup comments | Erik Johnston | 2019-02-14 | 1 | -8/+15 |
| | | | | | |||||
| * | | | | Add configurable room list publishing rules | Erik Johnston | 2019-02-14 | 3 | -22/+126 |
| |/ / / | | | | | | | | | | | | | | | | | This allows specifying who and what is allowed to be published onto the public room list | ||||
* | | | | Merge branch 'master' into develop | Richard van der Hoff | 2019-02-14 | 3 | -7/+16 |
|\ \ \ \ | |||||
| * | | | | 0.99.1.1 v0.99.1.1 | Richard van der Hoff | 2019-02-14 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Fix errors in acme provisioning (#4648) | Richard van der Hoff | 2019-02-14 | 2 | -6/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Better logging for errors on startup * Fix "TypeError: '>' not supported" when starting without an existing certificate * Fix a bug where an existing certificate would be reprovisoned every day | ||||
* | | | | | Merge branch 'master' into develop | Richard van der Hoff | 2019-02-14 | 1 | -2/+2 |
|\| | | | | |/ / / |/| | | | |||||
| * | | | 0.99.1 v0.99.1 | Richard van der Hoff | 2019-02-14 | 1 | -2/+2 |
| | | | | |||||
| * | | | 0.99.1rc2 v0.99.1rc2 | Richard van der Hoff | 2019-02-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #4450 from 14mRh4X0r/fix-dependency-message | Richard van der Hoff | 2019-02-13 | 1 | -2/+5 |
|\ \ \ \ | | | | | | | | | | | Fix error message for optional dependencies | ||||
| * | | | | Fix error message for optional dependencies | Willem Mulder | 2019-01-23 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Willem Mulder <willemmaster@hotmail.com> | ||||
* | | | | | Merge remote-tracking branch 'origin/release-v0.99.1' into develop | Richard van der Hoff | 2019-02-13 | 3 | -22/+34 |
|\ \ \ \ \ | | |/ / / | |/| | | | |||||
| * | | | | Update synapse/app/_base.py | Erik Johnston | 2019-02-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Co-Authored-By: richvdh <1389908+richvdh@users.noreply.github.com> | ||||
| * | | | | Use `listen_tcp` for the replication listener | Richard van der Hoff | 2019-02-13 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the "can't listen on 0.0.0.0" error. Also makes it more consistent with what we do elsewhere. | ||||
| * | | | | Improve logging around listening services | Richard van der Hoff | 2019-02-13 | 2 | -11/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I wanted to bring listen_tcp into line with listen_ssl in terms of returning a list of ports, and wanted to check that was a safe thing to do - hence the logging in `refresh_certificate`. Also, pull the 'Synapse now listening' message up to homeserver.py, because it was being duplicated everywhere else. | ||||
| * | | | | Special-case the default bind_addresses for metrics listener | Richard van der Hoff | 2019-02-13 | 2 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | turns out it doesn't really support ipv6, so let's hack around that by only listening on ipv4 by default. | ||||
* | | | | | Run `black` on user directory code (#4635) | Amber Brown | 2019-02-13 | 2 | -131/+116 |
|/ / / / | |||||
* | | | | Update changelog and version | Erik Johnston | 2019-02-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #4608 from matrix-org/anoa/acls_room_upgrade | Erik Johnston | 2019-02-12 | 1 | -0/+1 |
|\ \ \ \ | |_|/ / |/| | | | Transfer Server ACLs on room upgrade | ||||
| * | | | Transfer Server ACLs on room upgrade | Andrew Morgan | 2019-02-11 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge pull request #4627 from matrix-org/erikj/user_ips_analyze | Erik Johnston | 2019-02-12 | 2 | -3/+31 |
|\ \ \ \ | | | | | | | | | | | Analyze user_ips before running deduplication | ||||
| * | | | | Fix pep8 | Erik Johnston | 2019-02-12 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Analyze user_ips before running deduplication | Erik Johnston | 2019-02-12 | 2 | -3/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the table locks taken out by the naive upsert, the table statistics may be out of date. During deduplication it is important that the correct index is used as otherwise a full table scan may be incorrectly used, which can end up thrashing the database badly. | ||||
* | | | | | Merge pull request #4626 from matrix-org/erikj/fixup_user_ips_dedupe | Erik Johnston | 2019-02-12 | 1 | -3/+60 |
|\ \ \ \ \ | | | | | | | | | | | | | Reduce user_ips bloat during dedupe background update | ||||
| * | | | | | Reduce user_ips bloat during dedupe background update | Erik Johnston | 2019-02-12 | 1 | -3/+60 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The background update to remove duplicate rows naively deleted and reinserted the duplicates. For large tables with a large number of duplicates this causes a lot of bloat (with postgres), as the inserted rows are appended to the table, since deleted rows will not be overwritten until a VACUUM has happened. This should hopefully also help ensure that the query in the last batch uses the correct index, as inserting a large number of new rows without analyzing will upset the query planner. | ||||
* | | | | | Merge pull request #4625 from matrix-org/rav/fix_generate_config_warnings | Erik Johnston | 2019-02-12 | 1 | -7/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | fix self-signed cert notice from generate-config | ||||
| * | | | | | fix self-signed cert notice from generate-config | Richard van der Hoff | 2019-02-12 | 1 | -7/+2 |
| |/ / / / | | | | | | | | | | | | | | | | fixes #4620 | ||||
* | | | | | Disable TLS by default (#4614) | Richard van der Hoff | 2019-02-12 | 2 | -27/+27 |
| | | | | | |||||
* | | | | | Fix error when loading cert if tls is disabled (#4618) | Richard van der Hoff | 2019-02-12 | 2 | -17/+45 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | If TLS is disabled, it should not be an error if no cert is given. Fixes #4554. | ||||
* | | | | fix tests | Richard van der Hoff | 2019-02-11 | 1 | -1/+1 |
| | | | | |||||
* | | | | Infer no_tls from presence of TLS listeners | Richard van der Hoff | 2019-02-11 | 5 | -18/+24 |
| | | | | | | | | | | | | | | | | | | | | Rather than have to specify `no_tls` explicitly, infer whether we need to load the TLS keys etc from whether we have any TLS-enabled listeners. | ||||
* | | | | Merge branch 'rav/no_create_server_contexts_if_no_tls' into rav/tls_cert/work | Richard van der Hoff | 2019-02-11 | 2 | -3/+6 |
|\ \ \ \ | |||||
| * | | | | Don't create server contexts when TLS is disabled | Richard van der Hoff | 2019-02-11 | 2 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | we aren't going to use them anyway. | ||||
* | | | | | Merge branch 'rav/tls_config_logging_fixes' into rav/tls_cert/work | Richard van der Hoff | 2019-02-11 | 2 | -22/+38 |
|\| | | | | |||||
| * | | | | Logging improvements around TLS certs | Richard van der Hoff | 2019-02-11 | 2 | -22/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Log which file we're reading keys and certs from, and refactor the code a bit in preparation for other work | ||||
* | | | | | Fail cleanly if listener config lacks a 'port' | Richard van der Hoff | 2019-02-11 | 1 | -0/+5 |
|/ / / / | | | | | | | | | | | | | ... otherwise we would fail with a mysterious KeyError or something later. | ||||
* | | | | Move ClientTLSOptionsFactory init out of refresh_certificates (#4611) | Richard van der Hoff | 2019-02-11 | 3 | -6/+7 |
| | | | | | | | | | | | | | | | | | | | | It's nothing to do with refreshing the certificates. No idea why it was here. | ||||
* | | | | Merge pull request #4580 from matrix-org/uhoreg/e2e_backup_add_updating | Erik Johnston | 2019-02-11 | 3 | -5/+124 |
|\ \ \ \ | | | | | | | | | | | add updating of backup versions | ||||
| * | | | | make sure version is in body and wrap in linearizer queue | Hubert Chathi | 2019-02-08 | 2 | -12/+28 |
| | | | | | | | | | | | | | | | | | | | | also add tests | ||||
| * | | | | re-try to make isort happy | Hubert Chathi | 2019-02-06 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | fix import to make isort happy | Hubert Chathi | 2019-02-06 | 1 | -2/+7 |
| | | | | | |||||
| * | | | | add new endpoint to update backup versions | Hubert Chathi | 2019-02-06 | 3 | -1/+87 |
| | | | | | |||||
| * | | | | return proper error codes for some 404s | Hubert Chathi | 2019-02-06 | 1 | -4/+16 |
| | | | | | |||||
* | | | | | Clean up default listener configuration (#4586) | Richard van der Hoff | 2019-02-11 | 1 | -48/+81 |
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rearrange the comments to try to clarify them, and expand on what some of it means. Use a sensible default 'bind_addresses' setting. For the insecure port, only bind to localhost, and enable x_forwarded, since apparently it's for use behind a load-balancer. | ||||
* | | | | ACME Reprovisioning (#4522) | Amber Brown | 2019-02-11 | 4 | -25/+88 |
| | | | | |||||
* | | | | Be tolerant of blank TLS fingerprints config (#4589) | Amber Brown | 2019-02-11 | 1 | -1/+5 |
| | | | | |||||
* | | | | Merge pull request #4420 from matrix-org/jaywink/openid-listener | Erik Johnston | 2019-02-11 | 5 | -45/+130 |
|\ \ \ \ | | | | | | | | | | | New listener resource for the federation API "openid/userinfo" endpoint | ||||
| * | | | | Fix flake8 issues | Jason Robinson | 2019-01-23 | 2 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
| * | | | | Remove openid resource from default config | Jason Robinson | 2019-01-23 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead document it commented out. Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
| * | | | | Document `servlet_groups` parameters | Jason Robinson | 2019-01-23 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
| * | | | | Split federation OpenID userinfo endpoint out of the federation resource | Jason Robinson | 2019-01-23 | 4 | -46/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the OpenID userinfo endpoint to be active even if the federation resource is not active. The OpenID userinfo endpoint is called by integration managers to verify user actions using the client API OpenID access token. Without this verification, the integration manager cannot know that the access token is valid. The OpenID userinfo endpoint will be loaded in the case that either "federation" or "openid" resource is defined. The new "openid" resource is defaulted to active in default configuration. Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
| * | | | | Make SynapseHomeServer _http_listener use self.get_reactor() | Jason Robinson | 2019-01-23 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For all the homeserver classes, only the FrontendProxyServer passes its reactor when doing the http listen. Looking at previous PR's looks like this was introduced to make it possible to write a test, otherwise when you try to run a test with the test homeserver it tries to do a real bind to a port. Passing the reactor that the homeserver is instantiated with should probably be the right thing to do anyway? Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
| * | | | | Make FederationReaderServer _http_listen use self.get_reactor() | Jason Robinson | 2019-01-23 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For all the homeserver classes, only the FrontendProxyServer passes its reactor when doing the http listen. Looking at previous PR's looks like this was introduced to make it possible to write a test, otherwise when you try to run a test with the test homeserver it tries to do a real bind to a port. Passing the reactor that the homeserver is instantiated with should probably be the right thing to do anyway? Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
| * | | | | Add parameterized Python module to test dependencies | Jason Robinson | 2019-01-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows running parameterized tests. BSD license. Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
* | | | | | Allow "unavailable" presence status for /sync (#4592) | Valentin Anger | 2019-02-08 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow "unavailable" presence status for /sync Closes #3772, closes #3779 Signed-off-by: Valentin Anger <valentin.an.1999@gmail.com> * Add changelog for PR 4592 | ||||
* | | | | | Fix 'no unique or exclusion constraint' error (#4591) | Richard van der Hoff | 2019-02-08 | 1 | -6/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Add more tables to the list of tables which need a background update to complete before we can upsert into them, which fixes a race against the background updates. | ||||
* | | | | | Deduplicate some code in synapse.app (#4567) | Amber Brown | 2019-02-08 | 13 | -158/+82 |
| | | | | | |||||
* | | | | | Merge branch 'master' into develop | Richard van der Hoff | 2019-02-05 | 2 | -4/+4 |
|\ \ \ \ \ | |||||
| * | | | | | v0.99.0 v0.99.0 | Richard van der Hoff | 2019-02-05 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Fix default ACME config for py2 (#4564) | Richard van der Hoff | 2019-02-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Fixes #4559 | ||||
| * | | | | | fix typo in config comments (#4557) | Richard van der Hoff | 2019-02-05 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | 0.99.0rc4 v0.99.0rc4 | Richard van der Hoff | 2019-02-01 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Filter user directory state query to a subset of state events (#4462) | Andrew Morgan | 2019-02-05 | 1 | -4/+12 |
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | * Filter user directory state query to a subset of state events * Add changelog | ||||
* | | | | | Merge pull request #4546 from ↵ | Richard van der Hoff | 2019-02-01 | 1 | -2/+15 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/rav/silence_critical_error_from_federation Fix noisy "twisted.internet.task.TaskStopped" errors in logs | ||||
| * | | | | | Fix noisy "twisted.internet.task.TaskStopped" errors in logs | Richard van der Hoff | 2019-02-01 | 1 | -2/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4003 | ||||
* | | | | | | Merge remote-tracking branch 'origin/release-v0.99.0' into develop | Richard van der Hoff | 2019-02-01 | 1 | -20/+7 |
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | |||||
| * | | | | | Merge pull request #4544 from matrix-org/rav/skip_invalid_well_known | Richard van der Hoff | 2019-02-01 | 1 | -19/+6 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Treat an invalid .well-known the same as an absent one | ||||
| | * | | | | | Treat an invalid .well-known the same as an absent one | Richard van der Hoff | 2019-02-01 | 1 | -19/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... basically, carry on and fall back to SRV etc. | ||||
| * | | | | | | Fix b'ab' noise in logs | Richard van der Hoff | 2019-02-01 | 1 | -1/+1 |
| |/ / / / / | |||||
* | | | | | | Merge branch 'release-v0.99.0' into develop | Richard van der Hoff | 2019-02-01 | 1 | -22/+63 |
|\| | | | | | |||||
| * | | | | | Cache failures to parse .well-known | Richard van der Hoff | 2019-02-01 | 1 | -13/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | Also add a Measure block around the .well-known fetch | ||||
| * | | | | | better logging for federation connections | Richard van der Hoff | 2019-01-31 | 1 | -5/+16 |
| | | | | | | |||||
| * | | | | | Update federation routing logic to check .well-known before SRV | Richard van der Hoff | 2019-01-31 | 1 | -5/+5 |
| |/ / / / | |||||
* | | | | | Merge pull request #4530 from matrix-org/anoa/room_upgrade_federatable | Andrew Morgan | 2019-01-31 | 2 | -11/+37 |
|\ \ \ \ \ | | | | | | | | | | | | | Copy over non-federatable trait on room upgrade | ||||
| * | | | | | Raise an exception instead of returning None | Andrew Morgan | 2019-01-31 | 1 | -2/+9 |
| | | | | | | |||||
| * | | | | | New function for getting room's create event | Andrew Morgan | 2019-01-31 | 2 | -18/+21 |
| | | | | | | |||||
| * | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Andrew Morgan | 2019-01-31 | 5 | -3/+34 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | anoa/room_upgrade_federatable | ||||
| * | | | | | | lint | Andrew Morgan | 2019-01-31 | 1 | -2/+4 |
| | | | | | | | |||||
| * | | | | | | Copy over non-federatable trait on room upgrade | Andrew Morgan | 2019-01-30 | 1 | -0/+14 |
| | | | | | | | |||||
* | | | | | | | Merge branch 'release-v0.99.0' into develop | Richard van der Hoff | 2019-01-31 | 3 | -8/+44 |
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | / / / / | | |/ / / / | |/| | | | | |||||
| * | | | | | v0.99.0rc3 v0.99.0rc3 | Richard van der Hoff | 2019-01-31 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Add some debug for membership syncing issues (#4538) | Richard van der Hoff | 2019-01-31 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | | | | I can't figure out what's going on with #4422 and #4436; perhaps this will help. | ||||
| * | | | | | Fix infinite loop when an event is redacted in a v3 room (#4535) | Richard van der Hoff | 2019-01-31 | 1 | -5/+32 |
| | | | | | | |||||
* | | | | | | Reject large transactions on federation (#4513) | Andrew Morgan | 2019-01-31 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reject large transactions on federation * Add changelog * lint * Simplify large transaction handling | ||||
* | | | | | | Merge remote-tracking branch 'origin/release-v0.99.0' into develop | Richard van der Hoff | 2019-01-30 | 2 | -2/+2 |
|\| | | | | | |||||
| * | | | | | v0.99.0rc2 v0.99.0rc2 | Richard van der Hoff | 2019-01-30 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge remote-tracking branch 'origin/develop' into release-v0.99.0 | Richard van der Hoff | 2019-01-30 | 1 | -1/+13 |
| |\ \ \ \ \ | |||||
| * | | | | | | Update constants.py | Neil Johnson | 2019-01-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | remove trailing , | ||||
| * | | | | | | 0.99.0rc1 v0.99.0rc1 | Richard van der Hoff | 2019-01-30 | 1 | -1/+1 |
| | |/ / / / | |/| | | | | |||||
* | | | | | | by default include m.room.encryption on invites (#3902) | Matthew Hodgson | 2019-01-30 | 2 | -0/+3 |
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * by default include m.room.encryption on invites * fix constant * changelog | ||||
* | | | | | Fix remote invite rejections not comming down sync | Erik Johnston | 2019-01-30 | 1 | -1/+13 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was broken in PR #4405, commit 886e5ac, where we changed remote rejections to be outliers. The fix is to explicitly add the leave event in when we know its an out of band invite. We can't always add the event as if the server is/was in the room there might be more events to send down the sync than just the leave. | ||||
* | | | | Merge pull request #4472 from matrix-org/neilj/room_capabilities | Erik Johnston | 2019-01-30 | 3 | -0/+74 |
|\ \ \ \ | | | | | | | | | | | Server capabilities support | ||||
| * \ \ \ | Merge branch 'neilj/room_capabilities' of github.com:matrix-org/synapse into ↵ | Neil Johnson | 2019-01-30 | 53 | -542/+1641 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | neilj/room_capabilities | ||||
| | * \ \ \ | Merge branch 'develop' into neilj/room_capabilities | Neil Johnson | 2019-01-30 | 53 | -542/+1641 |
| | |\ \ \ \ | |||||
| * | | | | | | isort | Neil Johnson | 2019-01-30 | 1 | -2/+1 |
| |/ / / / / | |||||
| * | | | | | define room dispositions for use in exposing room capabilities | Neil Johnson | 2019-01-30 | 1 | -0/+5 |
| | | | | | | |||||
| * | | | | | formatting and use constants where available | Neil Johnson | 2019-01-30 | 1 | -19/+17 |
| | | | | | | |||||
| * | | | | | Populate default room version from Constants | Neil Johnson | 2019-01-30 | 1 | -1/+2 |
| | | | | | | |||||
| * | | | | | reflect that rooms v3 is a stable room version | Neil Johnson | 2019-01-30 | 2 | -0/+2 |
| | | | | | | |||||
| * | | | | | rework format of change password capability | Neil Johnson | 2019-01-29 | 1 | -1/+3 |
| | | | | | | |||||
| * | | | | | support change_password in capabilities end-point | Neil Johnson | 2019-01-29 | 1 | -2/+12 |
| | | | | | | |||||
| * | | | | | enforce auth for capabilities endpoint | Neil Johnson | 2019-01-29 | 1 | -10/+17 |
| | | | | | | |||||
| * | | | | | register capabilities servlet | Neil Johnson | 2019-01-29 | 1 | -0/+2 |
| | | | | | | |||||
| * | | | | | backout v3 | Neil Johnson | 2019-01-25 | 2 | -2/+0 |
| | | | | | | |||||
| * | | | | | Support room version capabilities in CS API (MSC1804) | Neil Johnson | 2019-01-25 | 1 | -0/+49 |
| | | | | | | |||||
| * | | | | | track unstable room v3 | Neil Johnson | 2019-01-25 | 1 | -0/+2 |
| | | | | | | |||||
* | | | | | | Fix replication for room v3 (#4523) | Erik Johnston | 2019-01-30 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix replication for room v3 We were not correctly quoting the path fragments over http replication, which meant that it exploded when the event IDs had a slash in them * Newsfile | ||||
* | | | | | | ACME config cleanups (#4525) | Richard van der Hoff | 2019-01-30 | 4 | -60/+114 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle listening for ACME requests on IPv6 addresses the weird url-but-not-actually-a-url-string doesn't handle IPv6 addresses without extra quoting. Building a string which you are about to parse again seems like a weird choice. Let's just use listenTCP, which is consistent with what we do elsewhere. * Clean up the default ACME config make it look a bit more consistent with everything else, and tweak the defaults to listen on port 80. * newsfile | ||||
* | | | | | | Raise ConfigError instead | Erik Johnston | 2019-01-30 | 1 | -1/+3 |
| | | | | | | |||||
* | | | | | | _listener_http should return a list | Erik Johnston | 2019-01-30 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #4521 from matrix-org/rav/fed_routing/cleanups | Richard van der Hoff | 2019-01-30 | 1 | -9/+11 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Tiny .well-known fixes | ||||
| * | | | | | | fix exception text | Richard van der Hoff | 2019-01-30 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Also jitter the invalid cache period | Richard van der Hoff | 2019-01-30 | 1 | -9/+11 |
| | | | | | | | |||||
* | | | | | | | Follow redirects on .well-known (#4520) | Richard van der Hoff | 2019-01-30 | 1 | -2/+4 |
| | | | | | | | |||||
* | | | | | | | SIGHUP for TLS cert reloading (#4495) | Amber Brown | 2019-01-30 | 3 | -20/+79 |
|/ / / / / / | |||||
* | | | | | | Add a caching layer to .well-known responses (#4516) | Richard van der Hoff | 2019-01-30 | 2 | -2/+249 |
| | | | | | | |||||
* | | | | | | Fix flake8 (#4519) | Amber Brown | 2019-01-30 | 7 | -92/+92 |
| |/ / / / |/| | | | | |||||
* | | | | | Merge pull request #4486 from xperimental/workaround-4216 | Richard van der Hoff | 2019-01-30 | 1 | -1/+4 |
|\ \ \ \ \ | | | | | | | | | | | | | Implement workaround for login error. | ||||
| * | | | | | Implement workaround for login error. | Robert Jacob | 2019-01-30 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robert Jacob <xperimental@solidproject.de> | ||||
* | | | | | | No vdh tests! | Erik Johnston | 2019-01-29 | 1 | -2/+1 |
| | | | | | | |||||
* | | | | | | Enable room version v3 | Erik Johnston | 2019-01-29 | 4 | -4/+14 |
| | | | | | | |||||
* | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-01-29 | 8 | -46/+76 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | erikj/redactions_eiah | ||||
| * \ \ \ \ \ | Merge pull request #4514 from matrix-org/erikj/remove_event_id | Erik Johnston | 2019-01-29 | 8 | -47/+82 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | Remove usages of event ID's domain | ||||
| | * | | | | | | Update comment | Erik Johnston | 2019-01-29 | 1 | -3/+3 |
| | | | | | | | | |||||
| | * | | | | | | check event format version not room version | Erik Johnston | 2019-01-29 | 1 | -2/+2 |
| | | | | | | | | |||||
| | * | | | | | | Don't assert an event must have an event ID | Erik Johnston | 2019-01-29 | 1 | -2/+3 |
| | | | | | | | | |||||
| | * | | | | | | Only check event ID domain for signatures for V1 events | Erik Johnston | 2019-01-29 | 3 | -31/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In future version events won't have an event ID, so we won't be able to do this check. | ||||
| | * | | | | | | Use event origin for filtering incoming events | Erik Johnston | 2019-01-29 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only process events sent to us from a server if the event ID matches the server, to help guard against federation storms. We replace this with a check against the event origin. | ||||
| | * | | | | | | Use snder and not event ID domain to check if ours | Erik Johnston | 2019-01-29 | 2 | -1/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The transaction queue only sends out events that we generate. This was done by checking domain of event ID, but that can no longer be used. Instead, we may as well use the sender field. | ||||
| | * | | | | | | Remove event ID usage when checking if new room | Erik Johnston | 2019-01-29 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The event ID is changing, so we can no longer get the domain from it. On the other hand, the check is unnecessary. | ||||
| | * | | | | | | Only check event IDs domain signed event for V1 and V2 | Erik Johnston | 2019-01-29 | 1 | -5/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since newer versions of events don't have the same format for event ID. | ||||
* | | | | | | | | Fixup comment | Erik Johnston | 2019-01-29 | 1 | -2/+2 |
| | | | | | | | | |||||
* | | | | | | | | kill vdh test some more | Erik Johnston | 2019-01-29 | 1 | -2/+1 |
| | | | | | | | | |||||
* | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-01-29 | 17 | -208/+503 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/redactions_eiah | ||||
| * | | | | | | | Merge pull request #4483 from matrix-org/erikj/event_v2 | Erik Johnston | 2019-01-29 | 4 | -19/+108 |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Implement event format V2 | ||||
| | * | | | | | | | Implement event format v2 | Erik Johnston | 2019-01-29 | 4 | -19/+108 |
| | | | | | | | | | |||||
| * | | | | | | | | Merge pull request #4512 from matrix-org/anoa/consent_dir | Andrew Morgan | 2019-01-29 | 2 | -11/+14 |
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | Check consent dir path on startup | ||||
| | * | | | | | | | Check consent dir path on startup | Andrew Morgan | 2019-01-29 | 2 | -11/+14 |
| | | | | | | | | | |||||
| * | | | | | | | | Relax requirement for a content-type on .well-known (#4511) | Richard van der Hoff | 2019-01-29 | 1 | -20/+13 |
| | | | | | | | | | |||||
| * | | | | | | | | Merge pull request #4498 from matrix-org/travis/fix-docs-public_baseurl | Travis Ralston | 2019-01-29 | 1 | -1/+1 |
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | Don't recommend :8448 to people on public_baseurl | ||||
| | * | | | | | | | Don't recommend :8448 to people on public_baseurl | Travis Ralston | 2019-01-28 | 1 | -1/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Do not generate self-signed TLS certificates by default. (#4509) | Amber Brown | 2019-01-29 | 1 | -43/+18 |
| | |/ / / / / / | |/| | | | | | | |||||
| * | | | | | | | Merge pull request #4481 from matrix-org/erikj/event_builder | Erik Johnston | 2019-01-29 | 7 | -133/+260 |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Refactor event building into EventBuilder | ||||
| | * | | | | | | | Correctly set context.app_service | Erik Johnston | 2019-01-29 | 1 | -0/+2 |
| | | | | | | | | | |||||
| | * | | | | | | | Don't set event_id twice | Erik Johnston | 2019-01-29 | 1 | -2/+0 |
| | | | | | | | | | |||||
| | * | | | | | | | Remove dead function | Erik Johnston | 2019-01-29 | 1 | -11/+0 |
| | | | | | | | | | |||||
| | * | | | | | | | Replace usage of builder.user_id with builder.sender | Erik Johnston | 2019-01-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `.user_id` is proxed to `.sender` in FrozenEvent, so this has no functional change | ||||
| | * | | | | | | | Refactor event building into EventBuilder | Erik Johnston | 2019-01-29 | 5 | -112/+254 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is so that everything is done in one place, making it easier to change the event format based on room version | ||||
| | * | | | | | | | Make add_hashes_and_signatures operate on dicts | Erik Johnston | 2019-01-29 | 1 | -10/+6 |
| | | | | | | | | | |||||
| * | | | | | | | | Implement MSC1708 (.well-known lookups for server routing) (#4489) | Richard van der Hoff | 2019-01-29 | 1 | -4/+110 |
| | | | | | | | | | |||||
| * | | | | | | | | Merge pull request #4510 from matrix-org/erikj/fixup_compute_event_signature | Erik Johnston | 2019-01-29 | 2 | -2/+2 |
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Fixup calls to `comput_event_signature` | ||||
| | * | | | | | | | | Fixup calls to `comput_event_signature` | Erik Johnston | 2019-01-29 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently pass FrozenEvent instead of `dict` to `compute_event_signature`, which works by accident due to `dict(event)` producing the correct result. This fixes PR #4493 commit 855a151 | ||||
* | | | | | | | | | | Update synapse/storage/events_worker.py | Erik Johnston | 2019-01-29 | 1 | -1/+1 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Check redaction state when event is pulled out of the database | Erik Johnston | 2019-01-29 | 1 | -0/+13 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Fix typo | Erik Johnston | 2019-01-29 | 1 | -1/+1 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Remove unused arg | Erik Johnston | 2019-01-29 | 1 | -2/+1 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Drop vdh support | Erik Johnston | 2019-01-29 | 4 | -6/+2 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Add docstring | Erik Johnston | 2019-01-29 | 1 | -0/+12 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Update synapse/storage/events_worker.py | Richard van der Hoff | 2019-01-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re> | ||||
* | | | | | | | | | | Finish comment... | Erik Johnston | 2019-01-29 | 1 | -1/+1 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Implement rechecking of redactions | Erik Johnston | 2019-01-29 | 5 | -10/+53 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Add RoomVersions.V3 constant, without enabling it | Erik Johnston | 2019-01-29 | 1 | -0/+1 |
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add the constant, but don't add it to the known room versions. This lets us start adding V3 logic, but the servers will never join or create V3 rooms | ||||
* | | | | | | | | | Merge pull request #4496 from matrix-org/erikj/invite_fallback | Erik Johnston | 2019-01-29 | 2 | -14/+89 |
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | Implement fallback for V2 invite API |