1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-04-24 22:37:05 +00:00
synapse/tests/push
Patrick Cloke 9400dc0535
Add the List-Unsubscribe header for notification emails. ()
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 () 2018-10-30 23:55:43 +11:00
test_bulk_push_rule_evaluator.py Bump mypy-zope & mypy. () 2023-08-29 10:38:56 -04:00
test_email.py Add the List-Unsubscribe header for notification emails. () 2023-09-11 09:49:48 -04:00
test_http.py Rename blacklist/whitelist internally. () 2023-05-19 12:25:25 +00:00
test_presentable_names.py Fix-up type hints for tests.push module. () 2023-01-11 07:35:40 -05:00
test_push_rule_evaluator.py Use immutabledict instead of frozendict () 2023-03-22 17:15:34 +00:00