feat(storage): persist local images and unify clipboard copying

Add a private images disk with persistent container mounts and installation/upgrade setup, while routing avatar and project icon storage through it. Reuse the copy button component for API tokens and support clipboard copying through the shared helper.
This commit is contained in:
Andras Bacsai committed 2026-08-17 16:19:41 +02:00
1 parent 5872cc095c
commit a5dedc07cd
13 files changed
+79 -40

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ class AvatarStorageService
protected function disk(string $storageType, ?int $s3StorageId): FilesystemAdapter
{
if ($storageType !== 's3') {
return Storage::disk('local');
return Storage::disk('images');
}
$storage = S3Storage::query()->whereKey($s3StorageId)->where('is_usable', true)->first();