fc3cbd2bc0
Add a local command that sends one alert_search FCM to a chosen device so a notification tap can be tested without a daily run.
Jose Olarte III2026-10-20 11:35:27 -04:00
e14a65d210
fix and finish the alertSearch query & results
trentlarson2026-10-16 09:14:44 -06:00
0c67bfbc9b
add /deep-link/new-activity on the end of the URL in SMS texts
trentlarson2026-10-15 19:49:58 -06:00
cdd84643db
rename to "MESSAGE_ENV_LABEL" for both push & SMS
trentlarson2026-10-15 19:44:00 -06:00
ce6111d72b
add to SMS text on certain environments
trentlarson2026-10-15 19:29:31 -06:00
e60f6a7c83
Announce the same deduped AlertSearch total in FCM and SMS, and drop the claims category the query never returns.
Jose Olarte III2026-10-14 12:38:44 -04:00
1781910504
Break the daily AlertSearch push down by update type so a give, an offer, and a nearby or similar match are not all reported as a bare total.
Jose Olarte III2026-10-14 12:20:39 -04:00
4c2e6491db
bump to version 0.2.1, for relase on test server
trentlarson2026-09-09 21:09:09 -06:00
657fd9c530
Count the SMS digest cap by UTC calendar day so a send just before midnight does not block the next day’s text.
Jose Olarte III2026-09-09 21:19:49 +08:00
bfac283690
add tests -- which have worked on Trent's machine... SMS sent!
trentlarson2026-09-06 09:22:15 -06:00
f967db7373
Add SMS notifications. The PLAN is executed but this isn't tested yet.
trentlarson2026-09-05 20:52:34 -06:00
adf5e6166d
add a flag for the debug endpoints, and distinguish unavailable errors
trentlarson2026-09-05 16:54:23 -06:00
776558b230
remove debug endpoints that are unsafe in final version
trentlarson2026-09-05 13:21:03 -06:00
d0a3951689
Allow the ngrok browser-warning skip header in CORS so a WebView can reach the local tunnel without failing preflight.
Jose Olarte III2026-09-03 21:12:59 +08:00
c9df679ac2
Document the real Docker/node dist/index.js production path, durable SQLite, single replica, and Firebase credential options so deploys are not treated as equivalent to tsx.
Jose Olarte III2026-09-01 16:07:21 +08:00
cfc2cdefa3
Send a TimeSafari FCM digest after a completed daily alertSearch with updates, using JWT consumption to avoid repeat sends without changing WAKEUP_PING.
Jose Olarte III2026-08-31 21:41:34 +08:00
10e80c6f41
Attach the alertSearch digest to each daily run so a completed retrieve is notification-ready without changing JWT consumption or cursor rules.
Jose Olarte III2026-08-31 20:44:04 +08:00
49f50e36b7
Add a structured alertSearch digest of the six result buckets so the app can build a daily notification from records and counts, not a server-hardcoded message.
Jose Olarte III2026-08-28 20:58:13 +08:00
209b346d16
Add a user-level alertSearch scheduler that runs each authorization-batch user once per pass, with an in-flight guard, without changing FCM wakeup.
Jose Olarte III2026-08-28 16:39:22 +08:00
d45ea26bca
Add a callable daily alertSearch run that picks today’s unused delegated JWT from the batch timezone and consumes it only after both sources complete.
Jose Olarte III2026-08-28 15:46:39 +08:00
131d2fc9d9
Add an explicit alertSearch cycle that loads cursors, retrieves, and advances only complete sources so scheduler integration can reuse a proven path.
Jose Olarte III2026-08-27 20:55:13 +08:00
eb5b286476
Persist independent Endorser and Partner alertSearch cursors per user so later daily runs can resume after the last complete retrieval.
Jose Olarte III2026-08-27 20:20:51 +08:00
caeca10910
Fix Endorser alertSearch pagination so the next beforeId is the max of per-bucket minima, not the global min.
Jose Olarte III2026-08-27 16:34:36 +08:00
74e9c02669
Add an alertSearch retrieval layer so notify-api can query Endorser and Partner with a delegated JWT.
Jose Olarte III2026-08-27 15:16:04 +08:00
00cd0cf8f4
Add PUT /notifications/alert-authorization so the app can install a 100-JWT delegated batch without overloading device registration.
Jose Olarte III2026-08-26 20:40:52 +08:00
76d3447d78
Merge pull request 'chore: rename FCM_TOKEN_DATA_DIR env var to NOTIFY_DATA_DIR' (#4) from data-dir-rename into master
jose2026-08-07 06:26:36 +00:00