Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-03-25 | Add restrictions by default to open registration in Synapse (#12091) | Shay | 7 | -4/+67 | |
2022-03-25 | Add cache for `get_membership_from_event_ids` (#12272) | Erik Johnston | 6 | -22/+72 | |
This should speed up push rule calculations for rooms with large numbers of local users when the main push rule cache fails. Co-authored-by: reivilibre <oliverw@matrix.org> | |||||
2022-03-25 | Enhance logging for inbound federation events (#12301) | Richard van der Hoff | 2 | -1/+2 | |
It is currently rather hard to see which rooms are causing inbound federation traffic. Add the room id to the logs. | |||||
2022-03-25 | Refactor `create_new_client_event` to use a new parameter, ↵ | Eric Eastwood | 5 | -65/+165 | |
`state_event_ids`, which accurately describes the usage with MSC2716 instead of abusing `auth_event_ids` (#12083) Spawned from https://github.com/matrix-org/synapse/pull/10975#discussion_r813183430 Part of [MSC2716](https://github.com/matrix-org/matrix-spec-proposals/pull/2716) | |||||
2022-03-25 | Always allow the empty string as an avatar_url. (#12261) | David Robertson | 4 | -0/+32 | |
Hopefully this fixes #12257. Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-03-25 | Authentik OpenID minor doc update (#12275) | IronTooch | 2 | -1/+4 | |
2022-03-25 | Mention the new behaviour on unsafe database locale in the upgrade notes ↵ | Brendan Abolivier | 2 | -0/+8 | |
(#12288) Co-authored-by: Shay <hillerys@element.io> | |||||
2022-03-24 | Re-enable test concurrency on Complement (#12283) | kegsay | 2 | -1/+2 | |
2022-03-24 | Remove unused test code. (#12291) | Patrick Cloke | 2 | -110/+1 | |
The `MockHttpResource` and `MockKey` objects were unused since #9396 (74af356baf79de5d719fad6c32b981eedbdd950d). | |||||
2022-03-24 | changelog v1.55.2 | Richard van der Hoff | 1 | -1/+1 | |
2022-03-24 | 1.55.2 | Richard van der Hoff | 4 | -2/+19 | |
2022-03-24 | Pin Jinja to <3.1.0 (#12297) | Andrew Morgan | 2 | -1/+3 | |
as 3.1.0 removed the deprecated jinja2.Markup class which we still rely on. | |||||
2022-03-24 | Revert "Replace instances of deprecated `Jinja2.Markup` with ↵ | Andrew Morgan | 2 | -6/+4 | |
`markupsafe.Markup`" (#12296) This reverts commit 8810c93e828a9ed1dcb008d08be8aa9fcb4d28c3. | |||||
2022-03-24 | update changelog for 1.55.1 v1.55.1 | Andrew Morgan | 1 | -2/+2 | |
2022-03-24 | 1.55.1 | Andrew Morgan | 4 | -2/+18 | |
2022-03-24 | Replace instances of deprecated `Jinja2.Markup` with `markupsafe.Markup` ↵ | Andrew Morgan | 3 | -4/+7 | |
(#12289) Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-03-24 | Do not consider events by ignored users for relations (#12285) | Patrick Cloke | 7 | -4/+90 | |
Filter the events returned from `/relations` for the requester's ignored users in a similar way to `/messages` (and `/sync`). | |||||
2022-03-24 | Optionally include account validity in MSC3720 account status responses (#12266) | Brendan Abolivier | 4 | -1/+73 | |
2022-03-23 | Refuse to start if DB has an unsafe locale (#12262) | Shay | 6 | -18/+93 | |
2022-03-23 | Use psycopg2 type stubs (#12269) | David Robertson | 4 | -4/+14 | |
2022-03-23 | Remove mutual_rooms `update_user_directory` check, and add extra ↵ | Jonathan de Jong | 3 | -5/+17 | |
documentation (#12038) Resolves #10339 | |||||
2022-03-23 | Allow registering admin users using the module API (#12250) | Nicolas Werner | 3 | -0/+15 | |
Signed-off-by: Nicolas Werner <n.werner@famedly.com> | |||||
2022-03-23 | Rename shared_rooms to mutual_rooms (#12036) | Jonathan de Jong | 5 | -25/+27 | |
Co-authored-by: reivilibre <olivier@librepush.net> | |||||
2022-03-22 | Changelog: sso -> Single Sign-On v1.55.0 | Andrew Morgan | 1 | -1/+1 | |
2022-03-22 | changelog: move notice from rc to final release | Andrew Morgan | 1 | -4/+5 | |
2022-03-22 | 1.55.0 | Andrew Morgan | 5 | -3/+16 | |
2022-03-22 | Tweak copy for sso account details template (#12265) | Michael Telatynski | 4 | -6/+7 | |
* Tweak copy for sso account details template * Update sso footer copyright year * Add newsfragment Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> | |||||
2022-03-21 | Call out synctl change | David Robertson | 1 | -1/+3 | |
2022-03-21 | Add type hints to tests files. (#12256) | Dirk Klimpel | 6 | -88/+101 | |
2022-03-21 | Reword 'Choose your user name' as 'Choose your account name' in the SSO ↵ | reivilibre | 2 | -1/+2 | |
registration template, in order to comply with SIWA guidelines. (#12260) * Reword as 'Choose your account name' * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | |||||
2022-03-21 | Make it possible to enable compression for the metrics HTTP resource (#12258) | Nick Mills-Barrett | 2 | -1/+5 | |
* Make it possible to enable compression for the metrics HTTP resource This can provide significant bandwidth savings pulling metrics from synapse instances. * Add changelog file. * Fix type hint | |||||
2022-03-21 | Return a 404 from `/state` for an outlier (#12087) | Richard van der Hoff | 3 | -44/+25 | |
* Replace `get_state_for_pdu` with `get_state_ids_for_pdu` and `get_events_as_list`. * Return a 404 from `/state` and `/state_ids` for an outlier | |||||
2022-03-18 | Try to detect borked package installations. (#12244) | David Robertson | 3 | -2/+38 | |
* Try to detect borked package installations. Fixes #12223. Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | |||||
2022-03-18 | Move get_bundled_aggregations to relations handler. (#12237) | Patrick Cloke | 9 | -157/+173 | |
The get_bundled_aggregations code is fairly high-level and uses a lot of store methods, we move it into the handler as that seems like a better fit. | |||||
2022-03-18 | Only fetch thread participation for events with threads. (#12228) | Patrick Cloke | 4 | -245/+289 | |
We fetch the thread summary in two phases: 1. The summary that is shared by all users (count of messages and latest event). 2. Whether the requesting user has participated in the thread. There's no use in attempting step 2 for events which did not return a summary from step 1. | |||||
2022-03-18 | Sync more worker regexes in the documentation. (#12243) | Patrick Cloke | 2 | -16/+15 | |
2022-03-18 | Add some type hints to datastore (#12248) | Dirk Klimpel | 4 | -84/+117 | |
* inherit `MonthlyActiveUsersStore` from `RegistrationWorkerStore` Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-03-18 | Correct `check_username_for_spam` annotations and docs (#12246) | David Robertson | 8 | -16/+46 | |
* Formally type the UserProfile in user searches * export UserProfile in synapse.module_api * Update docs Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | |||||
2022-03-17 | Generate announcement links in release script (#12242) | David Robertson | 2 | -1/+41 | |
2022-03-17 | Make poetry available in sytest twisted trunk test | Sean Quah | 1 | -0/+4 | |
We may have to use OFFLINE=1 mode to stop sytest from reinstalling a non-trunk version of twisted. Let's find out. | |||||
2022-03-17 | Add type hints to more tests files. (#12240) | Dirk Klimpel | 6 | -47/+66 | |
2022-03-17 | fixup Bump parameterized dependency to >= 0.7.4 | Sean Quah | 1 | -1/+1 | |
Update `poetry.lock`. | |||||
2022-03-16 | Re-generate changelog. v1.55.0rc1 | Patrick Cloke | 2 | -1/+1 | |
2022-03-16 | Fix bundling aggregations if unsigned is not a returned event field. (#12234) | Patrick Cloke | 3 | -3/+35 | |
An error occured if a filter was supplied with `event_fields` which did not include `unsigned`. In that case, bundled aggregations are still added as the spec states it is allowed for servers to add additional fields. | |||||
2022-03-16 | Work around twisted trunk test installing an old treq version | Sean Quah | 1 | -5/+11 | |
2022-03-16 | Use pip to install olddeps, as suggested by dmr | Sean Quah | 1 | -3/+5 | |
2022-03-16 | Handle cancellation in `DatabasePool.runInteraction()` (#12199) | Sean Quah | 3 | -24/+96 | |
To handle cancellation, we ensure that `after_callback`s and `exception_callback`s are always run, since the transaction will complete on another thread regardless of cancellation. We also wait until everything is done before releasing the `CancelledError`, so that logging contexts won't get used after they have been finished. Signed-off-by: Sean Quah <seanq@element.io> | |||||
2022-03-16 | Add a relations handler to avoid duplication. (#12227) | Patrick Cloke | 5 | -69/+134 | |
Adds a handler layer between the REST and datastore layers for relations. | |||||
2022-03-16 | Add some missing type hints to cache datastore. (#12216) | Patrick Cloke | 2 | -21/+37 | |
2022-03-16 | Fix dead link in spam checker warning (#12231) | David Robertson | 2 | -2/+3 | |
2022-03-16 | Refactor relations tests (#12232) | Patrick Cloke | 2 | -406/+364 | |
* Moves the relation pagination tests to a separate class. * Move the assertion of the response code into the `_send_relation` helper. * Moves some helpers into the base-class. | |||||
2022-03-16 | Clean-up logic for rebasing URLs during URL preview. (#12219) | Patrick Cloke | 4 | -91/+26 | |
By using urljoin from the standard library and reducing the number of places URLs are rebased. | |||||
2022-03-15 | Use the ignored_users table to test event visibility & sync. (#12225) | Patrick Cloke | 6 | -47/+62 | |
Instead of fetching the raw account data and re-parsing it. The ignored_users table is a denormalised version of the account data for quick searching. | |||||
2022-03-15 | Add tests for database transaction callbacks (#12198) | Sean Quah | 2 | -1/+104 | |
Signed-off-by: Sean Quah <seanq@element.io> | |||||
2022-03-15 | Bump parameterized dependency to >= 0.7.4 | Sean Quah | 1 | -2/+4 | |
parameterized < 0.7.4 can create classes with names that do not play well with trial in multiple worker mode. | |||||
2022-03-15 | Add type hints to some tests/handlers files. (#12224) | Dirk Klimpel | 7 | -131/+156 | |
2022-03-15 | Changelog tweaks | David Robertson | 1 | -4/+6 | |
2022-03-15 | 1.55.0rc1 | David Robertson | 65 | -63/+89 | |
2022-03-14 | Add cancellation support to `@cached` and `@cachedList` decorators (#12183) | Sean Quah | 3 | -2/+157 | |
These decorators mostly support cancellation already. Add cancellation tests and fix use of finished logging contexts by delaying cancellation, as suggested by @erikjohnston. Signed-off-by: Sean Quah <seanq@element.io> | |||||
2022-03-14 | Add cancellation support to `ReadWriteLock` (#12120) | Sean Quah | 4 | -93/+382 | |
Also convert `ReadWriteLock` to use async context managers. Signed-off-by: Sean Quah <seanq@element.io> | |||||
2022-03-14 | WIP: Try to fix twisted trunk job | David Robertson | 2 | -30/+43 | |
2022-03-14 | aaaaaaaaaaaaaaaaaaanother | David Robertson | 1 | -1/+3 | |
2022-03-14 | try poetry again | David Robertson | 1 | -2/+54 | |
2022-03-14 | aaaaaaaaaaaaaaaaaaa | David Robertson | 1 | -1/+1 | |
2022-03-14 | desperationg tox | David Robertson | 2 | -45/+6 | |
2022-03-14 | rollback? | David Robertson | 1 | -14/+13 | |
2022-03-14 | sod off, baldrick | David Robertson | 2 | -0/+4 | |
2022-03-14 | lock? | David Robertson | 1 | -1/+2 | |
2022-03-14 | baaaaaaaaaaaaaaaaa | David Robertson | 1 | -5/+7 | |
2022-03-14 | path | David Robertson | 1 | -2/+2 | |
2022-03-14 | skippppp | David Robertson | 1 | -1/+1 | |
2022-03-14 | Can I just use poetry? | David Robertson | 1 | -11/+6 | |
2022-03-14 | need parameterized | David Robertson | 1 | -1/+1 | |
2022-03-14 | blease work | David Robertson | 1 | -4/+16 | |
2022-03-14 | BUMS | David Robertson | 1 | -1/+1 | |
2022-03-14 | debug | David Robertson | 2 | -1/+5 | |
2022-03-14 | lol got the line wrong | David Robertson | 1 | -3/+1 | |
2022-03-14 | source venc. try again | David Robertson | 1 | -2/+5 | |
2022-03-14 | WIP | David Robertson | 2 | -6/+15 | |
2022-03-14 | Try to fix olddeps | David Robertson | 2 | -3/+14 | |
2022-03-14 | TODO note | David Robertson | 1 | -0/+2 | |
2022-03-14 | Include `test` extra | David Robertson | 2 | -2/+6 | |
I thought we might be able to get away without this and make it a dev dependency only. But in olddeps it's easier to have this (otherwise I have to worry about version conflicts between dev deps and the normal deps). lock the test extra | |||||
2022-03-14 | Fix broken background updates when using sqlite with `enable_search` off ↵ | Sean Quah | 2 | -6/+8 | |
(#12215) Signed-off-by: Sean Quah <seanq@element.io> | |||||
2022-03-14 | Add `delay_cancellation` utility function (#12180) | Sean Quah | 3 | -12/+161 | |
`delay_cancellation` behaves like `stop_cancellation`, except it delays `CancelledError`s until the original `Deferred` resolves. This is handy for unifying cleanup paths and ensuring that uncancelled coroutines don't use finished logcontexts. Signed-off-by: Sean Quah <seanq@element.io> | |||||
2022-03-14 | And try to fix `export-data` | David Robertson | 2 | -16/+11 | |
2022-03-14 | Try and run portdb under poetry |