diff --git a/CHANGELOG.md b/CHANGELOG.md index d4c2e64..0d88f75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Flexisip Account Manager Changelog -v1.7 +v2.0 ---- - Fix FLEXIAPI-205 Remove the deprecated endpoints, compatibility code documentation and tests. Drop the confirmation_key accounts column and activation_expirations table - Fix FLEXIAPI-206 Upgrade to Laravel 10, PHP 8.1 minimum and bump all the related dependencies, drop Debian 11 Bullseye diff --git a/RELEASE.md b/RELEASE.md index cf88373..f42fb91 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/). -## [1.7] +## [2.0] ### Added diff --git a/flexiapi/app/Rules/CallId.php b/flexiapi/app/Rules/CallId.php index 628b821..0c69698 100644 --- a/flexiapi/app/Rules/CallId.php +++ b/flexiapi/app/Rules/CallId.php @@ -14,6 +14,6 @@ class CallId implements Rule public function message() { - return 'The :attribute should only contain only alphanumeric and dashes characters'; + return 'The :attribute should only contain only alphanumeric, tilde and dashes characters'; } } diff --git a/flexiapi/app/Rules/PnPrid.php b/flexiapi/app/Rules/PnPrid.php index 4fb65c9..9221e36 100644 --- a/flexiapi/app/Rules/PnPrid.php +++ b/flexiapi/app/Rules/PnPrid.php @@ -14,6 +14,6 @@ class PnPrid implements Rule public function message() { - return 'The :attribute should be null or contain only alphanumeric, dashes and colon characters'; + return 'The :attribute should be null or contain only alphanumeric, dashes, underscore and colon characters'; } } diff --git a/flexiapi/composer.lock b/flexiapi/composer.lock index 20163d0..c4d9c4f 100644 --- a/flexiapi/composer.lock +++ b/flexiapi/composer.lock @@ -1324,16 +1324,16 @@ }, { "name": "giggsey/libphonenumber-for-php-lite", - "version": "9.0.4", + "version": "9.0.5", "source": { "type": "git", "url": "https://github.com/giggsey/libphonenumber-for-php-lite.git", - "reference": "6b36e32fddce37738c4f6df66e49dd9a2475841c" + "reference": "342981f32855240387c44790a4d92ec8ae3153ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/6b36e32fddce37738c4f6df66e49dd9a2475841c", - "reference": "6b36e32fddce37738c4f6df66e49dd9a2475841c", + "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/342981f32855240387c44790a4d92ec8ae3153ca", + "reference": "342981f32855240387c44790a4d92ec8ae3153ca", "shasum": "" }, "require": { @@ -1398,7 +1398,7 @@ "issues": "https://github.com/giggsey/libphonenumber-for-php-lite/issues", "source": "https://github.com/giggsey/libphonenumber-for-php-lite" }, - "time": "2025-04-28T07:26:55+00:00" + "time": "2025-05-08T07:10:02+00:00" }, { "name": "graham-campbell/result-type", @@ -5533,16 +5533,16 @@ }, { "name": "respect/validation", - "version": "2.4.1", + "version": "2.4.3", "source": { "type": "git", "url": "https://github.com/Respect/Validation.git", - "reference": "d1575eb4dde7b06f8dbc5e8d84dffb87931a40bd" + "reference": "7f4b3b3ec3ccdf330dfc4567bb43698018f3562a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Respect/Validation/zipball/d1575eb4dde7b06f8dbc5e8d84dffb87931a40bd", - "reference": "d1575eb4dde7b06f8dbc5e8d84dffb87931a40bd", + "url": "https://api.github.com/repos/Respect/Validation/zipball/7f4b3b3ec3ccdf330dfc4567bb43698018f3562a", + "reference": "7f4b3b3ec3ccdf330dfc4567bb43698018f3562a", "shasum": "" }, "require": { @@ -5552,7 +5552,7 @@ }, "require-dev": { "egulias/email-validator": "^3.0", - "giggsey/libphonenumber-for-php-lite": "^8.13", + "giggsey/libphonenumber-for-php-lite": "^8.13 || ^9.0", "malukenho/docheader": "^1.0", "mikey179/vfsstream": "^1.6", "phpstan/phpstan": "^1.9", @@ -5595,9 +5595,9 @@ ], "support": { "issues": "https://github.com/Respect/Validation/issues", - "source": "https://github.com/Respect/Validation/tree/2.4.1" + "source": "https://github.com/Respect/Validation/tree/2.4.3" }, - "time": "2025-01-11T00:06:34+00:00" + "time": "2025-05-14T12:14:59+00:00" }, { "name": "rvxlab/hcaptcha", @@ -9900,16 +9900,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.12.2", + "version": "3.13.0", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa" + "reference": "65ff2489553b83b4597e89c3b8b721487011d186" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa", - "reference": "6d4cf6032d4b718f168c90a96e36c7d0eaacb2aa", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/65ff2489553b83b4597e89c3b8b721487011d186", + "reference": "65ff2489553b83b4597e89c3b8b721487011d186", "shasum": "" }, "require": { @@ -9980,7 +9980,7 @@ "type": "thanks_dev" } ], - "time": "2025-04-13T04:10:18+00:00" + "time": "2025-05-11T03:36:00+00:00" }, { "name": "symfony/config", diff --git a/flexiapi/composer.phar b/flexiapi/composer.phar index 7a3bef9..bb6ba64 100755 Binary files a/flexiapi/composer.phar and b/flexiapi/composer.phar differ diff --git a/flexiapi/resources/views/api/documentation_markdown.blade.php b/flexiapi/resources/views/api/documentation_markdown.blade.php index 1e01cfb..ba978d0 100644 --- a/flexiapi/resources/views/api/documentation_markdown.blade.php +++ b/flexiapi/resources/views/api/documentation_markdown.blade.php @@ -264,7 +264,7 @@ JSON parameters: * `pn_provider` **required**, the push notification provider, must be in apns.dev, apns or fcm * `pn_param` the push notification parameter, can be null or contain only alphanumeric and underscore characters -* `pn_prid` the push notification unique id, can be null or contain only alphanumeric, dashes and colon characters +* `pn_prid` the push notification unique id, can be null or contain only alphanumeric, dashes, underscore and colon characters ### `POST /account_creation_tokens/using-account-creation-request-token` Public @@ -314,7 +314,7 @@ JSON parameters: * `pn_provider` **required**, the push notification provider, must be in apns.dev, apns or fcm * `pn_param` the push notification parameter, can be null or contain only alphanumeric and underscore characters -* `pn_prid` the push notification unique id, can be null or contain only alphanumeric, dashes and colon characters +* `pn_prid` the push notification unique id, can be null or contain only alphanumeric, dashes, underscore and colon characters ## Auth Tokens @@ -839,9 +839,9 @@ JSON parameters: * `pn_provider` **required**, the push notification provider, must be in `apns.dev`, `apns` or `fcm` * `pn_param` the push notification parameter, can be null or contain only alphanumeric and underscore characters -* `pn_prid` the push notification unique id, can be null or contain only alphanumeric, dashes and colon characters +* `pn_prid` the push notification unique id, can be null or contain only alphanumeric, dashes, underscore and colon characters * `type` **required**, must be in `background`, `message` or `call` -* `call_id` a Call ID, must have only alphanumeric and dashes characters +* `call_id` a Call ID, must have only alphanumeric, tilde and dashes characters ## Phone Countries