Commit Graph

655 Commits (8a4b3738f3dcf49f70c08204ad457559dcef4112)

Author SHA1 Message Date
Richard van der Hoff 7eb6e39a8f
Record the SSO Auth Provider in the login token (#9510) 4 years ago
Patrick Cloke aee10768d8 Revert "Fix #8518 (sync requests being cached wrongly on timeout) (#9358)" 4 years ago
Jonathan de Jong f5c93fc993
Fix #8518 (sync requests being cached wrongly on timeout) (#9358) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Richard van der Hoff 3b754aea27
Clean up caching/locking of OIDC metadata load (#9362) 4 years ago
Patrick Cloke 7950aa8a27 Fix some typos. 4 years ago
Patrick Cloke e40d88cff3
Backout changes for automatically calculating the public baseurl. (#9313) 4 years ago
Patrick Cloke 3f58fc848d
Type hints and validation improvements. (#9321) 4 years ago
Richard van der Hoff 4167494c90
Replace username picker with a template (#9275) 4 years ago
Andrew Morgan a64c29926e
Pass a dict, instead of None, to modules if a None config is specified in the homeserver config (#9229) 4 years ago
Erik Johnston 056327457f
Fix chain cover update to handle events with duplicate auth events (#9210) 4 years ago
Richard van der Hoff 0cd2938bc8
Support icons for Identity Providers (#9154) 4 years ago
Richard van der Hoff 9ffac2bef1
Remote dependency on distutils (#9125) 4 years ago
Erik Johnston 1a08e0cdab
Fix event chain bg update. (#9118) 4 years ago
Erik Johnston 1315a2e8be
Use a chain cover index to efficiently calculate auth chain difference (#8868) 4 years ago
Erik Johnston a03d71dc9d
Fix "Starting metrics collection from sentinel context" errors (#9053) 4 years ago
Patrick Cloke 1b4d5d6acf
Empty iterables should count towards cache usage. (#9028) 4 years ago
Patrick Cloke 06fefe0bb1
Add type hints to the logging context code. (#8939) 4 years ago
David Teller f14428b25c
Allow spam-checker modules to be provide async methods. (#8890) 4 years ago
Richard van der Hoff ab7a24cc6b
Better formatting for config errors from modules (#8874) 4 years ago
Richard van der Hoff 90c900a8ff Merge pull request #8678 from matrix-org/rav/fix_frozen_events 4 years ago
Richard van der Hoff cbc82aa09f
Implement and use an @lru_cache decorator (#8595) 4 years ago
Richard van der Hoff b6ca69e4f1 Remove frozendict_json_encoder and support frozendicts everywhere 4 years ago
Dan Callahan aff1eb7c67
Tell Black to format code for Python 3.5 (#8664) 4 years ago
Richard van der Hoff b28aaeb3a5
Optimise CacheDescriptor (#8594) 4 years ago
Richard van der Hoff c13820bcee fix failure case 4 years ago
Richard van der Hoff 2b3af01791 optimise DeferredCache.set 4 years ago
Richard van der Hoff 1f4269700c Push some deferred wrangling down into DeferredCache 4 years ago
Richard van der Hoff 96e7d3c4a0
Fix 'LruCache' object has no attribute '_on_resize' (#8591) 4 years ago
Richard van der Hoff 903d11c43a
Add `DeferredCache.get_immediate` method (#8568) 4 years ago
Richard van der Hoff 97647b33c2
Replace DeferredCache with LruCache where possible (#8563) 4 years ago
Richard van der Hoff 6d7b22041d review comments 4 years ago
Richard van der Hoff 995cc615a0
Apply suggestions from code review 4 years ago
Richard van der Hoff 0ec0bc3886 type annotations for LruCache 4 years ago
Richard van der Hoff 3ee17585cd
Make LruCache register its own metrics (#8561) 4 years ago
Richard van der Hoff 8075504a60
Enable mypy for synapse.util.caches (#8547) 4 years ago
Richard van der Hoff 4182bb812f move DeferredCache into its own module 4 years ago
Richard van der Hoff 9f87da0a84 Rename Cache->DeferredCache 4 years ago
Richard van der Hoff 7eff59ec91 Add some more type annotations to Cache 4 years ago
Patrick Cloke 1781bbe319
Add type hints to response cache. (#8507) 4 years ago
Richard van der Hoff b28bfd905d
Clarify error message when plugin config parsers raise an error (#8492) 4 years ago
Richard van der Hoff ba700074c6 Expose a `get_resource_usage` method in `Measure` 4 years ago
Richard van der Hoff 1c262431f9
Fix handling of connection timeouts in outgoing http requests (#8400) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Jonathan de Jong 837293c314
Remove obsolete __future__ imports (#8337) 4 years ago
Patrick Cloke aec294ee0d
Use slots in attrs classes where possible (#8296) 4 years ago
Patrick Cloke b86764662b
Fix the exception that is raised when invalid JSON is encountered. (#8291) 4 years ago
Patrick Cloke 2ea1c68249
Remove some unused distributor signals (#8216) 4 years ago
Patrick Cloke e45b834119
Add types to async_helpers (#8260) 4 years ago
Patrick Cloke 72bec36d50
Directly import json from the standard library. (#8259) 4 years ago