forked-synapse/synapse
V02460 2fc43e4219
Remove the deprecated cgi module (#17741)
Removes all uses of the `cgi` module from Synapse. It was deprecated in
Python version 3.11 and removed in version 3.13 ([“dead
battery”](https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-remove-dead-batteries-from-the-standard-library)).

### Pull Request Checklist

<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->

* [x] Pull request is based on the develop branch
* [x] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
  - Use markdown where necessary, mostly for `code blocks`.
  - End with either a period (.) or an exclamation mark (!).
  - Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [x] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html) is
correct
(run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters))

---------

Co-authored-by: Quentin Gliech <quenting@element.io>
2024-09-25 11:15:34 +02:00
..
_scripts Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
api Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
app Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
appservice Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
config Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
crypto Fix fetching signing keys when old_verify_keys is omitted (#17568) 2024-08-14 14:13:56 +01:00
events import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
federation Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
handlers Never return negative bump stamp (#17748) 2024-09-24 10:07:23 +00:00
http Remove the deprecated cgi module (#17741) 2024-09-25 11:15:34 +02:00
logging Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
media Fix content length on federation /thumbnail responses (#17532) 2024-08-28 11:29:12 +01:00
metrics Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
module_api Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
push Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
replication Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
res Send an email if the address is already bound to an user account (#16819) 2024-04-23 16:45:24 +01:00
rest Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
server_notices Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
spam_checker_api Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
state Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
static Update link to the clients webpage, fix #15825 (#15874) 2023-07-06 17:28:09 +02:00
storage Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
streams Fix regression when bounding future tokens (#17391) 2024-07-02 14:06:36 +01:00
synapse_rust Add event.internal_metadata.instance_name (#17300) 2024-06-13 11:32:50 -05:00
types Sliding sync: Add connection tracking to the account_data extension (#17695) 2024-09-19 19:51:51 +01:00
util Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
__init__.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
_pydantic_compat.py import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
event_auth.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
notifier.py Reduce volume of 'Waiting for current token' logs, which were introduced in v1.109.0. (#17428) 2024-07-23 11:51:34 +01:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Support MSC4140: Delayed events (Futures) (#17326) 2024-09-23 13:33:48 +01:00
visibility.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00