- Timestamp:
- 07/22/2026 07:12:11 AM (7 weeks ago)
- Branches:
- main
- Children:
- 053bf51
- Parents:
- dc4aa08
- git-author:
- Robin <roboburr@…> (07/22/2026 07:00:29 AM)
- git-committer:
- Robin <roboburr@…> (07/22/2026 07:12:11 AM)
- Location:
- src
- Files:
-
- 1 added
- 2 edited
-
config/database.js (modified) (1 diff)
-
routes/posts.js (modified) (1 diff)
-
services/PushService.js (added)
Legend:
- Unmodified
- Added
- Removed
-
src/config/database.js
rdc4aa08 rad10715 335 335 expires_at INTEGER NOT NULL, -- unix seconds; re-link after 336 336 created_at DATETIME DEFAULT CURRENT_TIMESTAMP 337 ); 338 -- Web Push (docs/webpush-design.md): one row per browser/device the owner 339 -- enabled notifications on. Payloads are encrypted to p256dh/auth (RFC 8291). 340 CREATE TABLE IF NOT EXISTS push_subscriptions ( 341 endpoint TEXT PRIMARY KEY, -- push-service URL for this device 342 user_id TEXT NOT NULL, 343 p256dh TEXT NOT NULL, -- client public key 344 auth TEXT NOT NULL, -- client auth secret 345 alert_types TEXT, -- JSON {follow,reply,like,boost,dm} 346 ua_label TEXT, 347 created_at DATETIME DEFAULT CURRENT_TIMESTAMP, 348 last_ok_at DATETIME 337 349 ); 338 350 CREATE TABLE IF NOT EXISTS ap_outbox ( -
src/routes/posts.js
rdc4aa08 rad10715 152 152 'manifest.webmanifest', 'sw.js', 'favicon.ico', 'favicon.svg', 'assets', 153 153 'authorize_interaction', 'fediverse', 'news', 'following', 'notifications', 'blocking', 154 'paid', 'push', 154 155 ]); 155 156
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)