Commit Graph

45 Commits

Author SHA1 Message Date
regalijan d3f5a1ab8d Properly handle multiple jobs per report 2024-03-24 03:05:53 -04:00
regalijan 55469939d5 Add notification object to coconut job 2024-03-24 02:39:45 -04:00
regalijan 6357de7e09 Send transcoding jobs to coconut on report completion 2024-03-23 04:03:43 -04:00
regalijan c770e673fb Start work on moving transcoding jobs to coconut 2024-03-22 21:40:19 -04:00
regalijan 0fb7bf6686 Oopsie lol 2024-03-21 13:25:37 -04:00
regalijan 8e5ff1f974 Start inserting game mod logs into D1 2024-03-20 15:43:16 -04:00
regalijan aa3d74c4ad Send FCM token in reports 2023-10-19 17:26:37 -04:00
regalijan b054d4cf41 Delete FCM token from KV on report 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 733d74824d Don't delete unactioned reports anymore 2023-10-19 16:51:15 -04:00
regalijan 5d7695720f Actually fix attachment url issue 2023-10-19 16:51:08 -04:00
regalijan de8fc6a4e2 Make changes for video processing check 2023-10-19 16:51:05 -04:00
regalijan 4575843345 Add non-word character check 2023-10-19 16:51:02 -04:00
regalijan b5a92db954 Move most email sending to common email function 2023-10-19 16:51:00 -04:00
regalijan 1123b86a47 Fix object funny 2023-10-19 16:50:56 -04:00
regalijan 9c35fa4a0a Remove support for non-gif images 2023-10-19 16:50:56 -04:00
regalijan d0680884d8 Close actioned reports 2023-10-19 16:50:55 -04:00
regalijan 31bbdd8c1a Delete all data if all users are ignored 2023-10-19 16:50:55 -04:00
regalijan dd2d9f2672 Greatly reduce repeated code 2023-10-19 16:50:48 -04:00
regalijan 95ac964e62 Include creation time in report kv value 2023-10-19 16:50:44 -04:00
regalijan 788e14e971 Slightly unbreak file processing 2023-10-19 16:50:38 -04:00
regalijan 2127574a33 Fix file extension handling 2023-10-19 16:50:36 -04:00
regalijan 91ff428d9a Remove useless kv put 2023-10-19 16:50:36 -04:00
regalijan a02dc67172 Don't require preprocessing for mov files 2023-10-19 16:50:35 -04:00
regalijan 88c223c2d1 Fix item type in report urls 2023-10-19 16:50:20 -04:00
regalijan e0f2a79d70 Set origin based on browser origin header 2023-10-19 16:50:17 -04:00
regalijan 45e05d78c7 Handle ip auth for report recall endpoint 2023-10-19 16:50:17 -04:00
regalijan 25a8623193 Simplify url generation 2023-10-19 16:50:14 -04:00
regalijan 28ea352596 Handle cases where users are not signed in 2023-10-19 16:50:14 -04:00
regalijan 074dd1fce5 Set maximum expiration of 10 minutes for video processing key 2023-10-19 16:50:14 -04:00
regalijan 90606f66f6 Remove unused upload checks 2023-10-19 16:50:13 -04:00
regalijan a3a5308d81 Handle new report submission process 2023-10-19 16:50:11 -04:00
regalijan 5b65bd176d Create action endpoint 2023-10-19 16:49:47 -04:00
regalijan bdeb84d6bc Make complete endpoint actually work 2023-10-19 16:49:44 -04:00
regalijan 7c0fec574a Add direct submission support 2023-10-19 16:49:43 -04:00
regalijan d659a8122f Add partial report information to d1 2023-10-19 16:49:30 -04:00
regalijan a05752049a reporter -> user 2023-10-19 16:49:28 -04:00
regalijan 188275aa7b Set id property in keys 2023-10-19 16:49:27 -04:00
regalijan 95367bed26 Set video processing key for certain file types 2023-10-19 16:49:23 -04:00
regalijan 71b7104502 Don't use metadata for submission data 2023-10-19 16:49:17 -04:00
regalijan 55817306d2 Add captcha handling in report submission endpoint 2023-10-19 16:49:13 -04:00
regalijan 15a816f82a Push two stragglers 2023-10-19 16:49:10 -04:00
regalijan d731041378 Initial commit 2023-10-19 16:49:05 -04:00