summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-3076-60/+19
|\ | | | | | | erikj/split_out_persistence_store
| * Merge pull request #6291 from matrix-org/erikj/fix_cache_descriptorErik Johnston2019-10-301-0/+1
| |\ | | | | | | Make ObservableDeferred.observe() always return deferred.
| | * NewsfileErik Johnston2019-10-301-0/+1
| | |
| * | Modify doc to update Google ReCaptcha terms (#6257)Yash Jipkate2019-10-301-0/+1
| | |
| * | Fix log line that was printing undefined value (#6278)Andrew Morgan2019-10-301-0/+1
| | |
| * | Update CI to run isort on scripts and scripts-dev (#6270)Andrew Morgan2019-10-301-0/+1
| | |
| * | Fix small typo in comment (#6269)Andrew Morgan2019-10-301-0/+1
| |/
| * Fix typo in domain name in account_threepid_delegates config option (#6273)Andrew Morgan2019-10-301-0/+1
| |
| * Remove redundant arguments to CI's flake8 (#6277)Andrew Morgan2019-10-301-0/+1
| |
| * Handle FileNotFound error in checking git repository version (#6284)Andrew Morgan2019-10-301-0/+1
| |
| * Merge pull request #6280 from matrix-org/erikj/receipts_async_awaitErik Johnston2019-10-301-0/+1
| |\ | | | | | | Port receipt and read markers to async/wait
| | * Merge branch 'erikj/federation_server_async_await' of ↵Erik Johnston2019-10-293-2/+2
| | |\ | | | | | | | | | | | | github.com:matrix-org/synapse into erikj/receipts_async_await
| | * | NewsfileErik Johnston2019-10-291-0/+1
| | | |
| * | | Merge pull request #6274 from matrix-org/erikj/replication_asyncErik Johnston2019-10-301-0/+1
| |\ \ \ | | | | | | | | | | Port replication http server endpoints to async/await
| | * \ \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-292-1/+1
| | |\ \ \ | | | | | | | | | | | | | | | | | | erikj/replication_async
| | * | | | NewsfileErik Johnston2019-10-291-0/+1
| | | | | |
| * | | | | Merge pull request #6275 from matrix-org/erikj/port_rest_eventsErik Johnston2019-10-301-0/+1
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | Port room rest handlers to async/await
| | * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-292-1/+1
| | |\ \ \ \ | | | | |/ / | | | |/| | | | | | | | erikj/port_rest_events
| | * | | | NewsfileErik Johnston2019-10-291-0/+1
| | | |/ / | | |/| |
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-293-2/+2
| |\ \ \ \ | | | |/ / | | |/| / | | |_|/ | |/| | erikj/federation_server_async_await
| | * | Fix CI for synapse_port_db (#6276)Brendan Abolivier2019-10-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't use a virtualenv * Generate the server's signing key to allow it to start * Add signing key paths to CI configuration files * Use a Python script to create the postgresql database * Improve logging
| | * | Merge branch 'master' into developRichard van der Hoff2019-10-291-1/+0
| | |\ \
| | | * | 1.5.0 v1.5.0 github/release-v1.5.0 release-v1.5.0Richard van der Hoff2019-10-291-1/+0
| | | | |
| | * | | Merge branch 'babolivier/changelog-name' into developBrendan Abolivier2019-10-291-0/+0
| | |\| | | | | |/ | | |/|
| | | * Fix changelog nameBrendan Abolivier2019-10-291-0/+0
| | | |
| * | | NewsfileErik Johnston2019-10-291-0/+1
| |/ /
| * | Merge pull request #6263 from matrix-org/erikj/caches_return_deferredsErik Johnston2019-10-291-0/+1
| |\ \ | | | | | | | | Quick fix to ensure cache descriptors always return deferreds
| | * | NewsfileErik Johnston2019-10-281-0/+1
| | | |
| * | | Merge branch 'release-v1.5.0' of github.com:matrix-org/synapse into developErik Johnston2019-10-291-0/+1
| |\ \ \ | | | |/ | | |/|
| | * | NewsfileErik Johnston2019-10-291-0/+1
| | | |
| * | | Add CI for synapse_port_db (#6140)Brendan Abolivier2019-10-281-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds: * a test sqlite database * a configuration file for the sqlite database * a configuration file for a postgresql database (using the credentials in `.buildkite/docker-compose.pyXX.pgXX.yaml`) as well as a new script named `.buildkite/scripts/test_synapse_port_db.sh` that: 1. installs Synapse 2. updates the test sqlite database to the latest schema and runs background updates on it 3. creates an empty postgresql database 4. run the `synapse_port_db` script to migrate the test sqlite database to the empty postgresql database (with coverage) Step `2` is done via a new script located at `scripts-dev/update_database`. The test sqlite database is extracted from a SyTest run, so that it can be considered as an actual homeserver's database with actual data in it.
| * | Merge tag 'v1.5.0rc2' into developRichard van der Hoff2019-10-284-4/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Synapse 1.5.0rc2 (2019-10-28) ============================= Bugfixes -------- - Update list of boolean columns in `synapse_port_db`. ([\#6247](https://github.com/matrix-org/synapse/issues/6247)) - Fix /keys/query API on workers. ([\#6256](https://github.com/matrix-org/synapse/issues/6256)) - Improve signature checking on some federation APIs. ([\#6262](https://github.com/matrix-org/synapse/issues/6262)) Internal Changes ---------------- - Move schema delta files to the correct data store. ([\#6248](https://github.com/matrix-org/synapse/issues/6248)) - Small performance improvement by removing repeated config lookups in room stats calculation. ([\#6255](https://github.com/matrix-org/synapse/issues/6255))
| | * 1.5.0rc2 v1.5.0rc2Richard van der Hoff2019-10-285-5/+0
| | |
| | * Improve signature checking on some federation APIs (#6262)Richard van der Hoff2019-10-281-0/+1
| | | | | | | | | | | | | | | Make sure that we check that events sent over /send_join, /send_leave, and /invite, are correctly signed and come from the expected servers.
| * | Convert EventContext to attrs (#6218)Richard van der Hoff2019-10-281-0/+1
| | | | | | | | | | | | * make EventContext use an attr
| * | Merge pull request #6253 from matrix-org/uhoreg/e2e_backup_delete_keysHubert Chathi2019-10-251-0/+1
| |\ \ | | | | | | | | delete keys when deleting backup versions
| | * | add changelogHubert Chathi2019-10-241-0/+1
| | | |
| * | | Merge branch 'release-v1.5.0' of github.com:matrix-org/synapse into developErik Johnston2019-10-251-0/+1
| |\ \ \ | | | |/ | | |/|
| | * | Merge pull request #6255 from matrix-org/erikj/stats_configErik Johnston2019-10-251-0/+1
| | |\ \ | | | | | | | | | | Remove repeated calls to config.stats_enabled.
| | | * | NewsfileErik Johnston2019-10-251-0/+1
| | | |/
| * | | Merge branch 'release-v1.5.0' of github.com:matrix-org/synapse into developErik Johnston2019-10-251-0/+1
| |\| |
| | * | NewsfileErik Johnston2019-10-251-0/+1
| | |/
| * | Merge pull request #6251 from matrix-org/michaelkaye/debug_guard_loggingErik Johnston2019-10-251-0/+1
| |\ \ | | | | | | | | Reduce debug logging overhead
| | * | Reduce impact of debug loggingMichael Kaye2019-10-241-0/+1
| | |/
| * | Add missing '.'Michael Kaye2019-10-241-1/+1
| | |
| * | Add changelog.dMichael Kaye2019-10-241-0/+1
| |/
| * Merge pull request #6248 from matrix-org/erikj/move_schema_filesErik Johnston2019-10-241-0/+1
| |\ | | | | | | Move schema delta files to the correct data store.
| | * NewsfileErik Johnston2019-10-241-0/+1
| | |
| * | Merge pull request #6247 from matrix-org/babolivier/port_db_columnBrendan Abolivier2019-10-241-0/+1
| |\ \ | | |/ | |/| Add new boolean column to synapse_port_db
| | * ChangelogBrendan Abolivier2019-10-241-0/+1
| | |
| * | 1.5.0rc1Andrew Morgan2019-10-2461-64/+0
| |/
| * Option to suppress resource exceeded alerting (#6173)Neil Johnson2019-10-241-0/+1
| | | | | | | | The expected use case is to suppress MAU limiting on small instances
| * Cleanup extra quotes from IDEs (#6236)Andrew Morgan2019-10-231-0/+1
| |
| * ChangelogBrendan Abolivier2019-10-231-0/+1
| |
| * Make synapse_port_db correctly create indexes (#6102)Brendan Abolivier2019-10-231-0/+1
| | | | | | | | | | | | | | Make `synapse_port_db` correctly create indexes in the PostgreSQL database, by having it run the background updates on the database before migrating the data. To ensure we're migrating the right data, also block the port if the SQLite3 database still has pending or ongoing background updates. Fixes #4877
* | NewsfileErik Johnston2019-10-231-0/+1
|/
* Add config linting script that checks for bool casing (#6203)Andrew Morgan2019-10-231-0/+1
| | | | | Add a linting script that enforces all boolean values in the default config be lowercase. This has annoyed me for a while so I decided to fix it.
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-222-0/+2
|\ | | | | | | erikj/refactor_stores
| * Merge pull request #5726 from matrix-org/uhoreg/e2e_cross-signing2-part2Hubert Chathi2019-10-221-0/+1
| |\ | | | | | | Cross-signing [3/4] -- uploading signatures edition
| | * Add changelog entryHubert Chathi2019-10-181-0/+1
| | | | | | | | | | | | ... again? How did you make it disappear, git?
| * | Fix demo script on ipv6-supported boxes (#6229)Andrew Morgan2019-10-221-0/+1
| | | | | | | | | The synapse demo was a bit flakey in terms of supporting federation. It turns out that if your computer resolved `localhost` to `::1` instead of `127.0.0.1`, the built-in federation blacklist specified in `start.sh` would still block it, since it contained an entry for `::/127`. Removing this no longer prevents Synapse from contacting `::1`, federation works again on these boxes.
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-226-0/+9
|\| | | | | | | | | | | erikj/refactor_stores
| * | Delete format_tap.py (#6219)Andrew Morgan2019-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | * Delete format_tap.py This python implementation of a tap formatting library for buildkite has been replaced with a perl implementation as part of the matrix-org/sytest repo, which is specific to sytest's language, not that of any one homeserver's.
| * | Remove Auth.check method (#6217)Richard van der Hoff2019-10-181-0/+1
| |/ | | | | This method was somewhat redundant, and confusing.
| * Merge branch 'uhoreg/e2e_cross-signing_merged' into developHubert Chathi2019-10-182-0/+5
| |\
| | * Merge branch 'develop' into uhoreg/e2e_cross-signing_mergedHubert Chathi2019-10-18113-66/+47
| | |\
| | * | add note about database upgradeHubert Chathi2019-10-181-1/+4
| | | |
| | * | Merge branch 'develop' into uhoreg/e2e_cross-signing_mergedHubert Chathi2019-09-0719-0/+19
| | |\ \
| | * \ \ Merge branch 'develop' into cross-signing_keysHubert Chathi2019-09-0416-1/+15
| | |\ \ \
| | * \ \ \ Merge branch 'uhoreg/e2e_cross-signing_merged' into cross-signing_keysHubert Chathi2019-08-2871-38/+33
| | |\ \ \ \
| | | * \ \ \ Merge branch 'develop' into uhoreg/e2e_cross-signing_mergedHubert Chathi2019-08-2886-53/+33
| | | |\ \ \ \
| | | * | | | | Cross-signing [1/4] -- hidden devices (#5759)Hubert Chathi2019-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow devices to be marked as "hidden" This is a prerequisite for cross-signing, as it allows us to create other things that live within the device namespace, so they can be used for signatures.
| | * | | | | | fix formattingHubert Chathi2019-08-011-1/+1
| | | | | | | |
| | * | | | | | add changelogHubert Chathi2019-08-011-0/+1
| | | | | | | |
| | * | | | | | Merge branch 'develop' into cross-signing_hiddenHubert Chathi2019-07-3081-54/+30
| | |\ \ \ \ \ \
| | * | | | | | | add changelog fileHubert Chathi2019-07-301-0/+1
| | | | | | | | |
| * | | | | | | | Merge remote-tracking branch 'origin/develop' into rav/event_auth/1Richard van der Hoff2019-10-184-0/+4
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Fix logging config for the docker image (#6197)Richard van der Hoff2019-10-181-0/+1
| | | |_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out that loggers that are instantiated before the config is loaded get turned off. Also bring the logging config that is generated by --generate-config into line. Fixes #6194.
| * | | | | | | | Merge remote-tracking branch 'origin/develop' into rav/event_auth/1Richard van der Hoff2019-10-1810-1/+9
| |\ \ \ \ \ \ \ \
| * | | | | | | | | changelogRichard van der Hoff2019-10-171-0/+1
| | | | | | | | | |
* | | | | | | | | | NewsfileErik Johnston2019-10-211-0/+1
| |_|/ / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #6196 from matrix-org/erikj/awaitErik Johnston2019-10-181-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Move rest/admin to use async/await.
| * | | | | | | | | NewsfileErik Johnston2019-10-111-0/+1
| | | | | | | | | |
* | | | | | | | | | Add missing BOOLEAN_COLUMNs to synapse_port_db (#6216)Bart Noordervliet2019-10-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small fix to synapse_port_db to be able to convert from database schema v56.
* | | | | | | | | | Fix presence timeouts when synchrotron restarts. (#6212)Erik Johnston2019-10-181-0/+1
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix presence timeouts when synchrotron restarts. Handling timeouts would fail if there was an external process that had timed out, e.g. a synchrotron restarting. This was due to a couple of variable name typoes. Fixes #3715.
* | | | | | | | | Remove dead changelog fileRichard van der Hoff2019-10-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of 1.4.1
* | | | | | | | | Fix up changelogsRichard van der Hoff2019-10-171-0/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #6193 from matrix-org/uhoreg/interpret_device_key_in_storageHubert Chathi2019-10-111-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | make storage layer in charge of interpreting the device key data
| * | | | | | | | | add changelogHubert Chathi2019-10-101-0/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #6189 from matrix-org/uhoreg/e2e_backup_optional_versionHubert Chathi2019-10-111-0/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | make version optional in body of e2e backup version update
| * | | | | | | | | | add changelogHubert Chathi2019-10-091-0/+1
| |/ / / / / / / / /
* | | | | | | | | | Merge pull request #6195 from matrix-org/erikj/opentracing_preview_urlErik Johnston2019-10-111-0/+1
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | Trace non-JSON APIs, /media, /key etc
| * | | | | | | | | NewsfileErik Johnston2019-10-111-0/+1
| | | | | | | | | |
* | | | | | | | | | cas: support setting display name (#6114)Valérian Rousset2019-10-111-0/+1
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | Now, the CAS server can return an attribute stating what's the desired displayname, instead of using the username directly.
* | | | | | | | | Fix MAU reaping where reserved users are specified. (#6168)Neil Johnson2019-10-111-0/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #6156 from matrix-org/erikj/postgres_anyErik Johnston2019-10-101-0/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Use Postgres ANY for selecting many values.
| * \ \ \ \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into erikj/postgres_anyErik Johnston2019-10-102-0/+2
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | NewsfileErik Johnston2019-10-101-0/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-102-0/+2
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | erikj/disable_sql_bytes
| * | | | | | | | | | 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_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
| | | |/ / / / / / / | | |/| | | | | | |
* | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-1035-1/+35
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/disable_sql_bytes
| * | | | | | | | | 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)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)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)James2019-10-101-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)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 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)Amber Brown2019-10-101-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>
| * | | | | | | | 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)Anshul Angaria2019-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #6109
| * | | | | | | | | 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)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_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)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 ↵Richard van der Hoff2019-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test (#6167)
| * | | | | | | | | 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_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)Alexander Maznev2019-10-041-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)Richard van der Hoff2019-10-031-0/+1
| | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge branch 'master' into developAndrew Morgan2019-10-035-5/+0
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ 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_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_generatedErik Johnston2019-10-021-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | Bound find_next_generated_user_id DB query.
| | * | | | | | | | | | NewsfileErik Johnston2019-10-021-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | NewsfileErik Johnston2019-10-021-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
| * | | | | | | | | | | 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 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 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_redactionsErik Johnston2019-10-021-0/+1
| | |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / | | |/| | | | | | | | | Fix fetching censored redactions from DB
| | | * | | | | | | | | NewsfileErik Johnston2019-10-021-0/+1
| | | | | | | | | | | |
| | * | | | | | | | | | NewsfileErik Johnston2019-10-011-0/+1
| | |/ / / / / / / / /
| * | | | | | | | | | Merge branch 'erikj/fixup_devices_last_seen_query' of ↵Erik Johnston2019-10-012-0/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | github.com:matrix-org/synapse into develop
| | * | | | | | | | | NewsfileErik Johnston2019-09-301-0/+1
| | | | | | | | | | |
| | * | | | | | | | | NewsfileErik Johnston2019-09-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 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 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-spanErik Johnston2019-09-271-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add some helpful opentracing tags and remove get_user_by_req span
| | * | | | | | | | | | NewsfileErik Johnston2019-09-251-0/+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 ↵Neil Johnson2019-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configured (#6090)
| * | | | | | | | | | Clarify upgrade notes ahead of 1.4.0 releaseNeil Johnson2019-09-261-0/+1
| | | | | | | | | | |
| * | | | | | | | | | Fix dummy event insertion consent bug (#6053)Neil Johnson2019-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #5905
| * | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-09-2518-0/+18
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/cleanup_user_ips_2
| | * \ \ \ \ \ \ \ \ \ 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
| | * | | | | | | | | | | | 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)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)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)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 ↵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 remote-tracking branch 'origin/develop' into rav/saml_mapping_workRichard van der Hoff2019-09-243-0/+3
| | |\ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | 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_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)J. Ryan Stinnett2019-09-241-0/+1
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Merge remote-tracking branch 'origin/develop' into rav/saml_mapping_workRichard van der Hoff2019-09-2426-2/+27
| | |\| | | | | | | | | | | |
| | | * | | | | | | | | | | | 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 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_cleanupRichard van der Hoff2019-09-231-0/+1
| | | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the sample saml config closer to our standards
| | | * | | | | | | | | | | | | 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 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 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 Morgan2019-09-231-0/+1
| | | | |_|_|/ / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | First part of solving #6076
| | | * | | | | | | | | | | | 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.
| | * | | | | | | | | | | | | 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_config_cleanupRichard van der Hoff2019-09-1991-0/+91
| | | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | |_|/ / / / / / / / / | | | | |/| | | | | | | | | |
| | | * | | | | | | | | | | | Add changelogRichard 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
| | | |/ / / / / / / / / / | | |/| | | | | | | | | |
| * | | | | | | | | | | | NewsfileErik Johnston2019-09-241-0/+1
| | |_|_|/ / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | NewsfileErik Johnston2019-09-231-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 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 Morgan2019-09-231-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 Morgan2019-09-201-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | 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 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 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)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)J. Ryan Stinnett2019-09-192-1/+2
| | | | | | | | | | |
| * | | | | | | | | | 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)Richard van der Hoff2019-09-191-0/+1
| | | | | | | | | | |
| * | | | | | | | | | 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 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)Jorik Schellekens2019-09-181-0/+1
| | | | | | | | | | |
| * | | | | | | | | | Give appropriate exit codes when synctl fails (#5992)Jorik Schellekens2019-09-181-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 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)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)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)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)Amber Brown2019-09-141-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)Amber Brown2019-09-131-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)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.
| * | | | | | | | | changelogDavid Baker2019-09-121-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)Jorik Schellekens2019-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Blow up config if opentracing is missing
| * | | | | | | | | 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 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_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)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 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)Jorik Schellekens2019-09-111-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 Morgan2019-09-111-0/+1
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | params to docstring (#6010) Another small fixup noticed during work on a larger PR. The `origin` field of `add_display_name_to_third_party_invite` is not used and likely was just carried over from the `on_PUT` method of `FederationThirdPartyInviteExchangeServlet` which, like all other servlets, provides an `origin` argument. Since it's not used anywhere in the handler function though, we should remove it from the function arguments.
| * | | | | | | | | Merge pull request #6011 from matrix-org/anoa/fix_3pid_validationErik Johnston2019-09-101-0/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Use account_threepid_delegate for 3pid validation
| | * | | | | | | | | Add changelogAndrew Morgan2019-09-101-0/+1
| | | | | | | | | | |
| * | | | | | | | | | Merge pull request #6004 from matrix-org/jaywink/autojoin-create-real-usersJason Robinson2019-09-091-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Only count real users when checking for auto-creation of auto-join room
| | * | | | | | | | | | Only count real users when checking for auto-creation of auto-join roomJason Robinson2019-09-091-0/+1
| | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if the first registered user was a "support" or "bot" user, when the first real user registers, the auto-join rooms were not created. Fix to exclude non-real (ie users with a special user type) users when counting how many users there are to determine whether we should auto-create a room. Signed-off-by: Jason Robinson <jasonr@matrix.org>
| * | | | | | | | | | Merge pull request #5934 from matrix-org/erikj/censor_redactionsErik Johnston2019-09-091-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Censor redactions in DB after a month
| | * \ \ \ \ \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-09-0521-1/+20
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/censor_redactions
| | * | | | | | | | | | | NewsfileErik Johnston2019-08-301-0/+1
| | | |_|_|_|_|_|_|_|/ / | | |/| | | | | | | | |
| * | | | | | | | | | | Add a build info metric to Prometheus (#6005)Amber Brown2019-09-101-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | NewsfileErik Johnston2019-09-091-0/+1
| | |_|/ / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Servers-known-about statistic (#5981)Amber Brown2019-09-071-0/+1
| | | | | | | | | | |