summary refs log tree commit diff
path: root/synapse/rest/admin/server_notice_servlet.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersPatrick Cloke2023-11-211-10/+16
|
* Pass the Requester down to the HttpTransactionCache. (#15200)Quentin Gliech2023-03-071-11/+23
|
* Clean up `synapse.rest.admin` (#11535)Dirk Klimpel2021-12-081-2/+2
|
* Convert status codes to `HTTPStatus` in `synapse.rest.admin` (#11452)Dirk Klimpel2021-11-291-3/+8
|
* Add missing type hints to non-client REST servlets. (#10817)Patrick Cloke2021-09-151-1/+1
| | | | Including admin, consent, key, synapse, and media. All REST servlets (the synapse.rest module) now require typed method definitions.
* Additional type hints for client REST servlets (part 5) (#10736)Patrick Cloke2021-09-031-2/+4
| | | | Additionally this enforce type hints on all function signatures inside of the synapse.rest.client package.
* Improve ServerNoticeServlet to avoid duplicate requests (#10679)Dirk Klimpel2021-08-271-7/+12
| | | Fixes: #9544
* Use a database table to hold the users that should have full presence sent ↵Andrew Morgan2021-05-181-3/+5
| | | | to them, instead of something in-memory (#9823)
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Add type hints to purge room and server notice admin API. (#9520)Dirk Klimpel2021-03-081-9/+14
|
* Use admin_patterns for all admin APIs. (#8331)Patrick Cloke2020-09-171-5/+4
| | | This reduces duplication of the admin prefix in regular expressions.
* Port synaps/rest/client/server_notice_servlet.py to async/awaitErik Johnston2019-10-111-6/+3
|
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
| | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :)
* Merge tag 'v1.2.0rc2' into developAndrew Morgan2019-07-241-2/+7
|\ | | | | | | | | | | | | Bugfixes -------- - Fix a regression introduced in v1.2.0rc1 which led to incorrect labels on some prometheus metrics. ([\#5734](https://github.com/matrix-org/synapse/issues/5734))
| * Fix servlet metric names (#5734)Jorik Schellekens2019-07-241-2/+7
| | | | | | | | | | | | | | | | | | | | * Fix servlet metric names Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Remove redundant check * Cover all return paths
* | Replace returnValue with return (#5736)Amber Brown2019-07-231-1/+1
|/
* Run Black. (#5482)Amber Brown2019-06-201-9/+4
|
* Add admin api for sending server_notices (#5121)Richard van der Hoff2019-05-021-0/+100