Fix FLEXIAPI-387 Ensure that INSTANCE_CONFIRMED_REGISTRATION_TEXT et...

This commit is contained in:
Timothée Jaussoin 2025-09-18 13:55:46 +00:00
parent edbe49d404
commit 6240f81f14
3 changed files with 94 additions and 77 deletions

View file

@ -22,9 +22,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
### Changed ### Changed
- **Complete and reorganize the Markdown documentation**
- **Refactor the emails templates** All the emails were modernized and are now generated in HTML
### Removed
- **Remove the deprecated endpoints** The endpoints inherited from XMLRPC are now completely removed, the following variable can be removed:
- APP_DANGEROUS_ENDPOINTS
- APP_PROJECT_URL
- **Removing and moving DotEnv instance environnement variables to the Spaces** The following DotEnv variables were removed. You can now configure them directly in the designated spaces after the migration. - **Removing and moving DotEnv instance environnement variables to the Spaces** The following DotEnv variables were removed. You can now configure them directly in the designated spaces after the migration.
- INSTANCE_COPYRIGHT - INSTANCE_COPYRIGHT
- INSTANCE_INTRO_REGISTRATION - INSTANCE_INTRO_REGISTRATION
- INSTANCE_CONFIRMED_REGISTRATION_TEXT
- INSTANCE_CUSTOM_THEME - INSTANCE_CUSTOM_THEME
- WEB_PANEL - WEB_PANEL
- PUBLIC_REGISTRATION - PUBLIC_REGISTRATION
@ -38,13 +47,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
- ACCOUNT_PROVISIONING_RC_FILE - ACCOUNT_PROVISIONING_RC_FILE
- ACCOUNT_PROVISIONING_OVERWRITE_ALL - ACCOUNT_PROVISIONING_OVERWRITE_ALL
- ACCOUNT_PROVISIONING_USE_X_LINPHONE_PROVISIONING_HEADER - ACCOUNT_PROVISIONING_USE_X_LINPHONE_PROVISIONING_HEADER
- **Complete and reorganize the Markdown documentation** - **Enforce the session and cache in the configuration** The following variables can be removed from your DotEnv file as well:
- **Refactor the emails templates** All the emails were modernized and are now generated in HTML - SESSION_DRIVER
- **Enforce SESSION_DRIVER and CACHE_DRIVER to file** They can be removed from your DotEnv file as well. - CACHE_DRIVER
### Removed
- **Remove the deprecated endpoints** The endpoints inherited from XMLRPC are now completely removed
### Migrate from [1.6] ### Migrate from [1.6]

150
flexiapi/composer.lock generated
View file

@ -124,25 +124,25 @@
}, },
{ {
"name": "brick/math", "name": "brick/math",
"version": "0.12.3", "version": "0.14.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/brick/math.git", "url": "https://github.com/brick/math.git",
"reference": "866551da34e9a618e64a819ee1e01c20d8a588ba" "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba", "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2",
"reference": "866551da34e9a618e64a819ee1e01c20d8a588ba", "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^8.1" "php": "^8.2"
}, },
"require-dev": { "require-dev": {
"php-coveralls/php-coveralls": "^2.2", "php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "^10.1", "phpstan/phpstan": "2.1.22",
"vimeo/psalm": "6.8.8" "phpunit/phpunit": "^11.5"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -172,7 +172,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/brick/math/issues", "issues": "https://github.com/brick/math/issues",
"source": "https://github.com/brick/math/tree/0.12.3" "source": "https://github.com/brick/math/tree/0.14.0"
}, },
"funding": [ "funding": [
{ {
@ -180,7 +180,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-02-28T13:11:00+00:00" "time": "2025-08-29T12:40:03+00:00"
}, },
{ {
"name": "carbonphp/carbon-doctrine-types", "name": "carbonphp/carbon-doctrine-types",
@ -253,16 +253,16 @@
}, },
{ {
"name": "dasprid/enum", "name": "dasprid/enum",
"version": "1.0.6", "version": "1.0.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/DASPRiD/Enum.git", "url": "https://github.com/DASPRiD/Enum.git",
"reference": "8dfd07c6d2cf31c8da90c53b83c026c7696dda90" "reference": "b5874fa9ed0043116c72162ec7f4fb50e02e7cce"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/DASPRiD/Enum/zipball/8dfd07c6d2cf31c8da90c53b83c026c7696dda90", "url": "https://api.github.com/repos/DASPRiD/Enum/zipball/b5874fa9ed0043116c72162ec7f4fb50e02e7cce",
"reference": "8dfd07c6d2cf31c8da90c53b83c026c7696dda90", "reference": "b5874fa9ed0043116c72162ec7f4fb50e02e7cce",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -297,9 +297,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/DASPRiD/Enum/issues", "issues": "https://github.com/DASPRiD/Enum/issues",
"source": "https://github.com/DASPRiD/Enum/tree/1.0.6" "source": "https://github.com/DASPRiD/Enum/tree/1.0.7"
}, },
"time": "2024-08-09T14:30:48+00:00" "time": "2025-09-16T12:23:56+00:00"
}, },
{ {
"name": "dflydev/dot-access-data", "name": "dflydev/dot-access-data",
@ -378,16 +378,16 @@
}, },
{ {
"name": "doctrine/dbal", "name": "doctrine/dbal",
"version": "3.10.1", "version": "3.10.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/dbal.git", "url": "https://github.com/doctrine/dbal.git",
"reference": "3626601014388095d3af9de7e9e958623b7ef005" "reference": "c6c16cf787eaba3112203dfcd715fa2059c62282"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/3626601014388095d3af9de7e9e958623b7ef005", "url": "https://api.github.com/repos/doctrine/dbal/zipball/c6c16cf787eaba3112203dfcd715fa2059c62282",
"reference": "3626601014388095d3af9de7e9e958623b7ef005", "reference": "c6c16cf787eaba3112203dfcd715fa2059c62282",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -403,10 +403,10 @@
}, },
"require-dev": { "require-dev": {
"doctrine/cache": "^1.11|^2.0", "doctrine/cache": "^1.11|^2.0",
"doctrine/coding-standard": "13.0.0", "doctrine/coding-standard": "13.0.1",
"fig/log-test": "^1", "fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2023.1", "jetbrains/phpstorm-stubs": "2023.1",
"phpstan/phpstan": "2.1.17", "phpstan/phpstan": "2.1.22",
"phpstan/phpstan-strict-rules": "^2", "phpstan/phpstan-strict-rules": "^2",
"phpunit/phpunit": "9.6.23", "phpunit/phpunit": "9.6.23",
"slevomat/coding-standard": "8.16.2", "slevomat/coding-standard": "8.16.2",
@ -472,7 +472,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/dbal/issues", "issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.10.1" "source": "https://github.com/doctrine/dbal/tree/3.10.2"
}, },
"funding": [ "funding": [
{ {
@ -488,7 +488,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-08-05T12:18:06+00:00" "time": "2025-09-04T23:51:27+00:00"
}, },
{ {
"name": "doctrine/deprecations", "name": "doctrine/deprecations",
@ -1233,16 +1233,16 @@
}, },
{ {
"name": "giggsey/libphonenumber-for-php-lite", "name": "giggsey/libphonenumber-for-php-lite",
"version": "9.0.13", "version": "9.0.14",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/giggsey/libphonenumber-for-php-lite.git", "url": "https://github.com/giggsey/libphonenumber-for-php-lite.git",
"reference": "0d5fcd837598ee6ec8104a0bc642ebff54fb70e5" "reference": "af794cc2ed18edeebadf5ffe08eb6add04275709"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/0d5fcd837598ee6ec8104a0bc642ebff54fb70e5", "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/af794cc2ed18edeebadf5ffe08eb6add04275709",
"reference": "0d5fcd837598ee6ec8104a0bc642ebff54fb70e5", "reference": "af794cc2ed18edeebadf5ffe08eb6add04275709",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1307,7 +1307,7 @@
"issues": "https://github.com/giggsey/libphonenumber-for-php-lite/issues", "issues": "https://github.com/giggsey/libphonenumber-for-php-lite/issues",
"source": "https://github.com/giggsey/libphonenumber-for-php-lite" "source": "https://github.com/giggsey/libphonenumber-for-php-lite"
}, },
"time": "2025-09-01T08:24:26+00:00" "time": "2025-09-16T07:09:25+00:00"
}, },
{ {
"name": "graham-campbell/result-type", "name": "graham-campbell/result-type",
@ -1784,20 +1784,20 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v11.45.2", "version": "v11.46.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "d134bf11e2208c0c5bd488cf19e612ca176b820a" "reference": "2c6d85f22d08123ad45aa3a6726b16f06e68eecd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/d134bf11e2208c0c5bd488cf19e612ca176b820a", "url": "https://api.github.com/repos/laravel/framework/zipball/2c6d85f22d08123ad45aa3a6726b16f06e68eecd",
"reference": "d134bf11e2208c0c5bd488cf19e612ca176b820a", "reference": "2c6d85f22d08123ad45aa3a6726b16f06e68eecd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12|^0.13|^0.14",
"composer-runtime-api": "^2.2", "composer-runtime-api": "^2.2",
"doctrine/inflector": "^2.0.5", "doctrine/inflector": "^2.0.5",
"dragonmantank/cron-expression": "^3.4", "dragonmantank/cron-expression": "^3.4",
@ -1901,7 +1901,7 @@
"league/flysystem-read-only": "^3.25.1", "league/flysystem-read-only": "^3.25.1",
"league/flysystem-sftp-v3": "^3.25.1", "league/flysystem-sftp-v3": "^3.25.1",
"mockery/mockery": "^1.6.10", "mockery/mockery": "^1.6.10",
"orchestra/testbench-core": "^9.16.0", "orchestra/testbench-core": "^9.16.1",
"pda/pheanstalk": "^5.0.6", "pda/pheanstalk": "^5.0.6",
"php-http/discovery": "^1.15", "php-http/discovery": "^1.15",
"phpstan/phpstan": "^2.0", "phpstan/phpstan": "^2.0",
@ -1995,7 +1995,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2025-08-13T20:28:00+00:00" "time": "2025-09-08T21:54:34+00:00"
}, },
{ {
"name": "laravel/prompts", "name": "laravel/prompts",
@ -3163,16 +3163,16 @@
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "3.10.2", "version": "3.10.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/CarbonPHP/carbon.git", "url": "https://github.com/CarbonPHP/carbon.git",
"reference": "76b5c07b8a9d2025ed1610e14cef1f3fd6ad2c24" "reference": "8e3643dcd149ae0fe1d2ff4f2c8e4bbfad7c165f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/76b5c07b8a9d2025ed1610e14cef1f3fd6ad2c24", "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/8e3643dcd149ae0fe1d2ff4f2c8e4bbfad7c165f",
"reference": "76b5c07b8a9d2025ed1610e14cef1f3fd6ad2c24", "reference": "8e3643dcd149ae0fe1d2ff4f2c8e4bbfad7c165f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3190,13 +3190,13 @@
"require-dev": { "require-dev": {
"doctrine/dbal": "^3.6.3 || ^4.0", "doctrine/dbal": "^3.6.3 || ^4.0",
"doctrine/orm": "^2.15.2 || ^3.0", "doctrine/orm": "^2.15.2 || ^3.0",
"friendsofphp/php-cs-fixer": "^3.75.0", "friendsofphp/php-cs-fixer": "^v3.87.1",
"kylekatarnls/multi-tester": "^2.5.3", "kylekatarnls/multi-tester": "^2.5.3",
"phpmd/phpmd": "^2.15.0", "phpmd/phpmd": "^2.15.0",
"phpstan/extension-installer": "^1.4.3", "phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.1.17", "phpstan/phpstan": "^2.1.22",
"phpunit/phpunit": "^10.5.46", "phpunit/phpunit": "^10.5.53",
"squizlabs/php_codesniffer": "^3.13.0" "squizlabs/php_codesniffer": "^3.13.4"
}, },
"bin": [ "bin": [
"bin/carbon" "bin/carbon"
@ -3264,7 +3264,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-08-02T09:36:06+00:00" "time": "2025-09-06T13:39:36+00:00"
}, },
{ {
"name": "nette/schema", "name": "nette/schema",
@ -4191,16 +4191,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.5.53", "version": "10.5.55",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "32768472ebfb6969e6c7399f1c7b09009723f653" "reference": "4b2d546b336876bd9562f24641b08a25335b06b6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/32768472ebfb6969e6c7399f1c7b09009723f653", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4b2d546b336876bd9562f24641b08a25335b06b6",
"reference": "32768472ebfb6969e6c7399f1c7b09009723f653", "reference": "4b2d546b336876bd9562f24641b08a25335b06b6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4221,7 +4221,7 @@
"phpunit/php-timer": "^6.0.0", "phpunit/php-timer": "^6.0.0",
"sebastian/cli-parser": "^2.0.1", "sebastian/cli-parser": "^2.0.1",
"sebastian/code-unit": "^2.0.0", "sebastian/code-unit": "^2.0.0",
"sebastian/comparator": "^5.0.3", "sebastian/comparator": "^5.0.4",
"sebastian/diff": "^5.1.1", "sebastian/diff": "^5.1.1",
"sebastian/environment": "^6.1.0", "sebastian/environment": "^6.1.0",
"sebastian/exporter": "^5.1.2", "sebastian/exporter": "^5.1.2",
@ -4272,7 +4272,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.53" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.55"
}, },
"funding": [ "funding": [
{ {
@ -4296,7 +4296,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-08-20T14:40:06+00:00" "time": "2025-09-14T06:19:20+00:00"
}, },
{ {
"name": "propaganistas/laravel-phone", "name": "propaganistas/laravel-phone",
@ -5030,20 +5030,20 @@
}, },
{ {
"name": "ramsey/uuid", "name": "ramsey/uuid",
"version": "4.9.0", "version": "4.9.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/ramsey/uuid.git", "url": "https://github.com/ramsey/uuid.git",
"reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0" "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/ramsey/uuid/zipball/4e0e23cc785f0724a0e838279a9eb03f28b092a0", "url": "https://api.github.com/repos/ramsey/uuid/zipball/81f941f6f729b1e3ceea61d9d014f8b6c6800440",
"reference": "4e0e23cc785f0724a0e838279a9eb03f28b092a0", "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13", "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14",
"php": "^8.0", "php": "^8.0",
"ramsey/collection": "^1.2 || ^2.0" "ramsey/collection": "^1.2 || ^2.0"
}, },
@ -5102,9 +5102,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/ramsey/uuid/issues", "issues": "https://github.com/ramsey/uuid/issues",
"source": "https://github.com/ramsey/uuid/tree/4.9.0" "source": "https://github.com/ramsey/uuid/tree/4.9.1"
}, },
"time": "2025-06-25T14:20:11+00:00" "time": "2025-09-04T20:59:21+00:00"
}, },
{ {
"name": "react/cache", "name": "react/cache",
@ -6158,16 +6158,16 @@
}, },
{ {
"name": "sebastian/comparator", "name": "sebastian/comparator",
"version": "5.0.3", "version": "5.0.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git", "url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e" "reference": "e8e53097718d2b53cfb2aa859b06a41abf58c62e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/e8e53097718d2b53cfb2aa859b06a41abf58c62e",
"reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", "reference": "e8e53097718d2b53cfb2aa859b06a41abf58c62e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6223,15 +6223,27 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/comparator/issues", "issues": "https://github.com/sebastianbergmann/comparator/issues",
"security": "https://github.com/sebastianbergmann/comparator/security/policy", "security": "https://github.com/sebastianbergmann/comparator/security/policy",
"source": "https://github.com/sebastianbergmann/comparator/tree/5.0.3" "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.4"
}, },
"funding": [ "funding": [
{ {
"url": "https://github.com/sebastianbergmann", "url": "https://github.com/sebastianbergmann",
"type": "github" "type": "github"
},
{
"url": "https://liberapay.com/sebastianbergmann",
"type": "liberapay"
},
{
"url": "https://thanks.dev/u/gh/sebastianbergmann",
"type": "thanks_dev"
},
{
"url": "https://tidelift.com/funding/github/packagist/sebastian/comparator",
"type": "tidelift"
} }
], ],
"time": "2024-10-18T14:56:07+00:00" "time": "2025-09-07T05:25:07+00:00"
}, },
{ {
"name": "sebastian/complexity", "name": "sebastian/complexity",
@ -10153,16 +10165,16 @@
}, },
{ {
"name": "squizlabs/php_codesniffer", "name": "squizlabs/php_codesniffer",
"version": "3.13.2", "version": "3.13.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
"reference": "5b5e3821314f947dd040c70f7992a64eac89025c" "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5b5e3821314f947dd040c70f7992a64eac89025c", "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ad545ea9c1b7d270ce0fc9cbfb884161cd706119",
"reference": "5b5e3821314f947dd040c70f7992a64eac89025c", "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -10233,7 +10245,7 @@
"type": "thanks_dev" "type": "thanks_dev"
} }
], ],
"time": "2025-06-17T22:17:01+00:00" "time": "2025-09-05T05:47:09+00:00"
}, },
{ {
"name": "symfony/config", "name": "symfony/config",

View file

@ -90,7 +90,7 @@
<table class="large"> <table class="large">
<thead> <thead>
<tr> <tr>
<th width="1%"> <th style="width:1%;">
<input type="checkbox" onchange="Utils.toggleAll(this)"> <input type="checkbox" onchange="Utils.toggleAll(this)">
</th> </th>
<th>{{ __('Username') }}</th> <th>{{ __('Username') }}</th>