summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.8 for tox (#6341)Richard van der Hoff2019-11-071-0/+1
| | | | | | | ... and update INSTALL.md to include py3.8. We'll also have to update the buildkite pipeline to run it
* Merge pull request #6235 from matrix-org/anoa/room_upgrade_groupsAndrew Morgan2019-11-071-0/+1
|\
| * Merge branch 'develop' of github.com:matrix-org/synapse into ↵Andrew Morgan2019-11-041-0/+1
| |\ | | | | | | | | | anoa/room_upgrade_groups
| * | Transfer upgraded rooms on groupsAndrew Morgan2019-11-041-0/+1
| | |
* | | tweak changelogRichard van der Hoff2019-11-071-1/+1
| | |
* | | Fix LruCache callback deduplication (#6213)V024602019-11-071-0/+1
| | |
* | | Make numeric user_id checker start at @0, and don't ratelimit on checking ↵Andrew Morgan2019-11-061-0/+1
|\ \ \ | | | | | | | | | | | | (#6338)
| * | | Add changelogAndrew Morgan2019-11-061-0/+1
| | | |
* | | | Merge branch 'master' into developRichard van der Hoff2019-11-062-2/+0
|\ \ \ \ | |/ / / |/| | |
* | | | Fix bug which caused rejected events to be stored with the wrong room state ↵Richard van der Hoff2019-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#6320) Fixes a bug where rejected events were persisted with the wrong state group. Also fixes an occasional internal-server-error when receiving events over federation which are rejected and (possibly because they are backwards-extremities) have no prev_group. Fixes #6289.
* | | | Add some checks that we aren't using state from rejected events (#6330)Richard van der Hoff2019-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Raise an exception if accessing state for rejected events Add some sanity checks on accessing state_group etc for rejected events. * Skip calculating push actions for rejected events It didn't actually cause any bugs, because rejected events get filtered out at various later points, but there's not point in trying to calculate the push actions for a rejected event.
* | | | Merge pull request #6336 from matrix-org/erikj/fix_phone_home_statsErik Johnston2019-11-051-0/+1
|\ \ \ \ | | | | | | | | | | Fix phone home stats
| * | | | NewsfileErik Johnston2019-11-051-0/+1
| | | | |
* | | | | Merge pull request #6334 from matrix-org/rav/url_preview_limit_title_2Richard van der Hoff2019-11-051-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix exception when OpenGraph tag values are ints
| * | | | | Fix exception when OpenGraph tag values are intsRichard van der Hoff2019-11-051-0/+1
| | | | | |
* | | | | | Merge branch 'develop' into rav/url_preview_limit_titleRichard van der Hoff2019-11-0541-0/+41
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /
| * | | / Improve documentation for EventContext fields (#6319)Richard van der Hoff2019-11-051-0/+1
| | |_|/ | |/| |
| * | | Remove the psutil dependency (#6318)Amber Brown2019-11-051-0/+1
| | |/ | |/| | | | * remove psutil and replace with resource
| * | document the REPLICATE command a bit better (#6305)Richard van der Hoff2019-11-041-0/+1
| | | | | | | | | | | | since I found myself wonder how it works
| * | Merge pull request #6301 from matrix-org/babolivier/msc2326Brendan Abolivier2019-11-011-0/+1
| |\ \ | | | | | | | | Implement MSC2326 (label based filtering)
| | * | Incorporate reviewBrendan Abolivier2019-11-011-1/+1
| | | |
| | * | ChangelogBrendan Abolivier2019-10-301-0/+1
| | | |
| * | | Factor out an _AsyncEventContextImpl (#6298)Richard van der Hoff2019-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The intention here is to make it clearer which fields we can expect to be populated when: notably, that the _event_type etc aren't used for the synchronous impl of EventContext.
| * | | Merge pull request #6313 from matrix-org/uhoreg/cross_signing_fix_sqlite_schemaHubert Chathi2019-11-011-0/+1
| |\ \ \ | | | | | | | | | | fix hidden field in devices table for older sqlite
| | * | | add changelogHubert Chathi2019-10-311-0/+1
| | | | |
| * | | | Add contributer docs for using the provided linters script (#6164)Jason Robinson2019-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lint dependencies black, flake8 and isort These are required when running the `lint.sh` dev scripts. Signed-off-by: Jason Robinson <jasonr@matrix.org> * Add contributer docs for using the providers linters script Add also to the pull request template to avoid build failures due to people not knowing that linters need running. Signed-off-by: Jason Robinson <jasonr@matrix.org> * Fix mention of linter errors correction Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Add mention for installing linter dependencies Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Remove linters from python dependencies as per PR review Signed-off-by: Jason Robinson <jasonr@matrix.org>
| * | | | Support for routing outbound HTTP requests via a proxy (#6239)Richard van der Hoff2019-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `http_proxy` and `HTTPS_PROXY` env vars can be set to a `host[:port]` value which should point to a proxy. The address of the proxy should be excluded from IP blacklists such as the `url_preview_ip_range_blacklist`. The proxy will then be used for * push * url previews * phone-home stats * recaptcha validation * CAS auth validation It will *not* be used for: * Application Services * Identity servers * Outbound federation * In worker configurations, connections from workers to masters Fixes #4198.
| * | | | Remove last usages of deprecated logging.warn method (#6314)Andrew Morgan2019-11-011-0/+1
| | | | |
| * | | | Document lint.sh & allow application to specified files only (#6312)Neil Pilgrim2019-11-011-0/+1
| | | | |
| * | | | Depublish a room from the public rooms list when it is upgraded (#6232)Andrew Morgan2019-11-011-0/+1
| | | | |
| * | | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-319-0/+9
| |\| | |
| | * | | Merge pull request #6254 from matrix-org/uhoreg/cross_signing_fix_workers_notifyHubert Chathi2019-10-311-0/+1
| | |\ \ \ | | | | | | | | | | | | make notification of signatures work with workers
| | | * \ \ Merge branch 'develop' into uhoreg/cross_signing_fix_workers_notifyHubert Chathi2019-10-317-0/+7
| | | |\ \ \
| | | * \ \ \ Merge branch 'develop' into uhoreg/cross_signing_fix_workers_notifyHubert Chathi2019-10-3022-2/+20
| | | |\ \ \ \
| | | * | | | | add changelogHubert Chathi2019-10-241-0/+1
| | | | | | | |
| | * | | | | | rstrip slashes from url on appservice (#6306)Will Hunt2019-10-311-0/+1
| | | |_|/ / / | | |/| | | |
| | * | | | | Update black to 19.10b0 (#6304)Amber Brown2019-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | * update version of black and also fix the mypy config being overridden
| | * | | | | Merge pull request #6294 from matrix-org/erikj/add_state_storageErik Johnston2019-10-311-0/+1
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Add StateGroupStorage interface
| | | * | | | | NewsfileErik Johnston2019-10-301-0/+1
| | | | |/ / / | | | |/| | |
| | * | | | | Expose some homeserver functionality to spam checkers (#6259)Travis Ralston2019-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Offer the homeserver instance to the spam checker * Newsfile * Linting * Expose a Spam Checker API instead of passing the homeserver object * Alter changelog * s/hs/api
| | * | | | | Merge pull request #6307 from matrix-org/erikj/fix_purge_roomErik Johnston2019-10-311-0/+1
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Fix /purge_room admin API
| | | * | | | | NewsfileErik Johnston2019-10-311-0/+1
| | | | | | | |
| | * | | | | | Merge remote-tracking branch 'origin/master' into developRichard van der Hoff2019-10-311-0/+1
| | |\ \ \ \ \ \ | | | |/ / / / / | | |/| | | | / | | | | |_|_|/ | | | |/| | |
| | | * | | | Update email section of INSTALL.md about account_threepid_delegates (#6272)Andrew Morgan2019-10-301-0/+1
| | | | | | |
| | * | | | | Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated.
| | * | | | | fix delete_existing for _persist_events (#6300)Richard van der Hoff2019-10-301-0/+1
| | | |/ / / | | |/| | | | | | | | | this is part of _retry_on_integrity_error, so should only be on _persist_events_and_state_updates
| * | | | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-3022-2/+20
| |\| | | |
| | * | | | 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
| | | | |\ \ \ \ | | | | | | |/ / | | | | | |/| |
| | | | * | | | Merge branch 'babolivier/changelog-name' into developBrendan 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
| | | |\ \ \ \ \
| | | * | | | | | 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))
| | | * | | | | | 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 branch 'release-v1.5.0' of github.com:matrix-org/synapse into developErik 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
| | | |/ / / / / / /
| | * | | | | | | | NewsfileErik Johnston2019-10-231-0/+1
| | | | | | | | | |
| * | | | | | | | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-2457-58/+2
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | |
| * | | | | | | | | add news fileHubert Chathi2019-10-221-0/+1
| | | | | | | | | |
* | | | | | | | | | Strip overlong OpenGraph data from url previewRichard van der Hoff2019-11-051-0/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | ... to stop people causing DoSes with malicious web pages
* | | | | | | | | 1.5.0 v1.5.0 github/release-v1.5.0 release-v1.5.0Richard van der Hoff2019-10-291-1/+0
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Fix changelog nameBrendan Abolivier2019-10-291-0/+0
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | NewsfileErik Johnston2019-10-291-0/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | 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.
* | | | | 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
| | |/ / | |/| |
* / | | NewsfileErik Johnston2019-10-251-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
* | 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
| | |_|_|/ / / / / / / / | |/| | | | | | | | | |