Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lint | Andrew Morgan | 2019-03-18 | 1 | -1/+1 |
| | |||||
* | Better exception handling | Andrew Morgan | 2019-03-18 | 1 | -16/+17 |
| | |||||
* | Correct var name | Andrew Morgan | 2019-03-13 | 1 | -2/+2 |
| | |||||
* | receiving a 400 caused an exception. handle it | Andrew Morgan | 2019-03-13 | 1 | -5/+12 |
| | |||||
* | is this what purgatory feels like | Andrew Morgan | 2019-03-13 | 1 | -3/+3 |
| | |||||
* | i should have given up x2 | Andrew Morgan | 2019-03-13 | 1 | -18/+13 |
| | |||||
* | i should have given up | Andrew Morgan | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | there comes a time when you should give up. but you dont | Andrew Morgan | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | as above | Andrew Morgan | 2019-03-13 | 1 | -2/+4 |
| | |||||
* | no kwargs today | Andrew Morgan | 2019-03-13 | 1 | -7/+12 |
| | |||||
* | Or perhaps I was the one who was drunk | Andrew Morgan | 2019-03-13 | 1 | -6/+3 |
| | |||||
* | go home python, you're drunk | Andrew Morgan | 2019-03-13 | 1 | -4/+2 |
| | |||||
* | Syntax checker is bork | Andrew Morgan | 2019-03-13 | 1 | -6/+5 |
| | |||||
* | Destructure again | Andrew Morgan | 2019-03-13 | 1 | -7/+8 |
| | |||||
* | Are you happy now | Andrew Morgan | 2019-03-13 | 1 | -2/+2 |
| | |||||
* | Syntax test | Andrew Morgan | 2019-03-13 | 1 | -6/+5 |
| | |||||
* | Remove testing code | Andrew Morgan | 2019-03-13 | 1 | -3/+0 |
| | |||||
* | Add missing docstring detail | Andrew Morgan | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | Fix syntax issues | Andrew Morgan | 2019-03-13 | 1 | -7/+10 |
| | |||||
* | Switch to wrapper function around _send_request | Andrew Morgan | 2019-03-13 | 2 | -37/+76 |
| | |||||
* | Retry on 400:M_UNRECOGNIZED | Andrew Morgan | 2019-03-13 | 1 | -6/+10 |
| | |||||
* | Fix paranthesis indent | Andrew Morgan | 2019-03-13 | 1 | -1/+2 |
| | |||||
* | Add workaround note | Andrew Morgan | 2019-03-13 | 1 | -10/+4 |
| | |||||
* | Cleaner way of implementing trailing slashes | Andrew Morgan | 2019-03-12 | 2 | -68/+62 |
| | |||||
* | Merge branch 'develop' into anoa/trailing_slashes_client | Andrew Morgan | 2019-03-11 | 2 | -9/+9 |
|\ | |||||
| * | Make federation endpoints more tolerant of trailing slashes for some ↵ | Andrew Morgan | 2019-03-11 | 2 | -8/+8 |
| | | | | | | | | | | endpoints (#4793) Server side of a solution towards #3622. | ||||
| * | Correctly log expected errors when fetching server keys | Erik Johnston | 2019-03-11 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'develop' into anoa/trailing_slashes_client | Andrew Morgan | 2019-03-11 | 4 | -19/+53 |
|\| | |||||
| * | fix incorrect encoding of filenames with spaces in (#2090) | Matthew Hodgson | 2019-03-11 | 1 | -3/+51 |
| | | | | | | | | fixes https://github.com/vector-im/riot-web/issues/3155 | ||||
| * | Add comment to schema | Erik Johnston | 2019-03-08 | 1 | -0/+2 |
| | | |||||
| * | Make `prev_state` field optional | Erik Johnston | 2019-03-08 | 2 | -16/+0 |
| | | | | | | | | | | | | | | The `prev_state` field on events is not specced and so synapse shouldn't explode if an event is missing the field. Fixes #4787 | ||||
* | | lint | Andrew Morgan | 2019-03-08 | 1 | -1/+3 |
| | | |||||
* | | Retry certain federation requests on 404 | Andrew Morgan | 2019-03-08 | 2 | -5/+50 |
| | | |||||
* | | Remove trailing slashes from outbound federation requests | Andrew Morgan | 2019-03-08 | 1 | -7/+7 |
|/ | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-03-08 | 17 | -426/+384 |
|\ | | | | | | | erikj/soft_fail_impl | ||||
| * | Merge pull request #4829 from matrix-org/erikj/device_list_seen_updates | Erik Johnston | 2019-03-08 | 1 | -3/+7 |
| |\ | | | | | | | When re-syncing device lists reset the state | ||||
| | * | When re-syncing device lists reset the state | Erik Johnston | 2019-03-07 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | We keep track of what stream IDs we've seen so that we know what updates we've handled or missed. If we re-sync we don't know if the updates we've seen are included in the re-sync (there may be a race), so we should reset the seen updates. | ||||
| * | | Add some debug logging for device list handling | Erik Johnston | 2019-03-07 | 1 | -2/+38 |
| |/ | |||||
| * | Rewrite userdir to be faster (#4537) | Amber Brown | 2019-03-07 | 3 | -366/+174 |
| | | |||||
| * | Merge pull request #4779 from matrix-org/travis/icons | Travis Ralston | 2019-03-06 | 3 | -7/+7 |
| |\ | | | | | | | Use static locations for Riot icons | ||||
| | * | Use static locations for Riot icons | Travis Ralston | 2019-03-01 | 3 | -7/+7 |
| | | | | | | | | | See https://github.com/vector-im/riot-web/issues/9009 | ||||
| * | | Merge pull request #4818 from matrix-org/erikj/prefill_client_ips | Erik Johnston | 2019-03-06 | 1 | -0/+2 |
| |\ \ | | | | | | | | | Prefill client IPs cache on workers | ||||
| | * | | Prefill client IPs cache on workers | Erik Johnston | 2019-03-06 | 1 | -0/+2 |
| | | | | |||||
| * | | | Merge pull request #4815 from matrix-org/erikj/docstrings | Erik Johnston | 2019-03-06 | 2 | -7/+45 |
| |\ \ \ | | | | | | | | | | | Add docstrings from matrix-org-hotfixes | ||||
| | * | | | Add docstrings from matrix-org-hotfixes | Erik Johnston | 2019-03-06 | 2 | -7/+45 |
| | |/ / | |||||
| * | | | Merge pull request #4816 from matrix-org/erikj/4422_debug | Erik Johnston | 2019-03-06 | 1 | -7/+46 |
| |\ \ \ | | | | | | | | | | | Port #4422 debug logging from hotfixes | ||||
| | * | | | Port #4422 debug logging from hotfixes | Erik Johnston | 2019-03-06 | 1 | -7/+46 |
| | |/ / | |||||
| * / / | Send message after room has been shutdown | Erik Johnston | 2019-03-06 | 1 | -11/+11 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | Currently the explanation message is sent to the abuse room before any users are forced joined, which means it tends to get lost in the backlog of joins. So instead we send the message *after* we've forced joined everyone. | ||||
| * | | Merge pull request #4792 from matrix-org/anoa/replication_tokens | Andrew Morgan | 2019-03-06 | 1 | -3/+28 |
| |\ \ | | | | | | | | | Support batch updates in the worker sender | ||||
| | * | | Simplify token replication logic | Andrew Morgan | 2019-03-05 | 1 | -23/+14 |
| | | | | |||||
| | * | | Clean up logic and add comments | Andrew Morgan | 2019-03-04 | 1 | -11/+18 |
| | | | | |||||
| | * | | Clearer branching, fix missing list clear | Andrew Morgan | 2019-03-04 | 1 | -4/+11 |
| | | | | |||||
| | * | | Prevent replication wedging | Andrew Morgan | 2019-03-04 | 1 | -4/+24 |
| | | | | |||||
| * | | | Make registration ratelimiter separate from the main events one | Brendan Abolivier | 2019-03-06 | 3 | -2/+6 |
| | | | | |||||
| * | | | Revert "Split ratelimiters in two (one for events, one for registration)" | Brendan Abolivier | 2019-03-06 | 5 | -11/+7 |
| | | | | | | | | | | | | | | | | This reverts commit d7dbad3526136cfc9fdbd568635be5016fb637db. | ||||
| * | | | Split ratelimiters in two (one for events, one for registration) | Brendan Abolivier | 2019-03-05 | 5 | -7/+11 |
| | | | | |||||
| * | | | Move settings from registration to ratelimiting in config file | Brendan Abolivier | 2019-03-05 | 2 | -18/+20 |
| | | | | |||||
* | | | | Factor out soft fail checks | Erik Johnston | 2019-03-08 | 1 | -5/+22 |
| | | | | |||||
* | | | | Implement soft fail | Erik Johnston | 2019-03-06 | 4 | -1/+95 |
|/ / / | |||||
* | | | Merge pull request #4772 from jbweston/jbweston/server-version-api | Erik Johnston | 2019-03-05 | 1 | -0/+23 |
|\ \ \ | | | | | | | | | Add 'server_version' endpoint to admin API | ||||
| * | | | Add 'server_version' endpoint to admin API | Joseph Weston | 2019-03-01 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | This is required because the 'Server' HTTP header is not always passed through proxies. | ||||
* | | | | Add rate-limiting on registration (#4735) | Brendan Abolivier | 2019-03-05 | 6 | -31/+102 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rate-limiting for registration * Add unit test for registration rate limiting * Add config parameters for rate limiting on auth endpoints * Doc * Fix doc of rate limiting function Co-Authored-By: babolivier <contact@brendanabolivier.com> * Incorporate review * Fix config parsing * Fix linting errors * Set default config for auth rate limiting * Fix tests * Add changelog * Advance reactor instead of mocked clock * Move parameters to registration specific config and give them more sensible default values * Remove unused config options * Don't mock the rate limiter un MAU tests * Rename _register_with_store into register_with_store * Make CI happy * Remove unused import * Update sample config * Fix ratelimiting test for py2 * Add non-guest test | ||||
* | | | | Merge pull request #4794 from matrix-org/anoa/erroneous_dollahs | Andrew Morgan | 2019-03-05 | 1 | -22/+22 |
|\ \ \ \ | | | | | | | | | | | Remove unnecessary dollar signs | ||||
| * | | | | Remove unnecessary dollar signs | Andrew Morgan | 2019-03-04 | 1 | -22/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | A dollar sign is already appended to the end of each PATH, so there's no need to add one in the PATH declaration as well. | ||||
* | | | | | Merge pull request #4699 from matrix-org/erikj/stop_fed_not_in_room | Erik Johnston | 2019-03-05 | 3 | -29/+126 |
|\ \ \ \ \ | | | | | | | | | | | | | Stop backpaginating when events not visible | ||||
| * | | | | | clarify comments | Erik Johnston | 2019-03-05 | 2 | -9/+12 |
| | | | | | | |||||
| * | | | | | 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 | 36 | -191/+571 |
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | | erikj/stop_fed_not_in_room | ||||
| * | | | | | Update comments | Erik Johnston | 2019-02-27 | 1 | -3/+13 |
| | | | | | | |||||
| * | | | | | Stop backpaginating when events not visible | Erik Johnston | 2019-02-20 | 3 | -5/+78 |
| | | | | | | |||||
* | | | | | | Merge pull request #4799 from matrix-org/rav/clean_up_replication_code | Erik Johnston | 2019-03-05 | 1 | -60/+5 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Clean ups in replication notifier | ||||
| * | | | | | | Remove redundant PreserveLoggingContext | Richard van der Hoff | 2019-03-04 | 1 | -10/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both (!) things that register as replication listeners do the right thing wrt logcontexts, so this is redundant. | ||||
| * | | | | | | Remove unused `wait_for_replication` method | Richard van der Hoff | 2019-03-04 | 1 | -50/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I guess this was used once? It's not now, anyway. | ||||
* | | | | | | | Merge pull request #4796 from matrix-org/erikj/factor_out_e2e_keys | Erik Johnston | 2019-03-05 | 9 | -747/+762 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Allow /keys/{changes,query} API to run on worker | ||||
| * | | | | | | | Allow /keys/{changes,query} API to run on worker | Erik Johnston | 2019-03-04 | 2 | -2/+13 |
| | | | | | | | | |||||
| * | | | | | | | Split DeviceHandler into master and worker | Erik Johnston | 2019-03-04 | 2 | -170/+179 |
| | | | | | | | | |||||
| * | | | | | | | Fixup slave stores | Erik Johnston | 2019-03-04 | 6 | -577/+572 |
| | |_|_|/ / / | |/| | | | | | |||||
* | | | | | | | Add some debug about processing read receipts. | Richard van der Hoff | 2019-03-04 | 1 | -6/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm hoping to establish which rooms are having lots of RRs sent for them, and how old the events are when they are sent. | ||||
* | | | | | | | Clean up read-receipt handling. | Richard van der Hoff | 2019-03-04 | 1 | -59/+44 |
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a call to run_as_background_process: there is no need to run this as a background process, because build_and_send_edu does not block. We may as well inline the whole of _push_remotes. | ||||
* | | | | | | Include a default configuration file in the 'docs' directory. (#4791) | Richard van der Hoff | 2019-03-04 | 4 | -13/+25 |
|/ / / / / | |||||
* | / / / | Avoid rebuilding Edu objects in worker mode (#4770) | Richard van der Hoff | 2019-03-04 | 5 | -19/+36 |
| |/ / / |/| | | | | | | | | | | | | | | | In worker mode, on the federation sender, when we receive an edu for sending over the replication socket, it is parsed into an Edu object. There is no point extracting the contents of it so that we can then immediately build another Edu. | ||||
* | | | | Fix incorrect log about not persisting duplicate state event. (#4776) | Richard van der Hoff | 2019-03-01 | 1 | -3/+4 |
| |_|/ |/| | | | | | We were logging this when it was not true. | ||||
* | | | Merge branch 'master' into develop | Richard van der Hoff | 2019-03-01 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | |||||
| * | | 0.99.2 | Richard van der Hoff | 2019-03-01 | 1 | -1/+1 |
| | | | |||||
* | | | Minor docstring fixes for MatrixFederationAgent (#4765) | Andrew Morgan | 2019-02-28 | 1 | -1/+5 |
| | | | |||||
* | | | Make 'event_id' a required parameter in federated state requests (#4741) | Amber Brown | 2019-02-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 1 | -20/+65 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #4759 from matrix-org/erikj/3pid_client_reader | Erik Johnston | 2019-02-27 | 2 | -33/+35 |
|\ \ \ | | | | | | | | | Move /account/3pid to client_reader | ||||
| * | | | Move /account/3pid to client_reader | Erik Johnston | 2019-02-27 | 2 | -33/+35 |
| | | | | |||||
* | | | | Merge pull request #4758 from matrix-org/erikj/use_presence_replication | Erik Johnston | 2019-02-27 | 2 | -2/+8 |
|\ \ \ \ | | | | | | | | | | | When presence is disabled don't send over replication | ||||
| * | | | | When presence is enabled don't send over replication | Erik Johnston | 2019-02-27 | 2 | -2/+8 |
| |/ / / | |||||
* / / / | Move server key queries to federation reader | Erik Johnston | 2019-02-27 | 1 | -1/+5 |
|/ / / | |||||
* | | | Merge pull request #4749 from matrix-org/erikj/replication_connection_backoff | Erik Johnston | 2019-02-27 | 3 | -5/+39 |
|\ \ \ | |/ / |/| | | Fix tightloop over connecting to replication server | ||||
| * | | Move connecting logic into ClientReplicationStreamProtocol | Erik Johnston | 2019-02-27 | 2 | -18/+17 |
| | | | |||||
| * | | 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 | 2 | -4/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -1/+1 |
| | | | |||||
* | | | Limit cache invalidation replication line length (#4748) | Erik Johnston | 2019-02-27 | 2 | -5/+27 |
| | | | |||||
* | | | Add database version to phonehome stats. (#4753) | Richard van der Hoff | 2019-02-27 | 4 | -0/+45 |
|/ / | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Andrew Morgan | 2019-02-26 | 193 | -4548/+9279 |
|\ \ | | | | | | | | | | anoa/public_rooms_federate_develop | ||||
| * | | 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 | 192 | -4516/+9135 |
| | |\ \ | | | | | | | | | | | | | | | | 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 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | Fixes #4675. | ||||
| * | | | | switch from google.com to recaptcha.net for reCAPTCHA (#4731) | Matthew Hodgson | 2019-02-25 | 4 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 3 | -7/+12 |
| |\ \ \ \ | | | | | | | | | | | | | Log tracebacks correctly | ||||
| | * | | | | 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 | 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 |