summary refs log tree commit diff
path: root/synapse/types.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Accept & store thread IDs for receipts (implement MSC3771). (#13782)Patrick Cloke2022-09-231-0/+1
* Cancel the processing of key query requests when they time out. (#13680)reivilibre2022-09-071-0/+5
* Fix `destination_is` errors seen in sentry. (#13041)David Robertson2022-06-141-1/+2
* Rework stream token to stop caring about groups. (#12897)Patrick Cloke2022-05-311-1/+5
* Remove backing code for groups/communities (#12558)Patrick Cloke2022-05-261-23/+0
* Prevent expired events from being filtered out when retention is disabled (#1...Brendan Abolivier2022-05-231-0/+6
* Add `StreamKeyType` class and replace string literals with constants (#12567)Andrew Morgan2022-05-161-3/+19
* Another batch of type annotations (#12726)David Robertson2022-05-131-18/+28
* Make `StreamToken` and `RoomStreamToken` methods propagate cancellations (#12...Sean Quah2022-04-051-0/+5
* Explain how to decipher live and historic pagination tokens (#12317)Eric Eastwood2022-04-051-11/+85
* Send device list updates to application services (MSC3202) - part 1 (#11881)Andrew Morgan2022-03-301-0/+25
* Correct `check_username_for_spam` annotations and docs (#12246)David Robertson2022-03-181-0/+11
* Add type hints to `synapse/storage/databases/main` (#11984)Dirk Klimpel2022-02-211-3/+3
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-38/+37
* Remove a Python 2-ism and improve type hints. (#11699)Patrick Cloke2022-01-061-12/+7
* Convert all namedtuples to attrs. (#11665)Patrick Cloke2021-12-301-13/+9
* Add type hints to `synapse/storage/databases/main/e2e_room_keys.py` (#11549)Sean Quah2021-12-141-2/+4
* Misc typing fixes for `tests`, part 1 of N (#11323)David Robertson2021-11-121-1/+2
* Add missing type hints to `synapse.app`. (#11287)Patrick Cloke2021-11-101-0/+2
* Remove unnecessary parentheses around tuples returned from methods (#10889)Andrew Morgan2021-09-231-2/+2
* Fix /initialSync error due to unhashable `RoomStreamToken` (#10827)Sean Quah2021-09-221-5/+15
* Name the type of token in "Invalid token" messages (#10815)David Robertson2021-09-141-3/+3
* Add types to synapse.util. (#10601)reivilibre2021-09-101-1/+7
* Add `get_userinfo_by_id` method to `ModuleApi` (#9581)Jason Robinson2021-08-041-0/+29
* [pyupgrade] `synapse/` (#10348)Jonathan de Jong2021-07-191-2/+2
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-3/+3
* Add type hints to get_domain_from_id and get_localpart_from_id. (#10385)Patrick Cloke2021-07-131-2/+2
* Ensure that we do not cache empty sync responses after a timeout (#10158)Richard van der Hoff2021-06-171-1/+1
* update black to 21.6b0 (#10197)Marcus2021-06-171-2/+2
* Make DomainSpecificString an attrs class (#9875)Erik Johnston2021-04-231-8/+9
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-14/+0
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Convert Requester to attrs (#9586)Richard van der Hoff2021-03-101-29/+28
* Create a SynapseReactor type which incorporates the necessary reactor interfa...Patrick Cloke2021-03-081-0/+16
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-3/+6
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Support icons for Identity Providers (#9154)Richard van der Hoff2021-01-201-1/+1
* Add basic domain validation for `DomainSpecificString.is_valid`. (#9071)Patrick Cloke2021-01-131-1/+7
* Implement a username picker for synapse (#8942)Richard van der Hoff2020-12-181-3/+5
* Improve error checking for OIDC/SAML mapping providers (#8774)Patrick Cloke2020-11-191-3/+3
* Add ability for access tokens to belong to one user but grant access to anoth...Erik Johnston2020-10-291-7/+26
* Use vector clocks for room stream tokens. (#8439)Erik Johnston2020-10-071-5/+111
* Make token serializing/deserializing async (#8427)Erik Johnston2020-09-301-8/+35
* Various clean ups to room stream tokens. (#8423)Erik Johnston2020-09-291-20/+33
* Add EventStreamPosition type (#8388)Erik Johnston2020-09-241-0/+15
* Switch metaclass initialization to python 3-compatible syntax (#8326)Jonathan de Jong2020-09-161-3/+3
* Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281)Erik Johnston2020-09-111-11/+8
* Add types to StreamToken and RoomStreamToken (#8279)Erik Johnston2020-09-081-74/+78
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Define StateMap as immutable and add a MutableStateMap type. (#8183)Patrick Cloke2020-08-281-3/+4
* Add a shadow-banned flag to users. (#8092)Patrick Cloke2020-08-141-3/+22
* Fix typing for notifier (#8064)Erik Johnston2020-08-121-7/+16
* isort 5 compatibility (#7786)Will Hunt2020-07-051-1/+1
* Validate the alt_aliases property of canonical alias events (#6971)Patrick Cloke2020-03-031-5/+10
* Type defintions for use in refactoring for redaction changes (#6803)Richard van der Hoff2020-01-301-1/+6
* Add StateMap type alias (#6715)Erik Johnston2020-01-161-1/+8
* Remove unused hashes and depths from create_new_client_event paramsRichard van der Hoff2020-01-061-0/+12
* 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
* | make changes from PR reviewHubert Chathi2019-08-011-2/+2
* | allow uploading keys for cross-signingHubert Chathi2019-07-251-0/+24
|/
* Run Black. (#5482)Amber Brown2019-06-201-50/+58
* declare a ReadReceipt classRichard van der Hoff2019-03-131-0/+12
* Factor SSO success handling out of CAS login (#4264)Richard van der Hoff2018-12-071-0/+66
* Python 3: Convert some unicode/bytes uses (#3569)Amber Brown2018-08-021-1/+1
* run isortAmber Brown2018-07-091-2/+1
* In DomainSpecificString, override __repr__ in addition to __str__Vincent Breitmoser2018-04-101-1/+1
* Revert "improve mxid check performance"Richard van der Hoff2018-04-041-4/+3
* improve mxid check performance ~4xAdrian Tschira2018-03-311-3/+4
* Add replication http endpoint for event sendingErik Johnston2018-02-071-13/+52
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-4/+4
* Merge pull request #2561 from matrix-org/rav/id_checkingRichard van der Hoff2017-10-231-0/+33
|\
| * Validate group ids when parsingRichard van der Hoff2017-10-211-0/+17
| * Allow = in mxids and groupidsRichard van der Hoff2017-10-201-1/+1
| * Disallow capital letters in useridsRichard van der Hoff2017-10-201-0/+16
* | Remove pointless create() methodRichard van der Hoff2017-10-201-4/+0
|/
* Add groups to sync streamErik Johnston2017-07-201-0/+2
* Add GroupID typeErik Johnston2017-07-181-0/+5
* Weight differentlyErik Johnston2017-05-311-0/+7
* Speed up get_domain_from_idErik Johnston2017-05-161-3/+3
* Speed up copy_and_replaceErik Johnston2017-03-301-3/+1
* Add basic implementation of local device list changesErik Johnston2017-01-251-0/+2
* Add new API appservice specific public room listErik Johnston2016-12-061-0/+34
* StyleLuke Barnard2016-10-201-2/+3
* as_user->app_service, less redundant comments, better positioned commentsLuke Barnard2016-10-201-5/+5
* Use real AS object by passing it through the requesterLuke Barnard2016-10-201-3/+5
* Shuffle things around to make unit tests workErik Johnston2016-09-221-1/+1
* Merge remote-tracking branch 'origin/develop' into markjh/direct_to_deviceMark Haines2016-08-261-7/+0
|\
| * Move ThirdPartyEntityKind into api.constants so the expectation becomes that ...Paul "LeoNerd" Evans2016-08-251-7/+0
* | Add store-and-forward direct-to-device messagingMark Haines2016-08-251-0/+2
|/
* Avoid so much copypasta between 3PU and 3PL query by unifying around a ThirdP...Paul "LeoNerd" Evans2016-08-181-0/+7
* Add `create_requester` functionRichard van der Hoff2016-07-261-1/+32
* Make get_domain_from_id throw SynapseError on invalid IDErik Johnston2016-06-141-1/+4
* Spell "domain" correctlyMark Haines2016-05-161-1/+1
* Add and use get_domian_from_idErik Johnston2016-05-091-0/+4
* Hook up the push rules to the notifierMark Haines2016-03-031-0/+7
* Merge implementation of /join by alias or IDDaniel Wagner-Hall2016-02-151-0/+8
* Revert "Merge two of the room join codepaths"Daniel Wagner-Hall2016-02-121-11/+3
* Merge two of the room join codepathsDaniel Wagner-Hall2016-02-121-3/+11
* Introduce a Requester objectDaniel Wagner-Hall2016-01-111-0/+3
* copyrightsMatthew Hodgson2016-01-071-1/+1
* s/private_user_data/account_data/Mark Haines2015-11-181-2/+2
* Merge branch 'develop' into markjh/room_tagsMark Haines2015-11-021-1/+1
|\
| * Fix a 500 error resulting from empty room_idsRichard van der Hoff2015-10-261-1/+1
* | Support clients supplying older tokens, fix short poll testMark Haines2015-10-301-1/+1
* | Inform the client of new room tags using v1 /eventsMark Haines2015-10-291-9/+13
|/
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-4/+0
* Minor docs cleanupDaniel Wagner-Hall2015-08-111-1/+2
* Add receipts_key to StreamTokenErik Johnston2015-07-021-1/+5
* Make sure the notifier stream token goes forward when it is updated. Sort the...Mark Haines2015-05-181-0/+17
* Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-131-1/+18
* Move storage.stream._StreamToken to types.RoomStreamTokenErik Johnston2015-05-111-0/+52
* Rename ClientID to ClientInfo since it is a pair of IDs rather than a single ...Mark Haines2015-01-281-1/+1
* Extract the id token of the token when authing users, include the token and d...Mark Haines2015-01-281-0/+3
* Update copyright noticesMark Haines2015-01-061-1/+1
* Change DomainSpecificString so that it doesn't use a HomeServer objectErik Johnston2014-12-021-15/+6
* Move FederationError to synapse.api.errorsErik Johnston2014-11-041-34/+0
* Add support for sending failuresErik Johnston2014-11-041-0/+34
* Convert event ids to be of the form :example.comErik Johnston2014-10-301-0/+10
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Rename 'events_key' to 'room_key' so it matches the name of the event sourcePaul "LeoNerd" Evans2014-08-291-1/+1
* Define a new event stream data source for typing notifications (currently null)Paul "LeoNerd" Evans2014-08-291-1/+1
* Avoid hardcoding names of individual stream token keys in its own implementat...Paul "LeoNerd" Evans2014-08-291-9/+3
* Use str.join() properlyPaul "LeoNerd" Evans2014-08-291-2/+1
* PEP8 tweaks.Erik Johnston2014-08-271-1/+0
* WIP: Completely change how event streaming and pagination work. This reflects...Erik Johnston2014-08-261-54/+14
* Add in StreamToken typeErik Johnston2014-08-211-0/+74
* Define __copy__ and __deepcopy__ as identity functions on DomainSpecificStrin...Paul "LeoNerd" Evans2014-08-201-0/+8
* Deny __iter__ on UserID/RoomID/RoomName instances as it's a subtle bug that w...Paul "LeoNerd" Evans2014-08-191-0/+6
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+79