Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improved validation for received requests (#9817) | Richard van der Hoff | 2021-04-23 | 1 | -0/+3 |
| | | | | | | * Simplify `start_listening` callpath * Correctly check the size of uploaded files | ||||
* | 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>` | ||||
* | Require AppserviceRegistrationType (#9548) | Will Hunt | 2021-04-12 | 1 | -0/+5 |
| | | | This change ensures that the appservice registration behaviour follows the spec. We decided to do this for Dendrite, so it made sense to also make a PR for synapse to correct the behaviour. | ||||
* | Add an experimental room version to support restricted join rules. (#9717) | Patrick Cloke | 2021-03-31 | 1 | -0/+2 |
| | | | Per MSC3083. | ||||
* | Merge branch 'develop' into babolivier/msc3026 | Brendan Abolivier | 2021-03-19 | 1 | -0/+6 |
|\ | |||||
| * | Initial spaces summary API (#9643) | Richard van der Hoff | 2021-03-18 | 1 | -0/+6 |
| | | | | | | This is very bare-bones for now: federation will come soon, while pagination is descoped for now but will come later. | ||||
* | | Implement MSC3026: busy presence state | Brendan Abolivier | 2021-03-18 | 1 | -0/+1 |
|/ | |||||
* | Ratelimit cross-user key sharing requests. (#8957) | Patrick Cloke | 2021-02-19 | 1 | -2/+5 |
| | |||||
* | Add type hints to groups code. (#9393) | Patrick Cloke | 2021-02-17 | 1 | -0/+5 |
| | |||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -2/+1 |
| | | | | | | | - 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 | ||||
* | Try and drop stale extremities. (#8929) | Erik Johnston | 2020-12-18 | 1 | -0/+2 |
| | | | | If we see stale extremities while persisting events, and notice that they don't change the result of state resolution, we drop them. | ||||
* | Do not assume that the contents dictionary includes history_visibility. (#8945) | Patrick Cloke | 2020-12-16 | 1 | -0/+7 |
| | |||||
* | Do not assume that account data is of the correct form. (#8454) | Patrick Cloke | 2020-10-05 | 1 | -0/+5 |
| | | | | This fixes a bug where `m.ignored_user_list` was assumed to be a dict, leading to odd behavior for users who set it to something else. | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -13/+13 |
| | |||||
* | Add option to enable encryption by default for new rooms (#7639) | Andrew Morgan | 2020-06-10 | 1 | -0/+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 | ||||
* | Update to the stable SSO prefix for UI Auth. (#7630) | Patrick Cloke | 2020-06-05 | 1 | -1/+1 |
| | |||||
* | Remove some unused constants. (#7644) | Richard van der Hoff | 2020-06-05 | 1 | -4/+0 |
| | |||||
* | Stop the master relaying USER_SYNC for other workers (#7318) | Richard van der Hoff | 2020-04-22 | 1 | -0/+2 |
| | | | | | | | Long story short: if we're handling presence on the current worker, we shouldn't be sending USER_SYNC commands over replication. In an attempt to figure out what is going on here, I ended up refactoring some bits of the presencehandler code, so the first 4 commits here are non-functional refactors to move this code slightly closer to sanity. (There's still plenty to do here :/). Suggest reviewing individual commits. Fixes (I hope) #7257. | ||||
* | Support SAML in the user interactive authentication workflow. (#7102) | Patrick Cloke | 2020-04-01 | 1 | -0/+1 |
| | |||||
* | Fix detecting unknown devices from remote encrypted events. (#6848) | Erik Johnston | 2020-02-04 | 1 | -2/+1 |
| | | | | | | | | We were looking at the wrong event type (`m.room.encryption` vs `m.room.encrypted`). Also fixup the duplicate `EvenTypes` entries. Introduced in #6776. | ||||
* | Merge pull request #6329 from matrix-org/babolivier/context_filters | Brendan Abolivier | 2019-12-04 | 1 | -1/+2 |
|\ | | | | | Filter state, events_before and events_after in /context requests | ||||
| * | Merge branch 'develop' into babolivier/context_filters | Brendan Abolivier | 2019-12-04 | 1 | -0/+2 |
| |\ | |||||
| * | | Update copyrights | Brendan Abolivier | 2019-11-05 | 1 | -1/+2 |
| | | | |||||
* | | | Add ephemeral messages support (MSC2228) (#6409) | Brendan Abolivier | 2019-12-03 | 1 | -0/+4 |
| |/ |/| | | | | | | | | | | | | | 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 | ||||
* | | Implement per-room message retention policies | Brendan Abolivier | 2019-11-04 | 1 | -0/+2 |
|/ | |||||
* | Incorporate review | Brendan Abolivier | 2019-11-01 | 1 | -1/+1 |
| | |||||
* | Lint | Brendan Abolivier | 2019-11-01 | 1 | -0/+1 |
| | |||||
* | Incorporate review | Brendan Abolivier | 2019-11-01 | 1 | -1/+4 |
| | |||||
* | Store labels for new events | Brendan Abolivier | 2019-10-30 | 1 | -0/+3 |
| | |||||
* | Option to suppress resource exceeded alerting (#6173) | Neil Johnson | 2019-10-24 | 1 | -0/+7 |
| | | | | The expected use case is to suppress MAU limiting on small instances | ||||
* | rip out some unreachable code | Richard van der Hoff | 2019-10-17 | 1 | -2/+0 |
| | | | | The only possible rejection reason is AUTH_ERROR, so all of this is unreachable. | ||||
* | Add bot type | Half-Shot | 2019-08-23 | 1 | -1/+2 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -21/+25 |
| | |||||
* | Room Statistics (#4338) | Amber Brown | 2019-05-21 | 1 | -0/+1 |
| | |||||
* | Rename relation types to match MSC | Erik Johnston | 2019-05-20 | 1 | -2/+2 |
| | |||||
* | Merge pull request #5209 from matrix-org/erikj/reactions_base | Erik Johnston | 2019-05-20 | 1 | -0/+8 |
|\ | | | | | Land basic reaction and edit support. | ||||
| * | Add simple send_relation API and track in DB | Erik Johnston | 2019-05-15 | 1 | -0/+8 |
| | | |||||
* | | Limit UserIds to a length that fits in a state key (#5198) | ReidAnderson | 2019-05-20 | 1 | -0/+3 |
|/ | |||||
* | Do checks on aliases for incoming m.room.aliases events (#5128) | Brendan Abolivier | 2019-05-08 | 1 | -0/+3 |
| | | | | | Follow-up to #5124 Also added a bunch of checks to make sure everything (both the stuff added on #5124 and this PR) works as intended. | ||||
* | Remove periods from copyright headers (#5046) | Andrew Morgan | 2019-04-11 | 1 | -1/+1 |
| | |||||
* | Transfer related groups on room upgrade (#4990) | Andrew Morgan | 2019-04-02 | 1 | -0/+1 |
| | | | Transfers the m.room.related_groups state event on room upgrade. | ||||
* | Collect room-version variations into one place (#4969) | Richard van der Hoff | 2019-04-01 | 1 | -40/+0 |
| | | | | 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. | ||||
* | Merge remote-tracking branch 'origin/release-v0.99.0' into develop | Richard van der Hoff | 2019-01-30 | 1 | -1/+1 |
|\ | |||||
| * | Update constants.py | Neil Johnson | 2019-01-30 | 1 | -1/+1 |
| | | | | | | remove trailing , | ||||
* | | by default include m.room.encryption on invites (#3902) | Matthew Hodgson | 2019-01-30 | 1 | -0/+1 |
|/ | | | | | | | | * by default include m.room.encryption on invites * fix constant * changelog | ||||
* | Merge branch 'develop' into neilj/room_capabilities | Neil Johnson | 2019-01-30 | 1 | -2/+16 |
|\ | |||||
| * | Enable room version v3 | Erik Johnston | 2019-01-29 | 1 | -1/+2 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2019-01-29 | 1 | -0/+2 |
| |\ | | | | | | | | | | erikj/redactions_eiah | ||||
| | * | Implement event format v2 | Erik Johnston | 2019-01-29 | 1 | -0/+2 |
| | | | |||||
| * | | Drop vdh support | Erik Johnston | 2019-01-29 | 1 | -2/+0 |
| | | | |||||
| * | | Finish comment... | Erik Johnston | 2019-01-29 | 1 | -1/+1 |
| | | | |||||
| * | | Add RoomVersions.V3 constant, without enabling it | Erik Johnston | 2019-01-29 | 1 | -0/+1 |
| |/ | | | | | | | | | | | We add the constant, but don't add it to the known room versions. This lets us start adding V3 logic, but the servers will never join or create V3 rooms | ||||
| * | Add support for persisting event format versions | Erik Johnston | 2019-01-23 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we only have the one event format version defined, but this adds the necessary infrastructure to persist and fetch the format versions alongside the events. We specify the format version rather than the room version as: 1. We don't necessarily know the room version, existing events may be either v1 or v2. 2. We'd need to be careful to prevent/handle correctly if different events in the same room reported to be of different versions, which sounds annoying. | ||||
* | | define room dispositions for use in exposing room capabilities | Neil Johnson | 2019-01-30 | 1 | -0/+5 |
| | | |||||
* | | reflect that rooms v3 is a stable room version | Neil Johnson | 2019-01-30 | 1 | -0/+1 |
| | | |||||
* | | backout v3 | Neil Johnson | 2019-01-25 | 1 | -1/+0 |
| | | |||||
* | | track unstable room v3 | Neil Johnson | 2019-01-25 | 1 | -0/+2 |
|/ | |||||
* | Migrate encryption state on room upgrade (#4411) | Andrew Morgan | 2019-01-21 | 1 | -0/+1 |
| | | | | | | | | * Migrate encryption state on room upgrade Signed-off-by: Andrew Morgan <andrew@amorgan.xyz> * Add changelog file | ||||
* | ALL_USER_TYPES should be a tuple | Neil Johnson | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4307 from matrix-org/erikj/v2_rooms | Richard van der Hoff | 2018-12-24 | 1 | -0/+2 |
|\ | | | | | Add v2 room version | ||||
| * | Add v2 room version | Erik Johnston | 2018-12-18 | 1 | -0/+2 |
| | | |||||
* | | create support user (#4141) | Neil Johnson | 2018-12-14 | 1 | -0/+8 |
|/ | | | | | | Allow for the creation of a support user. A support user can access the server, join rooms, interact with other users, but does not appear in the user directory nor does it contribute to monthly active user limits. | ||||
* | Merge pull request #4004 from matrix-org/travis/login-terms | Travis Ralston | 2018-11-01 | 1 | -0/+1 |
|\ | | | | | Add m.login.terms to the registration flow | ||||
| * | Merge branch 'develop' into travis/login-terms | Travis Ralston | 2018-10-31 | 1 | -0/+1 |
| |\ | |||||
| * | | Incorporate Dave's work for GDPR login flows | Travis Ralston | 2018-10-03 | 1 | -0/+1 |
| | | | | | | | | | As per https://github.com/vector-im/riot-web/issues/7168#issuecomment-419996117 | ||||
* | | | Add STATE_V2_TEST room version | Erik Johnston | 2018-11-01 | 1 | -1/+6 |
| |/ |/| | |||||
* | | Basic initial support for room upgrades | Richard van der Hoff | 2018-10-25 | 1 | -0/+1 |
|/ | | | | | Currently just creates a new, empty, room, and sends a tombstone in the old room. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2018-08-22 | 1 | -3/+7 |
|\ | | | | | | | neilj/server_notices_on_blocking | ||||
| * | Add constants for room versions | Erik Johnston | 2018-08-09 | 1 | -2/+7 |
| | | |||||
* | | Update notice format | Erik Johnston | 2018-08-22 | 1 | -2/+4 |
| | | |||||
* | | add new event types | Neil Johnson | 2018-08-15 | 1 | -0/+1 |
| | | |||||
* | | support server notice state events for resource limits | Neil Johnson | 2018-08-14 | 1 | -0/+2 |
|/ | |||||
* | Don't expose default_room_version as config opt | Richard van der Hoff | 2018-08-07 | 1 | -0/+3 |
| | |||||
* | Basic support for room versioning | Richard van der Hoff | 2018-08-03 | 1 | -0/+6 |
| | | | | | | | | This is the first tranche of support for room versioning. It includes: * setting the default room version in the config file * new room_version param on the createRoom API * storing the version of newly-created rooms in the m.room.create event * fishing the version of existing rooms out of the m.room.create event | ||||
* | Implementation of server_acls | Richard van der Hoff | 2018-07-04 | 1 | -0/+2 |
| | | | | | ... as described at https://docs.google.com/document/d/1EttUVzjc2DWe2ciw4XPtNpUpIl9lWXGEsy2ewDS7rtw. | ||||
* | Apply some limits to depth to counter abuse | Richard van der Hoff | 2018-05-01 | 1 | -0/+3 |
| | | | | | | | * When creating a new event, cap its depth to 2^63 - 1 * When receiving events, reject any without a sensible depth As per https://docs.google.com/document/d/1I3fi2S-XnpO45qrpCsowZv8P8dHcNZ4fsBsbOW7KABI | ||||
* | Support registration / login with phone number | David Baker | 2017-03-13 | 1 | -0/+2 |
| | | | | Changes from https://github.com/matrix-org/synapse/pull/1971 | ||||
* | Revert "Support registration & login with phone number" | Erik Johnston | 2017-03-13 | 1 | -2/+0 |
| | |||||
* | WIP support for msisdn 3pid proxy methods | David Baker | 2017-02-14 | 1 | -0/+2 |
| | |||||
* | Remove a few aspirational but unused constants | David Baker | 2017-02-08 | 1 | -3/+0 |
| | | | | from the Kegan era | ||||
* | Move ThirdPartyEntityKind into api.constants so the expectation becomes that ↵ | Paul "LeoNerd" Evans | 2016-08-25 | 1 | -0/+5 |
| | | | | the value is significant | ||||
* | Check presence state is a valid one | Erik Johnston | 2016-02-18 | 1 | -1/+0 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Allow guest users to join and message rooms | Daniel Wagner-Hall | 2015-11-10 | 1 | -0/+1 |
| | |||||
* | Merge branch 'develop' into daniel/3pidinvites | Daniel Wagner-Hall | 2015-10-05 | 1 | -0/+1 |
|\ | |||||
| * | Add 'trusted_private_chat' to room creation presets | Erik Johnston | 2015-10-02 | 1 | -0/+1 |
| | | |||||
* | | Implement third party identifier invites | Daniel Wagner-Hall | 2015-10-01 | 1 | -0/+1 |
|/ | |||||
* | Remove undocumented and unimplemented 'feedback' parameter from the ↵ | Mark Haines | 2015-09-09 | 1 | -11/+0 |
| | | | | Client-Server API | ||||
* | Add m.room.avatar to default power levels. Change default required power ↵ | Erik Johnston | 2015-08-20 | 1 | -0/+1 |
| | | | | levels of such events to 50 | ||||
* | Add canonical alias to the default power levels | Erik Johnston | 2015-08-19 | 1 | -0/+1 |
| | |||||
* | Capitalize contants | Erik Johnston | 2015-07-14 | 1 | -2/+2 |
| | |||||
* | Implement presets at room creation | Erik Johnston | 2015-07-13 | 1 | -0/+5 |
| | |||||
* | Add basic impl for room history ACL on GET /messages client API | Erik Johnston | 2015-07-02 | 1 | -0/+2 |
| | |||||
* | Dummy login so we can do the first POST request to get login flows without ↵ | David Baker | 2015-04-15 | 1 | -0/+1 |
| | | | | it just succeeding | ||||
* | Add app service auth back in to v2 register | David Baker | 2015-04-02 | 1 | -3/+1 |
| | |||||
* | Add shared secret auth into register v2 and switch the script over. | David Baker | 2015-04-02 | 1 | -1/+3 |
| | |||||
* | New registration for C/S API v2. Only ReCAPTCHA working currently. | David Baker | 2015-03-30 | 1 | -0/+2 |
| | |||||
* | Implement registering with shared secret. | Erik Johnston | 2015-03-13 | 1 | -0/+1 |
| | |||||
* | Add m.login.application_service registration procedure. | Kegan Dougal | 2015-02-05 | 1 | -0/+1 |
| | | | | | This allows known application services to register any user ID under their own user namespace(s). | ||||
* | Start implementing auth conflict res | Erik Johnston | 2015-01-28 | 1 | -0/+6 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -0/+1 |
| | |||||
* | Validate message, topic and name event contents | Erik Johnston | 2014-12-12 | 1 | -0/+5 |
| | |||||
* | PEP8 | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | |||||
* | WIP for new way of managing events. | Erik Johnston | 2014-12-03 | 1 | -0/+9 |
| | |||||
* | Fix pep8 warnings | Mark Haines | 2014-10-30 | 1 | -1/+1 |
| | |||||
* | Added LoginType constants. Created general structure for processing ↵ | Kegan Dougal | 2014-09-15 | 1 | -0/+9 |
| | | | | registrations. | ||||
* | 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. | ||||
* | Add beginnings of ban support. | Erik Johnston | 2014-09-01 | 1 | -1/+2 |
| | |||||
* | Create the correct events with the right configuration when creating a new room. | Erik Johnston | 2014-08-28 | 1 | -0/+7 |
| | |||||
* | Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. ↵ | Kegan Dougal | 2014-08-26 | 1 | -2/+2 |
| | | | | Expanded the feedback constants to fully explain what type of feedback they are. | ||||
* | Removed member list servlet: now using generic state paths. | Kegan Dougal | 2014-08-26 | 1 | -0/+1 |
| | |||||
* | Use strings instead of opaque magic-number constants for presence states; ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -4/+4 |
| | | | | rename AWAY to UNAVAILABLE | ||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+42 |