| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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 '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
|
| | | | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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 '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 'fd6d83ed9':
1.10.1
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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.
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '97a42bbc3':
Add a warning about indentation to generated config (#6920)
|
| | |_|/ / /
| |/| | | |
| | | | | | |
Fixes #6916.
|
| | | | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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.
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(#6877)
* commit 'dc3f99870':
Remove m.lazy_load_members from unstable features since it is in CS r0.5.0 (#6877)
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(#6877)
Fixes #5528
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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
|
| | | | | |
|
| |\| | | |
|
| |\ \ \ \ |
|
| |\ \ \ \ \ |
|
|\ \ \ \ \ \ \
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
* commit 'fdb816713':
1.10.0
|
| | |_|/ / /
| |/| | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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 '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 '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 '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 '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>
|
| | |\ \ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
* commit 'a58860e48':
Check sender_key matches on inbound encrypted events. (#6850)
|
| | | | | | |
| | | | | | |
| | | | | | | |
If they don't then the device lists are probably out of sync.
|
| | | | | | |
| | | | | | |
| | | | | | | |
add device signatures to device key query results
|
|\ \ \ \ \ \ \
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
* commit 'a831d2e4e':
Reduce performance logging to DEBUG (#6833)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Reduce tnx performance logging to DEBUG
* Changelog.d
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'd88e0ec08':
Database updates to populate rooms.room_version (#6847)
|
| | | | | | |
| | | | | | |
| | | | | | | |
We're going to need this so that we can figure out how to handle redactions when fetching events from the database.
|
|\ \ \ \ \ \ \
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
* commit '6475382d8':
Fix detecting unknown devices from remote encrypted events. (#6848)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We were looking at the wrong event type (`m.room.encryption` vs
`m.room.encrypted`).
Also fixup the duplicate `EvenTypes` entries.
Introduced in #6776.
|
|\ \ \ \ \ \ \
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '74bf3fdbb':
add changelog
add device signatures to device key query results
|
| |\ \ \ \ \ \
| | |_|_|/ / /
| |/| | | | | |
add device signatures to device key query results
|
| | | | | | | |
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'c7d6d5c69': (27 commits)
make FederationHandler.send_invite async
make FederationHandler.on_get_missing_events async
changelog
make FederationHandler.user_joined_room async
make FederationHandler._clean_room_for_join async
make FederationHandler._notify_persisted_event async
make FederationHandler.persist_events_and_notify async
make FederationHandler._make_and_verify_event async
make FederationHandler.do_remotely_reject_invite async
make FederationHandler._check_for_soft_fail async
make FederationHandler._persist_auth_tree async
make FederationHandler.do_invite_join async
make FederationHandler.on_event_auth async
make FederationHandler.on_exchange_third_party_invite_request async
make FederationHandler.construct_auth_difference async
make FederationHandler._update_context_for_auth_events async
make FederationHandler._update_auth_events_and_context_for_auth async
make FederationHandler.do_auth async
make FederationHandler._prep_event async
make FederationHandler._handle_new_event async
...
|
| |\ \ \ \ \ \
| | |/ / / / /
| |/| | / / /
| | | |/ / /
| | |/| | | |
Port much of `synapse.handlers.federation` to async/await.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'b9391c957':
Add typing to SyncHandler (#6821)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'ae5b3104f':
Fix stacktraces when using ObservableDeferred and async/await (#6836)
|
| |/ / / / |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '370080531':
Allow URL-encoded user IDs on user admin api paths (#6825)
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'b0d112e78':
Fix `room_version` in `on_invite_request` flow (#6827)
Update changelog
Fix link in upgrade.rst
|
| |/ / /
| | | |
| | | |
| | | | |
I messed this up a bit in #6805, but fortunately we weren't actually doing
anything with the room_version so it didn't matter that it was a str not a RoomVersion.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'ac0d45b78':
1.10.0rc1
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '83b0ea047':
Fix deleting of stale marker for device lists (#6819)
|
| | | |
| | | |
| | | |
| | | | |
We were in fact only deleting stale marker when we got an incremental
update, rather than when we did a full resync.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '7f93eb190':
pass room_version into compute_event_signature (#6807)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit 'a5afdd15e':
changelog
Pass room_version into add_hashes_and_signatures
Pass room_version into create_local_event_from_event_dict
Store the room version in EventBuilder
|
| |\ \ \
| | | | |
| | | | | |
Pass room_version into add_hashes_and_signatures
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '160522e32':
newsfile
Add `get_room_version` method
s/get_room_version/get_room_version_id/
|
| |\ \ \ \
| | | | | |
| | | | | | |
Make `get_room_version` return a RoomVersion object
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
So that we can start factoring out some of this boilerplatey boilerplate.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
... to make way for a forthcoming get_room_version which returns a RoomVersion
object.
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '7d846e870':
Fix bug with getting missing auth event during join 500'ed (#6810)
|
| |/ / / / |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '46a446828':
pass room version into FederationHandler.on_invite_request (#6805)
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'e0992fcc5':
Log when we delete room in bg update (#6816)
|
| |/ / / |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '184303b86':
MSC2260: Block direct sends of m.room.aliases events (#6794)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
as per MSC2260
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '57ad702af':
Backgroud update to clean out rooms from current state (#6802)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'b66032705':
Resync remote device list when detected as stale. (#6786)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'c3d4ad8af':
Fix sending server up commands from workers (#6811)
|
| | | |
| | | |
| | | |
| | | | |
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'a5bab2d05':
When server leaves room check for stale device lists. (#6801)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When a server leaves a room it may stop sharing a room with remote
users, and thus not get any updates to their device lists. So we need to
check for this case and delete those device lists from the cache.
We don't need to do this if we stop sharing a room because the remote
user leaves the room, because we track that case via looking at
membership changes.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'c80a9fe13':
When a client asks for remote keys check if should resync. (#6797)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If we detect that the remote users' keys may have changed then we should
attempt to resync against the remote server rather than using the
(potentially) stale local cache.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '5a246611e':
Type defintions for use in refactoring for redaction changes (#6803)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Bump signedjson to 1.1
... so that we can use the type definitions
* Fix breakage caused by upgrade to signedjson 1.1
Thanks, @illicitonion...
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'a855b7c3a':
Remove unused DeviceRow class (#6800)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit '281551f72':
changelog
Make /directory/room/<alias> handle restrictive power levels
Set the PL for aliases events to 0.
Factor out a `copy_power_levels_contents` method
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes a bug where the alias would be added, but `PUT /directory/room/<alias>`
would return a 403.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
I'm going to need another copy (hah!) of this.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '6b9e1014c':
Fix race in federation sender that delayed device updates. (#6799)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We were sending device updates down both the federation stream and
device streams. This mean there was a race if the federation sender
worker processed the federation stream first, as when the sender checked
if there were new device updates the slaved ID generator hadn't been
updated with the new stream IDs and so returned nothing.
This situation is correctly handled by events/receipts/etc by not
sending updates down the federation stream and instead having the
federation sender worker listen on the other streams and poke the
transaction queues as appropriate.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '611215a49':
Delete current state when server leaves a room (#6792)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise its just stale data, which may get deleted later anyway so
can't be relied on. It's also a bit of a shotgun if we're trying to get
the current state of a room we're not in.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '2cad8baa7':
Fix bug when querying remote user keys that require a resync. (#6796)
|
| | | |
| | | |
| | | |
| | | | |
We ended up only returning a single device, rather than all of them.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'fcfb591b3':
Fix outbound federation request metrics (#6795)
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* commit 'cc109b79d':
fix bad variable ref
update changelog
changelog
Implement updated auth rules from MSC2260
|
| |\ \ \
| | | | |
| | | | | |
Implement updated auth rules from MSC2260
|
| | | | | |
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'e17a11066':
Detect unknown remote devices and mark cache as stale (#6776)
|
| |/ / /
| | | |
| | | |
| | | | |
We just mark the fact that the cache may be stale in the database for
now.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'a8ce7aeb4':
Pass room version object into event_auth.check and check_redaction (#6788)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These are easier to work with than the strings and we normally have one around.
This fixes `FederationHander._persist_auth_tree` which was passing a
RoomVersion object into event_auth.check instead of a string.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '02b44db92':
Warn if postgres database has non-C locale. (#6734)
|
| | | |
| | | |
| | | | |
As using non-C locale can cause issues on upgrading OS.
|
| |\ \ \ |
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | | |
* commit '77d935722':
1.9.1
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'bdbeeb94e':
Fix setting `mau_limit_reserved_threepids` config (#6793)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Calling the invalidation function during initialisation of the data
stores introduces a circular dependency, causing Synapse to fail to
start.
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | | |
* commit '8df862e45':
Add `rooms.room_version` column (#6729)
|
| | | | |
| | | | |
| | | | | |
This is so that we don't have to rely on pulling it out from `current_state_events` table.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'd5275fc55':
Propagate cache invalidates from workers to other workers. (#6748)
|
| | | | |
| | | | |
| | | | | |
Currently if a worker invalidates a cache it will be streamed to master, which then didn't forward those to other workers.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '9f7aaf90b':
Validate client_secret parameter (#6767)
|