Compare commits

..

4 Commits

Author SHA1 Message Date
lexx 348bad80e0 Merge pull request 'Fix' (#23) from Catching-thumbnail-rebuild-error into dev
Reviewed-on: #23
2025-05-06 10:46:58 +00:00
arvanitakis f0d4686141 Fix 2025-05-06 13:46:00 +03:00
lexx a482ab3c7e login urls 2025-03-20 21:06:40 +02:00
lexx c580882ec0 fix url 2025-03-20 20:57:47 +02:00
5 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
<div class="form"> <div class="form">
<h2 class="mb-5">Enter Lucent</h2> <h2 class="mb-5">Enter Lucent</h2>
<form hx-post="/lucent/login" > <form hx-post="{{url('lucent/login')}}" >
@csrf @csrf
<p>Submit your email address and you will receive a <b>login link</b> to your email</p> <p>Submit your email address and you will receive a <b>login link</b> to your email</p>
<p>Don't forget to check your spam folder</p> <p>Don't forget to check your spam folder</p>
+1 -1
View File
@@ -9,7 +9,7 @@
<div class="form"> <div class="form">
<h2 class="mb-5">Welcome to Lucent</h2> <h2 class="mb-5">Welcome to Lucent</h2>
<form hx-post="/lucent/verify" hx-redirect="/lucent" hx-target-error=".form-errors" > <form hx-post="{{url('lucent/verify')}}" hx-redirect="{{url('lucent')}}" hx-target-error=".form-errors" >
<input type="hidden" value="{{$email}}" name="email" /> <input type="hidden" value="{{$email}}" name="email" />
<input type="hidden" value="{{$token}}" name="token" /> <input type="hidden" value="{{$token}}" name="token" />
@csrf @csrf
+1 -1
View File
@@ -20,7 +20,7 @@
@endif @endif
<link rel="icon" type="image/x-icon" href="{{url('favicon.ico'}}"> <link rel="icon" type="image/x-icon" href="{{url('favicon.ico')}}">
</head> </head>
+3 -1
View File
@@ -18,7 +18,9 @@
<script type="module" crossorigin src="http://127.0.0.1:5173/main.js"></script> <script type="module" crossorigin src="http://127.0.0.1:5173/main.js"></script>
@endif @endif
<link rel="icon" type="image/x-icon" href="{{url('favicon.ico'}}">
<link rel="icon" type="image/x-icon" href="{{url('favicon.ico')}}">
</head> </head>
+6 -1
View File
@@ -45,7 +45,12 @@ class RebuildThumbnails extends Command
$records = $this->query->filter(["schema" => $schema->name])->run()->records; $records = $this->query->filter(["schema" => $schema->name])->run()->records;
$disk = $this->fileService->loadDisk($schema->disk); $disk = $this->fileService->loadDisk($schema->disk);
foreach ($records as $record) { foreach ($records as $record) {
$this->fileService->createTemplates($disk, $record->_file->path); try{
$this->fileService->createTemplates($disk, $record->_file->path);
} catch (Exception $e) {
echo "File ". $record->_file->originalName . " could not be rebuilt \n" ;
}
} }
} }