Commit Graph

145 Commits (4953cd71dfbb1925dc4a477efd2ed48c2dfd70d6)

Author SHA1 Message Date
Richard van der Hoff 5febf88b6c
Update the error code for duplicate annotation (#15075) 3 years ago
Mathieu Velten 6cddf24e36
Faster joins: don't stall when a user joins during a fast join (#14606) 3 years ago
reivilibre 62ed877433
Improve validation of field size limits in events. (#14664) 3 years ago
Patrick Cloke 9d8a3234ba
Respond with proper error responses on unknown paths. (#14621) 3 years ago
Patrick Cloke d8cc86eff4
Remove redundant types from comments. (#14412) 3 years ago
Eric Eastwood 70b3396506
Explain `SynapseError` and `FederationError` better (#14191) 3 years ago
Eric Eastwood 40bb37eb27
Stop getting missing `prev_events` after we already know their signature is invalid (#13816) 3 years ago
Brendan Abolivier be76cd8200
Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 3 years ago
reivilibre c06b2b7142
Faster Remote Room Joins: tell remote homeservers that we are unable to authorise them if they query a room which has partial state on our server. (#13823) 3 years ago
Will Hunt 502f075e96
Implement MSC3848: Introduce errcodes for specific event sending failures (#13343) 4 years ago
David Teller 11f811470f
Uniformize spam-checker API, part 5: expand other spam-checker callbacks to return `Tuple[Codes, dict]` (#13044) 4 years ago
Travis Ralston d0e40dfe29
Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12923) 4 years ago
Travis Ralston bcfdfeb65d Revert "Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922)" 4 years ago
Travis Ralston e0fae823e9
Fix M_USER_ACCOUNT_SUSPENDED error code for spec compliance (#12922) 4 years ago
David Teller af7db19e1e
Uniformize spam-checker API, part 3: Expand check_event_for_spam with the ability to return additional fields (#12846) 4 years ago
David Teller 888eb736a1
Add code M_USER_ACCOUNT_SUSPENDED, as per MSC3823. (#12845) 4 years ago
David Teller 28199e9357
Uniformize spam-checker API, part 2: check_event_for_spam (#12808) 4 years ago
David Teller 10280fc943
Uniformize spam-checker API, part 1: the `Code` enum. (#12703) 4 years ago
Tulir Asokan 4bc8cb4669
Implement MSC2815: allow room moderators to view redacted event content (#12427) 4 years ago
Michael Telatynski 54e74f8bde
Fix M_WRONG_ROOM_KEYS_VERSION error not including `current_version` field (#11988) 4 years ago
reivilibre 69ab3dddbc
Make `check_event_allowed` module API callback not fail open (accept events) when an exception is raised (#11033) 4 years ago
Patrick Cloke 3ab55d43bd
Add missing type hints to synapse.api. (#11109) 4 years ago
David Robertson ee3b2ac59a
Validate device_keys for C-S /keys/query requests (#10593) 4 years ago
Patrick Cloke 228decfce1
Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 5 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 5 years ago
Sorunome d936371b69
Implement knock feature (#6739) 5 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 5 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 5 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 5 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 5 years ago
Patrick Cloke e259d63f73
Stop shadow-banned users from sending invites. (#8095) 6 years ago
Patrick Cloke eebf52be06
Be stricter about JSON that is accepted by Synapse (#8106) 6 years ago
Patrick Cloke 66f24449dd
Improve performance of the register endpoint (#8009) 6 years ago
Patrick Cloke 35450519de
Ensure that calls to `json.dumps` are compatible with the standard library json. (#7836) 6 years ago
Patrick Cloke 4db1509516
Improve the type hints of synapse.api.errors. (#7820) 6 years ago
Patrick Cloke 66a4af8d96
Do not use canonicaljson to magically handle decoding bytes from JSON. (#7802) 6 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 6 years ago
Patrick Cloke bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 6 years ago
Andrew Morgan 07b88c546d
Convert http.HTTPStatus objects to their int equivalent (#7188) 6 years ago
Dirk Klimpel e8e2ddb60a
Allow server admins to define and enforce a password policy (MSC2000). (#7118) 6 years ago
Patrick Cloke 7dcbc33a1b
Validate the alt_aliases property of canonical alias events (#6971) 6 years ago
Richard van der Hoff 08f41a6f05 Add `get_room_version` method 6 years ago
Richard van der Hoff 8f5d7302ac
Implement RedirectException (#6687) 6 years ago
Richard van der Hoff 326c893d24
Kill off RegistrationError (#6691) 6 years ago
Andrew Morgan bc29a19731 Replace instance variations of homeserver with correct case/spacing 6 years ago
Amber Brown 864f144543
Fix up some typechecking (#6150) 6 years ago
Andrew Morgan 72167fb394
Change user deactivated errcode to USER_DEACTIVATED and use it (#5686) 7 years ago
Hubert Chathi c659b9f94f allow uploading keys for cross-signing 7 years ago
Andrew Morgan 18c516698e
Return a different error from Invalid Password when a user is deactivated (#5674) 7 years ago
Richard van der Hoff 5f158ec039
Implement access token expiry (#5660) 7 years ago