Commit Graph

115 Commits (07a3b5dabad98678bae52275b327c302adbf67af)

Author SHA1 Message Date
Sean Quah ecfcd9bbbe
Add type hints to `synapse/storage/databases/main/e2e_room_keys.py` (#11549) 3 years ago
David Robertson 4c96ce396e
Misc typing fixes for `tests`, part 1 of N (#11323) 3 years ago
Patrick Cloke 5cace20bf1
Add missing type hints to `synapse.app`. (#11287) 3 years ago
Andrew Morgan aa2c027792
Remove unnecessary parentheses around tuples returned from methods (#10889) 3 years ago
Sean Quah 9391de3f37
Fix /initialSync error due to unhashable `RoomStreamToken` (#10827) 3 years ago
David Robertson 319b8b6bef
Name the type of token in "Invalid token" messages (#10815) 3 years ago
reivilibre 524b8ead77
Add types to synapse.util. (#10601) 3 years ago
Jason Robinson c2000ab35b
Add `get_userinfo_by_id` method to `ModuleApi` (#9581) 3 years ago
Jonathan de Jong 95e47b2e78
[pyupgrade] `synapse/` (#10348) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 3 years ago
Patrick Cloke 30b56f6925
Add type hints to get_domain_from_id and get_localpart_from_id. (#10385) 3 years ago
Richard van der Hoff fcf3c7032b
Ensure that we do not cache empty sync responses after a timeout (#10158) 3 years ago
Marcus 8070b893db
update black to 21.6b0 (#10197) 3 years ago
Erik Johnston a15c003e5b
Make DomainSpecificString an attrs class (#9875) 4 years ago
Richard van der Hoff 294c675033
Remove `synapse.types.Collection` (#9856) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Richard van der Hoff a7a3790066
Convert Requester to attrs (#9586) 4 years ago
Patrick Cloke 58114f8a17
Create a SynapseReactor type which incorporates the necessary reactor interfaces. (#9528) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 7950aa8a27 Fix some typos. 4 years ago
Richard van der Hoff 0cd2938bc8
Support icons for Identity Providers (#9154) 4 years ago
Patrick Cloke 98a64b7f7f
Add basic domain validation for `DomainSpecificString.is_valid`. (#9071) 4 years ago
Richard van der Hoff 28877fade9
Implement a username picker for synapse (#8942) 4 years ago
Patrick Cloke 79bfe966e0
Improve error checking for OIDC/SAML mapping providers (#8774) 4 years ago
Erik Johnston f21e24ffc2
Add ability for access tokens to belong to one user but grant access to another user. (#8616) 4 years ago
Erik Johnston 52a50e8686
Use vector clocks for room stream tokens. (#8439) 4 years ago
Erik Johnston 7941372ec8
Make token serializing/deserializing async (#8427) 4 years ago
Erik Johnston ea70f1c362
Various clean ups to room stream tokens. (#8423) 4 years ago
Erik Johnston ac11fcbbb8
Add EventStreamPosition type (#8388) 4 years ago
Jonathan de Jong a3f124b821
Switch metaclass initialization to python 3-compatible syntax (#8326) 4 years ago
Erik Johnston fe8ed1b46f
Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281) 4 years ago
Erik Johnston 63c0e9e195
Add types to StreamToken and RoomStreamToken (#8279) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Patrick Cloke d5e73cb6aa
Define StateMap as immutable and add a MutableStateMap type. (#8183) 4 years ago
Patrick Cloke ac77cdb64e
Add a shadow-banned flag to users. (#8092) 4 years ago
Erik Johnston 9d1e4942ab
Fix typing for notifier (#8064) 4 years ago
Will Hunt 62b1ce8539
isort 5 compatibility (#7786) 4 years ago
Patrick Cloke 7dcbc33a1b
Validate the alt_aliases property of canonical alias events (#6971) 5 years ago
Richard van der Hoff 5a246611e3
Type defintions for use in refactoring for redaction changes (#6803) 5 years ago
Erik Johnston d386f2f339
Add StateMap type alias (#6715) 5 years ago
Richard van der Hoff 66ca914dc0 Remove unused hashes and depths from create_new_client_event params 5 years ago
Amber Brown 864f144543
Fix up some typechecking (#6150) 5 years ago
Hubert Chathi fac1cdc562 make changes from PR review 5 years ago
Hubert Chathi c659b9f94f allow uploading keys for cross-signing 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff eed7271b3b declare a ReadReceipt class 6 years ago
Richard van der Hoff c588b9b9e4
Factor SSO success handling out of CAS login (#4264) 6 years ago
Amber Brown da7785147d
Python 3: Convert some unicode/bytes uses (#3569) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Vincent Breitmoser f4284d943a In DomainSpecificString, override __repr__ in addition to __str__ 7 years ago