diff --git a/.env.example b/.env.example index fb7ce75..b42f89d 100644 --- a/.env.example +++ b/.env.example @@ -46,7 +46,6 @@ SESSION_ENCRYPT=false SESSION_PATH=/ SESSION_DOMAIN=null -BROADCAST_CONNECTION=log FILESYSTEM_DISK=local QUEUE_CONNECTION=database @@ -75,4 +74,12 @@ AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET= AWS_USE_PATH_STYLE_ENDPOINT=false +BROADCAST_CONNECTION=reverb +REVERB_APP_ID=#openssl rand -hex 16) +REVERB_APP_KEY=#openssl rand -hex 20) +REVERB_APP_SECRET=#openssl rand -hex 20) +REVERB_HOST=#website.com +REVERB_PORT=8080 +REVERB_SCHEME=http + VITE_APP_NAME="${APP_NAME}" diff --git a/app/Console/Commands/FlightFeedUpdate.php b/app/Console/Commands/FlightFeedUpdate.php index 0cd17a2..f2e4570 100644 --- a/app/Console/Commands/FlightFeedUpdate.php +++ b/app/Console/Commands/FlightFeedUpdate.php @@ -39,9 +39,6 @@ class FlightFeedUpdate extends Command ] ]); - if($type === 'flight_departing'){ - $flight->user->calculateAchievements(); - } } } } diff --git a/app/Console/Commands/UpdateDepartedFlights.php b/app/Console/Commands/UpdateDepartedFlights.php index 093c414..2aeb59a 100644 --- a/app/Console/Commands/UpdateDepartedFlights.php +++ b/app/Console/Commands/UpdateDepartedFlights.php @@ -28,7 +28,6 @@ class UpdateDepartedFlights extends Command }) ->get(); - $this->info("Found {$userFlights->count()} flights."); foreach ($userFlights as $flight) { $flight->update(['departure_processed_at' => $now]); diff --git a/app/Services/Achievements/AchievementService.php b/app/Services/Achievements/AchievementService.php index 39a37be..6a60f03 100644 --- a/app/Services/Achievements/AchievementService.php +++ b/app/Services/Achievements/AchievementService.php @@ -51,8 +51,6 @@ class AchievementService $this->user = $user; $this->achievementCache = Achievement::all()->keyBy('internal_name'); - // In calculateAchievements (or wherever createAchievementNotification is called from) - \Log::info('calculateAchievements running for user ' . $user->id); // Load once with every relationship any checker could need $this->flights = $user->flights()->with([ 'airline.alliance', diff --git a/public/img/app_icons/app_icon.svg b/public/img/app_icons/app_icon.svg new file mode 100644 index 0000000..3f5dc0a --- /dev/null +++ b/public/img/app_icons/app_icon.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/img/favicons/favicon.png b/public/img/favicons/favicon.png new file mode 100644 index 0000000..1a8e3f1 Binary files /dev/null and b/public/img/favicons/favicon.png differ diff --git a/public/img/favicons/favicon_solid.jpg b/public/img/favicons/favicon_solid.jpg new file mode 100644 index 0000000..2e1c7ab Binary files /dev/null and b/public/img/favicons/favicon_solid.jpg differ diff --git a/public/img/logos/header_logo_color.svg b/public/img/logos/header_logo_color.svg new file mode 100644 index 0000000..1fe2761 --- /dev/null +++ b/public/img/logos/header_logo_color.svg @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/img/logos/header_logo_mono.svg b/public/img/logos/header_logo_mono.svg new file mode 100644 index 0000000..efa98cf --- /dev/null +++ b/public/img/logos/header_logo_mono.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/js/Components/FlightsGoneBy/Logo.vue b/resources/js/Components/FlightsGoneBy/Logo.vue new file mode 100644 index 0000000..208efc8 --- /dev/null +++ b/resources/js/Components/FlightsGoneBy/Logo.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/resources/js/Components/FlightsGoneBy/MainHeader.vue b/resources/js/Components/FlightsGoneBy/MainHeader.vue index 78c6364..1d8fa21 100644 --- a/resources/js/Components/FlightsGoneBy/MainHeader.vue +++ b/resources/js/Components/FlightsGoneBy/MainHeader.vue @@ -4,6 +4,7 @@ import { usePage } from '@inertiajs/vue3' import type { SharedProps } from '@/Types/types' import { ref, onMounted, onUnmounted } from 'vue' import NotificationMenu from "@/Components/FlightsGoneBy/NotificationMenu.vue"; +import Logo from "@/Components/FlightsGoneBy/Logo.vue"; const page = usePage() const menuOpen = ref(false) @@ -25,7 +26,9 @@ onUnmounted(() => document.removeEventListener('click', handleClickOutside))