Commit Graph

639 Commits

Author SHA1 Message Date
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 6e42af0b70 Make report card more bearable on mobile 2023-10-20 00:39:56 -04:00
regalijan 98a56f209b Generate new session for mobile handoff 2023-10-19 23:59:15 -04:00
regalijan fa2f4957d2 Add meta headers to delete-account route 2023-10-19 20:03:01 -04:00
regalijan 7d196b1ada Add delete-account route 2023-10-19 19:58:33 -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 1ad1411d66 Add readme 2023-10-19 16:51:21 -04:00
regalijan d5eede39bb Update privacy policy again 2023-10-19 16:51:20 -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 ea98d7d0de Oopsie I forgot the rest of the config 2023-10-19 16:51:19 -04:00
regalijan 75402b3315 Create esbuild config 2023-10-19 16:51:18 -04:00
regalijan d25ed54bc7 Add dotenv to dev packages 2023-10-19 16:51:18 -04:00
regalijan 6f46906568 Update packages 2023-10-19 16:51:18 -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 8f05c3294a Update privacy policy 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 b1986f3ad2 Bump node version 2023-10-19 16:51:14 -04:00
regalijan 1590d2c5c0 Make game appeal buttons work lol 2023-10-19 16:51:14 -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 036f532f31 Make horrid webview captcha route 2023-10-19 16:51:11 -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 5fb2293617 Add captcha-only route 2023-10-19 16:51:11 -04:00
regalijan dbdf586755 Include permissions claim in jwt 2023-10-19 16:51:10 -04:00
regalijan f227906a75 Use google cloud platform scope instead of specific scopes for each service 2023-10-19 16:51:10 -04:00
regalijan effb3b8e43 Include picture claim in jwt 2023-10-19 16:51:10 -04:00
regalijan c7d1e4bd53 Add query param because of some browsers not sending the referrer 2023-10-19 16:51:09 -04:00