summary refs log tree commit diff
path: root/synapse/api/constants.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update to the stable SSO prefix for UI Auth. (#7630)Patrick Cloke2020-06-051-1/+1
|
* Remove some unused constants. (#7644)Richard van der Hoff2020-06-051-4/+0
|
* Stop the master relaying USER_SYNC for other workers (#7318)Richard van der Hoff2020-04-221-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 Cloke2020-04-011-0/+1
|
* Fix detecting unknown devices from remote encrypted events. (#6848)Erik Johnston2020-02-041-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_filtersBrendan Abolivier2019-12-041-1/+2
|\ | | | | Filter state, events_before and events_after in /context requests
| * Merge branch 'develop' into babolivier/context_filtersBrendan Abolivier2019-12-041-0/+2
| |\
| * | Update copyrightsBrendan Abolivier2019-11-051-1/+2
| | |
* | | Add ephemeral messages support (MSC2228) (#6409)Brendan Abolivier2019-12-031-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 policiesBrendan Abolivier2019-11-041-0/+2
|/
* Incorporate reviewBrendan Abolivier2019-11-011-1/+1
|
* LintBrendan Abolivier2019-11-011-0/+1
|
* Incorporate reviewBrendan Abolivier2019-11-011-1/+4
|
* Store labels for new eventsBrendan Abolivier2019-10-301-0/+3
|
* Option to suppress resource exceeded alerting (#6173)Neil Johnson2019-10-241-0/+7
| | | | The expected use case is to suppress MAU limiting on small instances
* rip out some unreachable codeRichard van der Hoff2019-10-171-2/+0
| | | | The only possible rejection reason is AUTH_ERROR, so all of this is unreachable.
* Add bot typeHalf-Shot2019-08-231-1/+2
|
* Run Black. (#5482)Amber Brown2019-06-201-21/+25
|
* Room Statistics (#4338)Amber Brown2019-05-211-0/+1
|
* Rename relation types to match MSCErik Johnston2019-05-201-2/+2
|
* Merge pull request #5209 from matrix-org/erikj/reactions_baseErik Johnston2019-05-201-0/+8
|\ | | | | Land basic reaction and edit support.
| * Add simple send_relation API and track in DBErik Johnston2019-05-151-0/+8
| |
* | Limit UserIds to a length that fits in a state key (#5198)ReidAnderson2019-05-201-0/+3
|/
* Do checks on aliases for incoming m.room.aliases events (#5128)Brendan Abolivier2019-05-081-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 Morgan2019-04-111-1/+1
|
* Transfer related groups on room upgrade (#4990)Andrew Morgan2019-04-021-0/+1
| | | Transfers the m.room.related_groups state event on room upgrade.
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-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 developRichard van der Hoff2019-01-301-1/+1
|\
| * Update constants.pyNeil Johnson2019-01-301-1/+1
| | | | | | remove trailing ,
* | by default include m.room.encryption on invites (#3902)Matthew Hodgson2019-01-301-0/+1
|/ | | | | | | | * by default include m.room.encryption on invites * fix constant * changelog
* Merge branch 'develop' into neilj/room_capabilitiesNeil Johnson2019-01-301-2/+16
|\
| * Enable room version v3Erik Johnston2019-01-291-1/+2
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-01-291-0/+2
| |\ | | | | | | | | | erikj/redactions_eiah
| | * Implement event format v2Erik Johnston2019-01-291-0/+2
| | |
| * | Drop vdh supportErik Johnston2019-01-291-2/+0
| | |
| * | Finish comment...Erik Johnston2019-01-291-1/+1
| | |
| * | Add RoomVersions.V3 constant, without enabling itErik Johnston2019-01-291-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 versionsErik Johnston2019-01-231-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 capabilitiesNeil Johnson2019-01-301-0/+5
| |
* | reflect that rooms v3 is a stable room versionNeil Johnson2019-01-301-0/+1
| |
* | backout v3Neil Johnson2019-01-251-1/+0
| |
* | track unstable room v3Neil Johnson2019-01-251-0/+2
|/
* Migrate encryption state on room upgrade (#4411)Andrew Morgan2019-01-211-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 tupleNeil Johnson2019-01-151-1/+1
|
* Merge pull request #4307 from matrix-org/erikj/v2_roomsRichard van der Hoff2018-12-241-0/+2
|\ | | | | Add v2 room version
| * Add v2 room versionErik Johnston2018-12-181-0/+2
| |
* | create support user (#4141)Neil Johnson2018-12-141-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-termsTravis Ralston2018-11-011-0/+1
|\ | | | | Add m.login.terms to the registration flow
| * Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-311-0/+1
| |\
| * | Incorporate Dave's work for GDPR login flowsTravis Ralston2018-10-031-0/+1
| | | | | | | | | As per https://github.com/vector-im/riot-web/issues/7168#issuecomment-419996117
* | | Add STATE_V2_TEST room versionErik Johnston2018-11-011-1/+6
| |/ |/|
* | Basic initial support for room upgradesRichard van der Hoff2018-10-251-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 Johnston2018-08-221-3/+7
|\ | | | | | | neilj/server_notices_on_blocking
| * Add constants for room versionsErik Johnston2018-08-091-2/+7
| |
* | Update notice formatErik Johnston2018-08-221-2/+4
| |
* | add new event typesNeil Johnson2018-08-151-0/+1
| |
* | support server notice state events for resource limitsNeil Johnson2018-08-141-0/+2
|/
* Don't expose default_room_version as config optRichard van der Hoff2018-08-071-0/+3
|
* Basic support for room versioningRichard van der Hoff2018-08-031-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_aclsRichard van der Hoff2018-07-041-0/+2
| | | | | ... as described at https://docs.google.com/document/d/1EttUVzjc2DWe2ciw4XPtNpUpIl9lWXGEsy2ewDS7rtw.
* Apply some limits to depth to counter abuseRichard van der Hoff2018-05-011-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 numberDavid Baker2017-03-131-0/+2
| | | | Changes from https://github.com/matrix-org/synapse/pull/1971
* Revert "Support registration & login with phone number"Erik Johnston2017-03-131-2/+0
|
* WIP support for msisdn 3pid proxy methodsDavid Baker2017-02-141-0/+2
|
* Remove a few aspirational but unused constantsDavid Baker2017-02-081-3/+0
| | | | from the Kegan era
* Move ThirdPartyEntityKind into api.constants so the expectation becomes that ↵Paul "LeoNerd" Evans2016-08-251-0/+5
| | | | the value is significant
* Check presence state is a valid oneErik Johnston2016-02-181-1/+0
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Allow guest users to join and message roomsDaniel Wagner-Hall2015-11-101-0/+1
|
* Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-051-0/+1
|\
| * Add 'trusted_private_chat' to room creation presetsErik Johnston2015-10-021-0/+1
| |
* | Implement third party identifier invitesDaniel Wagner-Hall2015-10-011-0/+1
|/
* Remove undocumented and unimplemented 'feedback' parameter from the ↵Mark Haines2015-09-091-11/+0
| | | | Client-Server API
* Add m.room.avatar to default power levels. Change default required power ↵Erik Johnston2015-08-201-0/+1
| | | | levels of such events to 50
* Add canonical alias to the default power levelsErik Johnston2015-08-191-0/+1
|
* Capitalize contantsErik Johnston2015-07-141-2/+2
|
* Implement presets at room creationErik Johnston2015-07-131-0/+5
|
* Add basic impl for room history ACL on GET /messages client APIErik Johnston2015-07-021-0/+2
|
* Dummy login so we can do the first POST request to get login flows without ↵David Baker2015-04-151-0/+1
| | | | it just succeeding
* Add app service auth back in to v2 registerDavid Baker2015-04-021-3/+1
|
* Add shared secret auth into register v2 and switch the script over.David Baker2015-04-021-1/+3
|
* New registration for C/S API v2. Only ReCAPTCHA working currently.David Baker2015-03-301-0/+2
|
* Implement registering with shared secret.Erik Johnston2015-03-131-0/+1
|
* Add m.login.application_service registration procedure.Kegan Dougal2015-02-051-0/+1
| | | | | This allows known application services to register any user ID under their own user namespace(s).
* Start implementing auth conflict resErik Johnston2015-01-281-0/+6
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Kill off synapse.api.events.*Erik Johnston2014-12-161-0/+1
|
* Validate message, topic and name event contentsErik Johnston2014-12-121-0/+5
|
* PEP8Erik Johnston2014-12-091-1/+1
|
* WIP for new way of managing events.Erik Johnston2014-12-031-0/+9
|
* Fix pep8 warningsMark Haines2014-10-301-1/+1
|
* Added LoginType constants. Created general structure for processing ↵Kegan Dougal2014-09-151-0/+9
| | | | registrations.
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Add beginnings of ban support.Erik Johnston2014-09-011-1/+2
|
* Create the correct events with the right configuration when creating a new room.Erik Johnston2014-08-281-0/+7
|
* Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. ↵Kegan Dougal2014-08-261-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 Dougal2014-08-261-0/+1
|
* Use strings instead of opaque magic-number constants for presence states; ↵Paul "LeoNerd" Evans2014-08-131-4/+4
| | | | rename AWAY to UNAVAILABLE
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+42