Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-05-31 | Fix import in module_api module and docs on the new check_event_for_spam ↵ | Brendan Abolivier | 8 | -78/+66 | |
signature (#12918) Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | |||||
2022-05-27 | 1.60.0rc2 v1.60.0rc2 | Sean Quah | 6 | -5/+29 | |
2022-05-27 | Close `ijson` coroutines ourselves instead of letting the GC close them (#12875) | Sean Quah | 3 | -2/+19 | |
Hopefully this means that exceptions raised due to truncated JSON get a sensible logging context and stack. Signed-off-by: Sean Quah <seanq@matrix.org> | |||||
2022-05-27 | Add an option allowing users to use their password to reauthenticate even ↵ | reivilibre | 6 | -12/+83 | |
though password authentication is disabled. (#12883) | |||||
2022-05-26 | Improve URL previews by not including the content of media tags in the ↵ | reivilibre | 2 | -1/+10 | |
generated description. (#12887) | |||||
2022-05-24 | Update changelog v1.60.0rc1 | Sean Quah | 1 | -19/+19 | |
2022-05-24 | 1.60.0rc1 | Sean Quah | 87 | -87/+119 | |
2022-05-24 | contributing_guide.md: fix link to DCO | Richard van der Hoff | 1 | -2/+2 | |
2022-05-24 | Pin poetry.core in Docker images (#12853) | Erik Johnston | 2 | -1/+2 | |
2022-05-23 | Marker events as state - MSC2716 (#12718) | Eric Eastwood | 2 | -1/+26 | |
Sending marker events as state now so they are always able to be seen by homeservers (not lost in some timeline gap). Part of [MSC2716](https://github.com/matrix-org/matrix-spec-proposals/pull/2716) Complement tests: https://github.com/matrix-org/complement/pull/371 As initially discussed at https://github.com/matrix-org/matrix-spec-proposals/pull/2716#discussion_r782629097 and https://github.com/matrix-org/matrix-spec-proposals/pull/2716#discussion_r876684431 When someone joins a room, process all of the marker events we see in the current state. Marker events should be sent with a unique `state_key` so that they can all resolve in the current state to easily be discovered. Marker events as state - If we re-use the same `state_key` (like `""`), then we would have to fetch previous snapshots of state up through time to find all of the marker events. This way we can avoid all of that. This PR was originally doing this but then thought of the smarter way to tackle in an [out of band discussion with @erikjohnston](https://docs.google.com/document/d/1JJDuPfcPNX75fprdTWlxlaKjWOdbdJylbpZ03hzo638/edit#bookmark=id.sm92fqyq7vpp). - Also avoids state resolution conflicts where only one of the marker events win As a homeserver, when we see new marker state, we know there is new history imported somewhere back in time and should process it to fetch the insertion event where the historical messages are and set it as an insertion extremity. This way we know where to backfill more messages when someone asks for scrollback. | |||||
2022-05-23 | Uniformize spam-checker API, part 2: check_event_for_spam (#12808) | David Teller | 10 | -31/+129 | |
Signed-off-by: David Teller <davidt@element.io> | |||||
2022-05-23 | Prevent expired events from being filtered out when retention is disabled ↵ | Brendan Abolivier | 7 | -32/+71 | |
(#12611) Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-05-23 | add SpamChecker callback for silently dropping inbound federated events (#12744) | Jess Porter | 5 | -4/+108 | |
Signed-off-by: jesopo <github@lolnerd.net> | |||||
2022-05-23 | Disable 'faster room join' Complement tests when testing against Synapse ↵ | reivilibre | 2 | -1/+9 | |
with workers. (#12842) | |||||
2022-05-23 | Support registering Application Services when running with workers under ↵ | reivilibre | 4 | -1/+31 | |
Complement. (#12826) Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | |||||
2022-05-23 | Add some type hints to tests files (#12833) | Dirk Klimpel | 7 | -23/+19 | |
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | |||||
2022-05-23 | Fix Complement `TestCanRegisterAdmin` with workers, by adding Complement's ↵ | reivilibre | 2 | -0/+7 | |
shared registration secret. (#12819) | |||||
2022-05-23 | Add a windows->unix file endings commit to git blame ignore file (#12824) | Andrew Morgan | 1 | -0/+3 | |
2022-05-23 | Remove Caddy from the Synapse workers image used in Complement. (#12818) | reivilibre | 7 | -93/+38 | |
2022-05-23 | Fix media thumbnails being unusable before the index had been added in the ↵ | reivilibre | 2 | -0/+3 | |
background. (#12823) | |||||
2022-05-20 | Send `USER_IP` commands on a different Redis channel, in order to reduce ↵ | reivilibre | 5 | -4/+17 | |
traffic to workers that do not process these commands. (#12809) | |||||
2022-05-20 | Uniformize spam-checker API, part 1: the `Code` enum. (#12703) | David Teller | 2 | -2/+10 | |
2022-05-20 | Update EventContext `get_current_event_ids` and `get_prev_event_ids` to ↵ | Shay | 10 | -18/+65 | |
accept state filters and update calls where possible (#12791) | |||||
2022-05-19 | Fix `RetryDestinationLimiter` re-starting finished log contexts (#12803) | Sean Quah | 2 | -2/+3 | |
Signed-off-by: Sean Quah <seanq@matrix.org> | |||||
2022-05-19 | Add a unit test for copying over arbitrary room types when upgrading a room ↵ | Andrew Morgan | 3 | -2/+33 | |
(#12792) | |||||
2022-05-19 | Lay some foundation work to allow workers to only subscribe to some kinds of ↵ | reivilibre | 5 | -24/+173 | |
messages, reducing replication traffic. (#12672) | |||||
2022-05-19 | Add detail to `cache_autotuning` config option documentation (#12776) | Shay | 2 | -4/+11 | |
2022-05-19 | Update configuration manual to document size-related suffixes (#12777) | Shay | 2 | -0/+10 | |
2022-05-19 | Properly close providers.json file stream. (#12794) | Petr Vaněk | 2 | -3/+4 | |
2022-05-19 | Add a unique index to `state_group_edges` to prevent duplicates being ↵ | reivilibre | 5 | -0/+139 | |
accidentally introduced and the consequential impact to performance. (#12687) | |||||
2022-05-19 | hash_password: raise an error if no config file is specified (#12789) | Jae Lo Presti | 2 | -5/+6 | |
2022-05-19 | Simplify untyped-defs config in mypy.ini (#12790) | David Robertson | 2 | -156/+18 | |
2022-05-19 | Implement MSC3818: copy room type on upgrade (#12786) | Aminda Suomalainen | 2 | -8/+9 | |
Resolves: #11896 Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info> | |||||
2022-05-19 | Add missing user directory search endpoint to the generic worker ↵ | Sami Olmari | 2 | -0/+11 | |
documentation (#12773) Signed-off-by: Sami Olmari <sami@olmari.fi> | |||||
2022-05-19 | openid.md: fix some links | Richard van der Hoff | 1 | -9/+9 | |
docbook doesn't auto-linkify links | |||||
2022-05-18 | Downgrade some OIDC exceptions to warnings (#12723) | David Robertson | 2 | -2/+3 | |
2022-05-18 | Fix federation in demo scripts. (#12783) | Patrick Cloke | 3 | -6/+11 | |
2022-05-18 | Skip waiting for full state if a StateFilter does not require it (#12498) | Richard van der Hoff | 2 | -4/+60 | |
If `StateFilter` specifies a state set which we will have regardless of state-syncing, then we may as well return it immediately. | |||||
2022-05-18 | Fix YAML parsing error in `url_preview_accept_language` (#12785) | Andrew Morgan | 2 | -6/+7 | |
2022-05-18 | Refactor `resolve_state_groups_for_events` to not pull out full state when ↵ | Shay | 5 | -23/+40 | |
no state resolution happens. (#12775) | |||||
2022-05-18 | Add documentation for cancellation of request processing (#12761) | Sean Quah | 3 | -0/+394 | |
Signed-off-by: Sean Quah <seanq@matrix.org> | |||||
2022-05-18 | Add some type hints to `event_federation` datastore (#12753) | Dirk Klimpel | 5 | -65/+127 | |
Co-authored-by: David Robertson <david.m.robertson1@gmail.com> | |||||
2022-05-18 | Do not keep going if there are 5 back-to-back background update failures. ↵ | reivilibre | 2 | -0/+9 | |
(#12781) | |||||
2022-05-18 | Give a meaningful error message when a client tries to create a room with an ↵ | reivilibre | 3 | -0/+19 | |
invalid alias localpart. (#12779) | |||||
2022-05-18 | Switch the 'Configuration' link in the docs homepage to the config manual ↵ | Andrew Morgan | 2 | -3/+4 | |
(#12748) | |||||
2022-05-18 | Add some documentation around the `rc_invites` option to the config docs ↵ | Andrew Morgan | 2 | -0/+15 | |
(#12759) | |||||
2022-05-18 | Fixup changelog v1.59.1 | Brendan Abolivier | 1 | -2/+4 | |
2022-05-18 | 1.59.1 | Brendan Abolivier | 4 | -2/+16 | |
2022-05-18 | Discard null-containing strings before updating the user directory (#12762) | David Robertson | 6 | -11/+45 | |
2022-05-18 | Discard null-containing strings before updating the user directory (#12762) | David Robertson | 6 | -11/+45 | |
2022-05-18 | Make handling of federation Authorization header (more) compliant with ↵ | Hubert Chathi | 4 | -5/+35 | |
RFC7230 (#12774) The main differences are: - values with delimiters (such as colons) should be quoted, so always quote the origin, since it could contain a colon followed by a port number - should allow more than one space after "X-Matrix" - quoted values with backslash-escaped characters should be unescaped - names should be case insensitive | |||||
2022-05-18 | Move methods that call add_push_rule to PushRuleStore (#12772) | Adam | 2 | -51/+52 | |
Signed-off-by: Adam Roddick <ajroddick@tuta.io> | |||||
2022-05-17 | Suggest using docker when testing against postgres (#12765) | David Robertson | 2 | -3/+29 | |
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | |||||
2022-05-17 | Delete events from federation_inbound_events_staging table on purge (#12770) | Mathieu Velten | 3 | -0/+3 | |
2022-05-17 | allow `on_invalidate=None` in `@cached` methods (#12769) | David Robertson | 3 | -10/+19 | |
2022-05-17 | Add some type hints to datastore (#12717) | Dirk Klimpel | 10 | -161/+254 | |
2022-05-17 | Add a new room version for MSC3787's knock+restricted join rule (#12623) | Travis Ralston | 6 | -7/+68 | |
2022-05-17 | Remove code which updates `application_services_state.last_txn` (#12680) | Richard van der Hoff | 5 | -55/+35 | |
This column is unused as of #12209, so let's stop writing to it. | |||||
2022-05-17 | Fix push for m.read events (#12721) | SpiritCroc | 2 | -1/+2 | |
badge_count_last_call was always zero when the response for push notifications included a "rejected" key which mapped to an empty list. | |||||
2022-05-17 | Add index to cache invalidations (#12747) | Erik Johnston | 3 | -0/+27 | |
For workers that rarely write to the cache the `get_all_updated_caches` query can become expensive if the worker falls behind when reading the cache. | |||||
2022-05-17 | Track in memory events using weakrefs (#10533) | Erik Johnston | 4 | -2/+60 | |
2022-05-17 | version tweak in changelog v1.59.0 | David Robertson | 1 | -1/+1 | |
2022-05-17 | 1.59.0 | David Robertson | 4 | -4/+21 | |
2022-05-17 | Tidy up and type-hint the database engine modules (#12734) | David Robertson | 7 | -94/+182 | |
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> | |||||
2022-05-16 | Fix typo in name of 'run_background_tasks_on' option in config manual (#12749) | Andrew Morgan | 2 |