Commit Graph

20 Commits

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