trentlarson
3f3736e81b
bump version and add "-beta"
2026-10-19 11:21:26 -06:00
trentlarson
3d2e3ae8aa
bump to version 0.2.5
0.2.5
2026-10-18 15:36:31 -06:00
trentlarson
e14a65d210
fix and finish the alertSearch query & results
2026-10-16 09:14:44 -06:00
trentlarson
0c67bfbc9b
add /deep-link/new-activity on the end of the URL in SMS texts
2026-10-15 19:49:58 -06:00
trentlarson
cdd84643db
rename to "MESSAGE_ENV_LABEL" for both push & SMS
2026-10-15 19:44:00 -06:00
trentlarson
ce6111d72b
add to SMS text on certain environments
2026-10-15 19:29:31 -06:00
trentlarson
a8d20f9f12
bump to version 0.2.4
0.2.4
2026-10-13 19:50:05 -06:00
trentlarson
19c1291ab5
send only new cursors to alertSearch; drop the ID-path handoff
2026-10-13 13:05:36 -06:00
trentlarson
84c4163e31
change after & before from jwtIds to new cursors
2026-10-13 12:37:23 -06:00
trentlarson
f9f9774c12
doc: small tweaks to SMS plan
2026-10-05 21:34:32 -06:00
trentlarson
4db216a034
bump to version 0.2.3
2026-10-05 21:33:12 -06:00
Jose Olarte III
45dede8dfe
Merge branch 'retire-legacy-notification'
2026-09-28 16:17:42 +08:00
trentlarson
32efcdf656
bump version and add '-beta'
2026-09-27 16:24:27 -06:00
Jose Olarte III
84b11e1fc8
Drop retired /notifications/refresh from the auth docs.
2026-09-25 15:10:57 +08:00
Jose Olarte III
2d2aeb2c3a
Remove legacy /notifications/refresh and WAKEUP_PING producer.
2026-09-22 20:46:01 +08:00
Jose Olarte III
51b2c57e7d
Stop starting the legacy WAKEUP_PING FCM scheduler.
2026-09-22 18:01:03 +08:00
Jose Olarte III
64431efdc4
bump to 0.2.2 after merging endpoint-query
0.2.2
2026-09-22 15:15:55 +08:00
Jose Olarte III
d727476796
Merge branch 'endpoint-query'
2026-09-22 15:12:40 +08:00
Jose Olarte III
c75060a7f1
Use singular “update” when the digest has one item so FCM and SMS bodies stay grammatical.
2026-09-18 16:54:09 +08:00
Jose Olarte III
77df676d6e
Accept POST on /notifications/alert-authorization instead of PUT.
...
The path and payload stay the same; this matches how the client submits a batch.
2026-09-18 15:05:30 +08:00
Jose Olarte III
226925278f
Move remaining alertSearch tests under test/.
...
Keep them beside the existing SMS alertSearch tests and update imports so they still load src/.
2026-09-18 14:53:41 +08:00
trentlarson
93168ae360
make the boolean checks consistent, and guard against mistakes
2026-09-14 11:43:22 -06:00
trentlarson
885c6ced42
bump version and add '-beta'
2026-09-09 21:09:44 -06:00
trentlarson
4c2e6491db
bump to version 0.2.1, for relase on test server
2026-09-09 21:09:09 -06:00
Jose Olarte III
657fd9c530
Count the SMS digest cap by UTC calendar day so a send just before midnight does not block the next day’s text.
2026-09-09 21:19:49 +08:00
trentlarson
65eb1bee1e
add notify hour-minute setting, and a DELETE for an existing alert
2026-09-07 18:55:52 -06:00
trentlarson
9e5b8bbd59
Merge branch 'endpoint-query' into endpoint-query-sms
2026-09-07 17:02:18 -06:00
trentlarson
6cea0e9b67
sms: create explicit allow & block management
2026-09-06 12:20:04 -06:00
trentlarson
2e34bed700
sms: more debugging info
2026-09-06 09:32:03 -06:00
trentlarson
bfac283690
add tests -- which have worked on Trent's machine... SMS sent!
2026-09-06 09:22:15 -06:00
trentlarson
f967db7373
Add SMS notifications. The PLAN is executed but this isn't tested yet.
2026-09-05 20:52:34 -06:00
trentlarson
adf5e6166d
add a flag for the debug endpoints, and distinguish unavailable errors
2026-09-05 16:54:23 -06:00
trentlarson
776558b230
remove debug endpoints that are unsafe in final version
2026-09-05 13:21:03 -06:00
Jose Olarte III
d0a3951689
Allow the ngrok browser-warning skip header in CORS so a WebView can reach the local tunnel without failing preflight.
2026-09-03 21:12:59 +08:00
Jose Olarte III
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.
2026-09-01 16:07:21 +08:00
Jose Olarte III
cfc2cdefa3
Send a TimeSafari FCM digest after a completed daily alertSearch with updates, using JWT consumption to avoid repeat sends without changing WAKEUP_PING.
2026-08-31 21:41:34 +08:00
Jose Olarte III
10e80c6f41
Attach the alertSearch digest to each daily run so a completed retrieve is notification-ready without changing JWT consumption or cursor rules.
2026-08-31 20:44:04 +08:00
trentlarson
a93a46ba39
fix version in package-lock
2026-08-30 11:08:54 -06:00
Jose Olarte III
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.
2026-08-28 20:58:13 +08:00
Jose Olarte III
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.
2026-08-28 16:39:22 +08:00
Jose Olarte III
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.
2026-08-28 15:46:39 +08:00
Jose Olarte III
131d2fc9d9
Add an explicit alertSearch cycle that loads cursors, retrieves, and advances only complete sources so scheduler integration can reuse a proven path.
...
Treat Partner LIMIT-50 pages with a tied oldest updatedAt as incomplete so exclusive beforeDate paging cannot skip remaining rows.
2026-08-27 20:55:13 +08:00
Jose Olarte III
eb5b286476
Persist independent Endorser and Partner alertSearch cursors per user so later daily runs can resume after the last complete retrieval.
...
Advance each cursor only on success, leave empty/pagination/error results unchanged, and keep this unwired from the scheduler.
2026-08-27 20:20:51 +08:00
Jose Olarte III
caeca10910
Fix Endorser alertSearch pagination so the next beforeId is the max of per-bucket minima, not the global min.
...
Treat a full plansNearby page as incomplete because the server orders that bucket by rowid while filtering jwtId.
2026-08-27 16:34:36 +08:00
Jose Olarte III
74e9c02669
Add an alertSearch retrieval layer so notify-api can query Endorser and Partner with a delegated JWT.
...
Keep Endorser and Partner cursors independent, paginate with the real beforeId/beforeDate contract, and leave scheduling and notification delivery for later.
2026-08-27 15:16:04 +08:00
Jose Olarte III
00cd0cf8f4
Add PUT /notifications/alert-authorization so the app can install a 100-JWT delegated batch without overloading device registration.
...
Store the batch atomically under the authenticated DID, replace unused JWTs on each setup, and reject Passkey identities that cannot mint future credentials.
2026-08-26 20:40:52 +08:00
Jose Olarte III and Cursor
9c7c7fa271
bump version to 0.1.4 and add to CHANGELOG
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-07 15:49:28 +08:00
jose
76d3447d78
Merge pull request 'chore: rename FCM_TOKEN_DATA_DIR env var to NOTIFY_DATA_DIR' ( #4 ) from data-dir-rename into master
...
Reviewed-on: #4
2026-08-07 06:26:36 +00:00
Jose Olarte III
6e4e1e7f1b
chore: rename FCM_TOKEN_DATA_DIR env var to NOTIFY_DATA_DIR
...
Align the data-directory env name with notify.sqlite; default path remains ./data.
2026-08-04 17:31:14 +08:00
trentlarson
a45150e25f
bump version to 0.1.3 and add to CHANGELOG
2026-07-30 20:21:03 -06:00