Commit graph

15 commits

Author SHA1 Message Date
Vyr Cossont
a8ae0e3173 Always load target account settings 2025-01-21 17:19:28 -08:00
Vyr Cossont
b982944e85 Restore treating all 5xx codes as temporary problems 2025-01-20 22:59:39 -08:00
Vyr Cossont
63ce52cbfa Make realsender.go more readable 2025-01-20 22:59:39 -08:00
Vyr Cossont
8542e8a7a3 Fix lint 2025-01-20 22:59:38 -08:00
Vyr Cossont
93aeadbd9f Improve titles, trim body to reasonable length 2025-01-20 22:59:38 -08:00
Vyr Cossont
13eda35985 Special-case 400 errors other than 408/429
Most client errors should remove the subscription.
2025-01-20 22:59:38 -08:00
Vyr Cossont
920ec76fd2 Post-rebase fixes 2025-01-20 22:59:00 -08:00
Vyr Cossont
255833683f Use packed notification flags 2025-01-20 22:59:00 -08:00
Vyr Cossont
464d920cfd Fix malformed VAPID sub claim 2025-01-20 22:59:00 -08:00
Vyr Cossont
3a239fbe5a Accept any 2xx code as a success 2025-01-20 22:59:00 -08:00
Vyr Cossont
8ae57782ff Send instance URL as Web Push JWT subject 2025-01-20 22:59:00 -08:00
Vyr Cossont
23847f0e18 Log Web Push server error messages 2025-01-20 22:59:00 -08:00
Vyr Cossont
2cb7a8bf2a Linter fixes 2025-01-20 22:59:00 -08:00
Vyr Cossont
8b9a228ea2 Implement push subscription API 2025-01-20 22:59:00 -08:00
Vyr Cossont
0c92f9f0f3 Add Web Push sender (similar to email sender) 2025-01-20 22:58:59 -08:00