0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 03:43:51 +01:00
synapse/tests/push
Patrick Cloke 9400dc0535
Add the List-Unsubscribe header for notification emails. (#16274)
Adds both the List-Unsubscribe (RFC2369) and List-Unsubscribe-Post (RFC8058)
headers to push notification emails, which together should:

* Show an "Unsubscribe" link in the MUA UI when viewing Synapse notification emails.
* Enable "one-click" unsubscribe (the user never leaves their MUA, which automatically
  makes a POST request to the specified endpoint).
2023-09-11 09:49:48 -04:00
..
__init__.py Write some tests for the email pusher (#4095) 2018-10-30 23:55:43 +11:00
test_bulk_push_rule_evaluator.py Bump mypy-zope & mypy. (#16188) 2023-08-29 10:38:56 -04:00
test_email.py Add the List-Unsubscribe header for notification emails. (#16274) 2023-09-11 09:49:48 -04:00
test_http.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
test_presentable_names.py Fix-up type hints for tests.push module. (#14816) 2023-01-11 07:35:40 -05:00
test_push_rule_evaluator.py Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00