Commit Graph

63 Commits

Author SHA1 Message Date
regalijan a521baf277 Await the coconut token put 2024-03-26 04:14:31 -04:00
regalijan 1205d98f4f Don't fetch object metadata anymore 2024-03-26 04:12:22 -04:00
regalijan a2fcffcfdc Fix useless log generation 2024-03-26 04:09:08 -04:00
regalijan 690d92e4fd Remove stray period 2024-03-26 04:02:27 -04:00
regalijan 6b85d517ca Actually do what coconut was asking me to 2024-03-26 03:55:49 -04:00
regalijan 65b33e4c94 Remove file extension goofiness 2024-03-26 03:37:08 -04:00
regalijan 0cddcbf4a9 Better attempt at finding the object 2024-03-26 03:25:04 -04:00
regalijan 8803c7473a Fix file extension removal 2024-03-26 03:13:50 -04:00
regalijan eecb9e7b72 Fix r2 metadata fetching 2024-03-26 03:06:09 -04:00
regalijan c06375ea5c Handle coconut's requirement for file extensions 2024-03-26 02:56:28 -04:00
regalijan d5fa2593c0 Log failed coconut requests 2024-03-26 02:16:15 -04:00
regalijan 0edbe2acec Remove leading slash for no processing required videos 2024-03-25 23:45:40 -04:00
regalijan 237765a89e Fix file extension splitting 2024-03-25 23:40:28 -04:00
regalijan e5bbde2bac Only toLowerCase once 2024-03-25 23:31:11 -04:00
regalijan 09fae0594e Don't add t/ prefix to videos that don't need processing 2024-03-25 23:17:52 -04:00
regalijan 80be02d6a4 Handle forward slash in attachments url change 2024-03-25 23:07:39 -04:00
regalijan 30b384546d Don't use the full url for attachment property 2024-03-25 21:30:19 -04:00
regalijan f86405438a Fix attachment url generation 2024-03-25 21:20:26 -04:00
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