| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit '3e99528f2':
Store room version on invite (#6983)
|
| |
| |
| |
| |
| | |
When we get an invite over federation, store the room version in the rooms table.
The general idea here is that, when we pull the invite out again, we'll want to know what room_version it belongs to (so that we can later redact it if need be). So we need to store it somewhere...
|
|\ \
| | |
| | |
| | |
| | | |
* commit '380122866':
Cast a coroutine into a Deferred in the federation base (#6996)
|
| | |
| | |
| | |
| | | |
Properly convert a coroutine into a Deferred in federation_base to fix an error when joining a room.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '1f773eec9':
Port PresenceHandler to async/await (#6991)
|
| | | |
|
|\| |
| | |
| | |
| | |
| | | |
* commit '7728d87fd':
Updated warning for incorrect database collation/ctype (#6985)
|
| | |
| | |
| | | |
Signed-off-by: Uday Bansal <43824981+udaybansal19@users.noreply.github.com>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
handling of call to deactivate user (#6990)
* commit '8c75b621b':
Ensure 'deactivated' parameter is a boolean on user admin API, Fix error handling of call to deactivate user (#6990)
|
| | |
| | |
| | |
| | | |
handling of call to deactivate user (#6990)
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'c1156d3e2':
Sanity-check database before running upgrades (#6982)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Some of the database deltas rely on `config.server_name` being set correctly,
so we should check that it is before running the deltas.
Fixes #6870.
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'e66f099ca':
Sanity-check database before running upgrades (#6982)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Some of the database deltas rely on `config.server_name` being set correctly,
so we should check that it is before running the deltas.
Fixes #6870.
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'bbf8886a0':
Merge worker apps into one. (#6964)
|
| | | |
|
|\| |
| | |
| | |
| | |
| | | |
* commit '4aea0bd29':
contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)
|
| | |
| | |
| | |
| | |
| | | |
I made a mistake in https://github.com/matrix-org/synapse/pull/6921 - the quotes break the postgres container's startup script (or docker-compose), which makes initdb fail: https://github.com/matrix-org/synapse/pull/6921#issuecomment-590657154
Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
|
|\| |
| | |
| | |
| | |
| | | |
* commit '691659568':
Remove redundant store_room call (#6979)
|
| | |
| | |
| | |
| | |
| | | |
`_process_received_pdu` is only called by `on_receive_pdu`, which ignores any
events for unknown rooms, so this is redundant.
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'a301934f4':
Upsert room version when we join over federation (#6968)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is intended as a precursor to storing room versions when we receive an
invite over federation, but has the happy side-effect of fixing #3374 at last.
In short: change the store_room with try/except to a proper upsert which
updates the right columns.
|
|\| |
| | |
| | |
| | |
| | | |
* commit '4c2ed3f20':
Fix minor issues with email config (#6962)
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Give `notif_template_html`, `notif_template_text` default values (fixes #6960)
* Don't complain if `smtp_host` and `smtp_port` are unset, since they have sensible defaults (fixes #6961)
* Set the example for `enable_notifs` to `True`, for consistency and because it's more useful
* Raise errors as ConfigError rather than RuntimeError for nicer formatting
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
notifications. (#6966)
* commit 'af6c38950':
No longer use room alias events to calculate room names for push notifications. (#6966)
|
| | |
| | |
| | |
| | | |
notifications. (#6966)
|
|\| |
| | |
| | |
| | |
| | | |
* commit '7b0e2d961':
Change displayname of user as admin in rooms (#6876)
|
| | | |
|
|\| |
| | |
| | |
| | |
| | |
| | | |
* commit 'fcf459948':
Stop returning aliases as part of the room list. (#6970)
Publishing/removing from the directory requires a power level greater than canonical aliases.
|
| | | |
|
| | |
| | |
| | |
| | | |
canonical aliases.
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
* commit '509e381af':
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)
changelog
Increase MAX_EVENTS_BEHIND for replication clients
|
| | |
| | |
| | |
| | | |
Ensure good comprehension hygiene using flake8-comprehensions.
|
| |\ \
| | | |
| | | | |
Increase MAX_EVENTS_BEHIND for replication clients
|
| | | | |
|
| | | | |
|
| |\ \ \
| | |/ /
| |/| /
| | |/ |
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '9c1b83b00':
1.11.0
|
| | | |
|
|\| |
| | |
| | |
| | |
| | | |
* commit '8f6d9c4cf':
Small grammar fixes to the ACME v1 deprecation notice (#6944)
|
| | |
| | |
| | | |
Some small fixes to the copy in #6907.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '99eed85a7':
Do not send alias events when creating / upgrading a room (#6941)
|
| | |
| | |
| | | |
Stop emitting room alias update events during room creation/upgrade.
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'a90d0dc5c':
don't insert into the device table for remote cross-signing keys (#6956)
|
| | | |
|
|\| |
| | |
| | |
| | |
| | |
| | | |
* commit '4fb5f4d0c':
Add some clarifications to README.md in the database schema directory. (#6615)
Minor perf fixes to `get_auth_chain_ids`.
|
| | |
| | |
| | | |
Signed-off-by: Ruben Barkow-Kuder <github@r.z11.de>
|
| | | |
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'fc87d2ffb':
Freeze allocated objects on startup. (#6953)
|
| | |
| | |
| | |
| | |
| | | |
This may make gc go a bit faster as the gc will know things like
caches/data stores etc. are frozen without having to check.
|
|\| |
| | |
| | |
| | |
| | |
| | | |
* commit '2b37eabca':
Reduce auth chains fetched during v2 state res. (#6952)
update changes.md
|
| |/
| |
| |
| |
| |
| | |
The state res v2 algorithm only cares about the difference between auth
chains, so we can pass in the known common state to the `get_auth_chain`
storage function so that it can ignore those events.
|
| | |
|
|\|
| |
| |
| |
| | |
* commit '197b08de3':
1.11.0rc1
|
| | |
|
|\|
| |
| |
| |
| | |
* commit '099c96b89':
Revert `get_auth_chain_ids` changes (#6951)
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| | |
* commit '2fb7794e6':
changelog
Make room alias lists peekable
Add `allow_departed_users` param to `check_in_room_or_world_readable`
Refactor the membership check methods in Auth
|
| |\
| | |
| | | |
Make room alias lists peekable
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
As per
https://github.com/matrix-org/matrix-doc/pull/2432#pullrequestreview-360566830,
make room alias lists accessible to users outside world_readable rooms.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
... and set it everywhere it's called.
while we're here, rename it for consistency with `check_user_in_room` (and to
help check that I haven't missed any instances)
|
| | |
| | |
| | |
| | |
| | | |
these were getting a bit unwieldy, so let's combine `check_joined_room` and
`check_user_was_in_room` into a single `check_user_in_room`.
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* commit 'bbe39f808':
Incorporate review
Incorporate review
Phrasing
Changelog
Add mention of SRV records as an advanced topic
Argh trailing spaces
Fix links in the reverse proxy doc
Make federate.md more of a sumary of the steps to follow to set up replication
Split the delegating documentation out of federate.md and trim it down
|
| |\ \
| | | |
| | | | |
Clean up and update federation docs
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '880aaac1d':
Move MSC2432 stuff onto unstable prefix (#6948)
|
| | | |
| | | |
| | | | |
it's not in the spec yet, so needs to be unstable. Also add a feature flag for it. Also add a test for admin users.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'abf1e5c52':
Tiny optimisation for _get_handler_for_request (#6950)
|
| | | |
| | | |
| | | |
| | | | |
we have hundreds of path_regexes (see #5118), so let's not convert the same
bytes to str for each of them.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '0d0bc3579':
Increase DB/CPU perf of `_is_server_still_joined` check. (#6936)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Increase DB/CPU perf of `_is_server_still_joined` check.
For rooms with large amount of state a single user leaving could cause
us to go and load a lot of membership events and then pull out
membership state in a large number of batches.
* Newsfile
* Update synapse/storage/persist_events.py
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Fix adding if too soon
* Update docstring
* Review comments
* Woops typo
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit '5e4a43855':
Update changelog.d/6945.bugfix
Changelog
Fix log in message retention purge jobs
|
| |\ \ \
| | | | |
| | | | | |
Fix log in message retention purge jobs
|
| | | | |
| | | | |
| | | | | |
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
|
| | | | | |
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '5a5abd55e':
Limit size of get_auth_chain_ids query (#6947)
|
| | |_|/
| |/| | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'adfaea8c6':
Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
per matrix-org/matrix-doc#2432
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit '3f1cd1479':
changelog
Rewrite _EventInternalMetadata to back it with a _dict
Replace _event_dict_property with DictProperty
|
| |\ \ \
| | | | |
| | | | | |
Rewrite _EventInternalMetadata to back it with a dict
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Mostly, this gives mypy an easier time.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
this amounts to the same thing, but replaces `_event_dict` with `_dict`, and
removes some of the function layers generated by `property`.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'd484126bf':
Make the log more noticeable
Print the error as an error log and raise the same exception we got
Linters are hard but in they end they just want what's best for us
Lint
Changelog
Lint
Add a separator for the config warning
Add a comprehensive error when failing to register for an ACME account
Add mention and warning about ACME v1 deprecation to the Synapse config
|
| |\ \ \ \
| | |_|/ /
| |/| | | |
Add mention and warning about ACME v1 deprecation to the TLS config
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '8a380d0fe':
Increase perf of `get_auth_chain_ids` used in state res v2. (#6937)
|
| | | | |
| | | | |
| | | | | |
We do this by moving the recursive query to be fully in the DB.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '818def824':
Fix worker docs to point `/publicised_groups` API correctly. (#6938)
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '7a782c32a':
Update INSTALL.md
Changelog
Update INSTALL.md to recommend reverse proxying and warn about ACMEv1 deprecation
|
| |\ \ \ \
| | | | | |
| | | | | | |
Update INSTALL.md to recommend reverse proxying and warn about ACMEv1 deprecation
|
| | | | | |
| | | | | |
| | | | | | |
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
|
| | | | | | |
|
| | | |_|/
| | |/| |
| | | | |
| | | | | |
deprecation
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'fe3941f6e':
Stop sending events when creating or deleting aliases (#6904)
|
| | | | |
| | | | |
| | | | | |
Stop sending events when creating or deleting associations (room aliases). Send an updated canonical alias event if one of the alt_aliases is deleted.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '3be2abd0a':
Kill off deprecated "config-on-the-fly" docker mode (#6918)
#6924 has been released in 1.10.1
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Lots of people seem to get confused by this mode, and it's been deprecated
since Synapse 1.1.0. It's time for it to go.
|
| | | | | |
|
| |\ \ \ \ |
|
| | |\ \ \ \ |
|
|\ \ \ \ \ \ \
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
* commit 'fd6d83ed9':
1.10.1
|
| | | | | | | |
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
delete_old_current_state_events (#6924)
* commit 'd2455ec3a':
wait for current_state_events_membership before delete_old_current_state_events (#6924)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
delete_old_current_state_events (#6924)
|
|\ \ \ \ \ \ \
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
* commit '3404ad289':
Raise the default power levels for invites, tombstones and server acls (#6834)
|
| | | | | | | |
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
delete_old_current_state_events (#6924)
* commit '46fa66bbf':
wait for current_state_events_membership before delete_old_current_state_events (#6924)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
delete_old_current_state_events (#6924)
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '10027c80b':
Add type hints to the spam check module (#6915)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add typing information to the spam checker modules.
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
(#6921)
* commit '32873efa8':
contrib/docker: Ensure correct encoding and locale settings on DB creation (#6921)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
(#6921)
Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '97a42bbc3':
Add a warning about indentation to generated config (#6920)
|
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes #6916.
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '02e89021f':
Convert the directory handler tests to use HomeserverTestCase (#6919)
|
| | |_|_|_|/
| |/| | | |
| | | | | | |
Convert directory handler tests to use HomeserverTestCase.
|
| | | | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '49f877d32':
Filter the results of user directory searching via the spam checker (#6888)
|
| | |_|/ /
| |/| | |
| | | | | |
Add a method to the spam checker to filter the user directory results.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'df1c98c22':
Update changelog for #6905 to group it with upcoming PRs
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '361de49c9':
Add documentation for the spam checker module (#6906)
|
| | | | |
| | | | |
| | | | | |
Add documentation for the spam checker.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'f48bf4feb':
Update docs/ACME.md
Mention that using Synapse to serve certificates requires restarts
Changelog
Remove duplicated info about certbot et al
Update ACME.md to mention ACME v1 deprecation
|
| |\ \ \ \
| | | | | |
| | | | | | |
Update ACME.md to mention ACME v1 deprecation
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | |_|/
| | |/| | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(#6877)
* commit 'dc3f99870':
Remove m.lazy_load_members from unstable features since it is in CS r0.5.0 (#6877)
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(#6877)
Fixes #5528
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit '6cd34da8b':
Rephrase
Update the changelog file
Also spell it out in the purge history API doc
Changelog
Spell out that Synapse never purges the last event sent in a room
|
| |\ \ \
| | | | |
| | | | | |
Spell out that the last event sent to a room won't be deleted by a purge
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'd8994942f':
Return a 404 for admin api user lookup if user not found (#6901)
Move the warning at the top of the release changes
|
| | | | | |
|
| |\ \ \ \
| | | |_|/
| | |/| | |
|
| | |\ \ \
| | | | |/
| | | |/|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Synapse 1.10.0 (2020-02-12)
===========================
**WARNING to client developers**: As of this release Synapse validates `client_secret` parameters in the Client-Server API as per the spec. See [\#6766](https://github.com/matrix-org/synapse/issues/6766) for details.
Updates to the Docker image
---------------------------
- Update the docker images to Alpine Linux 3.11. ([\#6897](https://github.com/matrix-org/synapse/issues/6897))
Synapse 1.10.0rc5 (2020-02-11)
==============================
Bugfixes
--------
- Fix the filtering introduced in 1.10.0rc3 to also apply to the state blocks returned by `/sync`. ([\#6884](https://github.com/matrix-org/synapse/issues/6884))
Synapse 1.10.0rc4 (2020-02-11)
==============================
This release candidate was built incorrectly and is superceded by 1.10.0rc5.
Synapse 1.10.0rc3 (2020-02-10)
==============================
Features
--------
- Filter out `m.room.aliases` from the CS API to mitigate abuse while a better solution is specced. ([\#6878](https://github.com/matrix-org/synapse/issues/6878))
Internal Changes
----------------
- Fix continuous integration failures with old versions of `pip`, which were introduced by a release of the `zipp` library. ([\#6880](https://github.com/matrix-org/synapse/issues/6880))
Synapse 1.10.0rc2 (2020-02-06)
==============================
Bugfixes
--------
- Fix an issue with cross-signing where device signatures were not sent to remote servers. ([\#6844](https://github.com/matrix-org/synapse/issues/6844))
- Fix to the unknown remote device detection which was introduced in 1.10.rc1. ([\#6848](https://github.com/matrix-org/synapse/issues/6848))
Internal Changes
----------------
- Detect unexpected sender keys on remote encrypted events and resync device lists. ([\#6850](https://github.com/matrix-org/synapse/issues/6850))
Synapse 1.10.0rc1 (2020-01-31)
==============================
Features
--------
- Add experimental support for updated authorization rules for aliases events, from [MSC2260](https://github.com/matrix-org/matrix-doc/pull/2260). ([\#6787](https://github.com/matrix-org/synapse/issues/6787), [\#6790](https://github.com/matrix-org/synapse/issues/6790), [\#6794](https://github.com/matrix-org/synapse/issues/6794))
Bugfixes
--------
- Warn if postgres database has a non-C locale, as that can cause issues when upgrading locales (e.g. due to upgrading OS). ([\#6734](https://github.com/matrix-org/synapse/issues/6734))
- Minor fixes to `PUT /_synapse/admin/v2/users` admin api. ([\#6761](https://github.com/matrix-org/synapse/issues/6761))
- Validate `client_secret` parameter using the regex provided by the Client-Server API, temporarily allowing `:` characters for older clients. The `:` character will be removed in a future release. ([\#6767](https://github.com/matrix-org/synapse/issues/6767))
- Fix persisting redaction events that have been redacted (or otherwise don't have a redacts key). ([\#6771](https://github.com/matrix-org/synapse/issues/6771))
- Fix outbound federation request metrics. ([\#6795](https://github.com/matrix-org/synapse/issues/6795))
- Fix bug where querying a remote user's device keys that weren't cached resulted in only returning a single device. ([\#6796](https://github.com/matrix-org/synapse/issues/6796))
- Fix race in federation sender worker that delayed sending of device updates. ([\#6799](https://github.com/matrix-org/synapse/issues/6799), [\#6800](https://github.com/matrix-org/synapse/issues/6800))
- Fix bug where Synapse didn't invalidate cache of remote users' devices when Synapse left a room. ([\#6801](https://github.com/matrix-org/synapse/issues/6801))
- Fix waking up other workers when remote server is detected to have come back online. ([\#6811](https://github.com/matrix-org/synapse/issues/6811))
Improved Documentation
----------------------
- Clarify documentation related to `user_dir` and `federation_reader` workers. ([\#6775](https://github.com/matrix-org/synapse/issues/6775))
Internal Changes
----------------
- Record room versions in the `rooms` table. ([\#6729](https://github.com/matrix-org/synapse/issues/6729), [\#6788](https://github.com/matrix-org/synapse/issues/6788), [\#6810](https://github.com/matrix-org/synapse/issues/6810))
- Propagate cache invalidates from workers to other workers. ([\#6748](https://github.com/matrix-org/synapse/issues/6748))
- Remove some unnecessary admin handler abstraction methods. ([\#6751](https://github.com/matrix-org/synapse/issues/6751))
- Add some debugging for media storage providers. ([\#6757](https://github.com/matrix-org/synapse/issues/6757))
- Detect unknown remote devices and mark cache as stale. ([\#6776](https://github.com/matrix-org/synapse/issues/6776), [\#6819](https://github.com/matrix-org/synapse/issues/6819))
- Attempt to resync remote users' devices when detected as stale. ([\#6786](https://github.com/matrix-org/synapse/issues/6786))
- Delete current state from the database when server leaves a room. ([\#6792](https://github.com/matrix-org/synapse/issues/6792))
- When a client asks for a remote user's device keys check if the local cache for that user has been marked as potentially stale. ([\#6797](https://github.com/matrix-org/synapse/issues/6797))
- Add background update to clean out left rooms from current state. ([\#6802](https://github.com/matrix-org/synapse/issues/6802), [\#6816](https://github.com/matrix-org/synapse/issues/6816))
- Refactoring work in preparation for changing the event redaction algorithm. ([\#6803](https://github.com/matrix-org/synapse/issues/6803), [\#6805](https://github.com/matrix-org/synapse/issues/6805), [\#6806](https://github.com/matrix-org/synapse/issues/6806), [\#6807](https://github.com/matrix-org/synapse/issues/6807), [\#6820](https://github.com/matrix-org/synapse/issues/6820))
|
| | | | | |
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
* commit 'fdb816713':
1.10.0
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '3dd2b5f5e':
bump the version of Alpine Linux used in the docker images (#6897)
|
| | | | | |
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | | |
* commit 'ba547ec3a':
Use BSD-compatible in-place editing for sed. (#6887)
|
| | |_|/
| |/| | |
|
| |\| | |
|
| |\ \ \ |
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '856b2a955':
1.10.0rc5
changelog wording
Update CHANGES.md
changelog formatting
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ /
| |/| | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '3edc65dd2':
1.10.0rc4
|
| | | | |
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* commit 'a92e703ab':
Reject device display names that are too long (#6882)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Reject device display names that are too long.
Too long is currently defined as 100 characters in length.
* Add a regression test for rejecting a too long device display name.
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* commit '01209382f':
filter out m.room.aliases from /sync state blocks (#6884)
|
| | | |
| | | |
| | | | |
We forgot to filter out aliases from /sync state blocks as well as the timeline.
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* commit '3a3118f4e':
Add an additional test to the SyTest blacklist for worker mode. (#6883)
|
| | | | |
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Synapse 1.10.0rc3 (2020-02-10)
==============================
Features
--------
- Filter out m.room.aliases from the CS API to mitigate abuse while a better solution is specced. ([\#6878](https://github.com/matrix-org/synapse/issues/6878))
Internal Changes
----------------
- Fix continuous integration failures with old versions of `pip`, which were introduced by a release of the `zipp` library. ([\#6880](https://github.com/matrix-org/synapse/issues/6880))
|
| |\ \ \ |
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
* commit '3de57e706':
1.10.0rc3
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(#6878)
* commit '8e64c5a24':
filter out m.room.aliases from the CS API until a better solution is specced (#6878)
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
(#6878)
We're in the middle of properly mitigating spam caused by malicious aliases being added to a room. However, until this work fully lands, we temporarily filter out all m.room.aliases events from /sync and /messages on the CS API, to remove abusive aliases. This is considered acceptable as m.room.aliases events were never a reliable record of the given alias->id mapping and were purely informational, and in their current state do more harm than good.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'fe73f0d53':
Update setuptools for python 3.5 tests (#6880)
|
| | | |
| | | |
| | | | |
Workaround for jaraco/zipp#40
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* commit '21db35f77':
Add support for putting fed user query API on workers (#6873)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'e1d858984':
Remove unused `get_room_stats_state` method. (#6869)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '799001f2c':
Add a `make_event_from_dict` method (#6858)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
... and use it in places where it's trivial to do so.
This will make it easier to pass room versions into the FrozenEvent
constructors.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'b08b0a22d':
Add typing to synapse.federation.sender (#6871)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'de2d26737':
Allow moving group read APIs to workers (#6866)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '56ca93ef5':
Admin api to add an email address (#6789)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'f4884444c':
remove unused room_version_to_event_format (#6857)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'e1b240329':
Pass room_version into `event_from_pdu_json`
|
| |\ \ \
| | | | |
| | | | | |
Pass room_version into `event_from_pdu_json`
|
| | | | |
| | | | |
| | | | |
| | | | | |
It's called from all over the shop, so this one's a bit messy.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '7765bf398':
Limit the number of events that can be requested when backfilling events (#6864)
|
| |/ / /
| | | |
| | | | |
Limit the maximum number of events requested when backfilling events.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'b0c8bdd49':
pass room version into FederationClient.send_join (#6854)
|
| | | |
| | | |
| | | |
| | | | |
... which allows us to sanity-check the create event.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'bce557175':
Allow empty federation_certificate_verification_whitelist (#6849)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '99fcc9628':
Third party event rules Update (#6781)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'ed630ea17':
Reduce amount of logging at INFO level. (#6862)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A lot of the things we log at INFO are now a bit superfluous, so lets
make them DEBUG logs to reduce the amount we log by default.
Co-Authored-By: Brendan Abolivier <babolivier@matrix.org>
Co-authored-by: Brendan Abolivier <github@brendanabolivier.com>
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit '9bcd37146':
Update changelog
Update changelog
Update changelog
Newsfile
Simplify `room_version` handling in `FederationClient.send_invite`
Pass room version object into `FederationClient.get_pdu`
|
| |\ \ \
| | | | |
| | | | | |
pass room versions around
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Synapse 1.10.0rc2 (2020-02-06)
==============================
Bugfixes
--------
- Fix an issue with cross-signing where device signatures were not sent to remote servers. ([\#6844](https://github.com/matrix-org/synapse/issues/6844))
- Fix to the unknown remote device detection which was introduced in 1.10.rc1. ([\#6848](https://github.com/matrix-org/synapse/issues/6848))
Internal Changes
----------------
- Detect unexpected sender keys on remote encrypted events and resync device lists. ([\#6850](https://github.com/matrix-org/synapse/issues/6850))
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | | |
* commit '6a7e90ad7':
1.10.0rc2
|
| | | | | |
|
|\ \ \ \ \
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
* commit 'f0561fcff':
Update documentation (#6859)
|
| | | | |
| | | | |
| | | | |
| | | | | |
Update documentation to reflect the correct format of user_id (fully qualified).
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
* commit '5e019069a':
Add quotes around pip install target (my shell complained without them).
|
| |\ \ \ \
| | |_|_|/
| |/| | | |
Add quotes around the pip install target to avoid my shell complaining
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '577f46036':
make FederationClient._do_send_invite async
Apply suggestions from code review
make FederationClient.send_invite async
newsfile
make FederationClient.get_missing_events async
make FederationClient._do_send_leave async
make FederationClient.send_leave.send_request async
make FederationClient._do_send_join async
make FederationClient.send_join.send_request async
make FederationClient.make_membership_event.send_request async
make FederationClient._try_destination_list async
make FederationClient.send_leave async
make FederationClient.send_join async
make FederationClient.make_membership_event async
make FederationClient.get_event_auth async
make FederationClient.get_room_state_ids async
make FederationClient.get_pdu async
make FederationClient.backfill async
|
| |\ \ \ \
| | |/ / /
| |/| | | |
Port much of `synapse.federation.federation_client` to async/await
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Co-Authored-By: Erik Johnston <erik@matrix.org>
|
| | |\ \ \ |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|