Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-07-26 | Only return LPDUs to linearized matrix servers. github/clokep/lm clokep/lm | Patrick Cloke | 1 | -4/+38 | |
2023-07-26 | Actually fetch if a server is linearized. | Patrick Cloke | 1 | -2/+32 | |
2023-07-26 | Bump serde from 1.0.171 to 1.0.175 (#15982) | dependabot[bot] | 1 | -4/+4 | |
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.171 to 1.0.175. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.175) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-26 | Edit changelog v1.89.0rc1 | Mathieu Velten | 1 | -7/+7 | |
2023-07-26 | Remove changelog file | Mathieu Velten | 1 | -1/+0 | |
2023-07-26 | Bump DB version to 79 since synapse v1.88 was already there (#15998) | Mathieu Velten | 7 | -16/+22 | |
2023-07-25 | FIx-up content hash checking for PDUs vs. delegated PDUs. | Patrick Cloke | 2 | -19/+28 | |
2023-07-25 | 1.89.0rc1 | Mathieu Velten | 33 | -31/+68 | |
2023-07-25 | Bump pygithub from 1.58.2 to 1.59.0 (#15834) | dependabot[bot] | 1 | -3/+3 | |
Bumps [pygithub](https://github.com/pygithub/pygithub) from 1.58.2 to 1.59.0. - [Release notes](https://github.com/pygithub/pygithub/releases) - [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst) - [Commits](https://github.com/pygithub/pygithub/compare/v1.58.2...v1.59.0) --- updated-dependencies: - dependency-name: pygithub dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-24 | Support MSC3814: Dehydrated Devices (#15929) | Shay | 7 | -12/+603 | |
Signed-off-by: Nicolas Werner <n.werner@famedly.com> Co-authored-by: Nicolas Werner <n.werner@famedly.com> Co-authored-by: Nicolas Werner <89468146+nico-famedly@users.noreply.github.com> Co-authored-by: Hubert Chathi <hubert@uhoreg.ca> | |||||
2023-07-24 | Fix broken Arch Linux package link (#15981) | SnipeX_ | 2 | -2/+3 | |
2023-07-24 | Resync stale devices in background (#15975) | Erik Johnston | 2 | -1/+9 | |
This is so we don't block responding to federation transaction while we try and fetch the device lists. | |||||
2023-07-24 | Bump click from 8.1.3 to 8.1.6 (#15984) | dependabot[bot] | 1 | -3/+3 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-24 | Bump sentry-sdk from 1.26.0 to 1.28.1 (#15985) | dependabot[bot] | 1 | -3/+3 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-24 | Bump pillow from 9.4.0 to 10.0.0 (#15986) | dependabot[bot] | 1 | -83/+62 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-24 | Bump types-requests from 2.31.0.1 to 2.31.0.2 (#15983) | dependabot[bot] | 1 | -3/+3 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-23 | Properly handle redactions of creation events (#15973) | Shay | 3 | -5/+13 | |
2023-07-23 | Actually stop reading from column `user_id` of tables `profiles` (#15955) | Shay | 5 | -12/+12 | |
2023-07-23 | Build packages for Debian Trixie (#15961) | Shay | 2 | -0/+2 | |
2023-07-22 | Print out error from remote homeserver if failed to invite | Andrew Morgan | 1 | -0/+3 | |
2023-07-22 | Use room version, not "hub_server" field when adding/validating "origin" | Andrew Morgan | 2 | -4/+6 | |
As other events sent in a LM room that are not on behalf of participating servers will not have this field. | |||||
2023-07-20 | If we are acting on a PDU, keep the "lpdu" hash intact. | Andrew Morgan | 1 | -4/+13 | |
To match the logic defined by section 9.1.1 of draft-ralston-mimi-linearized-matrix-03. | |||||
2023-07-20 | Fix a couple type hints. | Andrew Morgan | 1 | -2/+2 | |
2023-07-20 | Do not add `origin` field to LPDUs. | Andrew Morgan | 2 | -1/+8 | |
Synapse has a bad habit of adding `origin` to the top-level of event content. The Linearized Matrix spec does not include `origin`, and in fact cannot as that will cause the content hashes and signatures computed by the participant server to differ from Synapse's own results. So, we perform a hack here to drop `origin` from any event derived from an LPDU event. Other DAG homeserver implementations might be sad however. | |||||
2023-07-20 | Speed up updating state in large rooms (#15971) | Erik Johnston | 5 | -131/+141 | |
This should speed up updating state in rooms with lots of state. | |||||
2023-07-20 | Fixed grafana deploy annotations in the dashboard config, so it shows for ↵ | Will Lewis | 2 | -1/+2 | |
those not managing matrix.org (#15957) Removed the 'matrix.org' hardcorded instance setting Originally introduced in #15674 Co-authored-by: wrjlewis <will.lewis@askattest.com> | |||||
2023-07-20 | Don't log exceptions for every non-200 response (#15969) | Erik Johnston | 2 | -4/+1 | |
Introduced in #15913 | |||||
2023-07-20 | Reduce the amount of state we pull out (#15968) | Erik Johnston | 4 | -12/+14 | |
2023-07-19 | Fix https://github.com/matrix-org/synapse/issues/15962 | Travis Ralston | 1 | -1/+2 | |
Not breaking anything in LM, but might as well while we're here. | |||||
2023-07-19 | Fix(?) MSC2176 implementation | Travis Ralston | 1 | -2/+2 | |
Pending resolution of https://matrix.to/#/!NasysSDfxKxZBzJJoE:matrix.org/$yCZra9xATiCfKehho6N52m_22ag9TD_tMoqX3GXEwL0?via=matrix.org&via=libera.chat&via=element.io | |||||
2023-07-19 | Ensure a long state res does not starve CPU (#15960) | Erik Johnston | 2 | -1/+9 | |
We do this by yielding the reactor in hot loops. | |||||
2023-07-19 | Fix bad merge of #15933 (#15958) | Erik Johnston | 3 | -0/+1 | |
This was because we reverted the bump of the schema version, so we were not applying the new deltas. | |||||
2023-07-19 | Fix race in triggers for read/write locks. (#15933) | Erik Johnston | 5 | -98/+135 | |
2023-07-18 | Fix background schema updates failing over a large upgrade gap (#15887) | Shay | 2 | -0/+71 | |
2023-07-18 | Add note | Patrick Cloke | 1 | -0/+3 | |
2023-07-18 | Linting. | Patrick Cloke | 1 | -7/+21 | |
2023-07-18 | Sort auth/state. | Patrick Cloke | 1 | -0/+8 | |
2023-07-18 | Do not return depth. | Patrick Cloke | 1 | -1/+4 | |
2023-07-18 | Fix accepting an invite. | Patrick Cloke | 3 | -4/+19 | |
2023-07-18 | Fix creating events from LPDUs. | Patrick Cloke | 3 | -16/+22 | |
2023-07-18 | Remove unsigned and depth in more places. | Patrick Cloke | 2 | -1/+10 | |
2023-07-18 | 1.88.0 v1.88.0 | Olivier Wilkinson (reivilibre) | 4 | -3/+16 | |
2023-07-18 | Support room version 11 (#15912) | Patrick Cloke | 19 | -290/+190 | |
And fix a bug in the implementation of the updated redaction format (MSC2174) where the top-level redacts field was not properly added for backwards-compatibility. | |||||
2023-07-18 | Revert "Stop writing to column `user_id` of tables `profiles` and ↵ | Shay | 10 | -122/+174 | |
`user_filters`. (#15953) * Revert "Stop writing to column `user_id` of tables `profiles` and `user_filters` (#15787)" This reverts commit f25b0f88081bb436bef914983cff7087b54eba5f. * newsfragement | |||||
2023-07-18 | Add a locality to a few presence metrics (#15952) | Jason Little | 2 | -13/+25 | |
2023-07-18 | Re-introduce the outbound federation proxy (#15913) | Eric Eastwood | 32 | -96/+1128 | |
Allow configuring the set of workers to proxy outbound federation traffic through (`outbound_federation_restricted_to`). This is useful when you have a worker setup with `federation_sender` instances responsible for sending outbound federation requests and want to make sure *all* outbound federation traffic goes through those instances. Before this change, the generic workers would still contact federation themselves for things like profile lookups, backfill, etc. This PR allows you to set more strict access controls/firewall for all workers and only allow the `federation_sender`'s to contact the outside world. | |||||
2023-07-17 | Provide templated LPDUs for make_{join,leave,knock} requests. | Patrick Cloke | 4 | -27/+60 | |
2023-07-17 | Accept LPDUs in transactions and fan them back out. | Patrick Cloke | 3 | -10/+151 | |
2023-07-17 | Convert new-style EDUs to old-style EDUs. | Patrick Cloke | 1 | -8/+41 | |
2023-07-17 | Implement new device endpoint. | Patrick Cloke | 1 | -0/+28 | |
2023-07-17 | Implement new send endpoint. | Patrick Cloke | 4 | -7/+129 | |
2023-07-17 | Implement new invite endpoint. | Patrick Cloke | 3 | -0/+60 | |
2023-07-17 | Implement new send_{join,leave,knock} endpoints. | Patrick Cloke | 5 | -15/+195 | |
2023-07-17 | Implement new event and backfill endpoints. | Patrick Cloke | 4 | -64/+209 | |
2023-07-17 | Handle LPDU content hash. | Patrick Cloke | 3 | -16/+55 | |
2023-07-17 | Ignore non-state events sent in state. | Patrick Cloke | 1 | -0/+3 | |
2023-07-17 | Linearized Matrix events do not have a depth. | Patrick Cloke | 4 | -12/+23 | |
2023-07-17 | Remove references to m.room.hub events. | Patrick Cloke | 2 | -20/+3 | |
2023-07-17 | Update for v2. | Patrick Cloke | 9 | -84/+78 | |
2023-07-17 | Revert "Initial routing of events." | Patrick Cloke | 4 | -138/+0 | |
2023-07-17 | Initial routing of events. | Patrick Cloke | 4 | -0/+138 | |
2023-07-17 | Disable TLS over federation. | Patrick Cloke | 1 | -4/+5 | |
2023-07-17 | Initial cut at signature verification. | Patrick Cloke | 5 | -17/+178 | |
2023-07-17 | Bump anyhow from 1.0.71 to 1.0.72 (#15949) | dependabot[bot] | 1 | -2/+2 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-17 | Bump pyo3-log from 0.8.2 to 0.8.3 (#15951) | dependabot[bot] | 1 | -2/+2 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-17 | Bump serde_json from 1.0.100 to 1.0.103 (#15950) | dependabot[bot] | 1 | -2/+2 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-17 | Bump jsonschema from 4.17.3 to 4.18.3 (#15948) | dependabot[bot] | 1 | -42/+144 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-17 | Bump typing-extensions from 4.5.0 to 4.7.1 (#15947) | dependabot[bot] | 1 | -3/+3 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-17 | Bump pydantic from 1.10.10 to 1.10.11 (#15946) | dependabot[bot] | 1 | -37/+37 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-17 | Bump prometheus-client from 0.17.0 to 0.17.1 (#15945) | dependabot[bot] | 1 | -3/+3 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-17 | Pin the rust version in `flake.nix`, and bump to 1.70.0 to fix installing ↵ | Andrew Morgan | 3 | -43/+87 | |
`ruff` (#15940) | |||||
2023-07-15 | Bump cryptography from 41.0.1 to 41.0.2 (#15943) | dependabot[bot] | 1 | -20/+24 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-14 | Document that you cannot login as yourself on ↵ | Will Hunt | 2 | -1/+3 | |
/_synapse/admin/v1/users/<user_id>/login (#15938) | |||||
2023-07-13 | Stop accepting 'user' parameter for application service registration. (#15928) | Patrick Cloke | 3 | -8/+15 | |
This is unspecced, but has existed for a very long time. | |||||
2023-07-13 | Bump types-pillow from 9.5.0.4 to 10.0.0.1 (#15932) | dependabot[bot] | 1 | -3/+5 | |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | |||||
2023-07-12 | Remove unneeded __init__. (#15926) | Patrick Cloke | 2 | -9/+1 | |
Remove an __init__ which only calls super() without changing the input arguments. | |||||
2023-07-12 | Fix running with an empty experimental features section. (#15925) | Patrick Cloke | 2 | -1/+2 | |
2023-07-12 | Fix push for invites received over federation (#15820) | Erik Johnston | 2 | -1/+37 | |
2023-07-12 | Mark get_user_in_directory private since only used in tests (#15884) | Mathieu Velten | 4 | -20/+14 | |
2023-07-11 | Make it more obvious which Python version runs on a given Linux distribution ↵ | Eric Eastwood | 2 | -7/+12 | |
(#15909) Make it more obvious which Python version runs on a given Linux distribution so when we end up dropping support for a given Python version, we can more easily find the reference to the Python version and remove any references for the distribution. We don't want to be running tests or building packages on a distribution that no longer has a supported Python version. This way, we can avoid another situation like when we dropped support for Python 3.7 but forgot to drop the Debian Buster references everywhere (https://github.com/matrix-org/synapse/pull/15893) | |||||
2023-07-11 | Better clarify how to run a worker instance (pass both configs) (#15921) | Eric Eastwood | 2 | -2/+3 | |
Previously, if you just followed the instructions per the docs, you just ran into an error: ```sh $ poetry run synapse_worker --config-path homeserver_generic_worker1.yaml Missing mandatory `server_name` config option. ``` | |||||
2023-07-11 | Better warning in logs when we fail to fetch an alias (#15922) | Eric Eastwood | 2 | -1/+4 | |
**Before:** ``` Error retrieving alias ``` **After:** ``` Error retrieving alias #foo:bar -> 401 Unauthorized ``` *Spawning from creating the [manual testing strategy for the outbound federation proxy](https://github.com/matrix-org/synapse/pull/15773).* | |||||
2023-07-11 | Bump Unix sockets intro version (#15924) | Eric Eastwood | 2 | -1/+2 | |
https://github.com/matrix-org/synapse/pull/15708 didn't quite make the cut for `1.88.0` this morning. | |||||
2023-07-11 | Unix Sockets for HTTP Replication (#15708) | Jason Little | 16 | -52/+260 | |
Unix socket support for `federation` and `client` Listeners has existed now for a little while(since [1.81.0](https://github.com/matrix-org/synapse/pull/15353)), but there was one last hold out before it could be complete: HTTP Replication communication. This should finish it up. The Listeners would have always worked, but would have had no way to be talked to/at. --------- Co-authored-by: Eric Eastwood <madlittlemods@gmail.com> Co-authored-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Co-authored-by: Eric Eastwood <erice@element.io> | |||||
2023-07-11 | Add + as an allowed character for Matrix IDs (MSC4009) (#15911) | Patrick Cloke | 7 | -39/+17 | |
2023-07-11 | Don't build wheels for Python 3.7 (#15917) v1.88.0rc1 | David Robertson | 2 | -2/+10 | |
* Don't build wheels for CPython or PyPy 3.7 * Update pyproject.toml comments * Manually update the changelog | |||||
2023-07-11 | Call out upgrade notes in README | David Robertson | 1 | -2/+6 | |
2023-07-11 | 1.88.0rc1 | David Robertson | 25 | -25/+56 | |
2023-07-11 | Add `Server` to Access-Control-Expose-Headers header (#15908) | Michael Telatynski | 3 | -2/+3 | |
2023-07-10 | Make the media `/upload` tracing less ambiguous (#15888) | Eric Eastwood | 3 | -42/+62 | |
A lot of the functions have the same name in this space like `store_file`, and we also do it multiple times for different reasons (main media repo, other storage providers, thumbnails, etc) so it's good to differentiate them so your head doesn't explode. Follow-up to https://github.com/matrix-org/synapse/pull/15850 Tr |