Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clarify comments | Erik Johnston | 2019-03-05 | 3 | -10/+13 |
| | |||||
* | Fix missing null guard | Erik Johnston | 2019-03-04 | 1 | -1/+1 |
| | |||||
* | Only check history visibility when filtering | Erik Johnston | 2019-03-04 | 2 | -35/+46 |
| | | | | | | When filtering events to send to server we check more than just history visibility. However when deciding whether to backfill or not we only care about the history visibility. | ||||
* | s/get_forward_events/get_successor_events/ | Erik Johnston | 2019-03-04 | 2 | -3/+3 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-03-04 | 101 | -535/+1462 |
|\ | | | | | | | erikj/stop_fed_not_in_room | ||||
| * | Update test_typing to use HomeserverTestCase. (#4771) | Richard van der Hoff | 2019-03-04 | 5 | -179/+176 |
| | | |||||
| * | Fix incorrect log about not persisting duplicate state event. (#4776) | Richard van der Hoff | 2019-03-01 | 2 | -3/+5 |
| | | | | | | We were logging this when it was not true. | ||||
| * | Merge branch 'master' into develop | Richard van der Hoff | 2019-03-01 | 3 | -6/+6 |
| |\ | |||||
| | * | 0.99.2 v0.99.2 github/release-v0.99.2 release-v0.99.2 | Richard van der Hoff | 2019-03-01 | 1 | -6/+0 |
| | | | |||||
| | * | 0.99.2 | Richard van der Hoff | 2019-03-01 | 3 | -4/+10 |
| | | | |||||
| * | | Minor docstring fixes for MatrixFederationAgent (#4765) | Andrew Morgan | 2019-02-28 | 2 | -1/+6 |
| | | | |||||
| * | | Make 'event_id' a required parameter in federated state requests (#4741) | Amber Brown | 2019-02-27 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make 'event_id' a required parameter in federated state requests As per the spec: https://matrix.org/docs/spec/server_server/r0.1.1.html#id40 Signed-off-by: Joseph Weston <joseph@weston.cloud> * add changelog entry for bugfix Signed-off-by: Joseph Weston <joseph@weston.cloud> * Update server.py | ||||
| * | | Fix parsing of Content-Disposition headers (#4763) | Richard van der Hoff | 2019-02-27 | 3 | -20/+111 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix parsing of Content-Disposition headers TIL: filenames in content-dispostion headers can contain semicolons, and aren't %-encoded. * fix python2 incompatibility * Fix docstrings | ||||
| * | | Move from TravisCI to BuildKite (#4752) | Amber Brown | 2019-02-27 | 13 | -108/+325 |
| | | | |||||
| * | | Merge pull request #4759 from matrix-org/erikj/3pid_client_reader | Erik Johnston | 2019-02-27 | 4 | -33/+37 |
| |\ \ | | | | | | | | | Move /account/3pid to client_reader | ||||
| | * | | Update changelog.d/4759.feature | Richard van der Hoff | 2019-02-27 | 1 | -1/+1 |
| | | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re> | ||||
| | * | | Newsfile | Erik Johnston | 2019-02-27 | 1 | -0/+1 |
| | | | | |||||
| | * | | Move /account/3pid to client_reader | Erik Johnston | 2019-02-27 | 3 | -33/+36 |
| | | | | |||||
| * | | | Merge pull request #4758 from matrix-org/erikj/use_presence_replication | Erik Johnston | 2019-02-27 | 3 | -2/+9 |
| |\ \ \ | | | | | | | | | | | When presence is disabled don't send over replication | ||||
| | * | | | Newsfile | Erik Johnston | 2019-02-27 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | When presence is enabled don't send over replication | Erik Johnston | 2019-02-27 | 2 | -2/+8 |
| | |/ / | |||||
| * | | | Merge pull request #4757 from matrix-org/erikj/key_api_fed_readae | Erik Johnston | 2019-02-27 | 4 | -1/+13 |
| |\ \ \ | | |/ / | |/| | | Move server key queries to federation reader | ||||
| | * | | Fix unit tests | Erik Johnston | 2019-02-27 | 1 | -0/+6 |
| | | | | |||||
| | * | | Newsfile | Erik Johnston | 2019-02-27 | 1 | -0/+1 |
| | | | | |||||
| | * | | Move server key queries to federation reader | Erik Johnston | 2019-02-27 | 2 | -1/+6 |
| |/ / | |||||
| * | | Merge pull request #4749 from matrix-org/erikj/replication_connection_backoff | Erik Johnston | 2019-02-27 | 5 | -6/+43 |
| |\ \ | | |/ | |/| | Fix tightloop over connecting to replication server | ||||
| | * | Move connecting logic into ClientReplicationStreamProtocol | Erik Johnston | 2019-02-27 | 2 | -18/+17 |
| | | | |||||
| | * | Newsfile | Erik Johnston | 2019-02-26 | 1 | -0/+1 |
| | | | |||||
| | * | Increase the max delay between retry attempts | Erik Johnston | 2019-02-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Otherwise if you have many workers they can easily take out master with their connection attempts | ||||
| | * | Fix tightloop over connecting to replication server | Erik Johnston | 2019-02-26 | 3 | -5/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the client failed to process incoming commands during the initial set up of the replication connection it would immediately disconnect and reconnect, resulting in a tightloop. This can happen, for example, when subscribing to a stream that has a row that is too long in the backlog. The fix here is to not consider the connection successfully set up until the client has succesfully subscribed and caught up with the streams. This ensures that the retry logic timers aren't reset until then, meaning that if an error does happen during start up the client will continue backing off before retrying again. | ||||
| * | | 0.99.2rc1 v0.99.2rc1 | Richard van der Hoff | 2019-02-27 | 50 | -53/+63 |
| | | | |||||
| * | | Limit cache invalidation replication line length (#4748) | Erik Johnston | 2019-02-27 | 3 | -5/+28 |
| | | | |||||
| * | | Add database version to phonehome stats. (#4753) | Richard van der Hoff | 2019-02-27 | 5 | -0/+46 |
| | | | |||||
| * | | Fix check-newsfragment script (#4750) | Richard van der Hoff | 2019-02-26 | 3 | -4/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix check-newsfragment script I previously broke this so that it always succeeded... * more fixes * fix newsfiles | ||||
| * | | Fix apache reverse proxy example (#4742) | Paul Tötterman | 2019-02-26 | 1 | -1/+1 |
| |/ | | | | | | | | | So that it actually works. See https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypass Signed-off-by: Paul Tötterman <paul.totterman@iki.fi> | ||||
| * | Merge pull request #4746 from matrix-org/anoa/public_rooms_federate_develop | Andrew Morgan | 2019-02-26 | 4 | -13/+65 |
| |\ | | | | | | | Prevent showing non-fed rooms in fed /publicRooms v2 | ||||
| | * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Andrew Morgan | 2019-02-26 | 391 | -6363/+18845 |
| | |\ | | |/ | |/| | | | | anoa/public_rooms_federate_develop | ||||
| * | | Merge pull request #4745 from matrix-org/revert-4736-anoa/public_rooms_federate | Andrew Morgan | 2019-02-26 | 4 | -70/+17 |
| |\ \ | | | | | | | | | Revert "Prevent showing non-fed rooms in fed /publicRooms" | ||||
| | * | | Revert "Prevent showing non-fed rooms in fed /publicRooms" | Andrew Morgan | 2019-02-26 | 4 | -70/+17 |
| |/ / | |||||
| * | | Merge pull request #4736 from matrix-org/anoa/public_rooms_federate | Andrew Morgan | 2019-02-26 | 4 | -17/+70 |
| |\ \ | | | | | | | | | Config option to prevent showing non-fed rooms in fed /publicRooms | ||||
| | * | | Cleaner chunk logic | Andrew Morgan | 2019-02-26 | 1 | -5/+4 |
| | | | | |||||
| | * | | Correct indent | Andrew Morgan | 2019-02-26 | 1 | -3/+3 |
| | | | | |||||
| | * | | Correct docstring types and chunk logic | Andrew Morgan | 2019-02-26 | 1 | -10/+11 |
| | | | | |||||
| | * | | Clean up room chunk logic | Andrew Morgan | 2019-02-26 | 1 | -6/+8 |
| | | | | |||||
| | * | | Make not showing non-federated rooms the default | Andrew Morgan | 2019-02-26 | 2 | -13/+1 |
| | | | | |||||
| | * | | Result may be None | Andrew Morgan | 2019-02-26 | 1 | -1/+1 |
| | | | | |||||
| | * | | Address rich comments | Andrew Morgan | 2019-02-26 | 2 | -7/+31 |
| | | | | |||||
| | * | | Fix group's call to generate_room_entry | Andrew Morgan | 2019-02-25 | 1 | -4/+2 |
| | | | | |||||
| | * | | elif not else if | Andrew Morgan | 2019-02-25 | 1 | -1/+1 |
| | | | | |||||
| | * | | syntax derp | Andrew Morgan | 2019-02-25 | 1 | -1/+1 |
| | | | | |||||
| | * | | Simplify call to generate_room_entry | Andrew Morgan | 2019-02-25 | 1 | -17/+13 |
| | | | | |||||
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-02-25 | 384 | -6331/+18693 |
| | |\ \ | | | | | | | | | | | | | | | | anoa/public_rooms_federate | ||||
| | * | | | Docs and arg name clarification | Andrew Morgan | 2019-02-25 | 1 | -2/+15 |
| | | | | | |||||
| | * | | | Don't restrict non-fed rooms over client APIs | Andrew Morgan | 2019-02-25 | 3 | -14/+22 |
| | | | | | |||||
| | * | | | Config option to prevent showing non-fed rooms in fed /publicRooms | Andrew Morgan | 2019-02-25 | 2 | -2/+26 |
| | | | | | |||||
| * | | | | Don't log stack trace when client has gone away during media download (#4738) | Erik Johnston | 2019-02-25 | 2 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't log stack trace when client has gone away during media download * Newsfile * Fixup newsfile | ||||
| * | | | | Fix ACME config for python 2. (#4717) | Richard van der Hoff | 2019-02-25 | 2 | -3/+8 |
| | | | | | | | | | | | | | | | Fixes #4675. | ||||
| * | | | | switch from google.com to recaptcha.net for reCAPTCHA (#4731) | Matthew Hodgson | 2019-02-25 | 5 | -5/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add trivial clarification about jemalloc * switch from google.com to recaptcha.net because https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally | ||||
| * | | | | Merge pull request #4737 from matrix-org/erikj/failure_log_tb | Erik Johnston | 2019-02-25 | 5 | -8/+14 |
| |\ \ \ \ | | | | | | | | | | | | | Log tracebacks correctly | ||||
| | * | | | | Newsfile | Erik Johnston | 2019-02-25 | 2 | -1/+2 |
| | | | | | | |||||
| | * | | | | Log tracebacks correctly | Erik Johnston | 2019-02-25 | 3 | -7/+12 |
| | | |/ / | | |/| | | |||||
| * | | | | Merge pull request #4718 from matrix-org/erikj/fix_backfill_state_shred | Erik Johnston | 2019-02-25 | 2 | -3/+32 |
| |\ \ \ \ | | | | | | | | | | | | | Fix backfill storing incorrect state for events | ||||
| | * | | | | Fixup changelog | Erik Johnston | 2019-02-25 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | 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 |
| | | | | | | |||||
| | * | | | | Newsfile | Erik Johnston | 2019-02-25 | 1 | -0/+1 |
| | | | | | | |||||
| | * | | | | 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 | 3 | -2/+27 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | MSC 1866 - Use M_UNSUPPORTED_ROOM_VERSION for invite API | ||||
| | * | | | | | Newsfile | Erik Johnston | 2019-02-23 | 1 | -0/+1 |
| | | | | | | | |||||
| | * | | | | | 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 | 2 | -21/+52 |
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | 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 |
| | | | | | | | |||||
| | * | | | | | Newsfile | Erik Johnston | 2019-02-23 | 1 | -0/+1 |
| | | | | | | | |||||
| | * | | | | | Handle errors when fetching remote server keys | Erik Johnston | 2019-02-23 | 1 | -21/+51 |
| | |/ / / / | |||||
| * | | | | | Merge pull request #4723 from matrix-org/erikj/frontend_proxy_exception | Erik Johnston | 2019-02-25 | 2 | -5/+11 |
| |\ \ \ \ \ | | |/ / / / | |/| | | | | Correctly proxy exception in frontend_proxy worker | ||||
| | * | | | | Newsfile | Erik Johnston | 2019-02-23 | 1 | -0/+1 |
| | | | | | | |||||
| | * | | | | 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 | 4 | -1/+17 |
| |\ \ \ \ | | | | | | | | | | | | | 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 |
| | | | | | | |||||
| | * | | | | Newsfile | Erik Johnston | 2019-02-22 | 1 | -0/+1 |
| | | | | | | |||||
| | * | | | | 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 |
| | |/ / / | |||||
| * | | | | Merge pull request #4715 from matrix-org/erikj/fix_state_invalidation | Erik Johnston | 2019-02-22 | 3 | -12/+36 |
| |\ \ \ \ | | | | | | | | | | | | | Fix state cache invalidation on workers | ||||
| | * | | | | Newsfile | Erik Johnston | 2019-02-22 | 1 | -0/+1 |
| | | | | | | |||||
| | * | | | | Fix state cache invalidation on workers | Erik Johnston | 2019-02-22 | 2 | -12/+35 |
| | |/ / / | |||||
| * / / / | Debian: fix overwriting of config settings on upgrade (#4696) | Richard van der Hoff | 2019-02-22 | 5 | -8/+165 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | Make sure that users' changes to the config files are preserved. Fixes #4440. | ||||
| * | | | Add prometheus metrics for number of badge update pushes. (#4709) | Richard van der Hoff | 2019-02-22 | 2 | -8/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | We're counting the number of push notifications, but not the number of badges; I'd like to see if they are significant. | ||||
| * | | | Better checks on newsfragments (#4698) | Richard van der Hoff | 2019-02-22 | 4 | -12/+68 |
| | | | | | | | | | | | | | | | | | | | | * You need an entry in the debian changelog (and not a regular newsfragment) for debian packaging changes. * Regular newsfragments must end in full stops. | ||||
| * | | | Minor tweaks to acme docs (#4689) | Richard van der Hoff | 2019-02-22 | 2 | -10/+10 |
| | | | | |||||
| * | | | bail out early in on_new_receipts if no pushers (#4706) | Richard van der Hoff | 2019-02-21 | 2 | -0/+9 |
| | | | | |||||
| * | | | Run push_receipts_to_remotes as background job (#4707) | Richard van der Hoff | 2019-02-21 | 2 | -34/+35 |
| | | | | | | | | | | | | I suspect the CPU usage metrics for this are going to /dev/null at the moment. | ||||
| * | | | Added HAProxy example (#4660) | Benoît S | 2019-02-21 | 2 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added HAProxy example Proposal of an example with HAProxy. Asked by #4541. Signed-off-by: Benoît S. (“Benpro”) <gitlab@benpro.fr> * Following suggestions of @richvdh | ||||
| * | | | Merge pull request #4263 from rkfg/develop | Erik Johnston | 2019-02-21 | 2 | -1/+2 |
| |\ \ \ | | | | | | | | | | | Prevent crash on pagination. | ||||
| | * | | | Prevent crash on pagination. | rkfg | 2018-12-06 | 2 | -1/+2 |
| | | | | | |||||
| * | | | | Merge pull request #4701 from fistons/fix-migration-script | Erik Johnston | 2019-02-21 | 2 | -0/+4 |
| |\ \ \ \ | | | | | | | | | | | | | Migration Script: consider e2e_room_keys.is_verified column as boolean | ||||
| | * | | | | Consider e2e_room_keys.is_verified column as boolean | Eric | 2019-02-20 | 2 | -0/+4 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This column was considered as an int, crashing the whole migration process Signed-off-by: Eric <eric@pedr0.net> | ||||
| | | | * | Add changelog | Andrew Morgan | 2019-02-26 | 1 | -0/+1 |
| | | | | | |||||
| | | | * | Put function def back to the way it was | Andrew Morgan | 2019-02-26 | 1 | -3/+3 |
| | | | | | |||||
| | | | * | Prevent showing non-fed rooms in fed /publicRooms | Andrew Morgan | 2019-02-26 | 3 | -17/+54 |
| | | |/ | |||||
* | | | | Update newsfile to have a full stop | Erik Johnston | 2019-02-27 | 1 | -1/+1 |
| | | | | |||||
* | | | | Update comments | Erik Johnston | 2019-02-27 | 1 | -3/+13 |
| | | | | |||||
* | | | | Newsfile | Erik Johnston | 2019-02-20 | 1 | -0/+1 |
| | | | | |||||
* | | | | Stop backpaginating when events not visible | Erik Johnston | 2019-02-20 | 3 | -5/+78 |
|/ / / | |||||
* | | | Merge pull request #4694 from matrix-org/erikj/fix_sentry_config_format | Erik Johnston | 2019-02-20 | 2 | -0/+3 |
|\ \ \ | | | | | | | | | Fixup generated metrics config | ||||
| * | | | Newsfile | Erik Johnston | 2019-02-20 | 1 | -0/+1 |
| | | | | |||||
| * | | | 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 | 3 | -6/+19 |
| | | | | |||||
* | | | | UPSERT many functionality (#4644) | Amber Brown | 2019-02-20 | 4 | -13/+224 |
| | | | | |||||
* | | | | Logging improvements for the pusher (#4691) | Richard van der Hoff | 2019-02-20 | 3 | -13/+15 |
| | | | | |||||
* | | | | Fix TaskStopped exceptions when outbound requests time out (#4690) | Richard van der Hoff | 2019-02-20 | 4 | -18/+30 |
| | | | | |||||
* | | | | Clean up gitignores (#4688) | Richard van der Hoff | 2019-02-20 | 3 | -58/+38 |
| | | | | | | | | | | | | | | | | | | | | I just got bitten by a file being caught by the .gitignore, which shouldn't have been, and am now pissed off with the .gitignore. I have basically declared bankruptcy on it and started again. | ||||
* | | | | Merge pull request #4678 from matrix-org/rav/tls_install_instructions | Richard van der Hoff | 2019-02-20 | 26 | -216/+268 |
|\ \ \ \ | |/ / / |/| | | | Attempt to clarify installation/config instructions | ||||
| * | | | changelog | Richard van der Hoff | 2019-02-19 | 1 | -0/+1 |
| | | | | |||||
| * | | | 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. | ||||
| * | | | clarify TLS instructions | Richard van der Hoff | 2019-02-19 | 1 | -20/+19 |
| | | | | |||||
* | | | | Fix registration on workers (#4682) | Erik Johnston | 2019-02-20 | 14 | -151/+277 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move RegistrationHandler init to HomeServer * Move post registration actions to RegistrationHandler * Add post regisration replication endpoint * Newsfile | ||||
* | | | | Run unit tests against python 3.7 (#4677) | Richard van der Hoff | 2019-02-20 | 3 | -38/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Run unit tests against python 3.7 ... so that we span the full range of our supported python versions * Switch to xenial * fix psql fail * pep8 etc want python 3.6 | ||||
* | | | | Merge pull request #4671 from matrix-org/erikj/state_cache_invalidation | Erik Johnston | 2019-02-19 | 5 | -33/+96 |
|\ \ \ \ | |/ / / |/| | | | Batch cache invalidation over replication | ||||
| * | | | Docs | Erik Johnston | 2019-02-19 | 2 | -2/+8 |
| | | | | |||||
| * | | | Use itertools | Erik Johnston | 2019-02-19 | 1 | -2/+2 |
| | | | | |||||
| * | | | Documentation | Erik Johnston | 2019-02-19 | 2 | -5/+24 |
| | | | | |||||
| * | | | Newsfile | Erik Johnston | 2019-02-18 | 1 | -0/+1 |
| | | | | |||||
| * | | | 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 #4676 from matrix-org/rav/pg95 | Richard van der Hoff | 2019-02-19 | 2 | -14/+33 |
|\ \ \ \ | | | | | | | | | | | Test against Postgres 9.5 as well as 9.4 | ||||
| * | | | | Test against Postgres 9.5 as well as 9.4 | Richard van der Hoff | 2019-02-19 | 2 | -14/+33 |
| |/ / / | | | | | | | | | | | | | | | | | Postgres 9.5 is the first to support UPSERTs, so we should really run against it as well as 9.4. | ||||
* | | | | Merge pull request #4652 from matrix-org/babolivier/acme-delegated | Brendan Abolivier | 2019-02-19 | 3 | -4/+21 |
|\ \ \ \ | | | | | | | | | | | 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 | 14 | -41/+297 |
| |\ \ \ \ | |||||
| * | | | | | Typo in changelog | Andrew Morgan | 2019-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Co-Authored-By: babolivier <contact@brendanabolivier.com> | ||||
| * | | | | | 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 | 2 | -4/+24 |
| | | | | | | |||||
* | | | | | | Merge pull request #4670 from matrix-org/erikj/register_login_split | Erik Johnston | 2019-02-19 | 5 | -43/+47 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Split /login into client_reader | ||||
| * | | | | | | Newsfile | Erik Johnston | 2019-02-18 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Update worker docs | Erik Johnston | 2019-02-18 | 2 | -2/+3 |
| | | | | | | | |||||
| * | | | | | | 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 | 2 | -8/+7 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * fix to use makeContext so that we don't need to rebuild the certificateoptions each time | ||||
| * | | | | | | | misc->feature | Richard van der Hoff | 2019-02-19 | 1 | -0/+0 |
| | | | | | | | | |||||
| * | | | | | | | changelog | Amber Brown | 2019-02-19 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | 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 | 2 | -0/+23 |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | 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 | 2 | -9/+7 |
| | | | | | | | |||||
| * | | | | | | Membership events are done later | Andrew Morgan | 2019-02-18 | 1 | -12/+20 |
| | | | | | | | |||||
| * | | | | | | Add changelog | Andrew Morgan | 2019-02-18 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | 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 | 4 | -1/+61 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | 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 | 3 | -6/+11 |
| | | | | | | | | |||||
| * | | | | | | | Newsfile | Erik Johnston | 2019-02-12 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | 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 | 11 | -255/+450 |
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | Split out registration to worker | ||||
| * | | | | | | | Move register_device into handler | Erik Johnston | 2019-02-18 | 5 | -172/+97 |
| | | | | | | | | |||||
| * | | | | | | | Update docs | Erik Johnston | 2019-02-18 | 2 | -1/+7 |
| | | | | | | | | |||||
| * | | | | | | | Update changelog.d/4666.feature | Will Hunt | 2019-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re> | ||||
| * | | | | | | | Fix unit tests | Erik Johnston | 2019-02-18 | 1 | -6/+15 |
| | | | | | | | | |||||
| * | | | | | | | Newsfile | Erik Johnston | 2019-02-18 | 1 | -0/+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 | 2 | -5/+10 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Correctly handle HttpResponseException when handling device updates | ||||
| * | | | | | | | | pep8 | Erik Johnston | 2019-02-18 | 1 | -1/+5 |
| | | | | | | | | | |||||
| * | | | | | | | | Newsfile | Erik Johnston | 2019-02-18 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | 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 | 2 | -3/+4 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Cleanup top level request exception logging | ||||
| * | | | | | | | | Newsfile | Erik Johnston | 2019-02-18 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | 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 | 2 | -0/+4 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | set CORS on .well-known URI to unbreak modular | ||||
| * | | | | | | | | Fixup | Erik Johnston | 2019-02-18 | 2 | -1/+2 |
| | | | | | | | | | |||||
| * | | | | | | | | changelog | Matthew Hodgson | 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 | 3 | -1/+4 |
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | Fix kicking guest users in worker mode | ||||
| * | | | | | | | Newsfile | Erik Johnston | 2019-02-18 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | 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 | 5 | -8/+20 |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | Correctly handle RequestSendFailed exceptions | ||||
| * | | | | | | Newsfile | Erik Johnston | 2019-02-14 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Correctly handle RequestSendFailed exceptions | Erik Johnston | 2019-02-14 | 4 | -8/+19 |
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | This mainly reduces the number of exceptions we log. | ||||
* | | | | | | Merge pull request #4657 from matrix-org/travis/linda/spelling | Erik Johnston | 2019-02-18 | 3 | -2/+3 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix spelling mistakes | ||||
| * | | | | | | UPGRADE.rst: Fix a typo in "Upgrading Synapse" section | Juuso "Linda" Lapinlampi | 2019-02-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | See: https://en.wiktionary.org/wiki/successful | ||||
| * | | | | | | 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". | ||||
| * | | | | | | Changelog | Travis Ralston | 2019-02-15 | 1 | -0/+1 |
|/ / / / / / | |||||
* | | | | | | Merge pull request #4647 from matrix-org/erikj/add_room_publishing_rules | Erik Johnston | 2019-02-15 | 6 | -31/+274 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | 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 | 2 | -6/+24 |
| | | | | | | |||||
| * | | | | | Only fetch aliases when publishing rooms | Erik Johnston | 2019-02-14 | 1 | -15/+15 |
| | | | | | | |||||
| * | | | | | Fixup comments | Erik Johnston | 2019-02-14 | 1 | -8/+15 |
| | | | | | | |||||
| * | | | | | Newsfile | Erik Johnston | 2019-02-14 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Add configurable room list publishing rules | Erik Johnston | 2019-02-14 | 5 | -22/+200 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | 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 | 6 | -8/+37 |
|\ \ \ \ \ | |||||
| * \ \ \ \ | Merge branch 'release-v0.99.1' | Richard van der Hoff | 2019-02-14 | 6 | -8/+37 |
| |\ \ \ \ \ | |||||
| | * | | | | | Fix debian build dockerfile github/release-v0.99.1 release-v0.99.1 | Richard van der Hoff | 2019-02-14 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure it refreshes the apt cache before trying to install stuff | ||||
| | * | | | | | 0.99.1.1 v0.99.1.1 | Richard van der Hoff | 2019-02-14 | 4 | -3/+17 |
| | | | | | | | |||||
| | * | | | | | Fix errors in acme provisioning (#4648) | Richard van der Hoff | 2019-02-14 | 3 | -6/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 6 | -7/+17 |
|\| | | | | | | |_|/ / / / |/| | | | | | |||||
| * | | | | | Merge tag 'v0.99.1' | Richard van der Hoff | 2019-02-14 | 56 | -555/+1312 |
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse 0.99.1 (2019-02-14) =========================== Features -------- - Include m.room.encryption on invites by default ([\#3902](https://github.com/matrix-org/synapse/issues/3902)) - Federation OpenID listener resource can now be activated even if federation is disabled ([\#4420](https://github.com/matrix-org/synapse/issues/4420)) - Synapse's ACME support will now correctly reprovision a certificate that approaches its expiry while Synapse is running. ([\#4522](https://github.com/matrix-org/synapse/issues/4522)) - Add ability to update backup versions ([\#4580](https://github.com/matrix-org/synapse/issues/4580)) - Allow the "unavailable" presence status for /sync. This change makes Synapse compliant with r0.4.0 of the Client-Server specification. ([\#4592](https://github.com/matrix-org/synapse/issues/4592)) - There is no longer any need to specify `no_tls`: it is inferred from the absence of TLS listeners ([\#4613](https://github.com/matrix-org/synapse/issues/4613), [\#4615](https://github.com/matrix-org/synapse/issues/4615), [\#4617](https://github.com/matrix-org/synapse/issues/4617), [\#4636](https://github.com/matrix-org/synapse/issues/4636)) - The default configuration no longer requires TLS certificates. ([\#4614](https://github.com/matrix-org/synapse/issues/4614)) Bugfixes -------- - Copy over room federation ability on room upgrade. ([\#4530](https://github.com/matrix-org/synapse/issues/4530)) - Fix noisy "twisted.internet.task.TaskStopped" errors in logs ([\#4546](https://github.com/matrix-org/synapse/issues/4546)) - Synapse is now tolerant of the `tls_fingerprints` option being None or not specified. ([\#4589](https://github.com/matrix-org/synapse/issues/4589)) - Fix 'no unique or exclusion constraint' error ([\#4591](https://github.com/matrix-org/synapse/issues/4591)) - Transfer Server ACLs on room upgrade. ([\#4608](https://github.com/matrix-org/synapse/issues/4608)) - Fix failure to start when not TLS certificate was given even if TLS was disabled. ([\#4618](https://github.com/matrix-org/synapse/issues/4618)) - Fix self-signed cert notice from generate-config. ([\#4625](https://github.com/matrix-org/synapse/issues/4625)) - Fix performance of `user_ips` table deduplication background update ([\#4626](https://github.com/matrix-org/synapse/issues/4626), [\#4627](https://github.com/matrix-org/synapse/issues/4627)) Internal Changes ---------------- - Change the user directory state query to use a filtered call to the db instead of a generic one. ([\#4462](https://github.com/matrix-org/synapse/issues/4462)) - Reject federation transactions if they include more than 50 PDUs or 100 EDUs. ([\#4513](https://github.com/matrix-org/synapse/issues/4513)) - Reduce duplication of ``synapse.app`` code. ([\#4567](https://github.com/matrix-org/synapse/issues/4567)) - Fix docker upload job to push -py2 images. ([\#4576](https://github.com/matrix-org/synapse/issues/4576)) - Add port configuration information to ACME instructions. ([\#4578](https://github.com/matrix-org/synapse/issues/4578)) - Update MSC1711 FAQ to calrify .well-known usage ([\#4584](https://github.com/matrix-org/synapse/issues/4584)) - Clean up default listener configuration ([\#4586](https://github.com/matrix-org/synapse/issues/4586)) - Clarifications for reverse proxy docs ([\#4607](https://github.com/matrix-org/synapse/issues/4607)) - Move ClientTLSOptionsFactory init out of `refresh_certificates` ([\#4611](https://github.com/matrix-org/synapse/issues/4611)) - Fail cleanly if listener config lacks a 'port' ([\#4616](https://github.com/matrix-org/synapse/issues/4616)) - Remove redundant entries from docker config ([\#4619](https://github.com/matrix-org/synapse/issues/4619)) - README updates ([\#4621](https://github.com/matrix-org/synapse/issues/4621)) | ||||
| | * | | | | 0.99.1 v0.99.1 | Richard van der Hoff | 2019-02-14 | 3 | -16/+11 |
| | | | | | | |||||
| | * | | | | implement `reload` by sending the HUP signal (#4622) | Дамјан Георгиевски | 2019-02-14 | 2 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * implement `reload` by sending the HUP signal According to the 0.99 release info* synapse now uses the HUP signal to reload certificates: > Synapse will now reload TLS certificates from disk upon SIGHUP. (#4495, #4524) So the matrix-synapse.service unit file should include a reload directive. Signed-off-by: Дамјан Георгиевски <gdamjan@gmail.com> | ||||
| | * | | | | 0.99.1rc2 v0.99.1rc2 | Richard van der Hoff | 2019-02-13 | 3 | -2/+10 |
| | | | | | | |||||
| * | | | | | Update MSC1711_certificates_FAQ.md | Erik Johnston | 2019-02-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Fix incorrect heading level | ||||
* | | | | | | Merge pull request #4450 from 14mRh4X0r/fix-dependency-message | Richard van der Hoff | 2019-02-13 | 2 | -2/+7 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix error message for optional dependencies | ||||
| * | | | | | | Fix error message for optional dependencies | Willem Mulder | 2019-01-23 | 2 | -2/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 4 | -22/+35 |
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | |||||
| * | | | | | | Merge pull request #4636 from matrix-org/rav/bind_address_fixes | Richard van der Hoff | 2019-02-13 | 4 | -22/+35 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | Fix errors when using default bind_addresses with replication/metrics listeners | ||||
| | * | | | | | | Update synapse/app/_base.py | Erik Johnston | 2019-02-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: richvdh <1389908+richvdh@users.noreply.github.com> | ||||
| | * | | | | | | changelog | Richard van der Hoff | 2019-02-13 | 1 | -0/+1 |
| | | | | | | | | |||||
| | * | | | | | | 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 | 3 | -131/+117 |
|/ / / / / / | |||||
* | | | | | | Fixup changelog v0.99.1rc1 | Erik Johnston | 2019-02-12 | 1 | -4/+4 |
| | | | | | | |||||
* | | | | | | Update changelog and version | Erik Johnston | 2019-02-12 | 32 | -32/+47 |
| | | | | | | |||||
* | | | | | | Merge pull request #4608 from matrix-org/anoa/acls_room_upgrade | Erik Johnston | 2019-02-12 | 2 | -0/+2 |
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | Transfer Server ACLs on room upgrade | ||||
| * | | | | | Changelog | Andrew Morgan | 2019-02-11 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Transfer Server ACLs on room upgrade | Andrew Morgan | 2019-02-11 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | Fixup changelog entries | Erik Johnston | 2019-02-12 | 4 | -2/+2 |
| | | | | | | |||||
* | | | | | | Merge pull request #4627 from matrix-org/erikj/user_ips_analyze | Erik Johnston | 2019-02-12 | 3 | -3/+32 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Analyze user_ips before running deduplication | ||||
| * | | | | | | Fix pep8 | Erik Johnston | 2019-02-12 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Newsfile | Erik Johnston | 2019-02-12 | 1 | -0/+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 | 2 | -3/+61 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Reduce user_ips bloat during dedupe background update | ||||
| * | | | | | | | Newsfile | Erik Johnston | 2019-02-12 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | 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 | 2 | -7/+3 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | fix self-signed cert notice from generate-config | ||||
| * | | | | | | | fix self-signed cert notice from generate-config | Richard van der Hoff | 2019-02-12 | 2 | -7/+3 |
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | fixes #4620 | ||||
* | | | | | | | README updates (#4621) | Richard van der Hoff | 2019-02-12 | 3 | -63/+80 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lots of updates to the README/INSTALL.md. Fixes #4601. | ||||
* | | | | | | | Disable TLS by default (#4614) | Richard van der Hoff | 2019-02-12 | 3 | -27/+28 |
| | | | | | | | |||||
* | | | | | | | Fix error when loading cert if tls is disabled (#4618) | Richard van der Hoff | 2019-02-12 | 4 | -18/+47 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If TLS is disabled, it should not be an error if no cert is given. Fixes #4554. | ||||
* | | | | | | Merge pull request #4619 from matrix-org/rav/remove_docker_no_tls_hacks | Erik Johnston | 2019-02-12 | 3 | -24/+2 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Remove redundant entries from docker config | ||||
| * | | | | | | Remove redundant entries from docker config | Richard van der Hoff | 2019-02-11 | 3 | -24/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * no_tls is now redundant (#4613) * we don't need a dummy cert any more (#4618) | ||||
* | | | | | | | Merge pull request #4613 from matrix-org/rav/deprecate_no_tls | Erik Johnston | 2019-02-12 | 11 | -44/+82 |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | Infer no_tls from presence of TLS listeners | ||||
| * | | | | | | fix tests | Richard van der Hoff | 2019-02-11 | 2 | -3/+7 |
| | | | | | | | |||||
| * | | | | | | Infer no_tls from presence of TLS listeners | Richard van der Hoff | 2019-02-11 | 10 | -20/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -3/+7 |
| |\ \ \ \ \ \ | |||||
| | * | | | | | | Don't create server contexts when TLS is disabled | Richard van der Hoff | 2019-02-11 | 3 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -22/+39 |
| |\| | | | | | | |||||
| | * | | | | | | Logging improvements around TLS certs | Richard van der Hoff | 2019-02-11 | 3 | -22/+39 |
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -0/+6 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | ... 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 | 5 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's nothing to do with refreshing the certificates. No idea why it was here. |