summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | | NewsfileErik Johnston2019-10-101-0/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #6186 from matrix-org/erikj/disable_sql_bytesAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-102-0/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | erikj/disable_sql_bytes
| * | | | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-1035-1/+35
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | erikj/disable_sql_bytes
| * | | | | | | | | | | | NewsfileErik Johnston2019-10-091-0/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #6191 from matrix-org/rav/fix_packagingAndrew Morgan2020-02-261-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Fix python packagingRichard van der Hoff2019-10-101-0/+1
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... after it got borked by #6081
* | | | | | | | | | | | Merge pull request #6127 from matrix-org/erikj/patch_innerAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #6127 from matrix-org/erikj/patch_innerErik Johnston2019-10-101-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | | Add more log context checks when patching inlineCallbacks
| | * | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/patch_innerErik Johnston2019-10-104-0/+4
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | NewsfileErik Johnston2019-10-101-0/+1
| | | |_|/ / / / / / / / | | |/| | | | | | | | |
* | | | | | | | | | | | Add domain validation when creating room with list of invitees (#6121)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Add domain validation when creating room with list of invitees (#6121)werner2912019-10-101-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | before fulfilling a group invite,check if user is already joined/invited (#3436)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | before fulfilling a group invite,check if user is already joined/invited (#3436)Michael Telatynski2019-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes vector-im/riot-web#5645
* | | | | | | | | | | | send 404 as http-status when filter-id is unknown to the server (#2380)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | send 404 as http-status when filter-id is unknown to the server (#2380)krombel2019-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixed the weirdness of 400 vs 404 as http status code in the case the filter id is not known by the server. As e.g. matrix-js-sdk expects 404 to catch this situation this leads to unwanted behaviour.
* | | | | | | | | | | | Add snapcraft packaging information (#6084)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Add snapcraft packaging information (#6084)James2019-10-101-0/+1
| | |/ / / / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Fix races in room stats (and other) updates. (#6187)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Fix races in room stats (and other) updates. (#6187)Richard van der Hoff2019-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully this will fix the occasional failures we were seeing in the room directory. The problem was that events are not necessarily persisted (and `current_state_delta_stream` updated) in the same order as their stream_id. So for instance current_state_delta 9 might be persisted *before* current_state_delta 8. Then, when the room stats saw stream_id 9, it assumed it had done everything up to 9, and never came back to do stream_id 8. We can solve this easily by only processing up to the stream_id where we know all events have been persisted.
* | | | | | | | | | | Rewrite the user_filter migration again (#6184)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Rewrite the user_filter migration again (#6184)Richard van der Hoff2019-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | you can't plausibly ALTER TABLE in sqlite, so we create the new table with the right schema to start with.
* | | | | | | | | | | Move tag/push rules room upgrade checking ealier (#6155)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Move tag/push rules room upgrade checking ealier (#6155)Andrew Morgan2019-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that _local_membership_update doesn't run when you join a new, remote room. It only runs if you're joining a room that your server already knows about. This would explain #4703 and #5295 and why the transfer would work in testing and some rooms, but not others. This would especially hit single-user homeservers. The check has been moved to right after the room has been joined, and works much more reliably. (Though it may still be a bit awkward of a place).
* | | | | | | | | | | Refactor HomeserverConfig so it can be typechecked (#6137)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Refactor HomeserverConfig so it can be typechecked (#6137)Amber Brown2019-10-101-0/+1
| |/ / / / / / / / /
* | | | | | | | | | Merge pull request #6185 from matrix-org/erikj/fix_censored_evnetsAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | |
| * | | | | | | | | Merge pull request #6185 from matrix-org/erikj/fix_censored_evnetsErik Johnston2019-10-091-0/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix inserting bytes as text in `censor_redactions`
| | * | | | | | | | | Update changelog.d/6185.bugfixErik Johnston2019-10-091-1/+1
| | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
| | * | | | | | | | NewsfileErik Johnston2019-10-081-0/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #6178 from matrix-org/babolivier/factor_out_bg_updatesAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | |
| * | | | | | | | | Merge pull request #6178 from matrix-org/babolivier/factor_out_bg_updatesBrendan Abolivier2019-10-091-0/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Factor out backgroung updates
| | * | | | | | | | | ChangelogBrendan Abolivier2019-10-071-0/+1
| | | | | | | | | | |
* | | | | | | | | | | add M_TOO_LARGE error code for uploading a too large file (#6151)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | add M_TOO_LARGE error code for uploading a too large file (#6151)Anshul Angaria2019-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #6109
* | | | | | | | | | | Remove unused public room list timeout param (#6179)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Remove unused public room list timeout param (#6179)Andrew Morgan2019-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unused public room list timeout param * Add changelog
* | | | | | | | | | | Fix /federation/v1/state for recent room versions (#6170)Andrew Morgan2020-02-262-1/+2
|\| | | | | | | | | |
| * | | | | | | | | | Fix /federation/v1/state for recent room versions (#6170)Richard van der Hoff2019-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix /federation/v1/state for recent room versions Turns out this endpoint was completely broken for v3 rooms. Hopefully this re-signing code is irrelevant nowadays anyway.
| * | | | | | | | | | fix changelogRichard van der Hoff2019-10-071-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #6161 from matrix-org/erikj/dont_regen_user_id_on_failureAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Merge pull request #6161 from matrix-org/erikj/dont_regen_user_id_on_failureErik Johnston2019-10-071-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Don't regenerate numeric user ID if registration fails.
| | * | | | | | | | | | Fixup newsfileErik Johnston2019-10-032-1/+1
| | | | | | | | | | | |
| | * | | | | | | | | | NewsfileErik Johnston2019-10-031-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Log responder we are using. (#6139)Andrew Morgan2020-02-263-1/+2
|\| | | | | | | | | | |
| * | | | | | | | | | | Log responder we are using. (#6139)Michael Kaye2019-10-071-0/+1
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | This prevents us logging "Responding to media request with responder %s".
| * | | | | | | | | | Fix changelog for PR #6175Brendan Abolivier2019-10-072-1/+1
| | | | | | | | | | |
* | | | | | | | | | | add some logging to the rooms stats updates, to try to track down a flaky ↵Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test (#6167)
| * | | | | | | | | | add some logging to the rooms stats updates, to try to track down a flaky ↵Richard van der Hoff2019-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test (#6167)
* | | | | | | | | | | Merge pull request #6175 from matrix-org/babolivier/fix_unique_user_filter_indexAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Merge pull request #6175 from matrix-org/babolivier/fix_unique_user_filter_indexBrendan Abolivier2019-10-071-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix unique_user_filter_index schema update
| | * | | | | | | | | | ChangelogBrendan Abolivier2019-10-071-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #6159 from matrix-org/erikj/cache_membershipsAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #6159 from matrix-org/erikj/cache_membershipsErik Johnston2019-10-071-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | Cache room membership lookups in _get_joined_users_from_context
| | * | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-031-0/+1
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/cache_memberships
| | * | | | | | | | | | | NewsfileErik Johnston2019-10-031-0/+1
| | | |/ / / / / / / / / | | |/| | | | | | | | |
| * | | | | | | | | | | Merge pull request #6147 from matrix-org/babolivier/3pid-invite-revokedBrendan Abolivier2019-10-041-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Don't 500 when trying to exchange a revoked 3PID invite
| | * | | | | | | | | | | ChangelogBrendan Abolivier2019-10-021-0/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | Update `user_filters` table to have a unique index, and non-null columns (#1172)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | | |
| * | | | | | | | | | | | Update `user_filters` table to have a unique index, and non-null columns (#1172)Alexander Maznev2019-10-041-0/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | media/thumbnailer: Better quality for 1-bit / 8-bit color palette images (#2142)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | | |
| * | | | | | | | | | | | media/thumbnailer: Better quality for 1-bit / 8-bit color palette images (#2142)Robert Swain2019-10-041-0/+1
| | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pillow will use nearest neighbour as the resampling algorithm if the source image is either 1-bit or a color palette using 8 bits. If we convert to RGB before scaling, we'll probably get a better result.
* | | | | | | | | | | | add some metrics on the federation sender (#6160)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | add some metrics on the federation sender (#6160)Richard van der Hoff2019-10-031-0/+1
| | |/ / / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'master' into developAndrew Morgan2019-10-035-5/+0
| |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | | | | |
* | | | | | | | | | | 1.4.0Andrew Morgan2020-02-261-1/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | 1.4.0 v1.4.0 github/release-v1.4.0 release-v1.4.0Andrew Morgan2019-10-031-1/+0
| | | | | | | | | | |
* | | | | | | | | | | Replace client_secret with <redacted> in server logs (#6158)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Replace client_secret with <redacted> in server logs (#6158)Andrew Morgan2019-10-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace `client_secret` query parameter values with `<redacted>` in the logs. Prevents a scenario where a MITM of server traffic can horde 3pids on their account.
* | | | | | | | | | | Merge pull request #6154 from matrix-org/erikj/fix_appservice_paginationAndrew Morgan2020-02-261-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge pull request #6154 from matrix-org/erikj/fix_appservice_paginationErik Johnston2019-10-021-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix appservice room list pagination
| | * | | | | | | | | | NewsfileErik Johnston2019-10-021-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #6153 from matrix-org/erikj/fix_room_list_non_federatableAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #6153 from matrix-org/erikj/fix_room_list_non_federatableErik Johnston2019-10-021-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix not showing non-federatable rooms to remote room list queries
| | * | | | | | | | | | | NewsfileErik Johnston2019-10-021-0/+1
| | |/ / / / / / / / / /
* | | | | | | | | | | | Merge pull request #6148 from matrix-org/erikj/find_next_generatedAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #6148 from matrix-org/erikj/find_next_generatedErik Johnston2019-10-021-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | Bound find_next_generated_user_id DB query.
| | * | | | | | | | | | NewsfileErik Johnston2019-10-021-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #6152 from matrix-org/erikj/fix_room_listAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | NewsfileErik Johnston2019-10-021-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Land improved room list based on room stats (#6019)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Land improved room list based on room stats (#6019)Erik Johnston2019-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use room_stats and room_state for room directory search
* | | | | | | | | | | | 1.4.0rc2Andrew Morgan2020-02-265-5/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | 1.4.0rc2 v1.4.0rc2Andrew Morgan2019-10-025-5/+0
| | | | | | | | | | | |
* | | | | | | | | | | | Fix up some typechecking (#6150)Andrew Morgan2020-02-261-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Fix up some typechecking (#6150)Amber Brown2019-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * type checking fixes * changelog
* | | | | | | | | | | | Fix yields and copy instead of move push rules on room upgrade (#6144)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Fix yields and copy instead of move push rules on room upgrade (#6144)Andrew Morgan2019-10-021-0/+1
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy push rules during a room upgrade from the old room to the new room, instead of deleting them from the old room. For instance, we've defined upgrading of a room multiple times to be possible, and push rules won't be transferred on the second upgrade if they're deleted during the first. Also fix some missing yields that probably broke things quite a bit.
| * | | | | | | | | | Merge branch 'release-v1.4.0' of github.com:matrix-org/synapse into developErik Johnston2019-10-023-0/+3
| |\| | | | | | | | | | | |_|/ / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge branch 'erikj/fixup_devices_last_seen_query' of ↵Erik Johnston2019-10-012-0/+2
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | github.com:matrix-org/synapse into develop
* | \ \ \ \ \ \ \ \ \ Merge pull request #6146 from matrix-org/erikj/fix_destination_retry_timingsAndrew Morgan2020-02-261-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge pull request #6146 from matrix-org/erikj/fix_destination_retry_timingsErik Johnston2019-10-021-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix errors storing large retry intervals.
| | * | | | | | | | | | NewsfileErik Johnston2019-10-021-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #6145 from matrix-org/erikj/fix_censored_redactionsAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #6145 from matrix-org/erikj/fix_censored_redactionsErik Johnston2019-10-021-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | Fix fetching censored redactions from DB
| | * | | | | | | | | | NewsfileErik Johnston2019-10-021-0/+1
| | | |/ / / / / / / / | | |/| | | | | | | |
* | | | | | | | | | | Merge pull request #6141 from matrix-org/erikj/censor_redactions_fixAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | NewsfileErik Johnston2019-10-011-0/+1
| |/ / / / / / / / /
* | | | | | | | | | Merge pull request #6135 from matrix-org/erikj/fixup_devices_last_seen_queryAndrew Morgan2020-02-261-0/+1
|\| | | | | | | | |
| * | | | | | | | | NewsfileErik Johnston2019-09-301-0/+1
| | | | | | | | | |
* | | | | | | | | | Drop unused tables (#6115)Andrew Morgan2020-02-261-0/+1
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Drop unused tables (#6115)Richard van der Hoff2019-09-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tables are unused since #5893 (as amended by #6047), so we can now drop them. Fixes #6048.
* | | | | | | | | | Edit SimpleHttpClient to reference that header keys can be passed as str or ↵Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bytes (#6077)
| * | | | | | | | | Edit SimpleHttpClient to reference that header keys can be passed as str or ↵Andrew Morgan2019-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bytes (#6077)
| * | | | | | | | | Update changelog.d/6125.featureBrendan Abolivier2019-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
| * | | | | | | | | ChangelogBrendan Abolivier2019-09-271-0/+1
| | | | | | | | | |
* | | | | | | | | | Move lookup-related functions from RoomMemberHandler to IdentityHandler (#5978)Andrew Morgan2020-02-261-0/+1
|\| | | | | | | | |
| * | | | | | | | | Move lookup-related functions from RoomMemberHandler to IdentityHandler (#5978)Andrew Morgan2019-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just to have all the methods that make calls to identity services in one place.
* | | | | | | | | | Merge pull request #6108 from matrix-org/erikj/remove_get_user_by_req-spanAndrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Merge pull request #6108 from matrix-org/erikj/remove_get_user_by_req-spanErik Johnston2019-09-271-0/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add some helpful opentracing tags and remove get_user_by_req span
| | * | | | | | | | | NewsfileErik Johnston2019-09-251-0/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #6117 from matrix-org/erikj/fix_sample_configAndrew Morgan2020-02-251-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | NewsfileErik Johnston2019-09-261-0/+1
| | | | | | | | | | |
* | | | | | | | | | | Kill off half-implemented password-reset via sms (#6101)Andrew Morgan2020-02-25132-132/+1
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Kill off half-implemented password-reset via sms (#6101)Richard van der Hoff2019-09-261-0/+1
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing a password reset via SMS has never worked, and in any case is a silly idea because msisdn recycling is a thing. See also matrix-org/matrix-doc#2303.
| * | | | | | | | | changelogRichard van der Hoff2019-09-26131-132/+0
| | | | | | | | | |
* | | | | | | | | | Explicitly log when a homeserver does not have a trusted key server ↵Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configured (#6090)
| * | | | | | | | | Explicitly log when a homeserver does not have a trusted key server ↵Neil Johnson2019-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configured (#6090)
* | | | | | | | | | Merge commit '1b23f991a' into release-v1.4.0Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Clarify upgrade notes ahead of 1.4.0 releaseNeil Johnson2019-09-261-0/+1
| | | | | | | | | |
* | | | | | | | | | Fix dummy event insertion consent bug (#6053)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Fix dummy event insertion consent bug (#6053)Neil Johnson2019-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #5905
* | | | | | | | | | Merge pull request #6098 from matrix-org/erikj/cleanup_user_ips_2Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-09-2518-0/+18
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/cleanup_user_ips_2
| * | | | | | | | | | NewsfileErik Johnston2019-09-241-0/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #6089 from matrix-org/erikj/cleanup_user_ipsAndrew Morgan2020-02-251-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge pull request #6089 from matrix-org/erikj/cleanup_user_ipsErik Johnston2019-09-251-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Move last seen info into devices table
| | * \ \ \ \ \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-09-2517-0/+17
| | |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | erikj/cleanup_user_ips
| | * | | | | | | | | | NewsfileErik Johnston2019-09-231-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Enable cleaning up extremities with dummy events by default to prevent undue ↵Andrew Morgan2020-02-252-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build up of forward extremities. (#5884)
| * | | | | | | | | | | Enable cleaning up extremities with dummy events by default to prevent undue ↵Neil Johnson2019-09-251-0/+1
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build up of forward extremities. (#5884)
| * | | | | | | | | | Threepid validity checks on msisdns should not be dependent on ↵Neil Johnson2019-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'threepid_behaviour_email'. (#6104) Fixes #6103
* | | | | | | | | | | Stop advertising unsupported flows for registration (#6107)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Stop advertising unsupported flows for registration (#6107)Richard van der Hoff2019-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If email or msisdn verification aren't supported, let's stop advertising them for registration. Fixes #6100.
* | | | | | | | | | | Refactor the user-interactive auth handling (#6105)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Refactor the user-interactive auth handling (#6105)Richard van der Hoff2019-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull the checkers out to their own classes, rather than having them lost in a massive 1000-line class which does everything. This is also preparation for some more intelligent advertising of flows, as per #6100
* | | | | | | | | | | Refactor code for calculating registration flows (#6106)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Refactor code for calculating registration flows (#6106)Richard van der Hoff2019-09-251-0/+1
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because, frankly, it looked like it was written by an axe-murderer. This should be a non-functional change, except that where `m.login.dummy` was previously advertised *before* `m.login.terms`, it will now be advertised afterwards. AFAICT that should have no effect, and will be more consistent with the flows that involve passing a 3pid.
* | | | | | | | | | Merge pull request #6092 from ↵Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/babolivier/background_update_deactivated_return
| * | | | | | | | | Merge pull request #6092 from ↵Brendan Abolivier2019-09-241-0/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/babolivier/background_update_deactivated_return Fix the return value in the users_set_deactivated_flag background job
| | * | | | | | | | | ChangelogBrendan Abolivier2019-09-231-0/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #6037 from matrix-org/rav/saml_mapping_workAndrew Morgan2020-02-251-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_workRichard van der Hoff2019-09-243-0/+3
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_workRichard van der Hoff2019-09-2426-2/+27
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Update 6037.featureRichard van der Hoff2019-09-191-1/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'rav/saml_config_cleanup' into rav/saml_mapping_workRichard van der Hoff2019-09-191-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into rav/saml_mapping_workRichard van der Hoff2019-09-1991-0/+91
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | changelogRichard van der Hoff2019-09-131-0/+1
| | |_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | remove unused parameter to get_user_id_by_threepid (#6099)Andrew Morgan2020-02-251-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | remove unused parameter to get_user_id_by_threepid (#6099)Richard van der Hoff2019-09-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in #5377, apparently in error
* | | | | | | | | | | | | | Merge pull request #6069 from matrix-org/rav/fix_attribute_mappingAndrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | | |
| * | | | | | | | | | | | | Merge pull request #6069 from matrix-org/rav/fix_attribute_mappingRichard van der Hoff2019-09-241-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug with saml attribute maps.
| | * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' into rav/fix_attribute_mappingRichard van der Hoff2019-09-1991-0/+91
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / / / | | | |/| | | | | | | | | | |
| | * | | | | | | | | | | | | Fix a bug with saml attribute maps.Richard van der Hoff2019-09-191-0/+1
| | | |/ / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where the default attribute maps were prioritised over user-specified ones, resulting in incorrect mappings. The problem is that if you call SPConfig.load() multiple times, it adds new attribute mappers to a list. So by calling it with the default config first, and then the user-specified config, we would always get the default mappers before the user-specified mappers. To solve this, let's merge the config dicts first, and then pass them to SPConfig.
* | | | | | | | | | | | | | Add sid to next_link for email validation (#6097)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | | |
| * | | | | | | | | | | | | Add sid to next_link for email validation (#6097)J. Ryan Stinnett2019-09-241-0/+1
| | |_|_|/ / / / / / / / / | |/| | | | | | | | | | |
* | | | | | | | | | | | | Add submit_url response parameter to msisdn /requestToken (#6079)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | |
| * | | | | | | | | | | | Add submit_url response parameter to msisdn /requestToken (#6079)Andrew Morgan2019-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Second part of solving #6076 Fixes #6076 We return a submit_url parameter on calls to POST */msisdn/requestToken so that clients know where to submit token information to.
* | | | | | | | | | | | | Add an unstable feature flag for separate add/bind 3pid APIs (#6044)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | |
| * | | | | | | | | | | | Add an unstable feature flag for separate add/bind 3pid APIs (#6044)Andrew Morgan2019-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a m.separate_add_and_bind flag set to True. See MSC2290's Backward Compatibility section for details.
* | | | | | | | | | | | | Merge pull request #6064 from matrix-org/rav/saml_config_cleanupAndrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #6064 from matrix-org/rav/saml_config_cleanupRichard van der Hoff2019-09-231-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / | | |/| | | | | | | | | | Make the sample saml config closer to our standards
| | * | | | | | | | | | | Merge branch 'develop' into rav/saml_config_cleanupRichard van der Hoff2019-09-1991-0/+91
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / | | | |/| | | | | | | | |
| | * | | | | | | | | | | Add changelogRichard van der Hoff2019-09-191-0/+1
| | | |/ / / / / / / / / | | |/| | | | | | | | |
* | | | | | | | | | | | Use the federation blacklist for requests to untrusted Identity Servers (#6000)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Use the federation blacklist for requests to untrusted Identity Servers (#6000)Andrew Morgan2019-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses a SimpleHttpClient instance equipped with the federation_ip_range_blacklist list for requests to identity servers provided by user input. Does not use a blacklist when contacting identity servers specified by account_threepid_delegates. The homeserver trusts the latter and we don't want to prevent homeserver admins from specifying delegates that are on internal IP addresses. Fixes #5935
* | | | | | | | | | | | Add m.id_access_token to /versions unstable_features (MSC2264) (#5974)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Add m.id_access_token to /versions unstable_features (MSC2264) (#5974)Andrew Morgan2019-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a flag to /versions' unstable_features section indicating that this Synapse understands what an id_access_token is, as per MSC2264. Fixes #5927
* | | | | | | | | | | | Add m.require_identity_server to /versions unstable_flags (#5972)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Add m.require_identity_server to /versions unstable_flags (#5972)Andrew Morgan2019-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As MSC2263 states, m.require_identity_server must be set to false when it does not require an identity server to be provided by the client for the purposes of email registration or password reset. Adds an m.require_identity_server flag to /versionss unstable_flags section. This will advertise that Synapse no longer needs id_server as a parameter.
* | | | | | | | | | | | Add POST submit_token endpoint for MSISDN (#6078)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | |
| * | | | | | | | | | | Add POST submit_token endpoint for MSISDN (#6078)Andrew Morgan2019-09-231-0/+1
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | First part of solving #6076
* | | | | | | | | | | Implement MSC2290 (#6043)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Implement MSC2290 (#6043)Andrew Morgan2019-09-231-0/+1
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements MSC2290. This PR adds two new endpoints, /unstable/account/3pid/add and /unstable/account/3pid/bind. Depending on the progress of that MSC the unstable prefix may go away. This PR also removes the blacklist on some 3PID tests which occurs in #6042, as the corresponding Sytest PR changes them to use the new endpoints. Finally, it also modifies the account deactivation code such that it doesn't just try to deactivate 3PIDs that were bound to the user's account, but any 3PIDs that were bound through the homeserver on that user's account.
* | | | | | | | | | Disable /register/available if registration is disabled (#6082)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Disable /register/available if registration is disabled (#6082)Andrew Morgan2019-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #6066 This register endpoint should be disabled if registration is disabled, otherwise we're giving anyone the ability to check if a username exists on a server when we don't need to be. Error code is 403 (Forbidden) as that's the same returned by /register when registration is disabled.
* | | | | | | | | | Generalize email sending logging (#6075)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Generalize email sending logging (#6075)Andrew Morgan2019-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In ancient times Synapse would only send emails when it was notifying a user about a message they received... Now it can do all sorts of neat things! Change the logging so it's not just about notifications.
* | | | | | | | | | Return timeout error to user for identity server calls (#6073)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Return timeout error to user for identity server calls (#6073)Andrew Morgan2019-09-231-0/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #6072 from matrix-org/rav/fix_retry_resetAndrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Merge pull request #6072 from matrix-org/rav/fix_retry_resetRichard van der Hoff2019-09-231-0/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix exception when resetting retry timings
| | * | | | | | | | | Fix exception when resetting retry timingsRichard van der Hoff2019-09-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: > TypeError: set_destination_retry_timings() missing 1 required positional argument: 'retry_interval' Introduced in #6016.
* | | | | | | | | | | Allow HS to send emails when adding an email to the HS (#6042)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | |
| * | | | | | | | | | Allow HS to send emails when adding an email to the HS (#6042)Andrew Morgan2019-09-201-0/+1
| | | | | | | | | | |
* | | | | | | | | | | Remove trailing slash ability from password reset's submit_token endpoint ↵Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#6074)
| * | | | | | | | | | Remove trailing slash ability from password reset's submit_token endpoint ↵Andrew Morgan2019-09-201-0/+1
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#6074) Remove trailing slash ability from the password reset submit_token endpoint. Since we provide the link in an email, and have never sent it with a trailing slash, there's no point for us to accept them on the endpoint.
* | | | | | | | | | Ensure email validation link parameters are URL-encoded (#6063)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Ensure email validation link parameters are URL-encoded (#6063)Andrew Morgan2019-09-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The validation links sent via email had their query parameters inserted without any URL-encoding. Surprisingly this didn't seem to cause any issues, but if a user were to put a `/` in their client_secret it could lead to problems.
* | | | | | | | | | Drop support for bind param on POST /account/3pid (MSC2290) (#6067)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Drop support for bind param on POST /account/3pid (MSC2290) (#6067)Andrew Morgan2019-09-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per [MSC2290](https://github.com/matrix-org/matrix-doc/pull/2290/files#diff-05cde9463e9209b701312b3baf2fb2ebR151), we're dropping the bind parameter from `/account/3pid`. This endpoint can now only be used for adding threepid's to the user's account on the homeserver.
* | | | | | | | | | Docker: support SYNAPSE_WORKER envvar (#6058)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Docker: support SYNAPSE_WORKER envvar (#6058)Michael Kaye2019-09-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow passing SYNAPSE_WORKER envvar * changelog.d * Document SYNAPSE_WORKER. Attempting to imply that you don't need to change this default unless you're in worker mode. Also aware that there's a bigger problem of attempting to document a complete working configuration of workers using docker, as we currently only document to use `synctl` for worker mode, and synctl doesn't work that way in docker.
* | | | | | | | | | Use unstable prefix for 3PID unbind API (#6062)Andrew Morgan2020-02-252-1/+2
|\| | | | | | | | |
| * | | | | | | | | Use unstable prefix for 3PID unbind API (#6062)J. Ryan Stinnett2019-09-192-1/+2
| | | | | | | | | |
* | | | | | | | | | Update the upgrade notes (#6050)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Update the upgrade notes (#6050)Richard van der Hoff2019-09-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make it clear that if you installed from a package manager, you should use that to upgrade * Document the new way of getting the server version (cf #4878) * Write some words about downgrading.
* | | | | | | | | | Add some notes on rolling back to v1.3.1. (#6049)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Add some notes on rolling back to v1.3.1. (#6049)Richard van der Hoff2019-09-191-0/+1
| | | | | | | | | |
* | | | | | | | | | Undo the deletion of some tables (#6047)Andrew Morgan2020-02-252-1/+3
|\| | | | | | | | |
| * | | | | | | | | Undo the deletion of some tables (#6047)Richard van der Hoff2019-09-192-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a partial revert of #5893. The problem is that if we drop these tables in the same release as removing the code that writes to them, it prevents users users from being able to roll back to a previous release. So let's leave the tables in place for now, and remember to drop them in a subsequent release. (Note that these tables haven't been *read* for *years*, so any missing rows resulting from a temporary upgrade to vNext won't cause a problem.)
* | | | | | | | | | Remove POST method from password reset submit_token endpoint (#6056)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Remove POST method from password reset submit_token endpoint (#6056)Andrew Morgan2019-09-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the POST method from `/password_reset/<medium>/submit_token/` as it's only used by phone number verification which Synapse does not support yet.
* | | | | | | | | | Fix typo in account_threepid_delegates config (#6028)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Fix typo in account_threepid_delegates config (#6028)Jorik Schellekens2019-09-181-0/+1
| | | | | | | | | |
* | | | | | | | | | Give appropriate exit codes when synctl fails (#5992)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Give appropriate exit codes when synctl fails (#5992)Jorik Schellekens2019-09-181-0/+1
| | | | | | | | | |
* | | | | | | | | | Fix logcontext spam on non-Linux platforms (#6059)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Fix logcontext spam on non-Linux platforms (#6059)J. Ryan Stinnett2019-09-181-0/+1
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This checks whether the current platform supports thread resource usage tracking before logging a warning to avoid log spam. Fixes https://github.com/matrix-org/synapse/issues/6055
* | | | | | | | | v2 3PID Invites (part of MSC2140) (#5979)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | v2 3PID Invites (part of MSC2140) (#5979)Andrew Morgan2019-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3PID invites require making a request to an identity server to check that the invited 3PID has an Matrix ID linked, and if so, what it is. These requests are being made on behalf of a user. The user will supply an identity server and an access token for that identity server. The homeserver will then forward this request with the access token (using an `Authorization` header) and, if the given identity server doesn't support v2 endpoints, will fall back to v1 (which doesn't require any access tokens). Requires: ~~#5976~~
* | | | | | | | | (#5849) Convert rst to markdown (#6040)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | (#5849) Convert rst to markdown (#6040)dstipp2019-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Converting some of the rst documentation to markdown. Attempted to preserve whitespace and line breaks to minimize cosmetic change.
* | | | | | | | | Fix race condition in room stats. (#6029)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Fix race condition in room stats. (#6029)Erik Johnston2019-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broke in #5971 Basically the bug is that if get_current_state_deltas returns no new updates and we then take the max pos, its possible that we miss an update that happens in between the two calls. (e.g. get_current_state_deltas looks up to stream pos 5, then an event persists and so getting the max stream pos returns 6, meaning that next time we check for things with a stream pos bigger than 6)
* | | | | | | | | Add 'failure_ts' column to 'destinations' table (#6016)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Add 'failure_ts' column to 'destinations' table (#6016)Richard van der Hoff2019-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Track the time that a server started failing at, for general analysis purposes.
* | | | | | | | | Fix well-known lookups with the federation certificate whitelist (#5997)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Fix well-known lookups with the federation certificate whitelist (#5997)Amber Brown2019-09-141-0/+1
| | | | | | | | |
* | | | | | | | | Add developer docs for using SAML without a server (#6032)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Add developer docs for using SAML without a server (#6032)Travis Ralston2019-09-131-0/+1
| | | | | | | | |
* | | | | | | | | Fix for structured logging tests stomping on logs (#6023)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Fix for structured logging tests stomping on logs (#6023)Amber Brown2019-09-131-0/+1
| | | | | | | | |
* | | | | | | | | Remove the cap on federation retry interval. (#6026)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Remove the cap on federation retry interval. (#6026)Richard van der Hoff2019-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially the intention here is to end up blacklisting servers which never respond to federation requests. Fixes https://github.com/matrix-org/synapse/issues/5113.
* | | | | | | | | Fix bug in calculating the federation retry backoff period (#6025)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Fix bug in calculating the federation retry backoff period (#6025)Richard van der Hoff2019-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was intended to introduce an element of jitter; instead it gave you a 30/60 chance of resetting to zero.
* | | | | | | | | Merge pull request #6024 from matrix-org/dbkr/fix_sso_fallback_loginAndrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | changelogDavid Baker2019-09-121-0/+1
| | | | | | | | |
* | | | | | | | | add report_stats_endpoint config option (#6012)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | add report_stats_endpoint config option (#6012)Sorunome2019-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This PR adds the optional `report_stats_endpoint` to configure where stats are reported to, if enabled.
* | | | | | | | | Blow up config if opentracing is missing (#5985)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Blow up config if opentracing is missing (#5985)Jorik Schellekens2019-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Blow up config if opentracing is missing
* | | | | | | | | Merge pull request #6020 from matrix-org/jaywink/allow-support-users-to-registerAndrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Ensure support users can be registered even if MAU limit is reachedJason Robinson2019-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows support users to be created even on MAU limits via the admin API. Support users are excluded from MAU after creation, so it makes sense to exclude them in creation - except if the whole host is in disabled state. Signed-off-by: Jason Robinson <jasonr@matrix.org>
* | | | | | | | | Use the v2 Identity Service API for lookups (MSC2134 + MSC2140) (#5976)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Use the v2 Identity Service API for lookups (MSC2134 + MSC2140) (#5976)Andrew Morgan2019-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a redo of https://github.com/matrix-org/synapse/pull/5897 but with `id_access_token` accepted. Implements [MSC2134](https://github.com/matrix-org/matrix-doc/pull/2134) plus Identity Service v2 authentication ala [MSC2140](https://github.com/matrix-org/matrix-doc/pull/2140). Identity lookup-related functions were also moved from `RoomMemberHandler` to `IdentityHandler`.
* | | | | | | | | Merge pull request #6015 from matrix-org/erikj/ratelimit_admin_redactionAndrew Morgan2020-02-251-0/+1
|\| | | | | | | |
| * | | | | | | | Merge pull request #6015 from matrix-org/erikj/ratelimit_admin_redactionErik Johnston2019-09-111-0/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Allow use of different ratelimits for admin redactions.
| | * | | | | | | | NewsfileErik Johnston2019-09-111-0/+1
| | | | | | | | | |
* | | | | | | | | | Clean up some code in the retry logic (#6017)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Clean up some code in the retry logic (#6017)Richard van der Hoff2019-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove some unused code * make things which were constants into constants for efficiency and clarity
* | | | | | | | | | Add note about extra arg to send_membership_event, remove arg in ↵Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remote_reject_invite (#6009)
| * | | | | | | | | Add note about extra arg to send_membership_event, remove arg in ↵Andrew Morgan2019-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remote_reject_invite (#6009) Some small fixes to `room_member.py` found while doing other PRs. 1. Add requester to the base `_remote_reject_invite` method. 2. `send_membership_event`'s docstring was out of date and took in a `remote_room_hosts` arg that was not used and no calling function provided.
* | | | | | | | | | Check dependencies on setup in the nicer way. (#5989)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Check dependencies on setup in the nicer way. (#5989)Jorik Schellekens2019-09-111-0/+1
| | | | | | | | | |
* | | | | | | | | | Fix existing v2 identity server calls (MSC2140) (#6013)Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | |
| * | | | | | | | | Fix existing v2 identity server calls (MSC2140) (#6013)Andrew Morgan2019-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two things I missed while implementing [MSC2140](https://github.com/matrix-org/matrix-doc/pull/2140/files#diff-c03a26de5ac40fb532de19cb7fc2aaf7R80). 1. Access tokens should be provided to the identity server as `access_token`, not `id_access_token`, even though the homeserver may accept the tokens as `id_access_token`. 2. Access tokens must be sent to the identity server in a query parameter, the JSON body is not allowed. We now send the access token as part of an `Authorization: ...` header, which fixes both things. The breaking code was added in https://github.com/matrix-org/synapse/pull/5892 Sytest PR: https://github.com/matrix-org/sytest/pull/697
* | | | | | | | | | Remove origin parameter from add_display_name_to_third_party_invite and add ↵Andrew Morgan2020-02-251-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | params to docstring (#6010)