Commit Graph

472 Commits

Author SHA1 Message Date
Regalijan 3b4c3cf0b8 All of that and I still forgot the ampersand 2023-10-23 20:45:51 -04:00
Regalijan 3d93824aef Did I really use the wrong algorithm? 2023-10-23 20:44:18 -04:00
Regalijan 320d33c5fa Maybe fix signed links? 2023-10-23 20:32:18 -04:00
Regalijan 4559349ac6 URLsafe encoding needs to happen outside of btoa 2023-10-23 20:20:44 -04:00
Regalijan d87d801475 why 2023-10-23 20:15:39 -04:00
Regalijan cfdbc686c7 smh 2023-10-23 20:12:10 -04:00
regalijan 5607c2eea1 Create get-own item by id endpoint 2023-10-22 22:33:23 -04:00
regalijan a4524cfea4 Return current_status property in history endpoint 2023-10-22 17:23:31 -04:00
regalijan 45febd0585 New auth header since authorization is now used for jwts 2023-10-21 23:38:00 -04:00
regalijan 9212e3e454 Fix automatic unbans 2023-10-21 23:37:56 -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 62592e64b8 Expiration needs to be in seconds not ms 2023-10-20 12:54:58 -04:00
regalijan 4a62ce5c05 Include open property on appeals 2023-10-20 12:35:51 -04:00
regalijan d30c6e06d5 Add auto jwt refreshing 2023-10-20 11:18:03 -04:00
regalijan 91d00eec57 Add catchall api route 2023-10-20 10:13:39 -04:00
regalijan 748aa0e120 Create session check endpoint 2023-10-20 10:07:55 -04:00
regalijan 98a56f209b Generate new session for mobile handoff 2023-10-19 23:59:15 -04:00
regalijan aa3d74c4ad Send FCM token in reports 2023-10-19 17:26:37 -04:00
regalijan 863986188b Make token param required 2023-10-19 17:26:25 -04:00
regalijan ada6e468e5 Yoink global notify endpoint 2023-10-19 17:26:07 -04:00
regalijan b054d4cf41 Delete FCM token from KV on report action 2023-10-19 16:51:20 -04:00
regalijan 53b05e2bdd Delete FCM token from KV on appeal action 2023-10-19 16:51:20 -04:00
regalijan e2d1739656 Send push notifications on report process 2023-10-19 16:51:19 -04:00
regalijan fbe054b211 Delete all files on report recall 2023-10-19 16:51:19 -04:00
regalijan 4978659bf9 Store fcm token in report data 2023-10-19 16:51:19 -04:00
regalijan d350f6be9a Don't double-stringify fcm payloads 2023-10-19 16:51:17 -04:00
regalijan 8967818fcc Handle unexpected exceptions better 2023-10-19 16:51:17 -04:00
regalijan 212d8042c2 Handle clients that include the charset 2023-10-19 16:51:17 -04:00
regalijan 161862712c Send push notifs on appeal action 2023-10-19 16:51:16 -04:00
regalijan ffe70100ac Add appeal submit status endpoint 2023-10-19 16:51:16 -04:00
regalijan b6c051f3cb Let's hope i didn't break anything 2023-10-19 16:51:16 -04:00
regalijan 8778547286 Make game appeal actions ACTUALLY work now 2023-10-19 16:51:16 -04:00
regalijan 733d74824d Don't delete unactioned reports anymore 2023-10-19 16:51:15 -04:00
regalijan 1a35cca6cf Set approved field on appeal action 2023-10-19 16:51:15 -04:00
regalijan 33f90300ca Include id property in self-retrieve appeals 2023-10-19 16:51:15 -04:00
regalijan 5c65424a04 Retrieve self-submitted reports endpoint 2023-10-19 16:51:14 -04:00
regalijan ac56a62a5d Retrieve self-submitted appeals endpoint 2023-10-19 16:51:14 -04:00
regalijan a40665bd6c Create self-resource middleware 2023-10-19 16:51:13 -04:00
regalijan 78f599ac2c Add jwt middleware 2023-10-19 16:51:13 -04:00
regalijan 572a23fc11 Set new callbacks 2023-10-19 16:51:13 -04:00
regalijan d68687f0af Set styles on turnstile div 2023-10-19 16:51:12 -04:00
regalijan abe5632c30 CSS funny for webview captcha 2023-10-19 16:51:12 -04:00
regalijan 474497551f Actually log failures in console 2023-10-19 16:51:12 -04:00
regalijan a9dec97e7f Move webview captcha to api endpoint 2023-10-19 16:51:12 -04:00
regalijan ebc0b5e81f Create send notification endpoint 2023-10-19 16:51:11 -04:00
regalijan af8da9a273 Create sendPushNotification method 2023-10-19 16:51:11 -04:00
regalijan dbdf586755 Include permissions claim in jwt 2023-10-19 16:51:10 -04:00