Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move `StateFilter` to `synapse.types` (#14668) | David Robertson | 2022-12-12 | 1 | -1/+1 |
| | | | | | * Move `StateFilter` to `synapse.types` * Changelog | ||||
* | Faster joins: do not wait for full state when creating events to send (#14403) | Mathieu Velten | 2022-11-17 | 1 | -0/+1 |
| | | | Signed-off-by: Mathieu Velten <mathieuv@matrix.org> | ||||
* | Don't include redundant prev_state in new events (#13791) | Denis | 2022-09-20 | 1 | -1/+0 |
| | |||||
* | Rename the `EventFormatVersions` enum values so that they line up with room ↵ | reivilibre | 2022-09-07 | 1 | -2/+2 |
| | | | | version numbers. (#13706) | ||||
* | Don't pull out the full state when creating an event (#13281) | Erik Johnston | 2022-07-18 | 1 | -1/+7 |
| | |||||
* | Use state before join to determine if we `_should_perform_remote_join` (#13270) | David Robertson | 2022-07-15 | 1 | -1/+1 |
| | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Fix typechecker problems exposed by signedjson 1.1.2 (#12326) | David Robertson | 2022-03-29 | 1 | -1/+1 |
| | |||||
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 1 | -1/+1 |
| | | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733 | ||||
* | Get db signatures file to pass mypy (#11312) | David Robertson | 2021-11-11 | 1 | -7/+5 |
| | |||||
* | Add type hints to synapse.events.*. (#11066) | Patrick Cloke | 2021-10-13 | 1 | -2/+2 |
| | | | Except `synapse/events/__init__.py`, which will be done in a follow-up. | ||||
* | Use `RoomVersion` objects (#10934) | Richard van der Hoff | 2021-09-29 | 1 | -20/+0 |
| | | | Various refactors to use `RoomVersion` objects instead of room version identifiers. | ||||
* | Use inline type hints in various other places (in `synapse/`) (#10380) | Jonathan de Jong | 2021-07-15 | 1 | -8/+8 |
| | |||||
* | Move methods involving event authentication to EventAuthHandler. (#10268) | Patrick Cloke | 2021-07-01 | 1 | -5/+7 |
| | | | Instead of mixing them with user authentication methods. | ||||
* | Correct type hints for synapse.event_auth. (#10253) | Patrick Cloke | 2021-06-30 | 1 | -33/+36 |
| | |||||
* | Add endpoints for backfilling history (MSC2716) (#9247) | Eric Eastwood | 2021-06-22 | 1 | -2/+15 |
| | | | Work on https://github.com/matrix-org/matrix-doc/pull/2716 | ||||
* | 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 | -1/+3 |
| | | | | | | | - 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 | ||||
* | Fix modifying events in `ThirdPartyRules` modules (#8564) | Richard van der Hoff | 2020-10-16 | 1 | -1/+1 |
| | | | EventBuilder.build wants auth events these days | ||||
* | Simplify `_locally_reject_invite` | Richard van der Hoff | 2020-10-13 | 1 | -8/+13 |
| | | | | | Update `EventCreationHandler.create_event` to accept an auth_events param, and use it in `_locally_reject_invite` instead of reinventing the wheel. | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -2/+2 |
| | |||||
* | Convert additional databases to async/await part 2 (#8200) | Patrick Cloke | 2020-09-01 | 1 | -7/+12 |
| | |||||
* | Add type hints to handlers.message and events.builder (#8067) | Erik Johnston | 2020-08-12 | 1 | -27/+31 |
| | |||||
* | Convert synapse.api to async/await (#8031) | Patrick Cloke | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | Convert a synapse.events to async/await. (#7949) | Patrick Cloke | 2020-07-27 | 1 | -11/+8 |
| | |||||
* | Convert state resolution to async/await (#7942) | Patrick Cloke | 2020-07-24 | 1 | -2/+2 |
| | |||||
* | Add `HomeServer.signing_key` property (#7805) | Richard van der Hoff | 2020-07-08 | 1 | -1/+1 |
| | | | ... instead of duplicating `config.signing_key[0]` everywhere | ||||
* | Add a `make_event_from_dict` method (#6858) | Richard van der Hoff | 2020-02-07 | 1 | -7/+3 |
| | | | | | | | ... 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. | ||||
* | Pass room_version into add_hashes_and_signatures | Richard van der Hoff | 2020-01-30 | 1 | -1/+1 |
| | |||||
* | Pass room_version into create_local_event_from_event_dict | Richard van der Hoff | 2020-01-30 | 1 | -22/+18 |
| | |||||
* | Store the room version in EventBuilder | Richard van der Hoff | 2020-01-30 | 1 | -5/+7 |
| | |||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -9/+7 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -20/+17 |
| | |||||
* | Fix appservice timestamp massaging (#5233) | Tulir Asokan | 2019-05-24 | 1 | -1/+6 |
| | | | Signed-off-by: Tulir Asokan <tulir@maunium.net> | ||||
* | Fix error handling for rooms whose versions are unknown. (#5219) | Richard van der Hoff | 2019-05-21 | 1 | -3/+3 |
| | | | | | | | If we remove support for a particular room version, we should behave more gracefully. This should make client requests fail with a 400 rather than a 500, and will ignore individiual PDUs in a federation transaction, rather than the whole transaction. | ||||
* | Collect room-version variations into one place (#4969) | Richard van der Hoff | 2019-04-01 | 1 | -14/+22 |
| | | | | Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions. | ||||
* | Implement event format v2 | Erik Johnston | 2019-01-29 | 1 | -3/+9 |
| | |||||
* | Don't set event_id twice | Erik Johnston | 2019-01-29 | 1 | -2/+0 |
| | |||||
* | Refactor event building into EventBuilder | Erik Johnston | 2019-01-29 | 1 | -65/+219 |
| | | | | | This is so that everything is done in one place, making it easier to change the event format based on room version | ||||
* | Require event format version to parse or create events | Erik Johnston | 2019-01-25 | 1 | -1/+50 |
| | |||||
* | Revert "Require event format version to parse or create events" | Erik Johnston | 2019-01-25 | 1 | -50/+1 |
| | |||||
* | Require event format version to parse or create events | Erik Johnston | 2019-01-23 | 1 | -1/+50 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -3/+2 |
| | |||||
* | Remove pointless create() method | Richard van der Hoff | 2017-10-20 | 1 | -1/+1 |
| | | | | | It just calls the constructor, so we may as well kill it rather than having random codepaths. | ||||
* | Optimise state resolution | Erik Johnston | 2017-01-17 | 1 | -1/+5 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Fix bug where we changes in outlier in metadata dict propogated to other events | Erik Johnston | 2015-01-30 | 1 | -2/+3 |
| | |||||
* | Remove unused functions | Mark Haines | 2015-01-13 | 1 | -6/+0 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix redactions. Fix 'age' key | Erik Johnston | 2014-12-11 | 1 | -3/+10 |
| | |||||
* | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 1 | -3/+4 |
| | |||||
* | Add PEP8 newlines | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | |||||
* | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 1 | -1/+4 |
| | |||||
* | WIP for new way of managing events. | Erik Johnston | 2014-12-03 | 1 | -14/+6 |
| | |||||
* | Begin fleshing out a new Event object | Erik Johnston | 2014-12-02 | 1 | -0/+74 |