From 40dd0b5a5cea27f3010ca2ce35812d7f881e2358 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Wed, 29 Apr 2026 02:05:08 -0400 Subject: [PATCH] Remove data transfer code --- app/routes/data-transfer.tsx | 42 --------- app/routes/data-transfer_.complete.tsx | 10 -- .../data-transfer_.destination-account.tsx | 34 ------- app/routes/data-transfer_.start.tsx | 81 ---------------- functions/api/data-transfers/_middleware.ts | 19 ---- functions/api/data-transfers/create.ts | 74 --------------- functions/api/data-transfers/verify.ts | 92 ------------------- 7 files changed, 352 deletions(-) delete mode 100644 app/routes/data-transfer.tsx delete mode 100644 app/routes/data-transfer_.complete.tsx delete mode 100644 app/routes/data-transfer_.destination-account.tsx delete mode 100644 app/routes/data-transfer_.start.tsx delete mode 100644 functions/api/data-transfers/_middleware.ts delete mode 100644 functions/api/data-transfers/create.ts delete mode 100644 functions/api/data-transfers/verify.ts diff --git a/app/routes/data-transfer.tsx b/app/routes/data-transfer.tsx deleted file mode 100644 index 3a90f66..0000000 --- a/app/routes/data-transfer.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import { Button, Container, Heading, Text } from "@chakra-ui/react"; - -export default function () { - return ( - - Transfer your Save Data -
-
- Lost your account? Want to shake off a stalker? -
-
- We can help! -
-
- Some information you should know: -
- - We might require your .ROBLOSECURITY cookie, depending on your - circumstances. This is because Roblox does not allow terminated accounts - to utilize OAuth. Normally this would be a very bad idea, and we don't - like doing this either, but it may be the only option. Security is also - less of a concern for terminated accounts as they are blocked from - accessing almost all Roblox API endpoints (the exceptions being login, - logout, and creating support tickets - and only the logout endpoint - doesn't require completing a captcha). If you are concerned about your - account's security, we suggest logging in to your terminated account in - a private/incognito window, copying the .ROBLOSECURITY cookie from - there, and logging out once we have verified your old account (which - normally only takes a few seconds). The ultra paranoid may also consider - resetting their password. If you are not convinced or still have - questions, join our Discord server (link is on the about page) and open - a ticket with ModMail for us to verify you manually (no cookie - required). - -
-
- -
- ); -} diff --git a/app/routes/data-transfer_.complete.tsx b/app/routes/data-transfer_.complete.tsx deleted file mode 100644 index c8e7931..0000000 --- a/app/routes/data-transfer_.complete.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import Success from "../../components/Success.js"; - -export default function () { - return ( - - ); -} diff --git a/app/routes/data-transfer_.destination-account.tsx b/app/routes/data-transfer_.destination-account.tsx deleted file mode 100644 index 18b0d77..0000000 --- a/app/routes/data-transfer_.destination-account.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import { Button, Card, Container, Heading, VStack } from "@chakra-ui/react"; -import { useLoaderData } from "@remix-run/react"; - -export async function loader({ context }: { context: RequestContext }) { - const { host, protocol } = new URL(context.request.url); - - return { client_id: context.env.ROBLOX_OAUTH_CLIENT_ID, host, protocol }; -} - -export default function () { - const loaderData = useLoaderData(); - return ( - - - - Verify your new Roblox account -
- -
-
-
- ); -} diff --git a/app/routes/data-transfer_.start.tsx b/app/routes/data-transfer_.start.tsx deleted file mode 100644 index dbd60c0..0000000 --- a/app/routes/data-transfer_.start.tsx +++ /dev/null @@ -1,81 +0,0 @@ -import { - Button, - Container, - Heading, - HStack, - Radio, - RadioGroup, - Text, - Textarea, - useToast, -} from "@chakra-ui/react"; -import { useState } from "react"; - -export default function () { - const [showCookieBox, setShowCookieBox] = useState(false); - const [loading, setLoading] = useState(false); - return ( - - Let's get started - Is your old Roblox account banned? - setShowCookieBox(JSON.parse(val))}> - - No - Yes - - -