diff --git a/extensions/Others/SocialBase/database/seeders/SocialBaseSeeder.php b/extensions/Others/SocialBase/Database/Seeders/SocialBaseSeeder.php similarity index 100% rename from extensions/Others/SocialBase/database/seeders/SocialBaseSeeder.php rename to extensions/Others/SocialBase/Database/Seeders/SocialBaseSeeder.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_29_000001_create_ext_social_user_profiles_table.php b/extensions/Others/SocialBase/Database/migrations/2025_09_29_000001_create_ext_social_user_profiles_table.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_29_000001_create_ext_social_user_profiles_table.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_29_000001_create_ext_social_user_profiles_table.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_29_000002_add_restrictions_to_user_profiles_table.php b/extensions/Others/SocialBase/Database/migrations/2025_09_29_000002_add_restrictions_to_user_profiles_table.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_29_000002_add_restrictions_to_user_profiles_table.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_29_000002_add_restrictions_to_user_profiles_table.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_29_000003_create_ext_social_profile_comments_table.php b/extensions/Others/SocialBase/Database/migrations/2025_09_29_000003_create_ext_social_profile_comments_table.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_29_000003_create_ext_social_profile_comments_table.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_29_000003_create_ext_social_profile_comments_table.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_29_000004_create_comment_reactions_table.php b/extensions/Others/SocialBase/Database/migrations/2025_09_29_000004_create_comment_reactions_table.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_29_000004_create_comment_reactions_table.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_29_000004_create_comment_reactions_table.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_29_000005_create_generic_reactions_table.php b/extensions/Others/SocialBase/Database/migrations/2025_09_29_000005_create_generic_reactions_table.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_29_000005_create_generic_reactions_table.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_29_000005_create_generic_reactions_table.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_29_000006_migrate_to_generic_reactions.php b/extensions/Others/SocialBase/Database/migrations/2025_09_29_000006_migrate_to_generic_reactions.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_29_000006_migrate_to_generic_reactions.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_29_000006_migrate_to_generic_reactions.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_29_000007_update_default_privacy_user_profiles.php b/extensions/Others/SocialBase/Database/migrations/2025_09_29_000007_update_default_privacy_user_profiles.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_29_000007_update_default_privacy_user_profiles.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_29_000007_update_default_privacy_user_profiles.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_30_000008_create_messaging_system_tables.php b/extensions/Others/SocialBase/Database/migrations/2025_09_30_000008_create_messaging_system_tables.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_30_000008_create_messaging_system_tables.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_30_000008_create_messaging_system_tables.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_30_000009_add_created_by_to_conversations.php b/extensions/Others/SocialBase/Database/migrations/2025_09_30_000009_add_created_by_to_conversations.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_30_000009_add_created_by_to_conversations.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_30_000009_add_created_by_to_conversations.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_30_000010_recreate_messaging_tables.php b/extensions/Others/SocialBase/Database/migrations/2025_09_30_000010_recreate_messaging_tables.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_30_000010_recreate_messaging_tables.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_30_000010_recreate_messaging_tables.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_09_30_000011_create_message_reports_table.php b/extensions/Others/SocialBase/Database/migrations/2025_09_30_000011_create_message_reports_table.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_09_30_000011_create_message_reports_table.php rename to extensions/Others/SocialBase/Database/migrations/2025_09_30_000011_create_message_reports_table.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_10_01_000001_add_moderation_to_user_profiles.php b/extensions/Others/SocialBase/Database/migrations/2025_10_01_000001_add_moderation_to_user_profiles.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_10_01_000001_add_moderation_to_user_profiles.php rename to extensions/Others/SocialBase/Database/migrations/2025_10_01_000001_add_moderation_to_user_profiles.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_10_01_000002_create_user_reports_table.php b/extensions/Others/SocialBase/Database/migrations/2025_10_01_000002_create_user_reports_table.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_10_01_000002_create_user_reports_table.php rename to extensions/Others/SocialBase/Database/migrations/2025_10_01_000002_create_user_reports_table.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_10_01_000003_add_admin_notes_to_user_reports.php b/extensions/Others/SocialBase/Database/migrations/2025_10_01_000003_add_admin_notes_to_user_reports.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_10_01_000003_add_admin_notes_to_user_reports.php rename to extensions/Others/SocialBase/Database/migrations/2025_10_01_000003_add_admin_notes_to_user_reports.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_10_01_000004_update_user_reports_status_enum.php b/extensions/Others/SocialBase/Database/migrations/2025_10_01_000004_update_user_reports_status_enum.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_10_01_000004_update_user_reports_status_enum.php rename to extensions/Others/SocialBase/Database/migrations/2025_10_01_000004_update_user_reports_status_enum.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_10_01_000020_add_attachments_to_messages.php b/extensions/Others/SocialBase/Database/migrations/2025_10_01_000020_add_attachments_to_messages.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_10_01_000020_add_attachments_to_messages.php rename to extensions/Others/SocialBase/Database/migrations/2025_10_01_000020_add_attachments_to_messages.php diff --git a/extensions/Others/SocialBase/database/migrations/2025_10_01_000021_add_pinned_to_conversation_participants.php b/extensions/Others/SocialBase/Database/migrations/2025_10_01_000021_add_pinned_to_conversation_participants.php similarity index 100% rename from extensions/Others/SocialBase/database/migrations/2025_10_01_000021_add_pinned_to_conversation_participants.php rename to extensions/Others/SocialBase/Database/migrations/2025_10_01_000021_add_pinned_to_conversation_participants.php diff --git a/extensions/Others/UptimeLab/Database/Seeders/UptimeServerSeeder.php b/extensions/Others/UptimeLab/Database/Seeders/UptimeServerSeeder.php new file mode 100644 index 000000000..13dde1a70 --- /dev/null +++ b/extensions/Others/UptimeLab/Database/Seeders/UptimeServerSeeder.php @@ -0,0 +1,74 @@ + 'Web Server 01', + 'ip_address' => '192.168.1.10', + 'server_type' => 'ip', + 'location' => 'Jakarta, Indonesia', + 'is_active' => true, + 'status' => 'online', + 'uptime_percentage' => 99.8, + 'last_online' => now(), + 'last_offline' => now()->subHours(6), + 'last_check' => now(), + 'response_time' => 15, + ], + [ + 'name' => 'Main Database Server', + 'ip_address' => '192.168.1.20', + 'server_type' => 'ip', + 'location' => 'Surabaya, Indonesia', + 'is_active' => true, + 'status' => 'offline', + 'uptime_percentage' => 100.0, + 'last_online' => now()->subHours(5), + 'last_offline' => now(), + 'last_check' => now(), + 'response_time' => null, + ], + [ + 'name' => 'API Gateway', + 'ip_address' => 'api.example.com', + 'server_type' => 'subdomain', + 'location' => 'Bandung, Indonesia', + 'is_active' => true, + 'status' => 'online', + 'uptime_percentage' => 99.9, + 'last_online' => now()->subHours(6), + 'last_offline' => now()->subHours(5), + 'last_check' => now(), + 'response_time' => 25, + ], + [ + 'name' => 'Load Balancer', + 'ip_address' => '192.168.1.40', + 'server_type' => 'ip', + 'location' => 'Jakarta, Indonesia', + 'is_active' => true, + 'status' => 'online', + 'uptime_percentage' => 99.99, + 'last_online' => now(), + 'last_offline' => now()->subHours(6), + 'last_check' => now(), + 'response_time' => 8, + ], + ]; + + foreach ($servers as $serverData) { + UptimeServer::create($serverData); + } + } +} diff --git a/extensions/Others/UptimeLab/Database/migrations/2025_01_01_000001_create_ext_uptime_servers_table.php b/extensions/Others/UptimeLab/Database/migrations/2025_01_01_000001_create_ext_uptime_servers_table.php new file mode 100644 index 000000000..7b1ce5062 --- /dev/null +++ b/extensions/Others/UptimeLab/Database/migrations/2025_01_01_000001_create_ext_uptime_servers_table.php @@ -0,0 +1,39 @@ +id(); + $table->string('name'); + $table->string('ip_address'); + $table->string('server_type')->default('ip'); // ip or subdomain + $table->string('location'); + $table->string('type')->default('Production'); // Production, Staging, Development + $table->boolean('is_active')->default(true); + $table->string('status')->default('offline'); // online, offline + $table->decimal('uptime_percentage', 5, 2)->default(0.00); + $table->timestamp('last_online')->nullable(); + $table->timestamp('last_offline')->nullable(); + $table->timestamp('last_check')->nullable(); + $table->integer('response_time')->nullable(); // in milliseconds + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('ext_uptime_servers'); + } +}; diff --git a/gitsync.sh b/gitsync.sh index a2c1c790f..ccb7c248a 100755 --- a/gitsync.sh +++ b/gitsync.sh @@ -1 +1 @@ - systemctl restart php8.3-fpm.service && ./cache.sh +git pull && systemctl restart php8.3-fpm.service && ./cache.sh diff --git a/public/assets/images/glados.jpg b/public/assets/images/glados.jpg new file mode 100644 index 000000000..1175c9456 Binary files /dev/null and b/public/assets/images/glados.jpg differ diff --git a/public/assets/images/logofresh.png b/public/assets/images/logofresh.png new file mode 100644 index 000000000..dd96296c0 Binary files /dev/null and b/public/assets/images/logofresh.png differ diff --git a/public/assets/mp3/glados.mp3 b/public/assets/mp3/glados.mp3 new file mode 100644 index 000000000..03242373b Binary files /dev/null and b/public/assets/mp3/glados.mp3 differ