Merge branch 'trunk'

This commit is contained in:
Vincent BRIDIER 2023-01-11 18:31:00 +01:00
commit f37200aedf
No known key found for this signature in database
GPG key ID: 8571BFA20420D512
3 changed files with 37 additions and 34 deletions

View file

@ -52,19 +52,19 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
//$schedule->job(SendOcbMissingBreederReminder::class)->onOneServer()->dailyAt('07:30');
//$schedule->job(SendOcbMissingBreederReminder::class)->dailyAt('07:30');
$schedule->job(DeleteOrders::class)->dailyAt('14:00');
$schedule->job(DeleteOldMessages::class)->dailyAt('14:15');
$schedule->job(DeleteOldNotifications::class)->dailyAt('14:30');
$schedule->job(JobsUpdateReductions::class)->dailyAt('14:45');
$schedule->job(JobsXmlIncoReader::class)->name('xml-inco-reader')->onOneServer()->dailyAt('15:00');
$schedule->job(JobsXmlTracaReader::class)->name('xml-traca-reader')->onOneServer()->dailyAt('15:15');
$schedule->job(JobsXmlEleveursReader::class)->name('xml-eleveurs-reader')->onOneServer()->dailyAt('15:30');
$schedule->job(JobsXSCVMepReader::class)->name('csv-mep-reader')->onOneServer()->dailyAt('16:00');
$schedule->job(JobsXmlIncoReader::class)->name('xml-inco-reader')->dailyAt('15:00');
$schedule->job(JobsXmlTracaReader::class)->name('xml-traca-reader')->dailyAt('15:15');
$schedule->job(JobsXmlEleveursReader::class)->name('xml-eleveurs-reader')->dailyAt('15:30');
$schedule->job(JobsXSCVMepReader::class)->name('csv-mep-reader')->dailyAt('16:00');
$schedule->job(JobsPurgeNotifications::class)->dailyAt('00:15');
$schedule->job(PurgeOldResetPasswords::class)->dailyAt('00:25');
// * Remove Old traca
$schedule->command('xml:clean_olds')->onOneServer()->dailyAt('06:00');
$schedule->command('xml:clean_olds')->dailyAt('06:00');
}
}

View file

@ -1,9 +1,9 @@
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Le Gaulois - @yield('title')</title>
<title>@yield('title') - Le Gaulois</title>
<meta name="description" content="@yield('description')">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
@ -38,7 +38,7 @@
<meta property="og:url" content="{{ url()->current() }}">
<!-- META TWITTER -->
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="Le Gaulois">
<meta name="twitter:title" content="@yield('title')">
<meta name="twitter:description" content="@yield('description')">
@ -51,5 +51,4 @@
<!-- STYLES -->
<link rel="stylesheet" href="{{ mix('css/preload-main.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" />
@stack('styles')
@stack('styles')

View file

@ -1,5 +1,6 @@
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -10,7 +11,7 @@
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}@hasSection('title') - @yield('title')@endif</title>
<title>@hasSection('title')@yield('title') - @endif{{ config('app.name', 'Laravel') }}</title>
<!-- Favicon -->
<link rel="icon" href="{{ asset('assets/images/favicon.png') }}" type="image/png">
@ -27,9 +28,12 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" />
@yield('styles')
@if(config('app.env') === 'local')
<script>window.vueDebug = true;</script>
<script>
window.vueDebug = true;
</script>
@endif
</head>
<body>
<div id="app">
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
@ -52,27 +56,26 @@
<ul class="navbar-nav ml-auto">
<!-- Authentication Links -->
@guest
<li class="nav-item">
<a class="nav-link" href="{{ route('login') }}">Connexion</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ route('login') }}">Connexion</a>
</li>
@else
<li class="nav-item dropdown">
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
Bonjour {{ Auth::user()->firstname }} <span class="caret"></span>
<li class="nav-item dropdown">
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
Bonjour {{ Auth::user()->firstname }} <span class="caret"></span>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="{{ route('logout') }}" onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
Déconnexion
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="{{ route('logout') }}"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
Déconnexion
</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
@csrf
</form>
</div>
</li>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
@csrf
</form>
</div>
</li>
@endguest
</ul>
</div>
@ -164,7 +167,7 @@
<li class="nav-item dropdown btn btn-sm btn-dark mb-1">
<a class="nav-link dropdown-toggle text-white" data-toggle="dropdown" href="#" role="button">{{ __('La marque') }}</a>
<div class="dropdown-menu">
<span class="d-block text-center fs-4 font-weight-bold cursor-default">{{ __('La saga publicitaire') }}</span>
<span class="d-block text-center fs-4 font-weight-bold cursor-default">{{ __('La saga publicitaire') }}</span>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{{route('bo.ads.index')}}">{{ __('Liste des vidéos') }}</a>
<a class="dropdown-item" href="{{route('bo.ads.create')}}">{{ __('Ajouter une vidéo') }}</a>
@ -277,7 +280,7 @@
</div>
@stack('scriptsConstants')
<script>
if(!window._routes) {
if (!window._routes) {
window._routes = {};
}
window._routes = {
@ -289,4 +292,5 @@
@yield('scripts')
@stack('scripts')
</body>
</html>
</html>