summary refs log tree commit diff
path: root/synapse/api/errors.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update license headersPatrick Cloke2023-11-211-11/+16
* Asynchronous Uploads (#15503)Sumner Evans2023-11-151-0/+2
* Describe which rate limiter was hit in logs (#16135)David Robertson2023-08-301-2/+12
* Add `Retry-After` to M_LIMIT_EXCEEDED error responses (#16136)Will Hunt2023-08-241-1/+9
* Implements admin API to lock an user (MSC3939) (#15870)Mathieu Velten2023-08-101-0/+2
* Re-introduce the outbound federation proxy (#15913)Eric Eastwood2023-07-181-0/+7
* Actually enforce guest + return www-authenticate headerHugh Nimmo-Smith2023-05-301-3/+25
* Stabilize MSC2659 support for AS ping endpoint. (#15528)Tulir Asokan2023-05-091-4/+4
* Fix spinloop during partial state sync when a prev event is in backoff (#15351)Sean Quah2023-03-301-4/+13
* Implement MSC2659: application service ping endpoint (#15249)Tulir Asokan2023-03-161-0/+5
* Update the error code for duplicate annotation (#15075)Richard van der Hoff2023-02-151-0/+4
* Faster joins: don't stall when a user joins during a fast join (#14606)Mathieu Velten2023-02-101-0/+22
* Improve validation of field size limits in events. (#14664)reivilibre2022-12-131-1/+10
* Respond with proper error responses on unknown paths. (#14621)Patrick Cloke2022-12-081-4/+2
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-1/+1
* Explain `SynapseError` and `FederationError` better (#14191)Eric Eastwood2022-10-191-3/+21
* Stop getting missing `prev_events` after we already know their signature is i...Eric Eastwood2022-10-151-0/+21
* Allow admins to require a manual approval process before new accounts can be ...Brendan Abolivier2022-09-291-0/+16
* Faster Remote Room Joins: tell remote homeservers that we are unable to autho...reivilibre2022-09-231-0/+6
* Implement MSC3848: Introduce errcodes for specific event sending failures (#1...Will Hunt2022-07-271-10/+48
* Uniformize spam-checker API, part 5: expand other spam-checker callbacks to r...David Teller2022-07-111-2/+8
* Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12923)Travis Ralston2022-05-311-1/+1
* Revert "Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922)"Travis Ralston2022-05-301-1/+1
* Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922)Travis Ralston2022-05-311-1/+1
* Uniformize spam-checker API, part 3: Expand check_event_for_spam with the abi...David Teller2022-05-301-10/+13
* Add code M_USER_ACCOUNT_SUSPENDED, as per MSC3823. (#12845)David Teller2022-05-271-0/+7
* Uniformize spam-checker API, part 2: check_event_for_spam (#12808)David Teller2022-05-231-3/+1
* Uniformize spam-checker API, part 1: the `Code` enum. (#12703)David Teller2022-05-201-2/+9
* Implement MSC2815: allow room moderators to view redacted event content (#12427)Tulir Asokan2022-04-201-0/+18
* Fix M_WRONG_ROOM_KEYS_VERSION error not including `current_version` field (#1...Michael Telatynski2022-02-141-0/+3
* Make `check_event_allowed` module API callback not fail open (accept events) ...reivilibre2021-11-011-0/+7
* Add missing type hints to synapse.api. (#11109)Patrick Cloke2021-10-181-46/+23
* Validate device_keys for C-S /keys/query requests (#10593)David Robertson2021-08-201-0/+8
* Update the MSC3083 support to verify if joins are from an authorized server. ...Patrick Cloke2021-07-261-0/+3
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-2/+2
* Implement knock feature (#6739)Sorunome2021-06-091-1/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-10/+11
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-27/+23
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Stop shadow-banned users from sending invites. (#8095)Patrick Cloke2020-08-201-0/+8
* Be stricter about JSON that is accepted by Synapse (#8106)Patrick Cloke2020-08-191-3/+3
* Improve performance of the register endpoint (#8009)Patrick Cloke2020-08-061-1/+3
* Ensure that calls to `json.dumps` are compatible with the standard library js...Patrick Cloke2020-07-151-1/+3
* Improve the type hints of synapse.api.errors. (#7820)Patrick Cloke2020-07-141-55/+73
* Do not use canonicaljson to magically handle decoding bytes from JSON. (#7802)Patrick Cloke2020-07-101-4/+2
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-4/+3
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-2/+1
* Convert http.HTTPStatus objects to their int equivalent (#7188)Andrew Morgan2020-04-031-1/+8
* Allow server admins to define and enforce a password policy (MSC2000). (#7118)Dirk Klimpel2020-03-261-0/+21
* Validate the alt_aliases property of canonical alias events (#6971)Patrick Cloke2020-03-031-0/+1
* Add `get_room_version` methodRichard van der Hoff2020-01-311-4/+2
* Implement RedirectException (#6687)Richard van der Hoff2020-01-151-1/+26
* Kill off RegistrationError (#6691)Richard van der Hoff2020-01-131-6/+0
* Replace instance variations of homeserver with correct case/spacingAndrew Morgan2019-11-121-1/+1
* Merge branch 'develop' into uhoreg/e2e_cross-signing_mergedHubert Chathi2019-10-181-1/+2
|\
| * Fix up some typechecking (#6150)Amber Brown2019-10-021-1/+2
* | Merge branch 'uhoreg/e2e_cross-signing_merged' into cross-signing_keysHubert Chathi2019-08-281-1/+2
|\|
| * Change user deactivated errcode to USER_DEACTIVATED and use it (#5686)Andrew Morgan2019-07-311-1/+2
* | allow uploading keys for cross-signingHubert Chathi2019-07-251-0/+1
|/
* Return a different error from Invalid Password when a user is deactivated (#5...Andrew Morgan2019-07-151-0/+16
* Implement access token expiry (#5660)Richard van der Hoff2019-07-121-1/+7
* Clean up exception handling for access_tokens (#5656)Richard van der Hoff2019-07-111-1/+32
* Run Black. (#5482)Amber Brown2019-06-201-59/+53
* Add ability to perform password reset via email without trusting the identity...Andrew Morgan2019-06-061-0/+9
* Fix error handling for rooms whose versions are unknown. (#5219)Richard van der Hoff2019-05-211-1/+15
* Remove periods from copyright headers (#5046)Andrew Morgan2019-04-111-1/+1
* Add account expiration featureBrendan Abolivier2019-04-091-0/+1
* Refactor request sending to have better excpetions (#4358)Erik Johnston2019-01-081-0/+18
* PR feedback pt. 1David Baker2018-10-121-8/+0
* Fix mergefailDavid Baker2018-10-091-1/+1
* Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backupsDavid Baker2018-10-091-3/+3
|\
| * Change admin_uri to admin_contact in config and errorsErik Johnston2018-08-241-3/+3
* | try to make flake8 and isort happyHubert Chathi2018-09-061-0/+1
* | Merge branch 'develop' into e2e_backupsHubert Chathi2018-08-241-2/+42
|\|
| * rename error codeNeil Johnson2018-08-181-2/+2
| * add new error type ResourceLimitNeil Johnson2018-08-161-2/+21
| * clean up AuthErrorNeil Johnson2018-08-151-7/+3
| * update error codes for resource limitingNeil Johnson2018-08-151-2/+1
| * replace admin_email with admin_uri for greater flexibilityNeil Johnson2018-08-151-2/+2
| * support admin_email config and pass through into blocking errors, return Auth...Neil Johnson2018-08-131-2/+11
| * Revert "support admin_email config and pass through into blocking errors, ret...Neil Johnson2018-08-131-11/+2
| * support admin_email config and pass through into blocking errors, return Auth...Neil Johnson2018-08-131-2/+11
| * fix pep8 too many linesNeil Johnson2018-08-081-1/+0
| * Merge branch 'develop' into neilj/disable_hsNeil Johnson2018-08-081-0/+25
| |\
| | * Enforce compatibility when processing make_join requestsRichard van der Hoff2018-08-031-0/+22
| | * Basic support for room versioningRichard van der Hoff2018-08-031-0/+2
| * | disable HS from configNeil Johnson2018-08-041-0/+1
| |/
* | blindly incorporate PR review - needs testing & fixingMatthew Hodgson2018-08-121-3/+8
* | implement /room_keys/version too (untested)Matthew Hodgson2018-08-121-0/+25
|/
* Merge pull request #3639 from matrix-org/rav/refactor_error_handlingRichard van der Hoff2018-08-021-53/+53
|\
| * Kill off MatrixCodeMessageExceptionRichard van der Hoff2018-08-011-11/+0
| * Refactor code for turning HttpResponseException into SynapseErrorRichard van der Hoff2018-08-011-31/+53
| * Be more careful which errors we send back over the C-S APIRichard van der Hoff2018-08-011-11/+0
* | limit register and sign in on number of monthly usersNeil Johnson2018-07-301-0/+1
|/
* run isortAmber Brown2018-07-091-2/+2
* Attempt to be more performant on PyPy (#3462)Amber Brown2018-06-281-1/+2
* custom error code for not leaving server notices roomRichard van der Hoff2018-05-221-0/+1
* Reject attempts to send event before privacy consent is givenRichard van der Hoff2018-05-221-1/+29
* Use six.itervalues in some placesAdrian Tschira2018-04-151-1/+2
* Use simplejson throughoutRichard van der Hoff2018-03-291-1/+2
* Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-221-0/+26
* add registrations_require_3pidMatthew Hodgson2018-01-191-0/+1
* Refactor UI auth implementationRichard van der Hoff2017-12-051-0/+16
* Use CodeMessageException subclass insteadDavid Baker2017-04-251-0/+11
* Address review commentsRichard van der Hoff2017-03-141-5/+14
* re-refactor exception heirarchyRichard van der Hoff2017-03-141-16/+14
* Fix routing loop when fetching remote mediaRichard van der Hoff2017-03-131-7/+52
* Fail with a coherent error message if `/sync?filter=` is invalidKegan Dougal2016-11-211-0/+1
* Implement https://github.com/matrix-org/matrix-doc/pull/346/filesDavid Baker2016-07-081-0/+1
* requestToken updateDavid Baker2016-06-301-1/+2
* Revert "Merge two of the room join codepaths"Daniel Wagner-Hall2016-02-121-5/+0
* Merge two of the room join codepathsDaniel Wagner-Hall2016-02-121-0/+5
* Require unbanning before other membership changesDaniel Wagner-Hall2016-01-151-0/+1
* M_INVALID_USERNAME to be consistent with the parameter nameDavid Baker2016-01-151-1/+1
* Add specific error code for invalid user names.David Baker2016-01-141-0/+1
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Guest users must be joined to a room to see it in /syncMark Haines2016-01-061-16/+0
* Include the list of bad room ids in the errorMark Haines2015-12-221-0/+16
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-0/+1
* Reject events which are too largeDaniel Wagner-Hall2015-10-221-0/+9
* Remove log line that was generated whenever an error was created. We are now ...Mark Haines2015-10-061-1/+0
* synapse/api/errors.py:RoomError was unusedMark Haines2015-09-221-5/+0
* Add endpoint that proxies ID server request token and errors if the given ema...David Baker2015-08-041-0/+1
* Merge branch 'develop' into csauthDavid Baker2015-04-241-2/+2
|\
| * No commas here, otherwise our error string constants become tuples.David Baker2015-04-241-2/+2
* | Dedicated error code for failed 3pid auth verificationDavid Baker2015-04-231-0/+1
* | Add an error code to 'missing token' response.David Baker2015-04-231-0/+1
|/
* Grant ASes the ability to create alias in their own namespace.Kegan Dougal2015-02-061-1/+2
* Apply sanity to the transport client interface. Convert 'make_join' and 'send...Erik Johnston2015-02-041-1/+7
* Code style fixes.Mark Haines2015-01-291-0/+1
* Add slightly pedantic trailing slash error.David Baker2015-01-231-1/+6
* right super() paramDavid Baker2015-01-231-1/+1
* As yet fairly untested GET API for push rulesDavid Baker2015-01-221-1/+13
* Oops: second part of commit dc938606David Baker2015-01-221-0/+12
* Merge branch 'develop' into pushersDavid Baker2015-01-131-1/+1
|\
| * Update copyright noticesMark Haines2015-01-061-1/+1
* | Merge branch 'develop' into pushersDavid Baker2014-12-181-1/+2
|\|
| * Limit the size of images that are thumbnailed serverside. Limit the size of f...Mark Haines2014-12-111-0/+1
* | Merge branch 'develop' into pushersDavid Baker2014-11-201-2/+5
|\|
| * Use module loggers rather than the root logger. Exceptions caused by bad clie...Mark Haines2014-11-201-2/+5
* | Start creating a module to do generic notifications (just prints them to stdo...David Baker2014-11-191-0/+1
|/
* Move FederationError to synapse.api.errorsErik Johnston2014-11-041-0/+34
* Fix pep8 warningsMark Haines2014-10-301-1/+3
* Respond with more helpful error messages for unsigned requestsMark Haines2014-10-131-0/+1
* Captchas now work on registration. Missing x-forwarded-for config arg support...Kegan Dougal2014-09-051-1/+15
* Added a captcha config to the HS, to enable registration captcha checking and...Kegan Dougal2014-09-051-0/+1
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Set status message for ratelimit error responsesMark Haines2014-09-031-0/+2
* Raise LimitExceedError when the ratelimiting is throttling requestsMark Haines2014-09-031-7/+27
* Add ratelimiting function to basehandlerMark Haines2014-09-021-0/+1
* Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised ac...Kegan Dougal2014-08-141-0/+1
* Default error code BAD_PAGINATION for EventStreamErrorsKegan Dougal2014-08-141-1/+4
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+114