From 6a5deace0f7fcae894d92eafb83a4ee5079a1c36 Mon Sep 17 00:00:00 2001 From: 3UR <76826837+3UR@users.noreply.github.com> Date: Tue, 8 Mar 2022 00:07:18 +1000 Subject: [PATCH 1/4] Update RegisterController.php change max limit to 25 --- app/Http/Controllers/Auth/RegisterController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index 3bcd2c4..2598a6f 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -56,7 +56,7 @@ class RegisterController extends Controller return Validator::make($data, [ 'username' => ['required', 'string', 'min:3', 'max:20', 'unique:users', 'alpha_num'], 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], - 'password' => ['required', 'string', 'min:4', 'confirmed'], + 'password' => ['required', 'string', 'min:4', 'max:25', 'confirmed'], 'invite_key' => ['string', new InviteKeyRule()] ]); } From f32e9745c1fe9d35e5b9d6a0625eb573526718da Mon Sep 17 00:00:00 2001 From: la#0001 <76826837+3UR@users.noreply.github.com> Date: Tue, 8 Mar 2022 00:38:32 +1000 Subject: [PATCH 2/4] working register --- resources/views/auth/register.blade.php | 210 +++++++++++++++--------- 1 file changed, 129 insertions(+), 81 deletions(-) diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index cd40c3e..948c3ae 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -3,87 +3,135 @@ @section('content')
-

Sign Up and Play

-

Step 1 of 2: Create Account

-
-
- Provide your age-group -
- This will help us to customize your experience. Users under 13 years will only be shown pre-approved images. + @if (config('app.registration_enabled')) +
+ @csrf + +

Sign Up and Play

+

Step 1 of 2: Create Account

+ +
+
+ Choose a name for your {{ config('app.name') }} character +
+ Use 3-20 alphanumeric characters: A-Z, a-z, 0-9, no spaces +
+ +
+
+
+
+
+
+
+ +
+   + + @error('username') + + {{ $message }} + + @enderror +
+
+
+ + @if (config('app.invite_keys_required')) +
+
+ {{ config('app.name') }} requires a invite key +
+ You have to be invited. +
+ +
+
+
+
+
+
+
+ +
+   + + + @error('invite_key') + + {{ $message }} + + @enderror +
+
-
-
-
-
-
-
-
- Choose a name for your ROBLOX character -
- Use 3-20 alphanumeric characters: A-Z, a-z, 0-9, no spaces -
-
-
-
-
-
-
-
-
-   -
-
-
-
-
- Choose your ROBLOX password -
- 4-10 characters, no spaces -
-
-
-
-
-
-
-
-   -
-
-   -
-
-
-
-
- Choose your chat mode -
- All in-game chat is subject to profanity filtering and moderation. For enhanced chat safety, choose SuperSafe Chat; only chat from pre-approved menus will be shown to you. -
-
-
-
-
-
-
-
- Provide your parent's email address -
- This will allow you to recover a lost password -
-
-
-
-
-
-
-   -
-
-
-
- -
+ @endif + +
+
+ Choose your {{ config('app.name') }} password +
+ 4-25 characters, no spaces +
+ +
+
+
+
+
+
+ +
+   + + + @error('password') + + {{ $message }} + + @enderror +
+ +
+   + +
+
+
+ +
+
+ Provide your parent's email address +
+ This will allow you to recover a lost password +
+ +
+
+
+
+
+ +
+   + + @error('email') + + {{ $message }} + + @enderror +
+
+
+ +
+ +
+ + @else +

Registration closed

+

Sorry, we're not taking new users at the moment. Check back in a bit.

+ @endif
-@endsection \ No newline at end of file +@endsection From 9b67fdec21ef67286fa0071df699146be1dbd9c7 Mon Sep 17 00:00:00 2001 From: la#0001 <76826837+3UR@users.noreply.github.com> Date: Wed, 9 Mar 2022 07:17:17 +1000 Subject: [PATCH 3/4] JSON QUEUE --- app/Http/Controllers/RenderController.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/RenderController.php b/app/Http/Controllers/RenderController.php index d1256ca..23f1866 100644 --- a/app/Http/Controllers/RenderController.php +++ b/app/Http/Controllers/RenderController.php @@ -10,12 +10,15 @@ class RenderController extends Controller public function getQueue(Request $request) { $queue = RenderQueue::all(); - $string = ''; - foreach ($queue as $queueitem) { - $string = $string . $queueitem->type . ':' . $queueitem->target_id . ':' . $queueitem->id . ';'; + foreach ($queue as $queueitem) { + $queue_array[] = [ + 'Type' => $queueitem->type, + 'Target_ID' => $queueitem->target_id, + 'Queue_ID' => $queueitem->id, + ]; } - return substr_replace($string, "", -1); + return response()->json($queue_array); } public function upload(Request $request) { From 580afafaffeac334da4b3d9341204806fa36fdbc Mon Sep 17 00:00:00 2001 From: Connor <60281867+kineryy@users.noreply.github.com> Date: Wed, 9 Mar 2022 02:44:57 -0500 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7625aba..62a68b8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Tadah Eleven -Atrocious bullshit from August of 2021 that uses bad, ugly, and old August 2021 Tadah code with ***unfinished*** 2011 Roblox views. (Seriously, the register page isn't even functional). +Atrocious bullshit from August of 2021 that uses bad, ugly, and old August 2021 Tadah code with ***unfinished*** 2011 Roblox views. ***I AM NOT PROVIDING SUPPORT FOR THIS CODE!*** Good on you if you manage to repair it to a good-enough state. It's kind of ugly, though. Really ugly.