Commit graph

6 commits

Author SHA1 Message Date
Jeong Arm
ee1b865c24 Prevent use locale with empty string ()
Somehow user's locale could be an empty string, And empty string itself
are treated as true value.
2022-05-28 14:32:08 +02:00
Eugen Rochko
a8bf951926 Change Web Push API deliveries to use request pooling () 2021-04-12 14:25:34 +02:00
Eugen Rochko
a5e34d5ff8 Fix web push subscriptions being deleted on rate limit or timeout () 2019-09-13 19:15:47 +02:00
han@highemelry
b6997d2622 Change the retry limit in error of web push notification ()
- Change the maximum count of retry for web push notification (Default -> 5).
   - In case of high load of subscribe server, the retries will be repeated many times.
   - Because the retries occupy the default queue, maximum retry count should be reduced.
2019-07-12 18:46:21 +02:00
Eugen Rochko
26140838c4 Do no retry web push workers if the server returns a 4xx response ()
Add timeout of 10s to web push requests
2018-12-17 03:14:13 +01:00
Eugen Rochko
e86a4fe36b Add REST API for Web Push Notifications subscriptions ()
- POST /api/v1/push/subscription
- PUT /api/v1/push/subscription
- DELETE /api/v1/push/subscription
- New OAuth scope: "push" (required for the above methods)
2018-05-11 11:49:12 +02:00