summary refs log tree commit diff
path: root/tests/server.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-08Run all the testsBrendan Abolivier1-1/+1
2022-06-08Tweak .coveragerc moreBrendan Abolivier1-2/+6
2022-06-08Fix value for TOP in sytestBrendan Abolivier1-4/+4
2022-06-08Switch back to relative filesBrendan Abolivier1-6/+2
2022-06-08Revert change to .coveragercBrendan Abolivier1-1/+1
2022-06-08More tweakingBrendan Abolivier1-4/+4
2022-06-08Stop using relative files and instead try to tell coverage which paths are ↵Brendan Abolivier1-1/+5
equivalent
2022-06-08Run less stuff in CIBrendan Abolivier1-62/+62
2022-06-08Fix limited test listBrendan Abolivier1-1/+1
2022-06-08Use correct value for TOP in SytestBrendan Abolivier1-1/+5
2022-06-08Don't run all the tests for nowBrendan Abolivier1-1/+1
2022-06-07Fix source locationBrendan Abolivier1-1/+1
2022-06-07Update poetry lock fileBrendan Abolivier1-1/+1
2022-06-07Define sourceBrendan Abolivier1-1/+1
2022-06-07Return the same error message from `/login` when password is incorrect and ↵Daniel Aloni2-2/+7
when account doesn't exist. (#12738)
2022-06-07Fix Synapse git info missing in version strings (#12973)David Robertson15-38/+36
2022-06-07Reduce amount of state we pull out when attempting to send catchup PDUs. ↵Erik Johnston2-11/+21
(#12963) * Don't pull out state for catchup * Newsfile * Merge newsfile
2022-06-07Fix a stale comment in get_room_version_id_txn. (#12969)Patrick Cloke2-6/+2
2022-06-07Consolidate the logic of delete_device/delete_devices. (#12970)Patrick Cloke8-48/+12
By always using delete_devices and sometimes passing a list with a single device ID. Previously these methods had gotten out of sync with each other and it seems there's little benefit to the single-device variant.
2022-06-07Prevent breaking old sqlite's when media retention is enabled (#12977)Andrew Morgan2-1/+2
2022-06-07Prevent local quarantined media from being claimed by media retention (#12972)Andrew Morgan6-29/+185
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: Ric