mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
* Adds `codersdk.ExperimentWebPush` (`web-push`) * Adds a `coderd/webpush` package that allows sending native push notifications via `github.com/SherClockHolmes/webpush-go` * Adds database tables to store push notification subscriptions. * Adds an API endpoint that allows users to subscribe/unsubscribe, and send a test notification (404 without experiment, excluded from API docs) * Adds server CLI command to regenerate VAPID keys (note: regenerating the VAPID keypair requires deleting all existing subscriptions) --------- Co-authored-by: Kyle Carberry <kyle@carberry.com>
3 lines
45 B
SQL
3 lines
45 B
SQL
DROP TABLE IF EXISTS webpush_subscriptions;
|
|
|