Erik Johnston
d94bcbced3
Fix pinning Rust deps in docker images ( #14129 )
1年前
David Robertson
f1673866ed
Unpin build-system requirements, but impose an upper-bound ( #14085 )
* Revert to prior build-system requirements
This reverts #14080 .
* Use normalised extra name, which poetry-core 1.3 will generate anyway
* Changelog
* Upper bound build-system requirements
* Remove upgrade note; expand changelog entry a little.
* Fix typo in build-system comment
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
1年前
Sean Quah
a98ac3cc1e
Update 1.69.0rc2 changelog
1年前
Sean Quah
b42177f94f
Replace incorrect 1.69.0rc3 version with 1.69.0rc2
1年前
Sean Quah
bb69dbf3e3
1.69.0rc3
1年前
David Robertson
e9a0419c8d
Fix sending events into rooms with non-integer power levels ( #14073 )
1年前
David Robertson
720b12c209
Pin build-system requirements ( #14080 )
* Pin build-system requirements
* Changelog
1年前
Quentin Gliech
79c592cec6
Deprecate the `generate_short_term_login_token` method in favor of an async `create_login_token` method in the Module API. ( #13842 )
Signed-off-by: Quentin Gliech <quenting@element.io>
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
1年前
Sean Quah
f6f6bdc7b3
1.69.0rc2
1年前
Patrick Cloke
e3d4755454
Fix backwards compatibility with upcoming threads schema changes. ( #14045 )
Ensure that the upsert will work properly by first updating any existing
rows (in the same way that the background update to backfill data works).
1年前
Sean Quah
17bc4ecff2
Update changelog
1年前
Sean Quah
471e13a103
1.69.0rc1
1年前
Akshit Tyagi
1613857b90
Linkify config documentation. ( #14003 )
1年前
Eric Eastwood
70a4317692
Track when the pulled event signature fails ( #13815 )
Because we're doing the recording in `_check_sigs_and_hash_for_pulled_events_and_fetch` (previously named `_check_sigs_and_hash_and_fetch`), this means we will track signature failures for `backfill`, `get_room_state`, `get_event_auth`, and `get_missing_events` (all pulled event scenarios). And we also record signature failures from `get_pdu`.
Part of https://github.com/matrix-org/synapse/issues/13700
Part of https://github.com/matrix-org/synapse/issues/13676 and https://github.com/matrix-org/synapse/issues/13356
This PR will be especially important for https://github.com/matrix-org/synapse/pull/13816 so we can avoid the costly `_get_state_ids_after_missing_prev_event` down the line when `/messages` calls backfill.
1年前
David Robertson
92ae90aca2
Dependabot changelog: don't require a changelog in lints
1年前
dependabot[bot]
0c9c159f45
Bump actions/upload-artifact from 2 to 3 ( #14023 )
* Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Changelog
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
1年前
David Robertson
a34638c126
Dependabot changelog: try using branch name
Gonna hope this doesn't use the merge ref and is good enough
1年前
Erik Johnston
5a6d025246
Clear out old rows from `event_push_actions_staging` ( #14020 )
On matrix.org we have ~5 million stale rows in `event_push_actions_staging`, let's add a background job to make sure we clear them out.
1年前
reivilibre
b381701f8c
Announce that legacy metric names are deprecated, will be turned off by default in Synapse v1.71.0 and removed altogether in Synapse v1.73.0. ( #14024 )
1年前
dependabot[bot]
4cb0f5a99d
Bump actions/cache from 2 to 3 ( #13980 )
* Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Changelog
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
1年前
David Robertson
a2c7259827
Dependabot changelog: allow dependabot to trigger actions
1年前
dependabot[bot]
8e8638ac40
Bump actions/download-artifact from 2 to 3 ( #13979 )
* Bump actions/download-artifact from 2 to 3
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Changelog
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
1年前
Patrick Cloke
b706111b78
Do not return unspecced original_event field when using the stable /relations endpoint. ( #14025 )
Keep the old behavior (of including the original_event field) for any
requests to the /unstable version of the endpoint, but do not include
the field when the /v1 version is used.
This should avoid new clients from depending on this field, but will
not help with current dependencies.
1年前
dependabot[bot]
d42541733d
Bump docker/login-action from 1 to 2 ( #13978 )
* Bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Changelog
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
1年前
David Robertson
9f218b73e9
Dependabot changelog: pass GITHUB_TOKEN to gh
1年前
David Robertson
2d5ce8c087
Dependabot changelogs: trigger CI explicitly ( #14027 )
* Dependabot changelogs: trigger CI explicitly
* Changelog
* Use merge ref, not head ref
ref ref ref ref ref
* explanatory note
1年前
dependabot[bot]
4cceb6ba66
Bump docker/build-push-action from 2 to 3 ( #14022 )
* Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Changelog
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Robertson <davidr@element.io>
1年前
David Robertson
ddcb52e455
More WIP dependabot changelog CI
Fixes a typo in #14021 , and allows the workflow to trigger on `reopen`
for easier debugging.
1年前
dependabot[bot]
6c85796769
Bump docker/setup-qemu-action from 1 to 2 ( #14019 )
* Bump docker/setup-qemu-action from 1 to 2
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Changelog
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Robertson <davidr@element.io>
1年前
David Robertson
3ac0e76b79
yet another attempt to make dependabot changelogs work ( #14021 )
* yet another attempt to make dependabot changelogs work
* Changelog
1年前
dependabot[bot]
a52d27a68b
Bump docker/setup-buildx-action from 1 to 2 ( #14015 )
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Robertson <davidr@element.io>
1年前
Erik Johnston
2c237debd3
Fix bug where we didn't delete staging push actions ( #14014 )
Introduced in #13719
1年前
David Robertson
cc8a3582e0
Try again to automate dependabot changelogs ( #14017 )
* Try again to automate dependabot changelogs
* Changelog
1年前
lukasdenk
719488dda8
Add query parameter `ts` to allow appservices set the `origin_server_ts` for state events. ( #11866 )
MSC3316 declares that both /rooms/{roomId}/send and /rooms/{roomId}/state
should accept a ts parameter for appservices. This change expands support
to /state and adds tests.
1年前
David Robertson
a423f45294
Fix twisted trunk mypy errors ( #14012 )
1年前
dependabot[bot]
7f4f2a3782
Bump actions/checkout from 2 to 3 ( #13982 )
* Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Changelog
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Robertson <davidr@element.io>
1年前
Erik Johnston
606b2d9009
Add cache to `get_partial_state_servers_at_join` ( #14013 )
1年前
Sean Quah
d65862c41f
Refactor `_get_e2e_device_keys_txn` to split large queries ( #13956 )
Instead of running a single large query, run a single query for
user-only lookups and additional queries for batches of user device
lookups.
Resolves #13580 .
Signed-off-by: Sean Quah <seanq@matrix.org>
1年前
David Robertson
061739d10f
Change dependabot CL suffix ( #14011 )
* Change dependabot CL suffix
* Changelog
1年前
David Robertson
7a441c4f30
Protoype automatic changelogs for dependabot PRs ( #13998 )
1年前
Erik Johnston
343038c3c3
Always build Rust extension in release mode ( #14009 )
Fixes #13990
1年前
Eric Eastwood
2769ef4df1
Revert the general exception recording introduced in #13814 ( #13969 )
* Maybe not catch all errors to avoid things in the nature-of CancelledError
See https://github.com/matrix-org/synapse/pull/13815#discussion_r983384698
* Remove general exception tracking
* Add changelog
1年前
Eric Eastwood
a52c40e2a6
Fix `get_users_in_room` mis-use in `transfer_room_state_on_room_upgrade` ( #13960 )
Spawning from looking into `get_users_in_room` while investigating https://github.com/matrix-org/synapse/issues/13942#issuecomment-1262787050 .
See https://github.com/matrix-org/synapse/pull/13575#discussion_r953023755 for the original exploration around finding `get_users_in_room` mis-uses.
Related to the following PRs where we also cleaned up some `get_users_in_room` mis-uses:
- https://github.com/matrix-org/synapse/pull/13605
- https://github.com/matrix-org/synapse/pull/13608
- https://github.com/matrix-org/synapse/pull/13606
- https://github.com/matrix-org/synapse/pull/13958
1年前
Eric Eastwood
ad4c14e4b0
Clarifications in user directory for users who share rooms tracking ( #13966 )
Spawned while working on [`get_users_in_room` mis-uses](https://github.com/matrix-org/synapse/pull/13958#discussion_r984074897 ) and thinking we could use `get_local_users_in_room` here but we can't.
From first glance, it seemed like this was only using local users from all of the `is_mine_id(user_id)` checks but I see that it does actually use remote users. Just making things a little more clear here what it does and mentions remote users so maybe that will be more obvious in the future.
1年前
Erik Johnston
535f8c8f7d
Skip filtering during push if there are no push actions ( #13992 )
1年前
David Robertson
285d72556b
Update mypy and mypy-zope, attempt 3 ( #13993 )
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
1年前
David Robertson
8e52cb0bce
Revert "Update mypy and mypy-zope ( #13925 )"
This reverts commit 6d543d6d9f
.
1年前
David Robertson
6d543d6d9f
Update mypy and mypy-zope ( #13925 )
* Update mypy and mypy-zope
* Unignore assigning to LogRecord attributes
Presumably https://github.com/python/typeshed/pull/8064 makes this ok
Cherry-picked from #13521
* Remove unused ignores due to mypy ParamSpec fixes
https://github.com/python/mypy/pull/12668
Cherry-picked from #13521
* Remove additional unused ignores
* Fix new mypy complaints related to `assertGreater`
Presumably due to https://github.com/python/typeshed/pull/8077
* Changelog
* Reword changelog
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
1年前
Richard van der Hoff
b2aadd81a8
Enable dependabot updates ( #13976 )
Fixes https://github.com/matrix-org/synapse/issues/11828
1年前
Erik Johnston
285b9e9b6c
Speed up calculating push actions in large rooms ( #13973 )
We move the expensive check of visibility to after calculating push actions, avoiding the expensive check for users who won't get pushed anyway.
I think this should have a big impact on rooms with large numbers of local users that have pushed disabled.
1年前