Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve validation for `send_{join,leave,knock}` (#10225) | Richard van der Hoff | 2021-06-24 | 1 | -1/+1 |
| | | | The idea here is to stop people sending things that aren't joins/leaves/knocks through these endpoints: previously you could send anything you liked through them. I wasn't able to find any security holes from doing so, but it doesn't sound like a good thing. | ||||
* | Fix (final) Bugbear violations (#9838) | Jonathan de Jong | 2021-04-20 | 1 | -1/+1 |
| | |||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -2/+10 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Honour ratelimit flag for application services for invite ratelimiting (#9302) | Erik Johnston | 2021-02-03 | 1 | -47/+0 |
| | |||||
* | Ratelimit invites by room and target user (#9258) | Erik Johnston | 2021-01-29 | 1 | -1/+92 |
| | |||||
* | Various clean-ups to the logging context code (#8935) | Patrick Cloke | 2020-12-14 | 1 | -3/+3 |
| | |||||
* | Apply an IP range blacklist to push and key revocation requests. (#8821) | Patrick Cloke | 2020-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Replaces the `federation_ip_range_blacklist` configuration setting with an `ip_range_blacklist` setting with wider scope. It now applies to: * Federation * Identity servers * Push notifications * Checking key validitity for third-party invite events The old `federation_ip_range_blacklist` setting is still honored if present, but with reduced scope (it only applies to federation and identity servers). | ||||
* | Consistently use room_id from federation request body (#8776) | Richard van der Hoff | 2020-11-19 | 1 | -1/+0 |
| | | | | | | | | | | | | | * Consistently use room_id from federation request body Some federation APIs have a redundant `room_id` path param (see https://github.com/matrix-org/matrix-doc/issues/2330). We should make sure we consistently use either the path param or the body param, and the body param is easier. * Kill off some references to "context" Once upon a time, "rooms" were known as "contexts". I think this kills of the last references to "contexts". | ||||
* | Remove the deprecated Handlers object (#8494) | Patrick Cloke | 2020-10-09 | 1 | -1/+1 |
| | | | All handlers now available via get_*_handler() methods on the HomeServer. | ||||
* | Implement room version 6 (MSC2240). (#7506) | Patrick Cloke | 2020-05-15 | 1 | -3/+3 |
| | |||||
* | Strictly enforce canonicaljson requirements in a new room version (#7381) | Patrick Cloke | 2020-05-14 | 1 | -1/+66 |
| | |||||
* | Pass room_version into `event_from_pdu_json` | Richard van der Hoff | 2020-02-06 | 1 | -2/+4 |
| | | | | It's called from all over the shop, so this one's a bit messy. | ||||
* | Fix bug which caused rejected events to be stored with the wrong room state ↵ | Richard van der Hoff | 2019-11-06 | 1 | -0/+126 |
| | | | | | | | | | | | | (#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. | ||||
* | Lint (again) | Brendan Abolivier | 2019-10-03 | 1 | -3/+1 |
| | |||||
* | Lint | Brendan Abolivier | 2019-10-03 | 1 | -5/+5 |
| | |||||
* | Add test case | Brendan Abolivier | 2019-10-03 | 1 | -0/+83 |
| | |||||
* | Make unit tests work | Erik Johnston | 2016-01-18 | 1 | -141/+0 |
| | |||||
* | Merge pull request #456 from matrix-org/store_event_actions | David Baker | 2016-01-08 | 1 | -0/+11 |
|\ | | | | | Send unread notification counts | ||||
| * | fix tests | David Baker | 2016-01-06 | 1 | -0/+4 |
| | | |||||
| * | fix tests | David Baker | 2016-01-04 | 1 | -1/+1 |
| | | |||||
| * | Add mocks to make tests work again | David Baker | 2015-12-22 | 1 | -0/+7 |
| | | |||||
* | | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
|/ | |||||
* | Don't needlessly compute context | Erik Johnston | 2015-06-03 | 1 | -2/+2 |
| | |||||
* | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 1 | -2/+2 |
| | |||||
* | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -0/+9 |
| | |||||
* | 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. | ||||
* | Try to ensure we don't persist an event we have already persisted. In ↵ | Erik Johnston | 2015-02-03 | 1 | -1/+4 |
| | | | | persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering. | ||||
* | Initial implementation of auth conflict resolution | Erik Johnston | 2015-01-29 | 1 | -0/+2 |
| | |||||
* | Construct the EventContext in the state handler rather than constructing one ↵ | Mark Haines | 2014-12-16 | 1 | -10/+8 |
| | | | | and then immediately calling state_handler.annotate_context_with_state | ||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -5/+2 |
| | |||||
* | Fix federation test | Erik Johnston | 2014-12-11 | 1 | -18/+24 |
| | |||||
* | fix UTs by telling all the mock stores about the new methods for tracking ↵ | Matthew Hodgson | 2014-12-09 | 1 | -0/+2 |
| | | | | retries | ||||
* | Fix bugs when joining a remote room that has dodgy event graphs. This should ↵ | Erik Johnston | 2014-11-27 | 1 | -1/+5 |
| | | | | also fix the number of times a HS will trigger a GET /event/ | ||||
* | Fix tests. | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Fix bugs in invite/join dances. | Erik Johnston | 2014-11-25 | 1 | -5/+7 |
| | | | | | We now do more implement more of the auth on the events so that we don't reject valid events. | ||||
* | replace user_id with sender | Mark Haines | 2014-11-19 | 1 | -1/+2 |
| | |||||
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -2/+3 |
| | |||||
* | Validate signatures on incoming events | Mark Haines | 2014-11-14 | 1 | -1/+3 |
| | |||||
* | Rename annotate_state_groups to annotate_event_with_state | Erik Johnston | 2014-11-11 | 1 | -3/+3 |
| | |||||
* | Fix Federation test | Erik Johnston | 2014-11-05 | 1 | -1/+1 |
| | |||||
* | Fix federation handler tests. I've removed the invite/join dance ones as ↵ | Erik Johnston | 2014-11-04 | 1 | -57/+27 |
| | | | | they are completely out of date. | ||||
* | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 1 | -3/+3 |
| | |||||
* | Merge branch 'develop' into server2server_signing | Mark Haines | 2014-09-30 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: synapse/storage/__init__.py tests/rest/test_presence.py | ||||
| * | Fix test where we changed arguments used to call the notifier | Erik Johnston | 2014-09-25 | 1 | -1/+1 |
| | | |||||
* | | Sign federation transactions | Mark Haines | 2014-09-24 | 1 | -1/+6 |
|/ | |||||
* | Correctly handle receiving 'missing' Pdus from federation, rather than just ↵ | Erik Johnston | 2014-09-15 | 1 | -1/+3 |
| | | | | discarding them. | ||||
* | Have all unit tests import from our own subclass of trial's unittest ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -5/+1 |
| | | | | TestCase; set up logging in ONE PLACE ONLY | ||||
* | Fix test to assert that we don't do auth | Erik Johnston | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Remove get_state_for_room function from federation handler | Mark Haines | 2014-08-28 | 1 | -2/+8 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -2/+1 |
|\ | | | | | | | | | | | Conflicts: tests/handlers/test_federation.py tests/handlers/test_room.py | ||||
| * | Fix tests. | Erik Johnston | 2014-08-27 | 1 | -2/+1 |
| | | |||||
* | | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 1 | -17/+26 |
|/ | |||||
* | Fix ALL THE UNIT TESTS | Kegan Dougal | 2014-08-26 | 1 | -1/+0 |
| | |||||
* | Fix federation test, since we now hit store.get_room | Erik Johnston | 2014-08-20 | 1 | -1/+2 |
| | |||||
* | Update tests | Erik Johnston | 2014-08-19 | 1 | -4/+4 |
| | |||||
* | 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. | ||||
* | add in copyrights to everything, not just the synapse subdir, and add a ↵ | Matthew Hodgson | 2014-08-13 | 1 | -0/+14 |
| | | | | copyrighter.pl whilst we're at it | ||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+107 |