Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Catch-up after Federation Outage (split, 4): catch-up loop (#8272) | reivilibre | 2020-09-15 | 1 | -0/+165 |
| | |||||
* | Merge tag 'v1.20.0rc3' into develop | Patrick Cloke | 2020-09-11 | 1 | -0/+33 |
|\ | | | | | | | | | | | | | | | | | | | Synapse 1.20.0rc3 (2020-09-11) ============================== Bugfixes -------- - Fix a bug introduced in v1.20.0rc1 where the wrong exception was raised when invalid JSON data is encountered. ([\#8291](https://github.com/matrix-org/synapse/issues/8291)) | ||||
| * | Fix the exception that is raised when invalid JSON is encountered. (#8291) | Patrick Cloke | 2020-09-10 | 1 | -0/+33 |
| | | |||||
* | | Allow for make_awaitable's return value to be re-used. (#8261) | Patrick Cloke | 2020-09-08 | 2 | -21/+11 |
| | | |||||
* | | Add tests for `last_successful_stream_ordering` (#8258) | reivilibre | 2020-09-07 | 1 | -0/+76 |
| | | |||||
* | | Catch-up after Federation Outage (split, 1) (#8230) | reivilibre | 2020-09-04 | 1 | -0/+82 |
|/ | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Do not yield on awaitables in tests. (#8193) | Patrick Cloke | 2020-08-27 | 1 | -4/+2 |
| | |||||
* | Fix unawaited coroutine error in tests. (#8072) | Patrick Cloke | 2020-08-13 | 1 | -10/+20 |
| | |||||
* | Convert federation client to async/await. (#7975) | Patrick Cloke | 2020-07-30 | 2 | -15/+16 |
| | |||||
* | Option to allow server admins to join complex rooms (#7902) | lugino-emeritus | 2020-07-28 | 1 | -0/+109 |
| | | | | | Fixes #7901. Signed-off-by: Niklas Tittjung <nik_t.01@web.de> | ||||
* | Convert state resolution to async/await (#7942) | Patrick Cloke | 2020-07-24 | 1 | -12/+7 |
| | |||||
* | Add option to enable encryption by default for new rooms (#7639) | Andrew Morgan | 2020-06-10 | 1 | -1/+5 |
| | | | | | | | | | Fixes https://github.com/matrix-org/synapse/issues/2431 Adds config option `encryption_enabled_by_default_for_room_type`, which determines whether encryption should be enabled with the default encryption algorithm in private or public rooms upon creation. Whether the room is private or public is decided based upon the room creation preset that is used. Part of this PR is also pulling out all of the individual instances of `m.megolm.v1.aes-sha2` into a constant variable to eliminate typos ala https://github.com/matrix-org/synapse/pull/7637 Based on #7637 | ||||
* | Fix encryption algorithm typos in tests/comments (#7637) | Andrew Morgan | 2020-06-04 | 1 | -1/+1 |
| | | | | | | | | @uhoreg has confirmed these were both typos. They are only in comments and tests though, rather than anything critical. Introduced in: * https://github.com/matrix-org/synapse/pull/7157 * https://github.com/matrix-org/synapse/pull/5726 | ||||
* | Add ability to wait for replication streams (#7542) | Erik Johnston | 2020-05-22 | 1 | -2/+6 |
| | | | | | | | The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room). Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on. People probably want to look at this commit by commit. | ||||
* | Fix device list update stream ids going backward (#7158) | Richard van der Hoff | 2020-04-03 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | Occasionally we could get a federation device list update transaction which looked like: ``` [ {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D2', 'prev_id': [], 'stream_id': 12, 'deleted': True}}, {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D1', 'prev_id': [12], 'stream_id': 11, 'deleted': True}}, {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D3', 'prev_id': [11], 'stream_id': 13, 'deleted': True}} ] ``` Having `stream_ids` which are lower than `prev_ids` looks odd. It might work (I'm not actually sure), but in any case it doesn't seem like a reasonable thing to expect other implementations to support. | ||||
* | Rewrite prune_old_outbound_device_pokes for efficiency (#7159) | Richard van der Hoff | 2020-03-30 | 1 | -0/+92 |
| | | | | make sure we clear out all but one update for the user | ||||
* | Add tests for outbound device pokes | Richard van der Hoff | 2020-03-27 | 1 | -3/+300 |
| | |||||
* | Remove spurious "name" parameter to `default_config` | Richard van der Hoff | 2020-03-24 | 1 | -2/+2 |
| | | | | | this is never set to anything other than "test", and is a source of unnecessary boilerplate. | ||||
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 1 | -1/+1 |
| | | | | Ensure good comprehension hygiene using flake8-comprehensions. | ||||
* | Add a `make_event_from_dict` method (#6858) | Richard van der Hoff | 2020-02-07 | 1 | -2/+2 |
| | | | | | | | ... 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. | ||||
* | privacy by default for room dir (#6355) | Neil Johnson | 2019-12-04 | 1 | -0/+52 |
| | | | | Ensure that the the default settings for the room directory are that the it is hidden from public view by default. | ||||
* | Implementation of MSC2314 (#6176) | Amber Brown | 2019-11-28 | 3 | -26/+69 |
| | |||||
* | Remove test debugs | Erik Johnston | 2019-08-20 | 1 | -1/+0 |
| | |||||
* | Room Complexity Client Implementation (#5783) | Amber Brown | 2019-07-30 | 1 | -3/+74 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 2 | -25/+25 |
| | |||||
* | Implement the SHHS complexity API (#5216) | Amber Brown | 2019-05-30 | 1 | -0/+90 |
| | |||||
* | Run Black on the tests again (#5170) | Amber Brown | 2019-05-10 | 1 | -47/+66 |
| | |||||
* | Batch up outgoing read-receipts to reduce federation traffic. (#4890) | Richard van der Hoff | 2019-03-20 | 1 | -0/+128 |
| | | | | Rate-limit outgoing read-receipts as per #4730. | ||||
* | Run black. | black | 2018-08-10 | 1 | -15/+11 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -0/+1 |
| | |||||
* | Implementation of server_acls | Richard van der Hoff | 2018-07-04 | 2 | -0/+57 |
| | | | | | ... as described at https://docs.google.com/document/d/1EttUVzjc2DWe2ciw4XPtNpUpIl9lWXGEsy2ewDS7rtw. | ||||
* | Remove redundated BaseHomeServer | Erik Johnston | 2016-01-26 | 2 | -303/+0 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Update tests | Erik Johnston | 2015-11-17 | 1 | -0/+2 |
| | |||||
* | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -3/+7 |
| | |||||
* | Factor out some of the common homeserver setup code into a | Mark Haines | 2015-02-11 | 1 | -8/+3 |
| | | | | setup_test_homeserver function in utils. | ||||
* | Supply auth_chain along with current state in '/state/', fetch auth events ↵ | Mark Haines | 2014-12-18 | 1 | -0/+2 |
| | | | | from a remote server if we are missing some of them | ||||
* | Fix replication tests | Erik Johnston | 2014-12-11 | 1 | -12/+6 |
| | |||||
* | fix UTs by telling all the mock stores about the new methods for tracking ↵ | Matthew Hodgson | 2014-12-09 | 1 | -0/+5 |
| | | | | retries | ||||
* | replace user_id with sender | Mark Haines | 2014-11-19 | 1 | -0/+3 |
| | |||||
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -4/+4 |
| | |||||
* | SYN-103: Remove "origin" and "destination" keys from edus | Mark Haines | 2014-11-13 | 1 | -3/+0 |
| | |||||
* | event <-> pdu mappings are now trivial and will soon be scrapped | Erik Johnston | 2014-11-04 | 1 | -167/+0 |
| | |||||
* | Fix up federation tests | Erik Johnston | 2014-11-04 | 1 | -114/+124 |
| | |||||
* | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 2 | -7/+7 |
|\ | | | | | | | | | Conflicts: synapse/federation/replication.py | ||||
| * | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 1 | -2/+2 |
| | | | | | | | | schema | ||||
| * | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 2 | -9/+9 |
| | | |||||
* | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 2 | -3/+3 |
| | | |||||
* | | Sign outgoing PDUs. | Mark Haines | 2014-10-16 | 1 | -3/+10 |
| | | |||||
* | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 1 | -1/+3 |
|/ | |||||
* | SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin ↵ | Mark Haines | 2014-10-14 | 1 | -0/+1 |
| | | | | from the transaction itself | ||||
* | Verify signatures for server2server requests | Mark Haines | 2014-10-13 | 1 | -0/+1 |
| | |||||
* | SYN-75 sign at the request level rather than the transaction level | Mark Haines | 2014-10-13 | 1 | -2/+2 |
| | |||||
* | Merge branch develop into server2server_signing | Mark Haines | 2014-10-13 | 1 | -2/+3 |
|\ | | | | | | | | | Conflicts: synapse/app/homeserver.py | ||||
| * | Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ↵ | Mark Haines | 2014-10-02 | 1 | -2/+3 |
| | | | | | | | | than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter | ||||
* | | SYN-75 Verify signatures on server to server transactions | Mark Haines | 2014-09-30 | 1 | -0/+1 |
| | | |||||
* | | Sign federation transactions | Mark Haines | 2014-09-24 | 1 | -1/+4 |
|/ | |||||
* | Fix unit tests after adding extra argument on put_json | Erik Johnston | 2014-09-15 | 1 | -3/+6 |
| | |||||
* | Have all unit tests import from our own subclass of trial's unittest ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 2 | -6/+2 |
| | | | | TestCase; set up logging in ONE PLACE ONLY | ||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 2 | -2/+2 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | change the world: make the default matrix API URL prefix /_matrix rather ↵ | Matthew Hodgson | 2014-08-31 | 1 | -9/+9 |
| | | | | | | than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js | ||||
* | Move pdu and event persistence into a single persist_event function | Mark Haines | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Rename MockHttpServer to MockHttpResource as it stands for one server ↵ | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -9/+9 |
| | | | | resource rather than an entire server | ||||
* | Removed http_server from HomeServer. Updated unit tests to use either ↵ | Kegan Dougal | 2014-08-14 | 1 | -1/+1 |
| | | | | resource_for_federation or resource_for_client depending on what is being tested. | ||||
* | Move MockClock into tests.utils so we can reüse it | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -11/+1 |
| | |||||
* | Define the concept of a 'federation Query'; creating API for making and ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+38 |
| | | | | handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer | ||||
* | Namespace all the Federation HTTP URLs to /matrix/federation/v1/... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -7/+8 |
| | |||||
* | add in copyrights to everything, not just the synapse subdir, and add a ↵ | Matthew Hodgson | 2014-08-13 | 2 | -0/+28 |
| | | | | copyrighter.pl whilst we're at it | ||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 3 | -0/+386 |