Commit Graph

24 Commits

Author SHA1 Message Date
regalijan c3f89d86db Send webhook notifications for inactivity updates 2024-02-18 18:28:02 -05:00
regalijan a275424316 Webhook requests should be concurrent 2024-02-18 18:25:37 -05:00
regalijan c50cc97206 Send webhooks when inactivity notice is created 2024-02-18 17:42:53 -05:00
regalijan 43b1f1d136 How did this go unnoticed for so long 2024-02-15 13:10:57 -05:00
regalijan e4a0bb4753 Generally fix up inactivity notices 2023-11-04 22:51:43 -04:00
regalijan 4ddf797cc2 Add option for filing hiatuses 2023-11-04 13:40:02 -04:00
regalijan a4eaead08d Flip arguments 2023-10-26 11:09:02 -04:00
regalijan 528ba3a755 Set approved property in d1 on inactivity closure 2023-10-26 10:50:10 -04:00
regalijan 7df177d75c Delete FCM token on inactivity closure 2023-10-20 14:00:29 -04:00
regalijan adde22804a Send notifications on inactivity notice closure 2023-10-20 13:56:40 -04:00
regalijan 6ea7fae377 Add email and fcm token to inactivity notice data 2023-10-20 13:54:30 -04:00
regalijan 4adae3af51 Set and handle open property on inactivity notices 2023-10-20 13:32:03 -04:00
regalijan 3155442796 Le formatting fixes 2023-10-19 16:50:58 -04:00
regalijan 2fc73a62cc Maybe fix inactivity notices? 2023-10-19 16:50:52 -04:00
regalijan 0559877ca4 Make POST handler for existing inactivity notice 2023-10-19 16:50:48 -04:00
regalijan dd2d9f2672 Greatly reduce repeated code 2023-10-19 16:50:48 -04:00
regalijan 6b4f33272f Create PUT handler for inactivity notices 2023-10-19 16:50:16 -04:00
regalijan 1ce0476c49 Move inactivity notice validation to separate exported function 2023-10-19 16:50:16 -04:00
regalijan c295f3e4df Add inactivity deletion endpoint 2023-10-19 16:50:15 -04:00
regalijan ad5505b857 Remove discriminator property from inactivity kv value 2023-10-19 16:50:15 -04:00
regalijan fdc3afdc69 Insert inactivity notices into D1 2023-10-19 16:50:07 -04:00
regalijan 13965b55b8 Store creation date in inactivity notices 2023-10-19 16:50:00 -04:00
regalijan a0f507b751 Create new inactivity endpoint 2023-10-19 16:49:39 -04:00
regalijan c6c129715d Create inactivity api middleware 2023-10-19 16:49:38 -04:00