Commit Graph
100 Commits
Author SHA1 Message Date
regalijan 5607c2eea1 Create get-own item by id endpoint 2023-10-22 22:33:23 -04:00
regalijan b45378367b Make revoke button less terrible on mobile 2023-10-22 18:06:20 -04:00
regalijan 24bbc98624 Use current_status property for user card 2023-10-22 17:24:00 -04:00
regalijan a4524cfea4 Return current_status property in history endpoint 2023-10-22 17:23:31 -04:00
regalijan 62b418f0e5 Visual improvements to revoke modal 2023-10-22 17:09:10 -04:00
regalijan bbb03433ed Use queried username for length check 2023-10-22 17:03:24 -04:00
regalijan ed72f6fc9b Create revoke punishment modal 2023-10-22 03:22:33 -04:00
regalijan 76cf568d9c Remove max width from player status card 2023-10-21 23:54:09 -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 3fb2eb20b9 Do same for other cards 2023-10-21 23:37:55 -04:00
regalijan 53f5b0a3a2 Set display: none instead of visibility: hidden to reduce wasted space 2023-10-21 23:37:49 -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 3cc44bab83 bruh 2023-10-20 13:24:48 -04:00
regalijan e48af3af35 Ok it didn't break anything but it didn't exactly work 2023-10-20 13:17:45 -04:00
regalijan 0fd8195bb0 Nonzero chance i borked something 2023-10-20 13:11:49 -04:00
regalijan 62592e64b8 Expiration needs to be in seconds not ms 2023-10-20 12:54:58 -04:00
regalijan e2c98ccfae Fix toast hook issue 2023-10-20 12:54:39 -04:00
regalijan c609ab4e0e Use state instead of getElementById 2023-10-20 12:45:54 -04:00
regalijan ea1f54fd04 Hide controls on closed appeals 2023-10-20 12:36:10 -04:00
regalijan 4a62ce5c05 Include open property on appeals 2023-10-20 12:35:51 -04:00
regalijan a9f04b99d1 Fall back to zero as a default value on game appeals 2023-10-20 12:24:04 -04:00
regalijan 5a1a40f799 Hide controls on closed reports 2023-10-20 12:23:47 -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 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
regalijan 9bb2d7396d Apparently Response.redirect does not work with relative paths 2023-10-19 16:51:09 -04:00
regalijan 1e35a11951 Create mobile login endpoint 2023-10-19 16:51:09 -04:00
regalijan 879face425 assertion -> token 2023-10-19 16:51:09 -04:00
regalijan 7fe09e136e Create jwt endpoint 2023-10-19 16:51:08 -04:00
regalijan f616cc5f3b Make report submit button use blue color scheme 2023-10-19 16:51:08 -04:00
regalijan 5d7695720f Actually fix attachment url issue 2023-10-19 16:51:08 -04:00
regalijan edb6aff355 Try something else for compact view type dropdown 2023-10-19 16:51:08 -04:00
regalijan e12ecdfe33 Fix appeal check 2023-10-19 16:51:07 -04:00
regalijan 267cc02c96 Fix old items not being removed when queue type is changed 2023-10-19 16:51:07 -04:00
regalijan 8b1e44fa91 Trial self deletion for item cards 2023-10-19 16:51:07 -04:00
regalijan 722a791000 It appears I cannot read 2023-10-19 16:51:06 -04:00
regalijan 6c310e5564 Fix card duplication on type change 2023-10-19 16:51:06 -04:00
regalijan 3082f145e6 Include roblox user info in kv store 2023-10-19 16:51:06 -04:00
regalijan afbea74028 Once again work around weird routing behavior 2023-10-19 16:51:06 -04:00
regalijan b2344718e9 lol oops 2023-10-19 16:51:05 -04:00
regalijan 9599a53a46 Make actual date display on history card 2023-10-19 16:51:05 -04:00
regalijan de8fc6a4e2 Make changes for video processing check 2023-10-19 16:51:05 -04:00
regalijan 4e0729e91e Add processing.webm 2023-10-19 16:51:04 -04:00
regalijan 34c856b2e6 Notification webhook for game appeals 2023-10-19 16:51:04 -04:00
regalijan 0259d5e217 Create modern game appeal submission endpoint 2023-10-19 16:51:04 -04:00
regalijan f51742e64d Add auth check to game appeal metadata endpoint 2023-10-19 16:51:04 -04:00
regalijan f135368dc4 Add first game appeal endpoints 2023-10-19 16:51:03 -04:00
regalijan db28e70b90 Move middleware for game appeals 2023-10-19 16:51:03 -04:00