Commit Graph

67 Commits (79c18e07099e8b886eac35711796a5becf17956e)

Author SHA1 Message Date
David Robertson e79ee48313
disallow-untyped-defs for synapse.server_notices (#11021) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
Patrick Cloke e584534403
Use direct references for some configuration variables (part 3) (#10885) 3 years ago
Dirk Klimpel e62cdbef1a
Improve ServerNoticeServlet to avoid duplicate requests (#10679) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 7e8dc9934e
Add a type hints for service notices to the HomeServer object. (#9675) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke fa842a9866
Use the account handler in additional places. (#9166) 4 years ago
Erik Johnston f737368a26
Add admin API for logging in as a user (#8617) 4 years ago
Will Hunt 89700dfb8c
Check support room has only two users before sending a notice (#8728) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Patrick Cloke d1008fe949
Fix some comments and types in service notices (#7996) 4 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Patrick Cloke bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 5 years ago
Richard van der Hoff f4269694ce
Optimise some references to hs.config (#7546) 5 years ago
Erik Johnston 1531b214fc
Add ability to wait for replication streams (#7542) 5 years ago
Patrick Cloke 032e5a2aca
Convert synapse.server_notices to async/await. (#7394) 5 years ago
Andrew Morgan 6b22921b19
async/await is_server_admin (#7363) 5 years ago
Brendan Abolivier d73bf18d13
Server notices: Dissociate room creation/lookup from invite (#7199) 5 years ago
Erik Johnston 28c98e51ff
Add `local_current_membership` table (#6655) 5 years ago
Andrew Morgan 3916e1b97a
Clean up newline quote marks around the codebase (#6362) 5 years ago
Andrew Morgan 54fef094b3
Remove usage of deprecated logger.warn method from codebase (#6271) 5 years ago
Neil Johnson 2794b79052 Option to suppress resource exceeded alerting (#6173) 5 years ago
Andrew Morgan 4548d1f87e
Remove unnecessary parentheses around return statements (#5931) 5 years ago
Brendan Abolivier dbd46decad Revert "Do not send consent notices if "no-consent-required" is set" 5 years ago
Half-Shot 27a686e53b Do not send consent notices if "no-consent-required" is set 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Erik Johnston 05077e06fa Change admin_uri to admin_contact in config and errors 6 years ago
Erik Johnston 01a5a8b9e3 Fix checking if service notice room is already tagged 6 years ago
Erik Johnston cdd24449ee Ensure we wake up /sync when we add tag to notice room 6 years ago
Erik Johnston 14d49c51db Make content of tag an empty object rather than null 6 years ago
Erik Johnston 7f147d623b Fix bug where we broke sync when using limit_usage_by_mau 6 years ago
Erik Johnston 7e6e588e60 Fix bug where we resent "limit exceeded" server notices 6 years ago
Erik Johnston 9643a6f7f2 Update notice format 6 years ago
Neil Johnson ba1fbf7d5b special case server_notices_mxid 6 years ago
Neil Johnson d49b77404b clean up, no functional changes 6 years ago
Neil Johnson 51b17ec566 flake8 6 years ago
Neil Johnson 3c1080b6e4 refactor for readability, and reuse caching for setting tags 6 years ago
Neil Johnson eff3ae3b9a add room tagging 6 years ago
Neil Johnson a675f9c556 check for room state before deciding on action 6 years ago
Neil Johnson df1e4f259f WIP impl commiting to get feedback 6 years ago
Neil Johnson c055c91655 fix case where empty string state check is evaulated as False 6 years ago
Neil Johnson eabc5f8271 wip cut at sending resource server notices 6 years ago
Neil Johnson e2c9fe0a6a backout ability to pass in event type to server notices 6 years ago
Neil Johnson 9b75c78b4d support server notice state events for resource limits 6 years ago
Neil Johnson 63417c31e9 fix typo 6 years ago