Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: file storage save

Andras Bacsai64a7f27e37ae
diff --git a/config/sentry.php b/config/sentry.php
index 2c5c1f6bad..e243eb4660 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
- 'release' => '4.0.0-beta.181',
+ 'release' => '4.0.0-beta.182',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index 68eb044577..e853b75275 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.181';
+return '4.0.0-beta.182';
diff --git a/resources/views/components/collapsible.blade.php b/resources/views/components/collapsible.blade.php
deleted file mode 100644
index f8d4d92fdd..0000000000
--- a/resources/views/components/collapsible.blade.php
+++ /dev/null
@@ -1,12 +0,0 @@
-@isset($title, $action)
- <div tabindex="0" x-data="{ open: false }"
- class="transition border rounded cursor-pointer collapse collapse-arrow border-coolgray-200"
- :class="open ? 'collapse-open' : 'collapse-close'">
- <div class="flex flex-col justify-center text-sm select-text collapse-title" x-on:click="open = !open">
- {{ $title }}
- </div>
- <div class="collapse-content">
- {{ $action }}
- </div>
- </div>
-@endisset
diff --git a/resources/views/livewire/project/service/file-storage.blade.php b/resources/views/livewire/project/service/file-storage.blade.php
index d3c3c43a6f..3e0bf02ca6 100644
--- a/resources/views/livewire/project/service/file-storage.blade.php
+++ b/resources/views/livewire/project/service/file-storage.blade.php
@@ -1,8 +1,10 @@
-<x-collapsible>
- <x-slot:title>
+<div tabindex="0" x-data="{ open: false }"
+ class="transition border rounded cursor-pointer collapse collapse-arrow border-coolgray-200"
+ :class="open ? 'collapse-open' : 'collapse-close'">
+ <div class="flex flex-col justify-center text-sm select-text collapse-title" x-on:click="open = !open">
<div>{{ $workdir }}{{ $fs_path }} -> {{ $fileStorage->mount_path }}</div>
- </x-slot:title>
- <x-slot:action>
+ </div>
+ <div class="collapse-content">
<form wire:submit='submit' class="flex flex-col gap-2">
<div class="w-64">
<x-forms.checkbox instantSave label="Is directory?" id="fileStorage.is_directory"></x-forms.checkbox>
@@ -21,5 +23,5 @@
@endif
{{-- @endif --}}
</form>
- </x-slot:action>
-</x-collapsible>
+ </div>
+</div>
diff --git a/templates/compose/stirling-pdf.yaml b/templates/compose/stirling-pdf.yaml
new file mode 100644
index 0000000000..ac9af519ff
--- /dev/null
+++ b/templates/compose/stirling-pdf.yaml
@@ -0,0 +1,15 @@
+# documentation: https://github.com/Stirling-Tools/Stirling-PDF
+# slogan: Stirling is a powerful web based PDF manipulation tool
+# tags: pdf, manipulation, web, tool
+
+services:
+ stirling-pdf:
+ image: frooodle/s-pdf:latest
+ volumes:
+ - stirling-training-data:/usr/share/tesseract-ocr/5/tessdata
+ - stirling-configs:/configs
+ - stirling-custom-files:/customFiles/
+ - stirling-logs:/logs/
+ environment:
+ - SERVICE_FQDN_SPDF
+ - DOCKER_ENABLE_SECURITY=false
diff --git a/templates/service-templates.json b/templates/service-templates.json
index ab0ccfd16d..15f53d05dc 100644
--- a/templates/service-templates.json
+++ b/templates/service-templates.json
@@ -469,6 +469,17 @@
"internet"
]
},
+ "stirling-pdf": {
+ "documentation": "https:\/\/github.com\/Stirling-Tools\/Stirling-PDF",
+ "slogan": "Stirling is a powerful web based PDF manipulation tool",
+ "compose": "c2VydmljZXM6CiAgc3RpcmxpbmctcGRmOgogICAgaW1hZ2U6ICdmcm9vb2RsZS9zLXBkZjpsYXRlc3QnCiAgICB2b2x1bWVzOgogICAgICAtICdzdGlybGluZy10cmFpbmluZy1kYXRhOi91c3Ivc2hhcmUvdGVzc2VyYWN0LW9jci81L3Rlc3NkYXRhJwogICAgICAtICdzdGlybGluZy1jb25maWdzOi9jb25maWdzJwogICAgICAtICdzdGlybGluZy1jdXN0b20tZmlsZXM6L2N1c3RvbUZpbGVzLycKICAgICAgLSAnc3RpcmxpbmctbG9nczovbG9ncy8nCiAgICBlbnZpcm9ubWVudDoKICAgICAgLSBTRVJWSUNFX0ZRRE5fU1BERgogICAgICAtIERPQ0tFUl9FTkFCTEVfU0VDVVJJVFk9ZmFsc2UK",
+ "tags": [
+ "pdf",
+ "manipulation",
+ "web",
+ "tool"
+ ]
+ },
"trigger-with-external-database": {
"documentation": "https:\/\/trigger.dev\/docs\/documentation\/guides\/self-hosting",
"slogan": "The open source Background Jobs framework for TypeScript",
diff --git a/versions.json b/versions.json
index d725f952a2..e99a2d3340 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.181"
+ "version": "4.0.0-beta.182"
}
}
}