Commit Graph

560 Commits

Author SHA1 Message Date
101c5ca6e0 change name of test for in-memory notification repository 2025-03-27 10:07:11 -07:00
7379840070 extract notification repository to interface 2025-03-27 10:06:42 -07:00
c517d93e3a add test cases and rename some methods 2025-03-27 10:02:13 -07:00
09be37cedb move arguments and notification interfaces to notification repository file 2025-03-27 09:57:49 -07:00
60b626b64f also rename the tests 2025-03-27 09:35:05 -07:00
687fe0d826 finish the rename for the data loaders 2025-03-27 09:33:37 -07:00
fab99db755 rename existing repository to shuttle repository 2025-03-27 09:32:29 -07:00
3a85f3da8b bind rest of notification scheduler methods to class 2025-03-27 09:28:47 -07:00
617f4dc72b add redis and run npm audit fix 2025-03-27 09:26:37 -07:00
7761e09b0e add separate redis service without persistence 2025-03-27 09:21:17 -07:00
8ef161ae3b update AOF option 2025-03-27 09:15:15 -07:00
f52b968d85 add redis configuration with AOF 2025-03-27 09:14:58 -07:00
5d0916981f Merge pull request #34 from brendan-ch/chore/setup-docker-and-redis
chore/setup-docker-and-redis
2025-03-27 08:47:08 -07:00
de4cfaaa8d update README 2025-03-27 08:46:53 -07:00
e880830e02 add redis URL to docker compose 2025-03-27 08:42:46 -07:00
cb65cd49f3 Revert "test that failing test breaks ci"
This reverts commit bef93538fb.
2025-03-27 08:30:23 -07:00
bef93538fb test that failing test breaks ci 2025-03-27 08:28:52 -07:00
83cf38ed91 remove dotenv 2025-03-27 08:27:14 -07:00
829b3f4ffd load each environment variable automatically from the env file 2025-03-27 08:26:44 -07:00
25f9dd62b1 remove .env file from testing and app-integration-test flows 2025-03-26 16:06:00 -07:00
e12a9817ff remove extra - 2025-03-26 16:00:15 -07:00
299bcfcf18 update docker command for compose build 2025-03-26 16:00:03 -07:00
b442cdda21 add app integration testing workflow 2025-03-26 15:55:24 -07:00
892ca7ec63 update github actions to use docker 2025-03-26 15:53:46 -07:00
4990e65c3e add testing workflow and update package.json 2025-03-26 15:53:39 -07:00
66642e7050 simplify the dockerfile and move it to a separate file 2025-03-26 15:50:47 -07:00
f2a464d52d fix the inline dockerfile to use cmd instead of run, and update port 2025-03-26 15:45:26 -07:00
2dd91c9885 add docker compose file and dockerignore 2025-03-26 15:31:12 -07:00
9942796f26 Merge pull request #33 from brendan-ch/feat/flexible-timing-support-for-notifications
[INT-27] feat/flexible-timing-support-for-notifications
2025-03-25 16:26:08 -07:00
7199adf20e play the default sound when the notification is sent 2025-03-25 16:21:19 -07:00
4d74027b0e update schema types for backwards compatibility with current schema 2025-03-25 16:16:18 -07:00
717575e004 update query resolvers to add the seconds threshold 2025-03-25 16:00:13 -07:00
99672e749f use seconds threshold provided in argument inputs 2025-03-25 15:48:42 -07:00
96e7e0297b update tests for mutation resolvers 2025-03-25 15:43:00 -07:00
14a3738fba add a public method to get the seconds threshold for a scheduled notification 2025-03-25 15:39:17 -07:00
1321ff1347 update graphql schema with updated arguments 2025-03-25 15:29:31 -07:00
fb49577cf6 add logic to send notification based on a provided threshold 2025-03-25 15:19:09 -07:00
1f8d4bfbd4 extract tuple.toString to variable 2025-03-25 15:11:47 -07:00
50636e5582 change set of device IDs to object of device IDs to seconds threshold 2025-03-25 15:09:32 -07:00
07b80f2012 update tests to include the secondsThreshold argument 2025-03-25 14:59:03 -07:00
8874704acb add optional secondsThreshold value 2025-03-25 14:55:34 -07:00
9e6e20503d Merge pull request #32 from brendan-ch/chore/split-notification-service
[INT-45] chore/split-notification-service
2025-03-24 10:35:38 -07:00
7e3305247d update notification scheduler tests with mock notification sender 2025-03-24 10:20:59 -07:00
2ccdba3d11 add test for failing error code 2025-03-24 10:14:43 -07:00
20282c3cf9 add test for APNs bundle ID 2025-03-24 10:13:58 -07:00
ac65e23984 add test for making a connection to the server 2025-03-24 10:11:17 -07:00
e433662f19 add test cases for sendNotificationImmediately 2025-03-24 10:09:37 -07:00
5670efb042 move getAPNsFullUrlToUse method to the notification sender tests 2025-03-24 10:05:10 -07:00
6251f0e247 move shouldSendNotifications property to the AppleNotificationSender 2025-03-24 10:02:30 -07:00
a6ceeb4dfb add optional dependency inject for apple notification sender 2025-03-24 09:59:29 -07:00