From 392f4d589f65712930ca1839017707c5fcb80b9c Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Sun, 19 Mar 2023 22:02:25 +1100 Subject: [PATCH] vcfyrukjisouhiygu9obh --- .DS_Store | Bin 6148 -> 6148 bytes app/Http/Controllers/ApiController.php | 14 ++++++++ public/images/.DS_Store | Bin 0 -> 6148 bytes public/temp/client/version.txt | 1 + resources/views/admin/index.blade.php | 47 +++++++++++++++++++++---- resources/views/admin/tree.blade.php | 3 ++ resources/views/admin/users.blade.php | 2 +- routes/api.php | 2 ++ 8 files changed, 62 insertions(+), 7 deletions(-) create mode 100644 app/Http/Controllers/ApiController.php create mode 100644 public/images/.DS_Store create mode 100644 public/temp/client/version.txt diff --git a/.DS_Store b/.DS_Store index f8c7ac556c5d16509ece769a929a7ebbb475512c..e041e182507d75d90dc1a92f31da92afe9e8b73f 100644 GIT binary patch delta 479 zcmZoMXfc=|#>B!ku~2NHo}wTh0|Nsi1A_oVPP$=ma(-^XW=5vf%=I8)76v_rbcRfZ z5||WFj6sMa^dhocZoZ34QcivnP>ds=(>gx(?h!{+`4qhJ1sM=)fqEE(j1xc<8$-cl zA;x?4$kuAAEI0;{Vkl)uV#onHD;e49^yDS~qaaoTwIi!RSdU8$vJ*7D7eJlBF!?#7 zL_Hfr8AB>V9zzO4K0^_*gP2UuxquynB#-PM28IR=?OWimKrtgXAK@TeY7h=$VPIfR n1;$7#<7Rdaehy%?0Xg59C-aL~3IJmbh`B`mF;Q%yo}wrd0|Nsi1A_nqLncFVQh9MfQcix-#Kh&34MbQbx3fH) w{DGB!vj~SU%f^DQjGNgx_&I=jHw$unXP(S2VhPj+)($cSWDLvZ2$40+0PMpS*8l(j diff --git a/app/Http/Controllers/ApiController.php b/app/Http/Controllers/ApiController.php new file mode 100644 index 0000000..36057d5 --- /dev/null +++ b/app/Http/Controllers/ApiController.php @@ -0,0 +1,14 @@ +json(['users' => $users]); + } +} \ No newline at end of file diff --git a/public/images/.DS_Store b/public/images/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..d7eb85545a2273229d21716d3c52a36840506ab5 GIT binary patch literal 6148 zcmeHKK}*9h6i&A3I>ulJg&hN42hL3=;-%CHo>$R>%4})TVr``Dw!;|otbfQ~;_vaj zBooKfg9nlE9=!J@FYhJ1FC}RhW84`BdyF+1V-_f4sRrf?!Ew|TDH#tUS94@6WC1$^ z>#anS<3BQhd)Ht?*s%$V*ysHVz?b^d?8%R%4^glFQygV^r}M^3<;uop)v8)`>&Cs8 zQ#beWaprjG752`hjQvI1^Dm-sI%;m6$RzioBurI86oe3ReHkTzoH}xx1ewZp^?+5g zYNKXrHaqC{+M?S(oVUg7sM~3a{a$}QuUXqWyT`-PL;RS?XH6@IFHlLt-~wKt@k50Z zH%(%h+(Fc0hD9bJF+dCu1MA9wIq$6cx)w-v5d*})uNlDeL4YFK1`Cbq=m3Mik2qdI zM1eNGB@l%{+hCy)MnJeu1=OkBJTbUV2fr|Jw!uQ9PG?-L4D**wL18P3TNEb zNR}8N29_Bp>uwY8|I_c^|I10#BL;|pwPJu*2JXOtlFZ$@QXJm30`wLX1>*{hA1TmK hS24umRontq0)BxFK-*xU5j-IDBcNy?Lk#>W1Mjz3Pk{gc literal 0 HcmV?d00001 diff --git a/public/temp/client/version.txt b/public/temp/client/version.txt new file mode 100644 index 0000000..6faab2b --- /dev/null +++ b/public/temp/client/version.txt @@ -0,0 +1 @@ +version-000000010 \ No newline at end of file diff --git a/resources/views/admin/index.blade.php b/resources/views/admin/index.blade.php index 620fd1c..cd00898 100644 --- a/resources/views/admin/index.blade.php +++ b/resources/views/admin/index.blade.php @@ -17,7 +17,7 @@ {{ App\Models\User::count() }} - Registered + Users
@@ -25,7 +25,7 @@ {{ App\Models\User::where('admin', true)->count() }} - Admin(s) + Admins
@@ -33,7 +33,7 @@ {{ App\Models\User::where('last_seen', '>', Carbon\Carbon::now()->subDay()->toDateTimeString())->count(); }} - Online within the past day. + Users online today.
@@ -41,7 +41,34 @@ {{ App\Models\User::where('last_seen', '>', Carbon\Carbon::now()->subMinute()->toDateTimeString())->count(); }} - Currently Online. + Users currently online. + +
+
+ +
+
+ +0 + + + Assets in moderation queue + +
+
+ +0 + + + Places in moderation queue + +
+
+ +0 + + + Reports in moderation queue

@@ -52,7 +79,7 @@ {{ App\Models\InviteKey::count() }} - Invite Key(s) + Total Invite Keys
@@ -60,7 +87,15 @@ {{ App\Models\InviteKey::where('active', true)->count() }} - Unused Invite Key(s) + Unused Invite Keys + +
+
+ +{{ App\Models\InviteKey::where('active', false)->count() }} + + + Used Invite Keys
diff --git a/resources/views/admin/tree.blade.php b/resources/views/admin/tree.blade.php index 1aebbf1..faeff51 100644 --- a/resources/views/admin/tree.blade.php +++ b/resources/views/admin/tree.blade.php @@ -8,6 +8,9 @@

Invite Tree

+
+ DO NOT LEAK ANY USER INFORMATION. DOING SO WILL GET YOU BANNED. +
@if (!request()->has('q'))
Enter a Username or ID.
@elseif (!$user) diff --git a/resources/views/admin/users.blade.php b/resources/views/admin/users.blade.php index b176c7d..8801ef7 100644 --- a/resources/views/admin/users.blade.php +++ b/resources/views/admin/users.blade.php @@ -9,7 +9,7 @@ User List
- (Reminder) Please don't leak any users information! + DO NOT LEAK ANY USER INFORMATION. DOING SO WILL GET YOU BANNED.
diff --git a/routes/api.php b/routes/api.php index eb6fa48..0c6bc59 100644 --- a/routes/api.php +++ b/routes/api.php @@ -17,3 +17,5 @@ use Illuminate\Support\Facades\Route; Route::middleware('auth:sanctum')->get('/user', function (Request $request) { return $request->user(); }); + +Route::post('/api/users', 'ApiController@getUsers'); \ No newline at end of file