summary refs log tree commit diff
path: root/synapse/util/check_dependencies.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-07Always use relative pathsBrendan Abolivier1-0/+1
2022-06-07Make coverage job depend on sytestBrendan Abolivier1-3/+5
2022-06-07Retrieve coverage files from sytestBrendan Abolivier2-0/+7
2022-06-07Update coverage to 6.4.1Michael Telatynski2-2/+56
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-06-06Remove remaining pieces of groups code. (#12966)Patrick Cloke8-209/+6
* Remove an unused stream ID generator. * Remove the now unused remote profile cache.
2022-06-06Reduce state pulled from DB due to sending typing and receipts over ↵Erik Johnston9-16/+68
federation (#12964) Reducing the amount of state we pull from the DB is useful as fetching state is expensive in terms of DB, CPU and memory.
2022-06-06Do not break URL previews if an image is unreachable. (#12950)Patrick Cloke3-6/+53
Avoid breaking a URL preview completely if the chosen image 404s or is unreachable for some other reason (e.g. DNS).
2022-06-06Implement MSC3816, consider the root event for thread participation. (#12766)Patrick Cloke3-47/+97
As opposed to only considering a user to have "participated" if they replied to the thread.
2022-06-06Allow updating passwords using the admin api without logging out devices ↵Jan Christian Grünhage3-2/+11
(#12952)
2022-06-06Reduce the amount of state we pull from the DB (#12811)Erik Johnston23-146/+161
2022-06-03Remove groups code from synapse_port_db. (#12899)Patrick Cloke3-15/+18
2022-06-03Improve URL previews for some pages (#12951)Patrick Cloke3-18/+72
* Skip `og` and `meta` tags where the value is empty. * Fallback to the favicon if there are no other images. * Ignore tags meant for navigation.
2022-06-01Wait for lazy join to complete when getting current state (#12872)Erik Johnston33-82/+361
2022-06-01Fix complement tests using the wrong path (#12933)Michael Telatynski2-1/+2
2022-06-01Update to matrix-org/sonarcloud-workflow-action@v2.1Michael Telatynski1-6/+4
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-06-01Remove remaining bits of groups code. (#12936)Patrick Cloke19-35/+1
* Update worker docs to remove group endpoints. * Removes an unused parameter to `ApplicationService`. * Break dependency between media repo and groups. * Avoid copying `m.room.related_groups` state events during room upgrades.
2022-06-01Remove direct refeferences to PyNaCl (use signedjson instead). (#12902)Jacek Kuśnierz6-20/+12
2022-06-01Fix 404 on `/sync` when the last event is a redaction of an unknown/purged ↵Richard van der Hoff6-65/+129
event (#12905) Currently, we try to pull the event corresponding to a sync token from the database. However, when we fetch redaction events, we check the target of that redaction (because we aren't allowed to send redactions to clients without validating them). So, if the sync token points to a redaction of an event that we don't have, we have a problem. It turns out we don't really need that event, and can just work with its ID and metadata, which sidesteps the whole problem.
2022-06-01Fix potential thumbnail memory leaks. (#12932)Erik Johnston3-135/+202
2022-06-01Revert spacing tweakMichael Telatynski1-1/+1
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-06-01Update sonarqube workflow to use new composite actionMichael Telatynski1-26/+23
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31Remove most groups datastore code. (#12895)Patrick Cloke3-1396/+7
The remaining piece is a background update that is needed for backwards compatibility.
2022-05-31Improve logging when signature checks fail (#12925)Richard van der Hoff4-65/+95
* Raise a dedicated `InvalidEventSignatureError` from `_check_sigs_on_pdu` * Downgrade logging about redactions to DEBUG this can be very spammy during a room join, and it's not very useful. * Raise `InvalidEventSignatureError` from `_check_sigs_and_hash` ... and, more importantly, move the logging out to the callers. * changelog
2022-05-31Remove groups replication code. (#12900)Patrick Cloke7-90/+1
The replication logic for groups is no longer used, so the message passing infrastructure can be removed.
2022-05-31Add config options for media retention (#12732)Andrew Morgan5-2/+353
2022-05-31Faster room joins: Resume state re-syncing after a Synapse restart (#12813)Sean Quah3-2/+53
Signed-off-by: Sean Quah <seanq@matrix.org>
2022-05-31Faster room joins: Try other destinations when resyncing the state of a ↵Sean Quah4-9/+94
partial-state room (#12812) Signed-off-by: Sean Quah <seanq@matrix.org>
2022-05-31Make use of artifact merging :oMichael Telatynski2-6/+5
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31Update changelogErik Johnston1-2/+2
2022-05-31Fix coverage upload wildcardMichael Telatynski2-2/+2
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31Test Synapse against Complement with workers. (#12810)reivilibre3-20/+66
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-05-31Reduce DB load of /sync when using presence (#12885)Erik Johnston2-27/+49
While the query was fast, we were calling it *a lot*.
2022-05-31Stop reading from `event_edges.room_id`. (#12914)Richard van der Hoff4-24/+22
event_edges.room_id is implied by the event id, so there is no need to join on the room id.
2022-05-311.60.0 v1.60.0Erik Johnston4-4/+18
2022-05-31Move coverage files to where the tool expectsMichael Telatynski1-0/+2
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31Rename storage classes (#12913)Erik Johnston53-551/+708
2022-05-31Rework stream token to stop caring about groups. (#12897)Patrick Cloke3-3/+8
2022-05-31Add coverage to poetry as installing it can take 3 minsMichael Telatynski3-6/+58
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31Use poetry and set $TOP env in trial & coverage jobsMichael Telatynski2-7/+11
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31Get rid of --jobs for nowMichael Telatynski1-1/+1
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31Fix import in module_api module and docs on the new check_event_for_spam ↵Brendan Abolivier8-78/+66
signature (#12918) Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-05-31arguments --Michael Telatynski1-1/+1
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-31Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12923)Travis Ralston3-2/+3
2022-05-30Revert "Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922)"Travis Ralston3-3/+2
This reverts commit e0fae823e9938618a260adadb82bfee6e4c2f907.
2022-05-31Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922)Travis Ralston3-2