Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e910ae9878 | |||
| 362c649d36 | |||
| 852c4d608d |
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"$schema": "/phpactor.schema.json",
|
||||||
|
"language_server_phpstan.enabled": false
|
||||||
|
}
|
||||||
@@ -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="{{url('lucent/login')}}" >
|
<form hx-post="{{config("lucent.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>
|
||||||
|
|||||||
@@ -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="{{url('lucent/verify')}}" hx-redirect="{{url('lucent')}}" hx-target-error=".form-errors" >
|
<form hx-post="{{config("lucent.url")}}/lucent/verify" hx-redirect="{{config("lucent.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
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class RebuildThumbnails extends Command
|
|||||||
public function rebuildThumbnails(FilesSchema $schema): void
|
public function rebuildThumbnails(FilesSchema $schema): void
|
||||||
{
|
{
|
||||||
$this->info("Rebuilding thumbnails for ". $schema->name);
|
$this->info("Rebuilding thumbnails for ". $schema->name);
|
||||||
$records = $this->query->filter(["schema" => $schema->name])->run()->records;
|
$records = $this->query->limit(1000)->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) {
|
||||||
try{
|
try{
|
||||||
|
|||||||
Reference in New Issue
Block a user