From: Vincent Vanwaelscappel Date: Wed, 7 Jan 2026 17:49:42 +0000 (+0100) Subject: wip #7930 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=75081e5b7153914866394c3c4b278ca68ed38b15;p=fluidbook-toolbox.git wip #7930 --- diff --git a/app/Models/FluidbookCollection.php b/app/Models/FluidbookCollection.php index 9620f2cda..085b4dfe3 100644 --- a/app/Models/FluidbookCollection.php +++ b/app/Models/FluidbookCollection.php @@ -37,6 +37,7 @@ use Cubist\Backpack\Magic\Fields\FormBigSection; use Cubist\Backpack\Magic\Fields\FormSeparator; use Cubist\Backpack\Magic\Fields\FormSuperSection; use Cubist\Backpack\Magic\Fields\Hidden; +use Cubist\Backpack\Magic\Fields\HiddenFileStandaloneForm; use Cubist\Backpack\Magic\Fields\Integer; use Cubist\Backpack\Magic\Fields\SelectFromArray; use Cubist\Backpack\Magic\Fields\StandardFile; @@ -147,9 +148,10 @@ class FluidbookCollection extends ToolboxStatusModel ] ] ); - $this->addField('update_collection_input', StandardFile::class, '', [ + $this->addField('update_collection_input', HiddenFileStandaloneForm::class, '', [ 'fake' => true, - 'wrapper' => ['class' => 'd-none'] + 'action' => './import_excel', + 'trigger' => '[bp-field-name="links_audit_update"] a' ]); $this->addField('section_tools', FormBigSection::class, __('Outils'), ['can' => 'fluidbook-collection:admin',]); diff --git a/composer.lock b/composer.lock index f1e9c9f73..c57262dd0 100644 --- a/composer.lock +++ b/composer.lock @@ -108,16 +108,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.369.6", + "version": "3.369.8", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "b1e1846a4b6593b6916764d86fc0890a31727370" + "reference": "2fa2011e2adc8e70b15b17c50d598fc44fc3106a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/b1e1846a4b6593b6916764d86fc0890a31727370", - "reference": "b1e1846a4b6593b6916764d86fc0890a31727370", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2fa2011e2adc8e70b15b17c50d598fc44fc3106a", + "reference": "2fa2011e2adc8e70b15b17c50d598fc44fc3106a", "shasum": "" }, "require": { @@ -199,9 +199,9 @@ "support": { "forum": "https://github.com/aws/aws-sdk-php/discussions", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.369.6" + "source": "https://github.com/aws/aws-sdk-php/tree/3.369.8" }, - "time": "2026-01-02T19:09:23+00:00" + "time": "2026-01-06T19:10:11+00:00" }, { "name": "backpack/backupmanager", @@ -1957,13 +1957,13 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/cubist_cms-back.git", - "reference": "0b67b1114733dcd9678912f8fc855ade4a704edd" + "reference": "59be7a0976c996abb0b41187eaf6b6e934e51d43" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-155285.tar", - "reference": "0b67b1114733dcd9678912f8fc855ade4a704edd", - "shasum": "62c4d65d6690ab637e1705ab0801890bc291b8b1" + "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-23de99.tar", + "reference": "59be7a0976c996abb0b41187eaf6b6e934e51d43", + "shasum": "74b3ffe071a96317cadbe0651733c4eafdc7d14a" }, "require": { "backpack/backupmanager": "^v3.0.9", @@ -2042,7 +2042,7 @@ } ], "description": "Cubist Backpack extension", - "time": "2025-12-10T17:17:39+00:00" + "time": "2026-01-07T13:58:10+00:00" }, { "name": "cubist/cms-front", @@ -4131,13 +4131,13 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/fluidbook_tools.git", - "reference": "e2eda20543b423d5a0679e724ea8a3ded9726d76" + "reference": "e47370d7d7da9e44de2385af1f4785d031a32aa3" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/fluidbook/tools/fluidbook-tools-dev-master-3d4395.tar", - "reference": "e2eda20543b423d5a0679e724ea8a3ded9726d76", - "shasum": "f298d5e42fee22fdc9ae9c208f9401076574a79d" + "url": "https://composer.cubedesigners.com/dist/fluidbook/tools/fluidbook-tools-dev-master-d42ec3.tar", + "reference": "e47370d7d7da9e44de2385af1f4785d031a32aa3", + "shasum": "b1190cbbdf4386478d5a47773aff7cc57cb026e6" }, "require": { "barryvdh/laravel-debugbar": "*", @@ -4173,7 +4173,7 @@ } ], "description": "Fluidbook Tools", - "time": "2026-01-05T10:18:39+00:00" + "time": "2026-01-07T11:49:19+00:00" }, { "name": "fpdf/fpdf", @@ -10612,16 +10612,16 @@ }, { "name": "spatie/db-dumper", - "version": "3.8.2", + "version": "3.8.3", "source": { "type": "git", "url": "https://github.com/spatie/db-dumper.git", - "reference": "9519c64e4938f0b9e4498b8a8e572061bc6b7cfb" + "reference": "eac3221fbe27fac51f388600d27b67b1b079406e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/db-dumper/zipball/9519c64e4938f0b9e4498b8a8e572061bc6b7cfb", - "reference": "9519c64e4938f0b9e4498b8a8e572061bc6b7cfb", + "url": "https://api.github.com/repos/spatie/db-dumper/zipball/eac3221fbe27fac51f388600d27b67b1b079406e", + "reference": "eac3221fbe27fac51f388600d27b67b1b079406e", "shasum": "" }, "require": { @@ -10659,7 +10659,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/db-dumper/tree/3.8.2" + "source": "https://github.com/spatie/db-dumper/tree/3.8.3" }, "funding": [ { @@ -10671,7 +10671,7 @@ "type": "github" } ], - "time": "2025-12-10T09:29:52+00:00" + "time": "2026-01-05T16:26:03+00:00" }, { "name": "spatie/image", @@ -16997,30 +16997,29 @@ }, { "name": "doctrine/instantiator", - "version": "2.0.0", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" + "reference": "23da848e1a2308728fe5fdddabf4be17ff9720c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/23da848e1a2308728fe5fdddabf4be17ff9720c7", + "reference": "23da848e1a2308728fe5fdddabf4be17ff9720c7", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.4" }, "require-dev": { - "doctrine/coding-standard": "^11", + "doctrine/coding-standard": "^14", "ext-pdo": "*", "ext-phar": "*", "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^10.5.58" }, "type": "library", "autoload": { @@ -17047,7 +17046,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + "source": "https://github.com/doctrine/instantiator/tree/2.1.0" }, "funding": [ { @@ -17063,7 +17062,7 @@ "type": "tidelift" } ], - "time": "2022-12-30T00:23:10+00:00" + "time": "2026-01-05T06:47:08+00:00" }, { "name": "filp/whoops", @@ -17189,16 +17188,16 @@ }, { "name": "laravel/tinker", - "version": "v2.10.2", + "version": "v2.11.0", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "3bcb5f62d6f837e0f093a601e26badafb127bd4c" + "reference": "3d34b97c9a1747a81a3fde90482c092bd8b66468" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/3bcb5f62d6f837e0f093a601e26badafb127bd4c", - "reference": "3bcb5f62d6f837e0f093a601e26badafb127bd4c", + "url": "https://api.github.com/repos/laravel/tinker/zipball/3d34b97c9a1747a81a3fde90482c092bd8b66468", + "reference": "3d34b97c9a1747a81a3fde90482c092bd8b66468", "shasum": "" }, "require": { @@ -17207,7 +17206,7 @@ "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", "php": "^7.2.5|^8.0", "psy/psysh": "^0.11.1|^0.12.0", - "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0|^8.0" }, "require-dev": { "mockery/mockery": "~1.3.3|^1.4.2", @@ -17249,9 +17248,9 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.10.2" + "source": "https://github.com/laravel/tinker/tree/v2.11.0" }, - "time": "2025-11-20T16:29:12+00:00" + "time": "2025-12-19T19:16:45+00:00" }, { "name": "mockery/mockery", @@ -19802,6 +19801,6 @@ "ext-zip": "*", "ext-zlib": "*" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" }