|
|
403bec7c63
|
rename method to define what happens if notification doesn't exist
|
2025-02-03 23:45:55 -08:00 |
|
|
|
d1db9b3742
|
add test for cancelNotification
|
2025-02-03 23:45:30 -08:00 |
|
|
|
3e4f6e5440
|
remove empty test file
|
2025-02-03 23:29:45 -08:00 |
|
|
|
80e976752b
|
change behavior for missing shuttle/stop/ETA
|
2025-02-03 23:29:01 -08:00 |
|
|
|
6473661607
|
add tests for getAPNsFullUrlToUse
|
2025-02-03 23:26:16 -08:00 |
|
|
|
aff82a8185
|
fix binding errors with static method
|
2025-02-03 23:26:04 -08:00 |
|
|
|
c593fe14e1
|
make getAPNsFullUrlToUse public and testable
|
2025-02-03 23:23:21 -08:00 |
|
|
|
602ccf8139
|
update tests to wait for the publisher event to be sent
|
2025-02-03 23:20:42 -08:00 |
|
|
|
b3b4b71e22
|
extract seconds number to public readonly class property
|
2025-02-03 23:15:05 -08:00 |
|
|
|
11ea0518fe
|
extract notification/eta data into function
|
2025-02-03 23:13:27 -08:00 |
|
|
|
0cd7c2fe47
|
add export for scheduled notification data
|
2025-02-03 23:13:13 -08:00 |
|
|
|
179fa07d36
|
make polling function a global function
|
2025-02-03 23:07:55 -08:00 |
|
|
|
b252adb5d4
|
use waitForCondition function to poll for data update
|
2025-02-03 23:06:28 -08:00 |
|
|
|
64931e7546
|
remove redundant comments
|
2025-02-03 23:00:18 -08:00 |
|
|
|
4c8658a3d9
|
bind all other methods to class
|
2025-02-03 22:52:35 -08:00 |
|
|
|
16d2d4b4ef
|
add seconds threshold for notification
|
2025-02-03 22:47:17 -08:00 |
|
|
|
d357af7509
|
add shuttle and stop to repository within test
|
2025-02-03 22:42:50 -08:00 |
|
|
|
103ddef523
|
add handling for error and successful return
|
2025-02-03 22:42:25 -08:00 |
|
|
|
c5c0208371
|
add request code
|
2025-02-03 22:16:53 -08:00 |
|
|
|
f602aa6c2c
|
add method to determine which url to use
|
2025-02-03 22:03:28 -08:00 |
|
|
|
18402401e3
|
rename token variable for clarity
|
2025-02-03 21:57:42 -08:00 |
|
|
|
339148c890
|
implement test which checks if notification stays scheduled
|
2025-02-03 21:55:26 -08:00 |
|
|
|
711caa1d15
|
add a second notification to schedule for the test
|
2025-02-03 21:52:01 -08:00 |
|
|
|
90e5fa200e
|
add todo
|
2025-02-03 21:51:52 -08:00 |
|
|
|
8bc71d25fe
|
add code to update device ids object on successful delivery
|
2025-02-03 21:50:59 -08:00 |
|
|
|
e96316aa1e
|
add eta subscriber callback code
|
2025-02-03 21:37:20 -08:00 |
|
|
|
fba021d921
|
Merge branch 'main' into feat/notification-service
|
2025-02-03 21:31:46 -08:00 |
|
|
|
3bdc730c95
|
add the code to associate tuple key with array of device ids
|
2025-02-03 21:31:18 -08:00 |
|
|
|
69525a643d
|
add another test to see if the data actually gets scheduled
|
2025-02-03 21:26:59 -08:00 |
|
|
|
737a61fd41
|
add signature and default return for isNotificationScheduled
|
2025-02-03 21:25:18 -08:00 |
|
|
|
e9c2c8a7bc
|
add private object to store scheduled notifications
|
2025-02-02 21:33:23 -08:00 |
|
|
|
1e82ec2697
|
remove encryption key
|
2025-02-02 21:31:40 -08:00 |
|
|
|
11fe22ceea
|
add method to check if notification is scheduled (for testing
|
2025-02-02 21:31:24 -08:00 |
|
|
|
fe233dfcbd
|
add pseudocode
|
2025-02-02 21:24:40 -08:00 |
|
|
|
6172a04427
|
add documentation and change interface for cancelAllNotifications
|
2025-02-02 21:09:07 -08:00 |
|
|
|
f8ff7f9cc9
|
add testing logic for scheduleNotification test
|
2025-02-02 15:13:13 -08:00 |
|
|
|
2c86d9189d
|
update refreshed time on token generation
|
2025-02-02 14:57:06 -08:00 |
|
|
|
311906d88d
|
update sample key
|
2025-02-02 14:55:59 -08:00 |
|
|
|
36909dd5ac
|
fix fs import
|
2025-02-02 14:55:49 -08:00 |
|
|
|
8605b2087a
|
add sample key and mock fs return value
|
2025-02-02 14:52:07 -08:00 |
|
|
|
998dcaa9c7
|
add process.env variables
|
2025-02-02 14:48:03 -08:00 |
|
|
|
3ff041dd4e
|
add tests for reloadAPNsTokenIfTimePassed
|
2025-02-02 14:46:21 -08:00 |
|
|
|
9129ff6e91
|
add getter to lastRefreshedTimeMs
|
2025-02-02 14:44:35 -08:00 |
|
|
|
ddf008a0d6
|
remove async keyword from APNs reload
|
2025-02-02 14:43:07 -08:00 |
|
|
|
e0820cd17b
|
add test setup
|
2025-02-02 14:42:32 -08:00 |
|
|
|
a69ab5853c
|
update test cases for notification service
|
2025-02-02 14:28:10 -08:00 |
|
|
|
e30fafc9b7
|
remove method to start reloading token over timed intervals
|
2025-02-02 14:26:30 -08:00 |
|
|
|
a2386356f1
|
add experimental method to reload APNs token
|
2025-02-02 14:26:14 -08:00 |
|
|
|
e2e47bafc5
|
add jsonwebtoken types
|
2025-02-02 14:21:20 -08:00 |
|
|
|
fb981d4800
|
add bundle id and key path as variables
|
2025-02-02 14:09:35 -08:00 |
|