diff --git a/VERSION.txt b/VERSION.txt index dd7e5a287cd6..ec3ee550d57c 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.5.71 \ No newline at end of file +5.5.72 \ No newline at end of file diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php index ff0faf16cbc4..91fc65b19585 100644 --- a/app/Http/Controllers/SetupController.php +++ b/app/Http/Controllers/SetupController.php @@ -23,7 +23,6 @@ use App\Utils\CurlUtils; use App\Utils\Ninja; use App\Utils\SystemHealth; use App\Utils\Traits\AppSetup; -use Beganovich\Snappdf\Snappdf; use Exception; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\Routing\ResponseFactory; @@ -209,30 +208,9 @@ class SetupController extends Controller public function checkPdf(Request $request) { try { - // if (config('ninja.pdf_generator') == 'phantom') { - // return $this->testPhantom(); - // } - // $pdf = new Snappdf(); - - // if (config('ninja.snappdf_chromium_path')) { - // $pdf->setChromiumPath(config('ninja.snappdf_chromium_path')); - // } - - // if (config('ninja.snappdf_chromium_arguments')) { - // $pdf->clearChromiumArguments(); - // $pdf->addChromiumArguments(config('ninja.snappdf_chromium_arguments')); - // } - - // $pdf = $pdf - // ->setHtml('GENERATING PDFs WORKS! Thank you for using Invoice Ninja!') - // ->generate(); - - // Storage::disk(config('filesystems.default'))->put('test.pdf', $pdf); - // Storage::disk('local')->put('test.pdf', $pdf); return response(['url' => ''], 200); - // return response(['url' => Storage::disk('local')->url('test.pdf')], 200); } catch (Exception $e) { nlog($e->getMessage()); diff --git a/app/Mail/TestMailServer.php b/app/Mail/TestMailServer.php index e88efb2eed4d..a0c7f784f563 100644 --- a/app/Mail/TestMailServer.php +++ b/app/Mail/TestMailServer.php @@ -39,7 +39,8 @@ class TestMailServer extends Mailable $settings = new \stdClass; $settings->primary_color = '#4caf50'; $settings->email_style = 'dark'; - + $settings->email_alignment = 'left'; + return $this->from(config('mail.from.address'), config('mail.from.name')) ->subject(ctrans('texts.email')) ->markdown('email.support.message', [ diff --git a/config/ninja.php b/config/ninja.php index 6cfd2e5814a1..1c2d43812bf8 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -14,8 +14,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => '5.5.71', - 'app_tag' => '5.5.71', + 'app_version' => '5.5.72', + 'app_tag' => '5.5.72', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''),