summary refs log tree commit diff
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce auth chains fetched during v2 state res. (#6952)Andrew Morgan2020-03-241-2/+4
|\ | | | | | | | | | | * commit '2b37eabca': Reduce auth chains fetched during v2 state res. (#6952) update changes.md
| * Reduce auth chains fetched during v2 state res. (#6952)Erik Johnston2020-02-191-2/+4
| | | | | | | | | | | | The state res v2 algorithm only cares about the difference between auth chains, so we can pass in the known common state to the `get_auth_chain` storage function so that it can ignore those events.
* | Merge pull request #6949 from matrix-org/rav/list_room_aliases_peekableAndrew Morgan2020-03-242-2/+19
|\| | | | | | | | | | | | | | | * commit '2fb7794e6': changelog Make room alias lists peekable Add `allow_departed_users` param to `check_in_room_or_world_readable` Refactor the membership check methods in Auth
| * Merge pull request #6949 from matrix-org/rav/list_room_aliases_peekableRichard van der Hoff2020-02-192-2/+19
| |\ | | | | | | Make room alias lists peekable
| | * Make room alias lists peekableRichard van der Hoff2020-02-191-0/+17
| | | | | | | | | | | | | | | | | | As per https://github.com/matrix-org/matrix-doc/pull/2432#pullrequestreview-360566830, make room alias lists accessible to users outside world_readable rooms.
| | * Refactor the membership check methods in AuthRichard van der Hoff2020-02-181-2/+2
| | | | | | | | | | | | | | | these were getting a bit unwieldy, so let's combine `check_joined_room` and `check_user_was_in_room` into a single `check_user_in_room`.
* | | Move MSC2432 stuff onto unstable prefix (#6948)Andrew Morgan2020-03-241-3/+13
|\| | | | | | | | | | | | | | * commit '880aaac1d': Move MSC2432 stuff onto unstable prefix (#6948)
| * | Move MSC2432 stuff onto unstable prefix (#6948)Richard van der Hoff2020-02-191-3/+13
| |/ | | | | it's not in the spec yet, so needs to be unstable. Also add a feature flag for it. Also add a test for admin users.
* | Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)Andrew Morgan2020-03-242-10/+88
|\| | | | | | | | | * commit 'adfaea8c6': Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)
| * Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)Richard van der Hoff2020-02-182-10/+88
| | | | | | | | | | per matrix-org/matrix-doc#2432
* | Merge pull request #6872 from matrix-org/rav/dictpropertyAndrew Morgan2020-03-241-1/+1
|\| | | | | | | | | | | | | * commit '3f1cd1479': changelog Rewrite _EventInternalMetadata to back it with a _dict Replace _event_dict_property with DictProperty
| * Merge pull request #6872 from matrix-org/rav/dictpropertyRichard van der Hoff2020-02-181-1/+1
| |\ | | | | | | Rewrite _EventInternalMetadata to back it with a dict
| | * Replace _event_dict_property with DictPropertyRichard van der Hoff2020-02-141-1/+1
| | | | | | | | | | | | | | | this amounts to the same thing, but replaces `_event_dict` with `_dict`, and removes some of the function layers generated by `property`.
* | | Stop sending events when creating or deleting aliases (#6904)Andrew Morgan2020-03-241-2/+152
|\| | | | | | | | | | | | | | * commit 'fe3941f6e': Stop sending events when creating or deleting aliases (#6904)
| * | Stop sending events when creating or deleting aliases (#6904)Patrick Cloke2020-02-181-2/+152
| | | | | | | | | Stop sending events when creating or deleting associations (room aliases). Send an updated canonical alias event if one of the alt_aliases is deleted.
* | | Raise the default power levels for invites, tombstones and server acls (#6834)Andrew Morgan2020-03-231-1/+3
|\| | | | | | | | | | | | | | * commit '3404ad289': Raise the default power levels for invites, tombstones and server acls (#6834)
| * | Raise the default power levels for invites, tombstones and server acls (#6834)Andrew Morgan2020-02-171-1/+3
| | |
* | | Convert the directory handler tests to use HomeserverTestCase (#6919)Andrew Morgan2020-03-231-24/+17
|\| | | | | | | | | | | | | | * commit '02e89021f': Convert the directory handler tests to use HomeserverTestCase (#6919)
| * | Convert the directory handler tests to use HomeserverTestCase (#6919)Patrick Cloke2020-02-141-24/+17
| |/ | | | | Convert directory handler tests to use HomeserverTestCase.
* | Filter the results of user directory searching via the spam checker (#6888)Andrew Morgan2020-03-231-0/+92
|\| | | | | | | | | * commit '49f877d32': Filter the results of user directory searching via the spam checker (#6888)
| * Filter the results of user directory searching via the spam checker (#6888)Patrick Cloke2020-02-141-0/+92
| | | | | | Add a method to the spam checker to filter the user directory results.
* | Return a 404 for admin api user lookup if user not found (#6901)Andrew Morgan2020-03-231-0/+16
|\| | | | | | | | | | | * commit 'd8994942f': Return a 404 for admin api user lookup if user not found (#6901) Move the warning at the top of the release changes
| * Return a 404 for admin api user lookup if user not found (#6901)Andrew Morgan2020-02-121-0/+16
| |
* | Reject device display names that are too long (#6882)Andrew Morgan2020-03-231-0/+18
|\| | | | | | | | | * commit 'a92e703ab': Reject device display names that are too long (#6882)
| * Reject device display names that are too long (#6882)Patrick Cloke2020-02-101-0/+18
| | | | | | | | | | | | | | | | * Reject device display names that are too long. Too long is currently defined as 100 characters in length. * Add a regression test for rejecting a too long device display name.
* | Add a `make_event_from_dict` method (#6858)Andrew Morgan2020-03-239-27/+32
|\| | | | | | | | | * commit '799001f2c': Add a `make_event_from_dict` method (#6858)
| * Add a `make_event_from_dict` method (#6858)Richard van der Hoff2020-02-079-27/+32
| | | | | | | | | | | | | | ... and use it in places where it's trivial to do so. This will make it easier to pass room versions into the FrozenEvent constructors.
* | Add typing to synapse.federation.sender (#6871)Andrew Morgan2020-03-231-2/+6
|\| | | | | | | | | * commit 'b08b0a22d': Add typing to synapse.federation.sender (#6871)
| * Add typing to synapse.federation.sender (#6871)Erik Johnston2020-02-071-2/+6
| |
* | Admin api to add an email address (#6789)Andrew Morgan2020-03-231-2/+17
|\| | | | | | | | | * commit '56ca93ef5': Admin api to add an email address (#6789)
| * Admin api to add an email address (#6789)Dirk Klimpel2020-02-071-2/+17
| |
* | Merge pull request #6856 from matrix-org/rav/redact_changes/6Andrew Morgan2020-03-231-2/+4
|\| | | | | | | | | * commit 'e1b240329': Pass room_version into `event_from_pdu_json`
| * Pass room_version into `event_from_pdu_json`Richard van der Hoff2020-02-061-2/+4
| | | | | | | | It's called from all over the shop, so this one's a bit messy.
* | Add typing to SyncHandler (#6821)Andrew Morgan2020-03-231-1/+4
|\| | | | | | | | | * commit 'b9391c957': Add typing to SyncHandler (#6821)
| * Add typing to SyncHandler (#6821)Erik Johnston2020-02-031-1/+4
| | | | | | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* | Merge pull request #6806 from matrix-org/rav/redact_changes/3Andrew Morgan2020-03-232-4/+9
|\| | | | | | | | | | | | | | | * commit 'a5afdd15e': changelog Pass room_version into add_hashes_and_signatures Pass room_version into create_local_event_from_event_dict Store the room version in EventBuilder
| * Merge pull request #6806 from matrix-org/rav/redact_changes/3Richard van der Hoff2020-01-312-4/+9
| |\ | | | | | | Pass room_version into add_hashes_and_signatures
| | * Pass room_version into add_hashes_and_signaturesRichard van der Hoff2020-01-301-2/+7
| | |
| | * Store the room version in EventBuilderRichard van der Hoff2020-01-301-2/+2
| | |
* | | Merge pull request #6820 from matrix-org/rav/get_room_version_idAndrew Morgan2020-03-233-3/+5
|\| | | | | | | | | | | | | | | | | | | | * commit '160522e32': newsfile Add `get_room_version` method s/get_room_version/get_room_version_id/
| * | s/get_room_version/get_room_version_id/Richard van der Hoff2020-01-313-3/+5
| |/ | | | | | | | | ... to make way for a forthcoming get_room_version which returns a RoomVersion object.
* | MSC2260: Block direct sends of m.room.aliases events (#6794)Andrew Morgan2020-03-232-33/+15
|\| | | | | | | | | * commit '184303b86': MSC2260: Block direct sends of m.room.aliases events (#6794)
| * MSC2260: Block direct sends of m.room.aliases events (#6794)Richard van der Hoff2020-01-302-33/+15
| | | | | | | | | | as per MSC2260
* | Resync remote device list when detected as stale. (#6786)Andrew Morgan2020-03-231-3/+3
|\| | | | | | | | | * commit 'b66032705': Resync remote device list when detected as stale. (#6786)
| * Resync remote device list when detected as stale. (#6786)Erik Johnston2020-01-301-3/+3
| |
| * Type defintions for use in refactoring for redaction changes (#6803)Richard van der Hoff2020-01-301-4/+11
| | | | | | | | | | | | | | | | | | | | * Bump signedjson to 1.1 ... so that we can use the type definitions * Fix breakage caused by upgrade to signedjson 1.1 Thanks, @illicitonion...
* | Merge pull request #6790 from matrix-org/rav/msc2260.1Andrew Morgan2020-03-231-2/+43
|\| | | | | | | | | | | | | | | * commit '281551f72': changelog Make /directory/room/<alias> handle restrictive power levels Set the PL for aliases events to 0. Factor out a `copy_power_levels_contents` method
| * Factor out a `copy_power_levels_contents` methodRichard van der Hoff2020-01-291-2/+43
| | | | | | | | I'm going to need another copy (hah!) of this.
* | Pass room version object into event_auth.check and check_redaction (#6788)Andrew Morgan2020-03-231-7/+4
|\| | | | | | | | | * commit 'a8ce7aeb4': Pass room version object into event_auth.check and check_redaction (#6788)
| * Pass room version object into event_auth.check and check_redaction (#6788)Richard van der Hoff2020-01-281-7/+4
| | | | | | | | | | | | | | These are easier to work with than the strings and we normally have one around. This fixes `FederationHander._persist_auth_tree` which was passing a RoomVersion object into event_auth.check instead of a string.
* | Add `rooms.room_version` column (#6729)Andrew Morgan2020-03-233-2/+18
|\| | | | | | | | | * commit '8df862e45': Add `rooms.room_version` column (#6729)
| * Add `rooms.room_version` column (#6729)Erik Johnston2020-01-273-2/+18
| | | | | | This is so that we don't have to rely on pulling it out from `current_state_events` table.
* | Validate client_secret parameter (#6767)Andrew Morgan2020-03-231-0/+51
|\| | | | | | | | | * commit '9f7aaf90b': Validate client_secret parameter (#6767)
| * Validate client_secret parameter (#6767)Andrew Morgan2020-01-241-0/+51
| |
* | Make 'event.redacts' never raise. (#6771)Andrew Morgan2020-03-231-0/+35
|\| | | | | | | | | | | | | | | * commit 'fa4d609e2': Make 'event.redacts' never raise. (#6771) Fixup changelog Fixup changelog Fixup changelog
| * Make 'event.redacts' never raise. (#6771)Erik Johnston2020-01-231-0/+35
| | | | | | | | | | | | There are quite a few places that we assume that a redaction event has a corresponding `redacts` key, which is not always the case. So lets cheekily make it so that event.redacts just returns None instead.
* | Admin API to list, filter and sort rooms (#6720)Andrew Morgan2020-03-232-6/+391
|\| | | | | | | | | * commit '90a28fb47': Admin API to list, filter and sort rooms (#6720)
| * Admin API to list, filter and sort rooms (#6720)Andrew Morgan2020-01-221-4/+389
| |
* | Merge pull request #6764 from matrix-org/babolivier/fix-thumbnailAndrew Morgan2020-03-231-4/+44
|\| | | | | | | | | | | | | | | * commit 'ae6cf586b': Lint + changelog Remove unused import Add tests for thumbnailing Fix typo in _select_thumbnail
| * Lint + changelogBrendan Abolivier2020-01-221-3/+1
| |
| * Remove unused importBrendan Abolivier2020-01-221-1/+1
| |
| * Add tests for thumbnailingBrendan Abolivier2020-01-221-3/+45
| |
* | Fix and add test to deprecated quarantine media admin api (#6756)Andrew Morgan2020-03-231-4/+11
|\| | | | | | | | | * commit 'aa9b00fb2': Fix and add test to deprecated quarantine media admin api (#6756)
| * Fix and add test to deprecated quarantine media admin api (#6756)Andrew Morgan2020-01-221-4/+11
| |
* | Fix `/events/:event_id` deprecated API. (#6731)Andrew Morgan2020-03-232-1/+28
|\| | | | | | | | | * commit '74b74462f': Fix `/events/:event_id` deprecated API. (#6731)
| * Fix `/events/:event_id` deprecated API. (#6731)Erik Johnston2020-01-202-1/+28
| |
* | Fix changing password via user admin API. (#6730)Andrew Morgan2020-03-231-0/+13
|\| | | | | | | | | * commit 'ceecedc68': Fix changing password via user admin API. (#6730)
| * Fix changing password via user admin API. (#6730)Erik Johnston2020-01-201-0/+13
| |
* | Merge pull request #6724 from matrix-org/rav/log_saml_attributesAndrew Morgan2020-03-231-0/+47
|\| | | | | | | | | | | | | * commit '59dc87c61': changelog Log saml assertions rather than the whole response move batch_iter to a separate module
| * Log saml assertions rather than the whole responseRichard van der Hoff2020-01-161-0/+47
| | | | | | | | | | | | ... since the whole response is huge. We even need to break up the assertions, since kibana otherwise truncates them.
* | Port synapse.replication.tcp to async/await (#6666)Andrew Morgan2020-03-231-1/+1
|\| | | | | | | | | * commit '48c3a9688': Port synapse.replication.tcp to async/await (#6666)
| * Port synapse.replication.tcp to async/await (#6666)Erik Johnston2020-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | * Port synapse.replication.tcp to async/await * Newsfile * Correctly document type of on_<FOO> functions as async * Don't be overenthusiastic with the asyncing....
* | Fix purge_room admin API (#6711)Andrew Morgan2020-03-231-3/+1
|\| | | | | | | | | * commit '19a1aac48': Fix purge_room admin API (#6711)
| * Fix purge_room admin API (#6711)Erik Johnston2020-01-151-3/+1
| |
* | Implement RedirectException (#6687)Andrew Morgan2020-03-231-2/+77
|\| | | | | | | | | * commit '8f5d7302a': Implement RedirectException (#6687)
| * Implement RedirectException (#6687)Richard van der Hoff2020-01-151-2/+77
| | | | | | | | | | Allow REST endpoint implemnentations to raise a RedirectException, which will redirect the user's browser to a given location.
* | Add `local_current_membership` table (#6655)Andrew Morgan2020-03-235-17/+14
|\| | | | | | | | | * commit '28c98e51f': Add `local_current_membership` table (#6655)
| * Add `local_current_membership` table (#6655)Erik Johnston2020-01-155-17/+14
| | | | | | | | | | | | | | Currently we rely on `current_state_events` to figure out what rooms a user was in and their last membership event in there. However, if the server leaves the room then the table may be cleaned up and that information is lost. So lets add a table that separately holds that information.
* | Quarantine media by ID or user ID (#6681)Andrew Morgan2020-03-232-0/+378
|\| | | | | | | | | * commit '1177d3f3a': Quarantine media by ID or user ID (#6681)
| * Quarantine media by ID or user ID (#6681)Andrew Morgan2020-01-132-0/+378
| |
* | Kill off RegistrationError (#6691)Andrew Morgan2020-03-231-2/+0
|\| | | | | | | | | * commit '326c893d2': Kill off RegistrationError (#6691)
| * Kill off RegistrationError (#6691)Richard van der Hoff2020-01-131-2/+0
| | | | | | This is pretty pointless. Let's just use SynapseError.
* | Allow admin users to create or modify users without a shared secret (#6495)Andrew Morgan2020-03-233-338/+467
|\| | | | | | | | | | | * commit 'd2906fe66': Allow admin users to create or modify users without a shared secret (#6495) Fixup changelog
| * Allow admin users to create or modify users without a shared secret (#6495)Manuel Stahl2020-01-093-338/+467
| | | | | | Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de>
* | Fix GET request on /_synapse/admin/v2/users endpoint (#6563)Andrew Morgan2020-03-201-0/+41
|\| | | | | | | | | * commit '7caaa29da': Fix GET request on /_synapse/admin/v2/users endpoint (#6563)
| * Fix GET request on /_synapse/admin/v2/users endpoint (#6563)Manuel Stahl2020-01-081-0/+41
| | | | | | | | Fixes #6552
* | Back out ill-advised notary server hackery (#6657)Andrew Morgan2020-03-203-4/+131
|\| | | | | | | | | * commit '573fee759': Back out ill-advised notary server hackery (#6657)
| * Back out ill-advised notary server hackery (#6657)Richard van der Hoff2020-01-083-4/+131
| | | | | | | | | | | | | | | | | | | | | | This was ill-advised. We can't modify verify_keys here, because the response object has already been signed by the requested key. Furthermore, it's somewhat unnecessary because existing versions of Synapse (which get upset that the notary key isn't present in verify_keys) will fall back to a direct fetch via `/key/v2/server`. Also: more tests for fetching keys via perspectives: it would be nice if we actually tested when our fetcher can't talk to our notary impl.
* | port BackgroundUpdateTestCase to HomeserverTestCase (#6653)Andrew Morgan2020-03-201-35/+37
|\| | | | | | | | | | | | | | | | | * commit 'd20c34654': port BackgroundUpdateTestCase to HomeserverTestCase (#6653) changelog Fix exceptions in log when rejected event is replicated async/await for SyncReplicationHandler.process_and_notify Clarify documentation on get_event* methods
| * port BackgroundUpdateTestCase to HomeserverTestCase (#6653)Richard van der Hoff2020-01-071-35/+37
| |
* | Merge pull request #6629 from matrix-org/rav/kill_event_reference_hashesAndrew Morgan2020-03-202-16/+5
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '1807db5e7': changelog Remove unused get_latest_event_ids_and_hashes_in_room Remove unused get_prev_events_and_hashes_for_room Remove unused hashes and depths from _update_membership params Remove unused hashes and depths from create_event params Remove unused hashes and depths from create_new_client_event params replace get_prev_events_and_hashes_for_room with get_prev_events_for_room in create_new_client_event rename get_prev_events_for_room to get_prev_events_and_hashes_for_room
| * Merge pull request #6629 from matrix-org/rav/kill_event_reference_hashesRichard van der Hoff2020-01-062-16/+5
| |\ | | | | | | Remove a bunch of unused code from event creation
| | * Remove unused get_prev_events_and_hashes_for_roomRichard van der Hoff2020-01-061-13/+6
| | |
| | * Remove unused hashes and depths from create_event paramsRichard van der Hoff2020-01-061-5/+1
| | |
| | * rename get_prev_events_for_room to get_prev_events_and_hashes_for_roomRichard van der Hoff2020-01-061-2/+2
| | | | | | | | | | | | ... to make way for a new method which just returns the event ids
* | | Fix exception when fetching notary server's old keys (#6625)Andrew Morgan2020-03-201-44/+95
|\| | | | | | | | | | | | | | * commit '4b36b482e': Fix exception when fetching notary server's old keys (#6625)
| * | Fix exception when fetching notary server's old keys (#6625)Richard van der Hoff2020-01-061-44/+95
| | | | | | | | | | | | | | | | | | Lift the restriction that *all* the keys used for signing v2 key responses be present in verify_keys. Fixes #6596.
* | | Workaround for error when fetching notary's own key (#6620)Andrew Morgan2020-03-202-1/+140
|\| | | | | | | | | | | | | | * commit '18674eebb': Workaround for error when fetching notary's own key (#6620)
| * | Workaround for error when fetching notary's own key (#6620)Richard van der Hoff2020-01-062-1/+140
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * Kill off redundant SynapseRequestFactory We already get the Site via the Channel, so there's no need for a dedicated RequestFactory: we can just use the right constructor. * Workaround for error when fetching notary's own key As a notary server, when we return our own keys, include all of our signing keys in verify_keys. This is a workaround for #6596.
* | Kill off redundant SynapseRequestFactory (#6619)Andrew Morgan2020-03-201-2/+4
|\| | | | | | | | | * commit 'b6b57ecb4': Kill off redundant SynapseRequestFactory (#6619)
| * Kill off redundant SynapseRequestFactory (#6619)Richard van der Hoff2020-01-031-2/+4
| | | | | | | | We already get the Site via the Channel, so there's no need for a dedicated RequestFactory: we can just use the right constructor.
* | Split state groups into a separate data store (#6296)Andrew Morgan2020-03-202-2/+2
|\| | | | | | | | | * commit '75d8f26ac': Split state groups into a separate data store (#6296)
| * Split state groups into a separate data store (#6296)Erik Johnston2019-12-202-2/+2
| |
* | Change EventContext to use the Storage class (#6564)Andrew Morgan2020-03-201-14/+14
|\| | | | | | | | | * commit 'fa780e972': Change EventContext to use the Storage class (#6564)
| * Change EventContext to use the Storage class (#6564)Erik Johnston2019-12-201-14/+14
| |
* | Clean up startup for the pusher (#6558)Andrew Morgan2020-03-202-0/+7
|\| | | | | | | | | * commit 'd6752ce5d': Clean up startup for the pusher (#6558)
| * Clean up startup for the pusher (#6558)Richard van der Hoff2019-12-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove redundant python2 support code `str.decode()` doesn't exist on python3, so presumably this code was doing nothing * Filter out pushers with corrupt data When we get a row with unparsable json, drop the row, rather than returning a row with null `data`, which will then cause an explosion later on. * Improve logging when we can't start a pusher Log the ID to help us understand the problem * Make email pusher setup more robust We know we'll have a `data` member, since that comes from the database. What we *don't* know is if that is a dict, and if that has a `brand` member, and if that member is a string.
* | Add database config class (#6513)Andrew Morgan2020-03-207-95/+100
|\| | | | | | | | | | | * commit '2284eb3a5': Add database config class (#6513) too many parens
| * Add database config class (#6513)Erik Johnston2019-12-187-95/+100
| | | | | | | | | | This encapsulates config for a given database and is the way to get new connections.
| * Merge release-v1.7.1 into developRichard van der Hoff2019-12-181-0/+127
| |\
* | \ Merge pull request #6553 from matrix-org/babolivier/fix-context-filterAndrew Morgan2020-03-191-0/+127
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | * commit '631653036': Incorporate review Update changelog.d/6553.bugfix Lint Add test case Changelog Update the documentation of the filtering function Use the filtered version of an event when responding to /context requests for that event
| * | Merge pull request #6553 from matrix-org/babolivier/fix-context-filterBrendan Abolivier2019-12-161-0/+127
| |\ \ | | | | | | | | Use the filtered version of an event when responding to /context requests for that event
| | * | Incorporate reviewBrendan Abolivier2019-12-161-5/+0
| | | |
| | * | LintBrendan Abolivier2019-12-161-2/+1
| | | |
| | * | Add test caseBrendan Abolivier2019-12-161-0/+133
| | | |
| * | | sanity-checking for events used in state res (#6531)Richard van der Hoff2019-12-161-0/+3
| |/ / | | | | | | | | | | | | When we perform state resolution, check that all of the events involved are in the right room.
* | | Add option to allow profile queries without sharing a room (#6523)Andrew Morgan2020-03-191-1/+2
|\ \ \ | | |/ | |/| | | | | | | * commit 'bfb95654c': Add option to allow profile queries without sharing a room (#6523)
| * | Add option to allow profile queries without sharing a room (#6523)Will Hunt2019-12-161-0/+2
| | |
* | | sanity-checking for events used in state res (#6531)Andrew Morgan2020-03-191-0/+3
|\| | | | | | | | | | | | | | * commit '1da15f05f': sanity-checking for events used in state res (#6531)
| * | sanity-checking for events used in state res (#6531)Richard van der Hoff2019-12-131-0/+3
| | | | | | | | | | | | | | | | | | | | | When we perform state resolution, check that all of the events involved are in the right room.
* | | look up cross-signing keys from the DB in bulk (#6486)Andrew Morgan2020-03-191-8/+0
|\| | | | | | | | | | | | | | * commit 'cb2db1799': look up cross-signing keys from the DB in bulk (#6486)
| * | look up cross-signing keys from the DB in bulk (#6486)Hubert Chathi2019-12-121-8/+0
| | |
* | | Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_appsAndrew Morgan2020-03-192-13/+8
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'b8e4b39b6': Add new config param to docstring and add types Newsfile Fix upgrade db script Remove database config parsing from apps.
| * | Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_appsErik Johnston2019-12-122-13/+8
| |\ \ | | | | | | | | Move database config from apps into HomeServer object
| | * | Remove database config parsing from apps.Erik Johnston2019-12-102-13/+8
| | |/
* | | Merge pull request #6517 from matrix-org/rav/event_auth/13Andrew Morgan2020-03-191-5/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | * commit '894d2adda': changelog convert to async: FederationHandler._process_received_pdu convert to async: FederationHandler._get_state_for_room convert to async: FederationHandler.on_receive_pdu Convert federation backfill to async
| * | Merge pull request #6517 from matrix-org/rav/event_auth/13Richard van der Hoff2019-12-111-5/+9
| |\ \ | | | | | | | | Port some of FederationHandler to async/await
| | * | convert to async: FederationHandler.on_receive_pduRichard van der Hoff2019-12-111-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and associated functions: * on_receive_pdu * handle_queued_pdus * get_missing_events_for_pdu
* | | | Merge pull request #6504 from matrix-org/erikj/account_validity_async_awaitAndrew Morgan2020-03-191-2/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '31905a518': Newsfile Port handlers.account_validity to async/await. Port handlers.account_data to async/await.
| * | | Merge pull request #6504 from matrix-org/erikj/account_validity_async_awaitErik Johnston2019-12-111-2/+1
| |\ \ \ | | |/ / | |/| | Port handlers.account_validity to async/await.
| | * | Port handlers.account_validity to async/await.Erik Johnston2019-12-101-2/+1
| | |/
* | | Fix race which caused deleted devices to reappear (#6514)Andrew Morgan2020-03-191-20/+29
|\| | | | | | | | | | | | | | * commit '40eda8493': Fix race which caused deleted devices to reappear (#6514)
| * | Fix race which caused deleted devices to reappear (#6514)Richard van der Hoff2019-12-101-20/+29
| | | | | | | | | | | | Stop the `update_client_ips` background job from recreating deleted devices.
* | | Merge pull request #6505 from matrix-org/erikj/make_deferred_yiedableAndrew Morgan2020-03-191-0/+24
|\| | | | | | | | | | | | | | | | | | | | * commit '35f3c366e': Update comment Newsfile Fix make_deferred_yieldable to work with coroutines
| * | Merge pull request #6505 from matrix-org/erikj/make_deferred_yiedableErik Johnston2019-12-101-0/+24
| |\ \ | | | | | | | | Fix `make_deferred_yieldable` to work with coroutines
| | * | Fix make_deferred_yieldable to work with coroutinesErik Johnston2019-12-101-0/+24
| | |/
* | | Merge pull request #6506 from matrix-org/erikj/remove_snapshot_cacheAndrew Morgan2020-03-191-63/+0
|\| | | | | | | | | | | | | | | | | * commit 'e3f528c54': Newsfile Remove SnapshotCache in favour of ResponseCache
| * | Merge pull request #6506 from matrix-org/erikj/remove_snapshot_cacheErik Johnston2019-12-101-63/+0
| |\ \ | | |/ | |/| Remove SnapshotCache in favour of ResponseCache
| | * Remove SnapshotCache in favour of ResponseCacheErik Johnston2019-12-091-63/+0
| | |
* | | Back out perf regression from get_cross_signing_keys_from_cache. (#6494)Andrew Morgan2020-03-197-25/+31
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'adfdd82b2': Back out perf regression from get_cross_signing_keys_from_cache. (#6494) Fix comment Fix port db script Newsfile Fixup tests Move start up DB checks to main data store. Pass Database into the data store Move are_all_users_on_domain checks to main data store. Change DataStores to accept 'database' param.
| * | Back out perf regression from get_cross_signing_keys_from_cache. (#6494)Neil Johnson2019-12-091-0/+8
| | | | | | | | | Back out cross-signing code added in Synapse 1.5.0, which caused a performance regression.
| * | Merge pull request #6487 from matrix-org/erikj/pass_in_dbErik Johnston2019-12-096-25/+23
| |\ \ | | |/ | |/| Pass in Database object to data stores.
| | * Fixup testsErik Johnston2019-12-066-23/+20
| | |
| | * Change DataStores to accept 'database' param.Erik Johnston2019-12-061-2/+3
| | |
* | | Merge pull request #6484 from matrix-org/erikj/port_sync_handlerAndrew Morgan2020-03-194-25/+43
|\| | | | | | | | | | | | | | | | | | | | * commit 'a9b393340': Fixup functions to consistently return deferreds Newsfile Port SyncHandler to async/await
| * | Merge pull request #6484 from matrix-org/erikj/port_sync_handlerErik Johnston2019-12-094-25/+43
| |\ \ | | |/ | |/| Port SyncHandler to async/await
| | * Fixup functions to consistently return deferredsErik Johnston2019-12-062-7/+21
| | |
| | * Port SyncHandler to async/awaitErik Johnston2019-12-052-18/+22
| | |
* | | Merge pull request #6469 from matrix-org/erikj/make_database_classAndrew Morgan2020-03-1914-113/+179
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f3ea2f5a0': Remove unused var Fix DB scripts Newsfile Move background update handling out of store Comments Move DB pool and helper functions into dedicated Database class
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-12-063-2/+15
| |\| | | | | | | | | | erikj/make_database_class
| * | Move background update handling out of storeErik Johnston2019-12-057-49/+113
| | |
| * | Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-0514-64/+66
| | |
* | | Merge pull request #6482 from matrix-org/erikj/port_rest_v1Andrew Morgan2020-03-193-2/+15
|\ \ \ | | |/ | |/| | | | | | | | | | | | | * commit 'af5d0ebc7': Newsfile Fixup tests Port rest/v1 to async/await
| * | Fixup testsErik Johnston2019-12-053-2/+15
| |/
* | Merge pull request #6464 from matrix-org/erikj/make_public_sql_baseAndrew Morgan2020-03-1910-47/+47
|\| | | | | | | | | | | | | * commit 'ddbbfc951': Newsfile Remove underscore from SQLBaseStore functions Don't call SQLBaseStore methods from outside stores
| * Remove underscore from SQLBaseStore functionsErik Johnston2019-12-0410-47/+47
| |
* | Merge pull request #6329 from matrix-org/babolivier/context_filtersAndrew Morgan2020-03-194-100/+384
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c530f9af4': Un-remove room purge test Incorporate review Format changelog Update changelog since this isn't going to be featured in 1.6.0 Also filter state events Only filter if a filter was provided Update copyright Lint Update copyrights Changelog Add tests for /search Merge labels tests for /context and /messages Add test case Filter events_before and events_after in /context requests
| * Merge pull request #6329 from matrix-org/babolivier/context_filtersBrendan Abolivier2019-12-044-100/+384
| |\ | | | | | | Filter state, events_before and events_after in /context requests
| | * Un-remove room purge testBrendan Abolivier2019-12-041-0/+72
| | |
| | * Merge branch 'babolivier/context_filters' of github.com:matrix-org/synapse ↵Brendan Abolivier2019-12-041-1/+1
| | |\ | | | | | | | | | | | | into babolivier/context_filters
| | | * Merge branch 'develop' into babolivier/context_filtersBrendan Abolivier2019-11-267-19/+399
| | | |\
| | * | \ Merge branch 'develop' into babolivier/context_filtersBrendan Abolivier2019-12-0420-77/+846
| | |\ \ \ | | | |/ / | | |/| |
| | * | | LintBrendan Abolivier2019-11-051-30/+41
| | | | |
| | * | | Update copyrightsBrendan Abolivier2019-11-054-1/+10
| | | | |
| | * | | Add tests for /searchBrendan Abolivier2019-11-051-44/+143
| | | | |
| | * | | Merge labels tests for /context and /messagesBrendan Abolivier2019-11-051-146/+130
| | | | |
| | * | | Add test caseBrendan Abolivier2019-11-051-0/+182
| | | | |
* | | | | privacy by default for room dir (#6355)Andrew Morgan2020-03-191-0/+52
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit 'cb0aeb147': privacy by default for room dir (#6355)
| * | | | privacy by default for room dir (#6355)Neil Johnson2019-12-041-0/+52
| | | | | | | | | | | | | | | | | | | | Ensure that the the default settings for the room directory are that the it is hidden from public view by default.
* | | | | Add ephemeral messages support (MSC2228) (#6409)Andrew Morgan2020-03-191-0/+101
|\| | | | | | | | | | | | | | | | | | | | | | | | * commit '54dd5dc12': Add ephemeral messages support (MSC2228) (#6409)
| * | | | Add ephemeral messages support (MSC2228) (#6409)Brendan Abolivier2019-12-031-0/+101
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Implement part [MSC2228](https://github.com/matrix-org/matrix-doc/pull/2228). The parts that differ are: * the feature is hidden behind a configuration flag (`enable_ephemeral_messages`) * self-destruction doesn't happen for state events * only implement support for the `m.self_destruct_after` field (not the `m.self_destruct` one) * doesn't send synthetic redactions to clients because for this specific case we consider the clients to be able to destroy an event themselves, instead we just censor it (by pruning its JSON) in the database
* | | | Fix: Pillow error when uploading RGBA image (#3325) (#6241)Andrew Morgan2020-03-191-0/+140
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '81731c6e7': Fix: Pillow error when uploading RGBA image (#3325) (#6241) Add User-Interactive Auth to /account/3pid/add (#6119) Lint Changelog Discard retention policies when retrieving state blacklist more tests Newsfile Add tests Propagate reason in remotely rejected invites MSC2367 Allow reason field on all member events
| * | | Add testsErik Johnston2019-11-281-0/+140
| | | |
* | | | Implementation of MSC2314 (#6176)Andrew Morgan2020-03-189-52/+148
|\| | | | | | | | | | | | | | | | | | | * commit '0f87b912a': Implementation of MSC2314 (#6176)
| * | | Implementation of MSC2314 (#6176)Amber Brown2019-11-289-52/+148
| | | |
* | | | add etag and count to key backup endpoints (#5858)Andrew Morgan2020-03-182-4/+35
|\| | | | | | | | | | | | | | | | | | | * commit '0d27aba90': add etag and count to key backup endpoints (#5858)
| * | | add etag and count to key backup endpoints (#5858)Hubert Chathi2019-11-272-4/+35
| | | |
* | | | Merge pull request #6358 from matrix-org/babolivier/message_retentionAndrew Morgan2020-03-181-2/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd31f69afa': clean up buildkite output Don't restrict the tests to v1 rooms Fix worker mode Fix 3PID invite exchange Lint again Lint again Lint Don't apply retention policy based filtering on state events Implement per-room message retention policies
| * | | Merge pull request #6358 from matrix-org/babolivier/message_retentionBrendan Abolivier2019-11-271-0/+293
| |\ \ \ | | | | | | | | | | Implement message retention policies (MSC1763)
| | * \ \ Merge branch 'develop' into babolivier/message_retentionBrendan Abolivier2019-11-268-19/+351
| | |\ \ \ | | | | |/ | | | |/|
| | * | | Don't restrict the tests to v1 roomsBrendan Abolivier2019-11-261-2/+0
| | | | |
| | * | | Lint againBrendan Abolivier2019-11-191-10/+2
| | | | |
| | * | | LintBrendan Abolivier2019-11-191-50/+23
| | | | |
| | * | | Don't apply retention policy based filtering on state eventsBrendan Abolivier2019-11-061-0/+10
| | | | | | | | | | | | | | | | | | | | As per MSC1763, 'Retention is only considered for non-state events.', so don't filter out state events based on the room's retention policy.
| | * | | Implement per-room message retention policiesBrendan Abolivier2019-11-041-0/+320
| | | | |
* | | | | Remove assertion and provide a clear warning on startup for missing ↵Andrew Morgan2020-03-181-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | public_baseurl (#6379) * commit 'ce578031f': Remove assertion and provide a clear warning on startup for missing public_baseurl (#6379)
| * | | | Remove assertion and provide a clear warning on startup for missing ↵Andrew Morgan2019-11-261-0/+1
| | |/ / | |/| | | | | | | | | | public_baseurl (#6379)
* | | | Improve the performance of structured logging (#6322)Andrew Morgan2020-03-181-0/+2
|\| | | | | | | | | | | | | | | | | | | * commit '9eebd4604': Improve the performance of structured logging (#6322)
| * | | Improve the performance of structured logging (#6322)Amber Brown2019-11-261-0/+2
| | | |
* | | | Merge pull request #6392 from matrix-org/babolivier/fix-1623Andrew Morgan2020-03-181-0/+74
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '78cfc05fc': Lint Changelog Test if a purge can make /messages return 500 responses
| * | | LintBrendan Abolivier2019-11-201-6/+8
| | | |
| * | | Test if a purge can make /messages return 500 responsesBrendan Abolivier2019-11-201-0/+72
| | | |
* | | | Blacklist PurgeRoomTestCase (#6361)Andrew Morgan2020-03-181-0/+2
|\| | | | | | | | | | | | | | | | | | | * commit 'c350bc2f9': Blacklist PurgeRoomTestCase (#6361)
| * | | Blacklist PurgeRoomTestCase (#6361)Andrew Morgan2019-11-131-0/+2
| | | |
* | | | Merge pull request #6295 from matrix-org/erikj/split_purge_historyAndrew Morgan2020-03-182-8/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f713c01e2': Move type annotation into docstring Fix deleting state groups during room purge. Use correct type annotation Change to not require a state_groups.room_id index. Fix up comment Update log line to lie a little less Add state_groups.room_id index Docstrings Fix purge room API Newsfile Split purge API into events vs state
| * | | Merge pull request #6295 from matrix-org/erikj/split_purge_historyErik Johnston2019-11-082-8/+11
| |\ \ \ | | | | | | | | | | Split purge API into events vs state and add PurgeEventsStorage
| | * | | Fix deleting state groups during room purge.Erik Johnston2019-11-061-1/+3
| | | | | | | | | | | | | | | | | | | | And fix the tests to actually test that things got deleted.
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-11-051-0/+51
| | |\ \ \ | | | | |/ | | | |/| | | | | | erikj/split_purge_history
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-11-0412-21/+693
| | |\ \ \ | | | | |/ | | | |/| | | | | | erikj/split_purge_history
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-315-51/+197
| | |\ \ \ | | | | | | | | | | | | | | | | | | erikj/split_purge_history
| | * | | | Split purge API into events vs stateErik Johnston2019-10-301-7/+8
| | | | | |
* | | | | | Fix bug which caused rejected events to be stored with the wrong room state ↵Andrew Morgan2020-03-162-11/+176
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#6320) * commit '807ec3bd9': Fix bug which caused rejected events to be stored with the wrong room state (#6320)
| * | | | | Fix bug which caused rejected events to be stored with the wrong room state ↵Richard van der Hoff2019-11-062-11/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#6320) Fixes a bug where rejected events were persisted with the wrong state group. Also fixes an occasional internal-server-error when receiving events over federation which are rejected and (possibly because they are backwards-extremities) have no prev_group. Fixes #6289.
* | | | | | Merge pull request #6331 from matrix-org/rav/url_preview_limit_titleAndrew Morgan2020-03-161-0/+35
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '02f99906f': Apply suggestions from code review Strip overlong OpenGraph data from url preview
| * | | | | Merge branch 'develop' into rav/url_preview_limit_titleRichard van der Hoff2019-11-0527-99/+1065
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Apply suggestions from code reviewRichard van der Hoff2019-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Brendan Abolivier <babolivier@matrix.org> Co-Authored-By: Erik Johnston <erik@matrix.org>
| * | | | | Strip overlong OpenGraph data from url previewRichard van der Hoff2019-11-051-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | ... to stop people causing DoSes with malicious web pages
* | | | | | Remove the psutil dependency (#6318)Andrew Morgan2020-03-161-0/+51
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | * commit '4e1c7b79f': Remove the psutil dependency (#6318)
| * | | | | Remove the psutil dependency (#6318)Amber Brown2019-11-051-0/+51
| | |_|_|/ | |/| | | | | | | | * remove psutil and replace with resource
* | | | | Merge pull request #6301 from matrix-org/babolivier/msc2326Andrew Morgan2020-03-165-6/+300
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f496d2587': Incorporate review Factor out an _AsyncEventContextImpl (#6298) Update synapse/storage/data_stores/main/schema/delta/56/event_labels.sql Add more data to the event_labels table and fix the indexes Add unstable feature flag Lint Incorporate review Lint Changelog Add integration tests for /messages Add more integration testing Add integration tests for sync Add unit tests Add index on label Implement filtering Store labels for new events Add database table for keeping track of labels on events
| * | | | Merge pull request #6301 from matrix-org/babolivier/msc2326Brendan Abolivier2019-11-014-5/+297
| |\ \ \ \ | | | | | | | | | | | | Implement MSC2326 (label based filtering)
| | * | | | Incorporate reviewBrendan Abolivier2019-11-013-12/+12
| | | | | |
| | * | | | Incorporate reviewBrendan Abolivier2019-11-013-15/+15
| | | | | |
| | * | | | LintBrendan Abolivier2019-10-303-43/+34
| | | | | |
| | * | | | Add integration tests for /messagesBrendan Abolivier2019-10-301-1/+101
| | | | | |
| | * | | | Add more integration testingBrendan Abolivier2019-10-301-6/+39
| | | | | |
| | * | | | Add integration tests for syncBrendan Abolivier2019-10-302-5/+122
| | | | | |
| | * | | | Add unit testsBrendan Abolivier2019-10-301-0/+51
| | | | | |
| * | | | | Factor out an _AsyncEventContextImpl (#6298)Richard van der Hoff2019-11-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The intention here is to make it clearer which fields we can expect to be populated when: notably, that the _event_type etc aren't used for the synchronous impl of EventContext.
| * | | | | Support for routing outbound HTTP requests via a proxy (#6239)Richard van der Hoff2019-11-015-6/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `http_proxy` and `HTTPS_PROXY` env vars can be set to a `host[:port]` value which should point to a proxy. The address of the proxy should be excluded from IP blacklists such as the `url_preview_ip_range_blacklist`. The proxy will then be used for * push * url previews * phone-home stats * recaptcha validation * CAS auth validation It will *not* be used for: * Application Services * Identity servers * Outbound federation * In worker configurations, connections from workers to masters Fixes #4198.
* | | | | | Merge pull request #5727 from matrix-org/uhoreg/e2e_cross-signing2-part3Andrew Morgan2020-03-162-9/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '53d7680e3': Update synapse/storage/data_stores/main/devices.py rename get_devices_by_remote to get_device_updates_by_remote black apply changes as a result of PR review don't error if federation query doesn't have cross-signing keys move get_e2e_cross_signing_key to EndToEndKeyWorkerStore so it works with workers black vendor-prefix the EDU name until MSC1756 is merged into the spec fix unit test add news file update to work with newer code, and fix formatting add missing param make black happy don't crash if the user doesn't have cross-signing keys implement federation parts of cross-signing
| * | | | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-315-51/+197
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | rename get_devices_by_remote to get_device_updates_by_remoteHubert Chathi2019-10-302-8/+8
| | | | | |
| * | | | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-3015-27/+126
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-247-20/+68
| |\ \ \ \ \
| * | | | | | fix unit testHubert Chathi2019-10-221-1/+3
| | | | | | |
* | | | | | | Merge pull request #6294 from matrix-org/erikj/add_state_storageAndrew Morgan2020-03-164-51/+116
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge pull request #6294 from matrix-org/erikj/add_state_storageErik Johnston2019-10-313-50/+114
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Add StateGroupStorage interface
| | * | | | | | Port to use state storageErik Johnston2019-10-303-50/+114
| | | |_|/ / / | | |/| | | |
* | | | | | | Merge pull request #6307 from matrix-org/erikj/fix_purge_roomAndrew Morgan2020-03-162-1/+83
|\| | | | | |
| * | | | | | Add unit test for /purge_room APIErik Johnston2019-10-312-1/+83
| |/ / / / /
* | | | | | Merge pull request #6240 from matrix-org/erikj/split_out_persistence_storeAndrew Morgan2020-03-1610-22/+41
|\| | | | |
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-10-307-8/+142
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | erikj/split_out_persistence_store
| * | | | | | Review commentsErik Johnston2019-10-302-6/+9
| | | | | | |
| * | | | | | Use new EventPersistenceStoreErik Johnston2019-10-238-16/+32
| | | | | | |
* | | | | | | Merge pull request #6291 from matrix-org/erikj/fix_cache_descriptorAndrew Morgan2020-03-162-3/+3
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Make ObservableDeferred.observe() always return deferred.Erik Johnston2019-10-302-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it easier to use in an async/await world. Also fixes a bug where cache descriptors would occaisonally return a raw value rather than a deferred.
* | | | | | | Merge pull request #6279 from matrix-org/erikj/federation_server_async_awaitAndrew Morgan2020-03-161-0/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b4465564c': Don't return coroutines Make concurrently_execute work with async/await Newsfile Port federation_server to async/await
| * | | | | | Port federation_server to async/awaitErik Johnston2019-10-291-0/+3
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #6263 from matrix-org/erikj/caches_return_deferredsAndrew Morgan2020-03-161-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '561133c3c': Update docstring Newsfile Quick fix to ensure cache descriptors always return deferreds
| * | | | | Quick fix to ensure cache descriptors always return deferredsErik Johnston2019-10-281-2/+2
| | | | | |
* | | | | | Merge pull request #6253 from matrix-org/uhoreg/e2e_backup_delete_keysAndrew Morgan2020-03-161-0/+75
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'da78f6177': remove unneeded imports switch to using HomeserverTestCase remove some unnecessary lines add changelog delete keys when deleting backups
| * | | | | Merge pull request #6253 from matrix-org/uhoreg/e2e_backup_delete_keysHubert Chathi2019-10-251-0/+75
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | delete keys when deleting backup versions
| | * | | | remove unneeded importsHubert Chathi2019-10-251-3/+1
| | | | | |
| | * | | | switch to using HomeserverTestCaseHubert Chathi2019-10-251-19/+25
| | | | | |
| | * | | | remove some unnecessary linesHubert Chathi2019-10-241-5/+0
| | | | | |
| | * | | | delete keys when deleting backupsHubert Chathi2019-10-241-0/+76
| | | |_|/ | | |/| |
* | | | | Merge pull request #6255 from matrix-org/erikj/stats_configAndrew Morgan2020-03-161-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '87259b3a3': Fix tests Newsfile Remove repeated calls to config.stats_enabled.
| * | | | Fix testsErik Johnston2019-10-251-0/+2
| |/ / /
* | | | Option to suppress resource exceeded alerting (#6173)Andrew Morgan2020-03-162-3/+57
|\| | | | | | | | | | | | | | | | | | | * commit '2794b7905': Option to suppress resource exceeded alerting (#6173)