Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing logger | Erik Johnston | 2018-09-20 | 1 | -0/+4 |
| | |||||
* | Newsfile | Erik Johnston | 2018-09-20 | 1 | -0/+1 |
| | |||||
* | Handle exceptions thrown by background tasks | Erik Johnston | 2018-09-20 | 1 | -0/+2 |
| | | | | Fixes #3921 | ||||
* | Merge pull request #3914 from matrix-org/erikj/remove_retry_cache | Erik Johnston | 2018-09-20 | 2 | -8/+1 |
|\ | | | | | Remove get_destination_retry_timings cache | ||||
| * | Fix up changelog and remove spurious comment | Erik Johnston | 2018-09-19 | 2 | -3/+1 |
| | | |||||
| * | pep8 | Erik Johnston | 2018-09-19 | 1 | -1/+0 |
| | | |||||
| * | Newsfile | Erik Johnston | 2018-09-19 | 1 | -0/+1 |
| | | |||||
| * | Remove get_destination_retry_timings cache | Erik Johnston | 2018-09-19 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | Currently we rely on the master to invalidate this cache promptly. However, after having moved most federation endpoints off of master this no longer happens, causing outbound fedeariont to get blackholed. Fixes #3798 | ||||
* | | Add a way to run tests in PostgreSQL in Docker (#3699) | Amber Brown | 2018-09-20 | 8 | -9/+79 |
| | | |||||
* | | Add a regression test for logging on failed connections (#3912) | Amber Brown | 2018-09-20 | 4 | -5/+77 |
| | | |||||
* | | Improve the logging when handling a federation transaction (#3904) | Richard van der Hoff | 2018-09-19 | 3 | -56/+111 |
| | | | | | | | | | | | | | | | | | | | | Let's try to rationalise the logging that happens when we are processing an incoming transaction, to make it easier to figure out what is going wrong when they take ages. In particular: - make everything start with a [room_id event_id] prefix - make sure we log a warning when catching exceptions rather than just turning them into other, more cryptic, exceptions. | ||||
* | | Merge pull request #3910 from matrix-org/erikj/update_timeout | Erik Johnston | 2018-09-19 | 5 | -87/+52 |
|\ \ | |/ |/| | Update to use new timeout function everywhere. | ||||
| * | Fixup | Erik Johnston | 2018-09-19 | 2 | -4/+1 |
| | | |||||
| * | Replace custom DeferredTimeoutError with defer.TimeoutError | Erik Johnston | 2018-09-19 | 2 | -12/+5 |
| | | |||||
| * | Run canceller first to allow it to generate correct error | Erik Johnston | 2018-09-19 | 1 | -2/+5 |
| | | |||||
| * | Newsfile | Erik Johnston | 2018-09-19 | 1 | -0/+1 |
| | | |||||
| * | Update to use new timeout function everywhere. | Erik Johnston | 2018-09-19 | 4 | -72/+43 |
|/ | | | | | | | The existing deferred timeout helper function (and the one into twisted) suffer from a bug when a deferred's canceller throws an exception, #3842. The new helper function doesn't suffer from this problem. | ||||
* | update changelog for #3909 | Richard van der Hoff | 2018-09-19 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3909 from turt2live/travis/fix-logging-1 | Amber Brown | 2018-09-19 | 2 | -4/+5 |
|\ | | | | | Fix matrixfederationclient.py logging: Destination is a string | ||||
| * | Changelog | Travis Ralston | 2018-09-18 | 1 | -0/+1 |
| | | |||||
| * | Destination is a string | Travis Ralston | 2018-09-18 | 1 | -4/+4 |
| | | |||||
* | | Remove documentation referencing Cygwin (#3873) | Amber Brown | 2018-09-19 | 3 | -31/+10 |
| | | |||||
* | | Merge pull request #3907 from matrix-org/rav/set_sni_to_server_name | Amber Brown | 2018-09-19 | 2 | -3/+11 |
|\ \ | | | | | | | Set SNI to the server_name, not whatever was in the SRV record | ||||
| * | | changelog | Richard van der Hoff | 2018-09-18 | 1 | -0/+1 |
| | | | |||||
| * | | Set SNI to the server_name, not whatever was in the SRV record | Richard van der Hoff | 2018-09-18 | 1 | -3/+10 |
| | | | | | | | | | | | | Fixes #3843 | ||||
* | | | Merge pull request #3903 from matrix-org/rav/increase_get_missing_events_timeout | Amber Brown | 2018-09-19 | 2 | -1/+31 |
|\ \ \ | |_|/ |/| | | Bump timeout on get_missing_events request | ||||
| * | | changelog | Richard van der Hoff | 2018-09-18 | 1 | -0/+1 |
| | | | |||||
| * | | Bump timeout on get_missing_events request | Richard van der Hoff | 2018-09-18 | 1 | -1/+30 |
| |/ | |||||
* | | Use directory server for room joins (#3899) | Richard van der Hoff | 2018-09-18 | 2 | -0/+6 |
| | | | | | | | | | | | | When we do a join, always try the server we used for the alias lookup first. Fixes #2418 | ||||
* | | Refactor matrixfederationclient to fix logging (#3906) | Richard van der Hoff | 2018-09-18 | 5 | -186/+359 |
| | | | | | | | | | | | | | | | | We want to wait until we have read the response body before we log the request as complete, otherwise a confusing thing happens where the request appears to have completed, but we later fail it. To do this, we factor the salient details of a request out to a separate object, which can then keep track of the txn_id, so that it can be logged. | ||||
* | | Merge pull request #3894 from matrix-org/hs/phone_home_py_version | Amber Brown | 2018-09-19 | 2 | -0/+5 |
|\ \ | |/ |/| | Add python_version phone home stat | ||||
| * | Create 3894.feature | Will Hunt | 2018-09-17 | 1 | -0/+1 |
| | | |||||
| * | typo | Will Hunt | 2018-09-17 | 1 | -1/+1 |
| | | |||||
| * | make pip happy? | Will Hunt | 2018-09-17 | 1 | -2/+4 |
| | | |||||
| * | Use a string for versions | Will Hunt | 2018-09-17 | 1 | -1/+1 |
| | | |||||
| * | Add python_version phone home stat | Will Hunt | 2018-09-17 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #3879 from matrix-org/matthew/fix-autojoin | Richard van der Hoff | 2018-09-18 | 2 | -0/+2 |
|\ \ | | | | | | | don't ratelimit autojoins | ||||
| * | | changelog | Matthew Hodgson | 2018-09-15 | 1 | -0/+1 |
| | | | |||||
| * | | don't ratelimit autojoins | Matthew Hodgson | 2018-09-15 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #3882 from SimmyD/max_upload_docker_var | Richard van der Hoff | 2018-09-18 | 3 | -1/+3 |
|\ \ \ | | | | | | | | | Add variable for changing the max upload size in Docker container | ||||
| * | | | Adding the ability to change MAX_UPLOAD_SIZE for the docker container variables. | Simon Dwyer | 2018-09-16 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Signed-off-by: Simon Dwyer <simon@thedwyers.co> | ||||
| * | | | Added description for "SYNAPSE_MAX_UPLOAD_SIZE" variable. | Simon Dwyer | 2018-09-16 | 1 | -1/+1 |
| | | | | |||||
| * | | | Added description for "SYNAPSE_MAX_UPLOAD_SIZE" variable. | Simon Dwyer | 2018-09-16 | 1 | -0/+1 |
| | | | | |||||
| * | | | Added 'MAX_UPLOAD_SIZE' variable and set default to "10M" | Simon Dwyer | 2018-09-16 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #3889 from matrix-org/rav/404_on_remove_unknown_alias | Richard van der Hoff | 2018-09-18 | 3 | -4/+17 |
|\ \ \ | | | | | | | | | Return a 404 when deleting unknown room alias | ||||
| * | | | Reinstate missing null check | Richard van der Hoff | 2018-09-17 | 1 | -1/+1 |
| | | | | |||||
| * | | | changelog | Richard van der Hoff | 2018-09-17 | 1 | -0/+1 |
| | | | | |||||
| * | | | Return a 404 when deleting unknown room alias | Richard van der Hoff | 2018-09-17 | 2 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | As per https://github.com/matrix-org/matrix-doc/issues/1675 Fixes https://github.com/matrix-org/synapse/issues/2782 | ||||
* | | | | Merge pull request #3895 from matrix-org/rav/decode_bytes_in_metrics | Richard van der Hoff | 2018-09-18 | 3 | -12/+13 |
|\ \ \ \ | | | | | | | | | | | Fix more b'abcd' noise in metrics | ||||
| * | | | | changelog | Richard van der Hoff | 2018-09-17 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Fix more b'abcd' noise in metrics | Richard van der Hoff | 2018-09-17 | 2 | -12/+12 |
| | | | | | |||||
* | | | | | Merge pull request #3897 from aaronraimist/synaspse-typo | Richard van der Hoff | 2018-09-18 | 2 | -1/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix typo in README, synaspse -> synapse | ||||
| * | | | | | Add changelog | Aaron Raimist | 2018-09-17 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist> | ||||
| * | | | | | Fix typo in README, synaspse -> synapse | Aaron Raimist | 2018-09-17 | 1 | -1/+1 |
|/ / / / / | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist> | ||||
* | | | / | Merge pull request #3892 from matrix-org/rav/decode_bytes_in_request_logs | Richard van der Hoff | 2018-09-17 | 3 | -5/+9 |
|\| | | | | |_|_|/ |/| | | | Fix some b'abcd' noise in logs and metrics | ||||
| * | | | changelog | Richard van der Hoff | 2018-09-17 | 1 | -0/+1 |
| | | | | |||||
| * | | | Fix some b'abcd' noise in logs and metrics | Richard van der Hoff | 2018-09-17 | 2 | -5/+8 |
|/ / / | | | | | | | | | | | | | Python 3 compatibility: make sure that we decode some byte sequences before we use them to create log lines and metrics labels. | ||||
* / / | README: run python_dependencies with -m | Richard van der Hoff | 2018-09-17 | 1 | -1/+1 |
|/ / | | | | | ... to stop things which try to import `types` getting `synapse.types` instead | ||||
* | | Merge pull request #3888 from matrix-org/rav/nuke_nuke_rooms | Amber Brown | 2018-09-17 | 2 | -57/+1 |
|\ \ | |/ |/| | Remove nuke-room-from-db.sh script | ||||
| * | changelog | Richard van der Hoff | 2018-09-17 | 1 | -0/+1 |
| | | |||||
| * | Remove nuke-room-from-db.sh script | Richard van der Hoff | 2018-09-17 | 1 | -57/+0 |
|/ | | | | | | | | | | | | The problem with this script is that it is largely untested, entirely unmaintained, and running it is likely to make your synapse blow up in exciting ways. For example, it leaves a bunch of tables with dead values in it, like event_to_state_groups. Having it here sends a message that it is a supported part of synapse, which is absolutely not the case. | ||||
* | missing changelog | Matthew Hodgson | 2018-09-15 | 1 | -0/+1 |
| | |||||
* | mention libjemalloc in readme (#3877) | Vincent Breitmoser | 2018-09-15 | 1 | -0/+8 |
| | |||||
* | Fix timeout function | Erik Johnston | 2018-09-15 | 1 | -1/+2 |
| | | | | | Turns out deferred.cancel sometimes throws, so we do that last to ensure that we always do resolve the new deferred. | ||||
* | Merge pull request #3875 from matrix-org/erikj/extra_timeouts | Erik Johnston | 2018-09-14 | 3 | -0/+63 |
|\ | | | | | Add an awful secondary timeout to fix wedged requests | ||||
| * | Newsfile | Erik Johnston | 2018-09-14 | 1 | -0/+1 |
| | | |||||
| * | Add an awful secondary timeout to fix wedged requests | Erik Johnston | 2018-09-14 | 2 | -0/+62 |
|/ | | | | This is an attempt to mitigate #3842 by adding yet-another-timeout | ||||
* | don't filter membership events based on history visibility (#3874) | Matthew Hodgson | 2018-09-14 | 2 | -8/+1 |
| | | | | | | | | don't filter membership events based on history visibility as we will already have filtered the messages in the timeline, and state events are always visible. and because @erikjohnston said so. | ||||
* | Merge pull request #3872 from matrix-org/hawkowl/timeouts-2 | Erik Johnston | 2018-09-14 | 5 | -7/+13 |
|\ | | | | | timeouts 2: electric boogaloo | ||||
| * | fix | Amber Brown | 2018-09-15 | 1 | -3/+3 |
| | | |||||
| * | changelog | Amber Brown | 2018-09-15 | 1 | -0/+1 |
| | | |||||
| * | fix | Amber Brown | 2018-09-14 | 1 | -1/+4 |
| | | |||||
| * | fix | Amber Brown | 2018-09-14 | 1 | -1/+1 |
| | | |||||
| * | redact better | Amber Brown | 2018-09-14 | 1 | -2/+2 |
| | | |||||
| * | we do that higher up | Amber Brown | 2018-09-14 | 1 | -0/+1 |
| | | |||||
| * | Merge remote-tracking branch 'origin/develop' into hawkowl/timeouts-2 | Amber Brown | 2018-09-14 | 8 | -61/+55 |
| |\ | |||||
| * | | buffer? | Amber Brown | 2018-09-14 | 1 | -1/+2 |
| | | | |||||
* | | | Merge pull request #3871 from matrix-org/erikj/in_flight_block_metrics | Erik Johnston | 2018-09-14 | 5 | -4/+217 |
|\ \ \ | | | | | | | | | Add in flight real time metrics for Measure blocks | ||||
| * | | | Remove spurious comment | Erik Johnston | 2018-09-14 | 1 | -2/+0 |
| | | | | |||||
| * | | | Measure outbound requests | Erik Johnston | 2018-09-14 | 1 | -3/+6 |
| | | | | |||||
| * | | | Newsfile | Erik Johnston | 2018-09-14 | 1 | -0/+1 |
| | | | | |||||
| * | | | Tests | Erik Johnston | 2018-09-14 | 1 | -0/+81 |
| | | | | |||||
| * | | | Add in flight real time metrics for Measure blocks | Erik Johnston | 2018-09-14 | 2 | -1/+131 |
|/ / / | |||||
* | | | Merge pull request #3860 from matrix-org/travis/typo-1 | Travis Ralston | 2018-09-13 | 2 | -1/+2 |
|\ \ \ | |_|/ |/| | | Fix minor typo in exception | ||||
| * | | Create 3860.misc | Travis Ralston | 2018-09-13 | 1 | -0/+1 |
| | | | |||||
| * | | Fix minor typo in exception | Travis Ralston | 2018-09-13 | 1 | -1/+1 |
|/ / | |||||
* / | merge (#3576) | Amber Brown | 2018-09-14 | 8 | -61/+55 |
|/ | |||||
* | Merge pull request #3856 from matrix-org/erikj/speed_up_purge hhs-8 | Erik Johnston | 2018-09-13 | 2 | -16/+29 |
|\ | | | | | Make purge history slightly faster | ||||
| * | comment | Erik Johnston | 2018-09-13 | 1 | -0/+2 |
| | | |||||
| * | pep8 | Erik Johnston | 2018-09-13 | 1 | -1/+0 |
| | | |||||
| * | Create indices after insertion | Erik Johnston | 2018-09-13 | 1 | -14/+18 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2018-09-13 | 4 | -2/+28 |
| |\ | | | | | | | | | | erikj/speed_up_purge | ||||
| * | | Newsfile | Erik Johnston | 2018-09-13 | 1 | -0/+1 |
| | | | |||||
| * | | Make purge history slightly faster | Erik Johnston | 2018-09-13 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | Don't pull out events that are outliers and won't be deleted, as nothing should happen to them. | ||||
* | | | Merge pull request #3859 from matrix-org/erikj/add_iterkeys | Amber Brown | 2018-09-14 | 3 | -1/+7 |
|\ \ \ | | | | | | | | | Fix handling of redacted events from federation | ||||
| * | | | Newsfile | Erik Johnston | 2018-09-13 | 1 | -0/+1 |
| | | | | |||||
| * | | | Fix handling of redacted events from federation | Erik Johnston | 2018-09-13 | 2 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we receive an event that doesn't pass their content hash check (e.g. due to already being redacted) then we hit a bug which causes an exception to be raised, which then promplty stops the event (and request) from being processed. This effects all sorts of federation APIs, including joining rooms with a redacted state event. | ||||
* | | | | fix circleci merged builds (#3858) | Amber Brown | 2018-09-14 | 2 | -0/+5 |
|/ / / | | | | | | | | | | | | | | | | * fix * changelog | ||||
* | / | Attempt to figure out what's going on with timeouts (#3857) | Amber Brown | 2018-09-14 | 4 | -57/+241 |
| |/ |/| | |||||
* | | Remove some superfluous logging (#3855) | Amber Brown | 2018-09-13 | 4 | -2/+28 |
|/ | |||||
* | Merge pull request #3846 from matrix-org/neilj/expose-registered-users hhs-7 | Neil Johnson | 2018-09-12 | 4 | -3/+60 |
|\ | | | | | expose number of real reserved users | ||||
| * | improve naming | Neil Johnson | 2018-09-12 | 4 | -10/+14 |
| | | |||||
| * | towncrier | Neil Johnson | 2018-09-12 | 1 | -0/+1 |
| | | |||||
| * | expose number of real reserved users | Neil Johnson | 2018-09-12 | 3 | -3/+55 |
| | | |||||
* | | show heroes if a room has a 'deleted' name/canonical_alias (#3851) | Matthew Hodgson | 2018-09-12 | 2 | -2/+16 |
| | | |||||
* | | Merge pull request #3853 from matrix-org/erikj/log_outbound_each_time | Erik Johnston | 2018-09-12 | 2 | -75/+75 |
|\ \ | | | | | | | Log outbound requests when we retry | ||||
| * | | Newsfile | Erik Johnston | 2018-09-12 | 1 | -0/+1 |
| | | | |||||
| * | | Log outbound requests when we retry | Erik Johnston | 2018-09-12 | 1 | -75/+74 |
| | | | |||||
* | | | argh pep8 | Matthew Hodgson | 2018-09-12 | 1 | -1/+1 |
| | | | |||||
* | | | correctly log gappy sync metrics | Matthew Hodgson | 2018-09-12 | 1 | -1/+1 |
| | | | |||||
* | | | fix logline | Matthew Hodgson | 2018-09-12 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #3841 from matrix-org/erikj/manhole_key_length | Erik Johnston | 2018-09-12 | 2 | -13/+32 |
|\ \ \ | | | | | | | | | Change the manhole SSH key to have more bits | ||||
| * | | | Newsfile | Erik Johnston | 2018-09-11 | 1 | -0/+1 |
| | | | | |||||
| * | | | Change the manhole SSH key to have more bits | Erik Johnston | 2018-09-11 | 1 | -13/+31 |
| | | | | | | | | | | | | | | | | | | | | Newer versions of openssh client refuse to connect to the old key due to its length. | ||||
* | | | | Add JUnit summaries to CircleCI as well as merged runs (#3704) | Amber Brown | 2018-09-12 | 3 | -0/+94 |
| | | | | |||||
* | | | | Port federation/ to py3 (#3847) | Amber Brown | 2018-09-12 | 4 | -19/+19 |
| | | | | |||||
* | | | | Merge pull request #3835 from krombel/fix_3821 | Amber Brown | 2018-09-12 | 2 | -1/+6 |
|\ \ \ \ | | | | | | | | | | | fix VOIP crashes under Python 3 | ||||
| * | | | | add changelog | Krombel | 2018-09-10 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | fix VOIP crashes under Python 3 (#3821) | Krombel | 2018-09-10 | 1 | -1/+5 |
| | | | | | |||||
* | | | | | Merge pull request #3826 from matrix-org/rav/logging_for_keyring | Amber Brown | 2018-09-12 | 4 | -13/+47 |
|\ \ \ \ \ | | | | | | | | | | | | | add some logging for the keyring queue | ||||
| * | | | | | changelog | Richard van der Hoff | 2018-09-07 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | clearer logging when things fail, too | Richard van der Hoff | 2018-09-06 | 2 | -7/+28 |
| | | | | | | |||||
| * | | | | | add some logging for the keyring queue | Richard van der Hoff | 2018-09-06 | 1 | -6/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | why is it so damn slow? | ||||
* | | | | | | Merge pull request #3824 from matrix-org/rav/fix_jwt_import | Amber Brown | 2018-09-12 | 3 | -1/+2 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix jwt import check | ||||
| * | | | | | | changelog | Richard van der Hoff | 2018-09-07 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Fix jwt import check | Richard van der Hoff | 2018-09-07 | 2 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This handy code attempted to check that we could import jwt, but utterly failed to check it was the right jwt. Fixes https://github.com/matrix-org/synapse/issues/3793 | ||||
* | | | | | | | Port rest/ to Python 3 (#3823) | Amber Brown | 2018-09-12 | 18 | -100/+113 |
| |_|_|_|/ / |/| | | | | | |||||
* | | | | | | Port crypto/ to Python 3 (#3822) | Amber Brown | 2018-09-12 | 4 | -6/+14 |
| | | | | | | |||||
* | | | | | | Merge pull request #3845 from matrix-org/erikj/timeout_reads | Amber Brown | 2018-09-12 | 2 | -7/+46 |
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | Timeout reading body for outbound HTTP requests | ||||
| * | | | | | Newsfile | Erik Johnston | 2018-09-12 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Timeout reading body for outbound HTTP requests | Erik Johnston | 2018-09-12 | 1 | -7/+45 |
|/ / / / / | |||||
* | | | / | Speed up lazy loading (#3827) | Matthew Hodgson | 2018-09-12 | 5 | -30/+159 |
| |_|_|/ |/| | | | | | | | | | | | | | | | * speed up room summaries by pulling their data from room_memberships rather than room state * disable LL for incr syncs, and log incr sync stats (#3840) | ||||
* | | | | Merge pull request #3834 from mvgorcum/develop | Erik Johnston | 2018-09-10 | 2 | -10/+17 |
|\ \ \ \ | |_|_|/ |/| | | | Remove build requirements after building docker image | ||||
| * | | | add runtime dependencies | Jan Christian Grünhage | 2018-09-10 | 1 | -5/+10 |
| | | | | |||||
| * | | | Newsfile | Mathijs van Gorcum | 2018-09-10 | 1 | -0/+1 |
| | | | | |||||
| * | | | Move COPY before RUN and merge RUNs | Mathijs van Gorcum | 2018-09-10 | 1 | -5/+5 |
| | | | | |||||
| * | | | Remove build requirements after building | Mathijs van Gorcum | 2018-09-10 | 1 | -2/+3 |
|/ / / | |||||
* | | | Merge pull request #3810 from matrix-org/erikj/send_tags_down_sync_on_join | Amber Brown | 2018-09-07 | 2 | -0/+14 |
|\ \ \ | | | | | | | | | Send existing room tags down sync on join | ||||
| * | | | Newsfile | Erik Johnston | 2018-09-06 | 1 | -0/+1 |
| | | | | |||||
| * | | | Don't send empty tags list down sync | Erik Johnston | 2018-09-06 | 1 | -0/+5 |
| | | | | |||||
| * | | | Send existing room tags down sync on join | Erik Johnston | 2018-09-06 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a user joined a room any existing tags were not sent down the sync stream. Ordinarily this isn't a problem because the user needs to be in the room to have set tags in it, however synapse will sometimes add tags for a user to a room, e.g. for server notices, which need to come down sync. | ||||
* | | | | Merge pull request #3783 from cwmke/develop | Richard van der Hoff | 2018-09-07 | 1 | -0/+12 |
|\ \ \ \ | |_|/ / |/| | | | Add apache vhost config to Readme | ||||
| * | | | Remove end '/'s | Colin W | 2018-09-02 | 1 | -2/+2 |
| | | | | |||||
| * | | | Update readme on develop branch | Colin W | 2018-09-02 | 1 | -0/+12 |
| | | | | |||||
* | | | | Merge branch 'master' into develop | Amber Brown | 2018-09-07 | 29 | -28/+61 |
|\ \ \ \ | |||||
| * | | | | changelog v0.33.4 github/release-v0.33.4 release-v0.33.4 | Amber Brown | 2018-09-07 | 2 | -1/+9 |
| | | | | | |||||
| * | | | | version | Amber Brown | 2018-09-07 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Merge branch 'master' of github.com:matrix-org/synapse into release-v0.33.4 v0.33.4rc2 | Erik Johnston | 2018-09-06 | 0 | -0/+0 |
| |\ \ \ \ | |||||
| * | | | | | Bump version and changelog | Erik Johnston | 2018-09-06 | 2 | -1/+7 |
| | | | | | | |||||
| * | | | | | Merge tag 'v0.33.3.1' into release-v0.33.4 | Erik Johnston | 2018-09-06 | 7 | -46/+158 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse 0.33.3.1 (2018-09-06) ============================= SECURITY FIXES -------------- - Fix an issue where event signatures were not always correctly validated ([\#3796](https://github.com/matrix-org/synapse/issues/3796)) - Fix an issue where server_acls could be circumvented for incoming events ([\#3796](https://github.com/matrix-org/synapse/issues/3796)) Internal Changes ---------------- - Unignore synctl in .dockerignore to fix docker builds ([\#3802](https://github.com/matrix-org/synapse/issues/3802)) | ||||
| * \ \ \ \ \ | Merge pull request #3802 from matrix-org/jcgruenhage/docker-unignore-synctl | Amber Brown | 2018-09-06 | 2 | -1/+1 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | remove synctl from .dockerignore | ||||
| | * | | | | | | Create 3802.misc | Jan Christian Grünhage | 2018-09-06 | 1 | -0/+1 |
| | | | | | | | | |||||
| | * | | | | | | remove synctl from .dockerignore | Jan Christian Grünhage | 2018-09-06 | 1 | -1/+0 |
| |/ / / / / / | |||||
| * | | | | | | version and towncrier v0.33.4rc1 | Amber Brown | 2018-09-04 | 29 | -28/+45 |
| | | | | | | | |||||
* | | | | | | | Port tests/ to Python 3 (#3808) | Amber Brown | 2018-09-07 | 12 | -430/+349 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #3800 from matrix-org/neilj/remove-guests-from-mau-count hhs-6 | Neil Johnson | 2018-09-06 | 5 | -6/+54 |
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | guest users should not be part of mau total | ||||
| * | | | | | | ensure guests never enter mau list | Neil Johnson | 2018-09-06 | 4 | -8/+10 |
| | | | | | | | |||||
| * | | | | | | towncrier | Neil Johnson | 2018-09-05 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | guest users should not be part of mau total | Neil Johnson | 2018-09-05 | 2 | -3/+48 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #3805 from matrix-org/erikj/limit_transaction_pdus_edus | Amber Brown | 2018-09-07 | 2 | -0/+13 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Limit the number of PDUs/EDUs per fedreation transaction | ||||
| * | | | | | | | Spelling | Erik Johnston | 2018-09-06 | 1 | -1/+1 |
| | | | | | | | | |||||
| * | | | | | | | Newsfile | Erik Johnston | 2018-09-06 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Limit the number of PDUs/EDUs per fedreation transaction | Erik Johnston | 2018-09-06 | 1 | -0/+12 |
| | | | | | | | | |||||
* | | | | | | | | Merge pull request #3806 from matrix-org/erikj/limit_postgres_travis | Amber Brown | 2018-09-07 | 2 | -3/+3 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Only start postgres instance for postgres tests on Travis CI | ||||
| * | | | | | | | | Newsfile | Erik Johnston | 2018-09-06 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Only start postgres instance for postgres tests on Travis CI | Erik Johnston | 2018-09-06 | 1 | -3/+2 |
| |/ / / / / / / | |||||
* | | | | | | | | Merge pull request #3788 from matrix-org/erikj/remove_conn_id | Amber Brown | 2018-09-07 | 2 | -12/+13 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Remove conn_id from repl prometheus metrics | ||||
| * | | | | | | | | Remove conn_id | Erik Johnston | 2018-09-04 | 1 | -2/+2 |
| | | | | | | | | | |||||
| * | | | | | | | | Newsfile | Erik Johnston | 2018-09-03 | 1 | -0/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Remove conn_id from repl prometheus metrics | Erik Johnston | 2018-09-03 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `conn_id` gets set to a random string, and so we end up filling up prometheus with tonnes of data series, which is bad. | ||||
* | | | | | | | | | Merge pull request #3795 from matrix-org/erikj/faster_sync_state | Amber Brown | 2018-09-07 | 2 | -8/+9 |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | User iter* during sync state calculations | ||||
| * | | | | | | | | | Newsfile | Erik Johnston | 2018-09-05 | 1 | -0/+1 |
| | | | | | | | | | | |||||
| * | | | | | | | | | User iter* during sync state calculations | Erik Johnston | 2018-09-05 | 1 | -8/+8 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Merge pull request #3804 from matrix-org/rav/fix_openssl_dep | Amber Brown | 2018-09-07 | 2 | -2/+3 |
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | | bump dep on pyopenssl to 16.x | ||||
| * | | | | | | | | | changelog | Richard van der Hoff | 2018-09-06 | 1 | -0/+1 |
| | | | | | | | | | | |||||
| * | | | | | | | | | bump dep on pyopenssl to 16.x | Richard van der Hoff | 2018-09-06 | 1 | -2/+2 |
| | |_|/ / / / / / | |/| | | | | | | | |||||
* | | | | | | | | | Port handlers/ to Python 3 (#3803) | Amber Brown | 2018-09-07 | 8 | -19/+24 |
| |_|_|_|_|_|_|/ |/| | | | | | | | |||||
* | | | | | | | | Merge branch 'master' into develop | Richard van der Hoff | 2018-09-06 | 9 | -47/+157 |
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | / / | | |_|_|_|/ / | |/| | | | | | |||||
| * | | | | | | Merge tag 'v0.33.3.1' | Richard van der Hoff | 2018-09-06 | 9 | -47/+157 |
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse 0.33.3.1 (2018-09-06) ============================= SECURITY FIXES -------------- - Fix an issue where event signatures were not always correctly validated ([\#3796](https://github.com/matrix-org/synapse/issues/3796)) - Fix an issue where server_acls could be circumvented for incoming events ([\#3796](https://github.com/matrix-org/synapse/issues/3796)) Internal Changes ---------------- - Unignore synctl in .dockerignore to fix docker builds ([\#3802](https://github.com/matrix-org/synapse/issues/3802)) | ||||
| | * | | | | | prepare v0.33.3.1 v0.33.3.1 github/release-v0.33.3.1 release-v0.33.3.1 | Richard van der Hoff | 2018-09-06 | 3 | -2/+15 |
| | | | | | | | |||||
| | * | | | | | Create 3802.misc | Jan Christian Grünhage | 2018-09-06 | 1 | -0/+1 |
| | | | | | | | |||||
| | * | | | | | remove synctl from .dockerignore | Jan Christian Grünhage | 2018-09-06 | 1 | -1/+0 |
| | | | | | | | |||||
| | * | | | | | Fix origin handling for pushed transactions | Richard van der Hoff | 2018-09-05 | 5 | -29/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the actual origin for push transactions, rather than whatever the remote server claimed. | ||||
| | * | | | | | Check that signatures on events are valid | Richard van der Hoff | 2018-09-05 | 1 | -16/+110 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should check that both the sender's server, and the server which created the event_id (which may be different from whatever the remote server has told us the origin is), have signed the event. | ||||
* | | | | | | | Merge pull request #3790 from matrix-org/rav/respect_event_format_in_filter | Richard van der Hoff | 2018-09-05 | 3 | -13/+40 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Implement 'event_format' filter param in /sync | ||||
| * | | | | | | | changelog | Richard van der Hoff | 2018-09-04 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Implement 'event_format' filter param in /sync | Richard van der Hoff | 2018-09-04 | 2 | -13/+39 |
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been specced and part-implemented; let's implement it for /sync (but no other endpoints yet :/). | ||||
* | | | | | | | Port http/ to Python 3 (#3771) | Amber Brown | 2018-09-06 | 8 | -186/+134 |
| |_|_|/ / / |/| | | | | | |||||
* | | | | | | Merge pull request #3789 from matrix-org/neilj/improve_threepid_error_strings hhs-5 | Neil Johnson | 2018-09-04 | 3 | -7/+22 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | improve human readable error messages | ||||
| * | | | | | towncrier | Neil Johnson | 2018-09-04 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | improve human readable error message | Neil Johnson | 2018-09-04 | 1 | -1/+2 |
| | | | | | | |||||
| * | | | | | improve human readable error messages | Neil Johnson | 2018-09-04 | 2 | -7/+20 |
| | | | | | | |||||
* | | | | | | Fix tests on postgresql (#3740) | Amber Brown | 2018-09-04 | 18 | -341/+356 |
| |_|_|/ / |/| | | | | |||||
* | | | | | Merge pull request #3737 from matrix-org/erikj/remove_redundant_state_func | Erik Johnston | 2018-09-03 | 4 | -57/+8 |
|\ \ \ \ \ | | | | | | | | | | | | | Remove unnecessary resolve_events_with_state_map | ||||
| * | | | | | Newsfile | Erik Johnston | 2018-09-03 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Remove unnecessary resolve_events_with_state_map | Erik Johnston | 2018-08-22 | 3 | -57/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only ever used the synchronous resolve_events_with_state_map in one place, which is trivial to replace with the async version. | ||||
* | | | | | | Merge pull request #3378 from NickEckardt/develop | Amber Brown | 2018-09-03 | 2 | -5/+1 |
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | matrix-synapse-auto-deploy is no longer maintained. | ||||
| * | | | | | Create 3378.misc | Amber Brown | 2018-09-03 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Merge branch 'develop' into develop | Amber Brown | 2018-09-03 | 441 | -11570/+24237 |
| |\ \ \ \ \ | |/ / / / / |/| | | | | | |||||
* | | | | | | Merge pull request #3777 from matrix-org/neilj/fix_register_user_registration | Neil Johnson | 2018-08-31 | 9 | -5/+78 |
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | fix bug where preserved threepid user comes to sign up and server is … | ||||
| * | | | | | assert rather than warn hhs-4 | Neil Johnson | 2018-08-31 | 1 | -3/+2 |
| | | | | | | |||||
| * | | | | | move threepid checker to config, add missing yields | Neil Johnson | 2018-08-31 | 6 | -21/+41 |
| | | | | | | |||||
| * | | | | | fix reference to is_threepid_reserved | Neil Johnson | 2018-08-31 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | typo | Neil Johnson | 2018-08-31 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | ensure post registration auth checks do not fail erroneously | Neil Johnson | 2018-08-31 | 4 | -6/+24 |
| | | | | | | |||||
| * | | | | | news fragemnt | Neil Johnson | 2018-08-31 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | fix bug where preserved threepid user comes to sign up and server is mau blocked | Neil Johnson | 2018-08-31 | 5 | -3/+38 |
|/ / / / / | |||||
* | | | | | Port storage/ to Python 3 (#3725) | Amber Brown | 2018-08-31 | 17 | -36/+208 |
| | | | | | |||||
* | | | | | Merge pull request #3764 from matrix-org/rav/close_db_conn_after_init | Richard van der Hoff | 2018-08-30 | 16 | -54/+41 |
|\ \ \ \ \ | | | | | | | | | | | | | Make sure that we close db connections opened during init | ||||
| * | | | | | Fix up tests | Richard van der Hoff | 2018-08-28 | 3 | -6/+10 |
| | | | | | | |||||
| * | | | | | use abc.abstractproperty | Richard van der Hoff | 2018-08-28 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | This gives clearer messages when someone gets it wrong | ||||
| * | | | | | changelog | Richard van der Hoff | 2018-08-28 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Make sure that we close db connections opened during init | Richard van der Hoff | 2018-08-28 | 12 | -48/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should explicitly close any db connections we open, because failing to do so can block other transactions as per https://github.com/matrix-org/synapse/issues/3682. Let's also try to factor out some of the boilerplate by having server classes define their datastore class rather than duplicating the whole of `setup`. | ||||
* | | | | | | Merge pull request #3768 from krombel/fix_3445 | Erik Johnston | 2018-08-29 | 2 | -2/+3 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | fix #3445 - do not use itervalues() on SortedDict() | ||||
| * | | | | | | changelog | Krombel | 2018-08-29 | 2 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | fix #3445 | Krombel | 2018-08-29 | 2 | -2/+3 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | itervalues(d) calls d.itervalues() [PY2] and d.values() [PY3] but SortedDict only implements d.values() | ||||
* | | | | | | Update CONTRIBUTING to clarify miscs & Markdown (#3730) | Amber Brown | 2018-08-29 | 2 | -3/+5 |
| | | | | | | |||||
* | | | | | | don't return non-LL-member state in incremental sync state blocks (#3760) | Matthew Hodgson | 2018-08-28 | 2 | -1/+9 |
|/ / / / / | | | | | | | | | | | don't return non-LL-member state in incremental sync state blocks | ||||
* | | | | | Merge pull request #3758 from matrix-org/erikj/admin_contact hhs-3 | Erik Johnston | 2018-08-24 | 8 | -13/+14 |
|\ \ \ \ \ | | | | | | | | | | | | | Change admin_uri to admin_contact in config and errors | ||||
| * \ \ \ \ | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_contact | Erik Johnston | 2018-08-24 | 3 | -4/+5 |
| |\ \ \ \ \ | |/ / / / / |/| | | | | | |||||
* | | | | | | Merge pull request #3756 from matrix-org/erikj/fix_tags_server_notices | Erik Johnston | 2018-08-24 | 3 | -4/+5 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix checking if service notice room is already tagged | ||||
| * | | | | | | Newsfile | Erik Johnston | 2018-08-24 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Fix checking if service notice room is already tagged | Erik Johnston | 2018-08-24 | 2 | -4/+4 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | This manifested in synapse repeatedly setting the tag for the room | ||||
| * | | | | | Newsfile | Erik Johnston | 2018-08-24 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Change admin_uri to admin_contact in config and errors | Erik Johnston | 2018-08-24 | 7 | -13/+13 |
|/ / / / / | |||||
* | | | | | Merge pull request #3755 from matrix-org/erikj/fix_server_notice_tags hhs-2 | Erik Johnston | 2018-08-24 | 3 | -4/+16 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix up tagging server notice rooms. | ||||
| * | | | | | Newsfile | Erik Johnston | 2018-08-24 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Ensure we wake up /sync when we add tag to notice room | Erik Johnston | 2018-08-24 | 2 | -2/+13 |
| | | | | | | |||||
| * | | | | | Make content of tag an empty object rather than null | Erik Johnston | 2018-08-24 | 2 | -2/+2 |
|/ / / / / | |||||
* | | | | | Merge pull request #3754 from matrix-org/erikj/fix_whitelist hhs-1 | Erik Johnston | 2018-08-24 | 2 | -1/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | Allow federation_domain_whitelist to be emtpy list | ||||
| * | | | | | Newsfile | Erik Johnston | 2018-08-24 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Fix bug when federation_domain_whitelist is an emtpy list | Erik Johnston | 2018-08-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Outbound federation were incorrectly allowed when the config option was set to an empty list | ||||
* | | | | | | Merge pull request #3753 from matrix-org/erikj/fix_no_server_noticse | Erik Johnston | 2018-08-24 | 2 | -0/+5 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix bug where we broke sync when using limit_usage_by_mau | ||||
| * | | | | | | Newsfile | Erik Johnston | 2018-08-24 | 1 | -0/+1 |
| | | | | | | | |||||
| * | | | | | | Fix bug where we broke sync when using limit_usage_by_mau | Erik Johnston | 2018-08-24 | 1 | -0/+4 |
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | We assumed that we always had service notices configured, but that is not always true | ||||
* | | | | | | Merge pull request #3751 from matrix-org/rav/twisted_17 | Richard van der Hoff | 2018-08-24 | 2 | -1/+2 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Pin to twisted 17.1 or later | ||||
| * | | | | | changelog | Richard van der Hoff | 2018-08-24 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Pin to twisted 17.1 or later | Richard van der Hoff | 2018-08-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/matrix-org/synapse/issues/3741. | ||||
* | | | | | | Merge pull request #3749 from matrix-org/erikj/add_trial_users | Erik Johnston | 2018-08-24 | 8 | -5/+272 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Implement trial users | ||||
| * | | | | | Newsfile | Erik Johnston | 2018-08-23 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Unit tests | Erik Johnston | 2018-08-23 | 2 | -3/+227 |
| | | | | | | |||||
| * | | | | | Implement trail users | Erik Johnston | 2018-08-23 | 5 | -2/+44 |
|/ / / / / | |||||
* | | | | | Merge pull request #3747 from matrix-org/erikj/fix_multiple_sends_notice | Erik Johnston | 2018-08-23 | 3 | -1/+72 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix bug where we resent "limit exceeded" server notices | ||||
| * | | | | | Newsfile | Erik Johnston | 2018-08-23 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Fix bug where we resent "limit exceeded" server notices | Erik Johnston | 2018-08-23 | 2 | -1/+71 |
|/ / / / / | | | | | | | | | | | | | | | | This was due to a bug where we mutated a cached event's contents | ||||
* | | | | | Merge pull request #3734 from matrix-org/travis/worker-docs | Travis Ralston | 2018-08-23 | 2 | -1/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | Reference that the federation_reader needs the HTTP replication port set | ||||
| * | | | | | Create 3734.misc | Travis Ralston | 2018-08-21 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Reference that the federation_reader needs the HTTP replication port set | Travis Ralston | 2018-08-21 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #3746 from matrix-org/erikj/mau_fixups | Erik Johnston | 2018-08-23 | 3 | -1/+3 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix MAU invalidation due to missing yield | ||||
| * | | | | | | Newsfile | Erik Johnston | 2018-08-23 | 1 | -0/+1 |
| | | | | | | |