summary refs log tree commit diff
path: root/synapse/api/constants.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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