Changeset 2705793
- Timestamp:
- 04/06/2022 01:51:10 PM (4 years ago)
- Location:
- phraseanet-client/tags/1.2.7
- Files:
-
- 2 added
- 22 edited
-
composer.lock (modified) (9 diffs)
-
deploy.sh (added)
-
fs-config.json (added)
-
phraseanet.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/InstalledVersions.php (modified) (1 diff)
-
vendor/composer/autoload_classmap.php (modified) (1 diff)
-
vendor/composer/autoload_files.php (modified) (1 diff)
-
vendor/composer/autoload_namespaces.php (modified) (1 diff)
-
vendor/composer/autoload_psr4.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (3 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/composer/installed.json (modified) (8 diffs)
-
vendor/composer/installed.php (modified) (5 diffs)
-
vendor/gmponos/guzzle_logger/CHANGELOG.md (modified) (1 diff)
-
vendor/gmponos/guzzle_logger/README.md (modified) (1 diff)
-
vendor/gmponos/guzzle_logger/composer.json (modified) (1 diff)
-
vendor/gmponos/guzzle_logger/src/Handler/MultiRecordArrayHandler.php (modified) (2 diffs)
-
vendor/gmponos/guzzle_logger/src/Handler/StringHandler.php (modified) (2 diffs)
-
vendor/guzzlehttp/psr7/CHANGELOG.md (modified) (1 diff)
-
vendor/guzzlehttp/psr7/composer.json (modified) (1 diff)
-
vendor/guzzlehttp/psr7/src/MessageTrait.php (modified) (6 diffs)
-
version.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
phraseanet-client/tags/1.2.7/composer.lock
r2703285 r2705793 177 177 { 178 178 "name": "gmponos/guzzle_logger", 179 "version": "v2. 0.0",179 "version": "v2.2.0", 180 180 "source": { 181 181 "type": "git", 182 182 "url": "https://github.com/gmponos/guzzle-log-middleware.git", 183 "reference": " 7a42976d27f58860584df7284fa01749baf71ec7"184 }, 185 "dist": { 186 "type": "zip", 187 "url": "https://api.github.com/repos/gmponos/guzzle-log-middleware/zipball/ 7a42976d27f58860584df7284fa01749baf71ec7",188 "reference": " 7a42976d27f58860584df7284fa01749baf71ec7",183 "reference": "8784459b18f332beb49363a4d71399e784d8c298" 184 }, 185 "dist": { 186 "type": "zip", 187 "url": "https://api.github.com/repos/gmponos/guzzle-log-middleware/zipball/8784459b18f332beb49363a4d71399e784d8c298", 188 "reference": "8784459b18f332beb49363a4d71399e784d8c298", 189 189 "shasum": "" 190 190 }, … … 192 192 "ext-json": "*", 193 193 "guzzlehttp/guzzle": "^6.1 || ^7.0.1", 194 "php": "^7.2", 195 "psr/log": "^1.1" 194 "guzzlehttp/psr7": "^1.7 || ^2.0", 195 "php": "^7.2 || ^8.0", 196 "psr/log": "^1.1 || ^2.0 || ^3.0" 196 197 }, 197 198 "require-dev": { … … 236 237 "support": { 237 238 "issues": "https://github.com/gmponos/guzzle-log-middleware/issues", 238 "source": "https://github.com/gmponos/guzzle-log-middleware/tree/ master"239 "source": "https://github.com/gmponos/guzzle-log-middleware/tree/v2.2.0" 239 240 }, 240 241 "funding": [ … … 244 245 } 245 246 ], 246 "time": "202 0-07-05T12:27:03+00:00"247 "time": "2022-04-04T08:50:42+00:00" 247 248 }, 248 249 { … … 434 435 { 435 436 "name": "guzzlehttp/psr7", 436 "version": "1.8. 3",437 "version": "1.8.5", 437 438 "source": { 438 439 "type": "git", 439 440 "url": "https://github.com/guzzle/psr7.git", 440 "reference": " 1afdd860a2566ed3c2b0b4a3de6e23434a79ec85"441 }, 442 "dist": { 443 "type": "zip", 444 "url": "https://api.github.com/repos/guzzle/psr7/zipball/ 1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",445 "reference": " 1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",441 "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268" 442 }, 443 "dist": { 444 "type": "zip", 445 "url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268", 446 "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268", 446 447 "shasum": "" 447 448 }, … … 524 525 "support": { 525 526 "issues": "https://github.com/guzzle/psr7/issues", 526 "source": "https://github.com/guzzle/psr7/tree/1.8. 3"527 "source": "https://github.com/guzzle/psr7/tree/1.8.5" 527 528 }, 528 529 "funding": [ … … 540 541 } 541 542 ], 542 "time": "202 1-10-05T13:56:00+00:00"543 "time": "2022-03-20T21:51:18+00:00" 543 544 }, 544 545 { … … 623 624 { 624 625 "name": "phraseanet/php-sdk", 625 "version": "dev- origin/1.1-freemius",626 "version": "dev-main", 626 627 "dist": { 627 628 "type": "path", … … 895 896 }, 896 897 "platform-dev": [], 897 "plugin-api-version": "2. 2.0"898 "plugin-api-version": "2.3.0" 898 899 } -
phraseanet-client/tags/1.2.7/phraseanet.php
r2703285 r2705793 14 14 * @wordpress-plugin 15 15 * Plugin Name: Phraseanet Client 16 * Plugin URI: https:// github.com/alchemy-fr/Phraseanet-Wordpress-Client-Plugin16 * Plugin URI: https://www.phraseanet.com/ 17 17 * Description: This plugin creates the possibility to get and add assets from Phraseanet server into your wordpress website. This plugin allows you to create a phraseanet Gutenberg block with various custom configurations that allows you to customize the block. 18 * Version: 1.2.7 18 * Version: 1.2.7 19 19 * Author: Alchemy 20 20 * Author URI: https://www.alchemy.fr … … 57 57 * Rename this for your plugin and update it as you release new versions. 58 58 */ 59 define( 'PHRASEANET_VERSION', '1.2.7');59 define("PHRASEANET_VERSION", "1.2.7"); 60 60 61 61 /** -
phraseanet-client/tags/1.2.7/readme.txt
r2703285 r2705793 5 5 Tested up to: 5.9.2 6 6 Requires PHP: PHP 7.4.4 7 Stable tag: 1.2.7 7 Stable tag: 1.2.7 8 8 License: GNU General Public License (GPL) version 3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.txt … … 86 86 87 87 == Changelog == 88 Author: sam0hack <sam.nyx@live.com> 89 Date: FRI Apr 01 14:03:08 2022 +0100 90 91 We squashed some bugs and improve the UI expirience. 88 92 89 93 Author: sam0hack <sam.nyx@live.com> -
phraseanet-client/tags/1.2.7/vendor/autoload.php
r2703285 r2705793 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit f703d4fb0d6acabf99bc76c146015dd8::getLoader();7 return ComposerAutoloaderInitb2e779dab142ae8288ce787c5ca39ed1::getLoader(); -
phraseanet-client/tags/1.2.7/vendor/composer/InstalledVersions.php
r2703285 r2705793 22 22 * 23 23 * To require its presence, you can require `composer-runtime-api ^2.0` 24 * 25 * @final 24 26 */ 25 27 class InstalledVersions -
phraseanet-client/tags/1.2.7/vendor/composer/autoload_classmap.php
r2703285 r2705793 3 3 // autoload_classmap.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
phraseanet-client/tags/1.2.7/vendor/composer/autoload_files.php
r2703285 r2705793 3 3 // autoload_files.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 8 8 return array( 9 9 '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', 10 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', 10 11 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', 11 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',12 12 '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', 13 13 ); -
phraseanet-client/tags/1.2.7/vendor/composer/autoload_namespaces.php
r2703285 r2705793 3 3 // autoload_namespaces.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
phraseanet-client/tags/1.2.7/vendor/composer/autoload_psr4.php
r2703285 r2705793 3 3 // autoload_psr4.php @generated by Composer 4 4 5 $vendorDir = dirname( dirname(__FILE__));5 $vendorDir = dirname(__DIR__); 6 6 $baseDir = dirname($vendorDir); 7 7 -
phraseanet-client/tags/1.2.7/vendor/composer/autoload_real.php
r2703285 r2705793 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit f703d4fb0d6acabf99bc76c146015dd85 class ComposerAutoloaderInitb2e779dab142ae8288ce787c5ca39ed1 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit f703d4fb0d6acabf99bc76c146015dd8', 'loadClassLoader'), true, true);28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname( \dirname(__FILE__)));29 spl_autoload_unregister(array('ComposerAutoloaderInit f703d4fb0d6acabf99bc76c146015dd8', 'loadClassLoader'));27 spl_autoload_register(array('ComposerAutoloaderInitb2e779dab142ae8288ce787c5ca39ed1', 'loadClassLoader'), true, true); 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInitb2e779dab142ae8288ce787c5ca39ed1', 'loadClassLoader')); 30 30 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); 32 if ($useStaticLoader) { 33 require __DIR__ . '/autoload_static.php'; 34 35 call_user_func(\Composer\Autoload\ComposerStaticInitf703d4fb0d6acabf99bc76c146015dd8::getInitializer($loader)); 36 } else { 37 $map = require __DIR__ . '/autoload_namespaces.php'; 38 foreach ($map as $namespace => $path) { 39 $loader->set($namespace, $path); 40 } 41 42 $map = require __DIR__ . '/autoload_psr4.php'; 43 foreach ($map as $namespace => $path) { 44 $loader->setPsr4($namespace, $path); 45 } 46 47 $classMap = require __DIR__ . '/autoload_classmap.php'; 48 if ($classMap) { 49 $loader->addClassMap($classMap); 50 } 51 } 31 require __DIR__ . '/autoload_static.php'; 32 \Composer\Autoload\ComposerStaticInitb2e779dab142ae8288ce787c5ca39ed1::getInitializer($loader)(); 52 33 53 34 $loader->register(true); 54 35 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInitf703d4fb0d6acabf99bc76c146015dd8::$files; 57 } else { 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 } 36 $includeFiles = \Composer\Autoload\ComposerStaticInitb2e779dab142ae8288ce787c5ca39ed1::$files; 60 37 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire f703d4fb0d6acabf99bc76c146015dd8($fileIdentifier, $file);38 composerRequireb2e779dab142ae8288ce787c5ca39ed1($fileIdentifier, $file); 62 39 } 63 40 … … 71 48 * @return void 72 49 */ 73 function composerRequire f703d4fb0d6acabf99bc76c146015dd8($fileIdentifier, $file)50 function composerRequireb2e779dab142ae8288ce787c5ca39ed1($fileIdentifier, $file) 74 51 { 75 52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
phraseanet-client/tags/1.2.7/vendor/composer/autoload_static.php
r2703285 r2705793 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit f703d4fb0d6acabf99bc76c146015dd87 class ComposerStaticInitb2e779dab142ae8288ce787c5ca39ed1 8 8 { 9 9 public static $files = array ( 10 10 '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', 11 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php', 11 12 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', 12 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',13 13 '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', 14 14 ); … … 106 106 { 107 107 return \Closure::bind(function () use ($loader) { 108 $loader->prefixLengthsPsr4 = ComposerStaticInit f703d4fb0d6acabf99bc76c146015dd8::$prefixLengthsPsr4;109 $loader->prefixDirsPsr4 = ComposerStaticInit f703d4fb0d6acabf99bc76c146015dd8::$prefixDirsPsr4;110 $loader->prefixesPsr0 = ComposerStaticInit f703d4fb0d6acabf99bc76c146015dd8::$prefixesPsr0;111 $loader->classMap = ComposerStaticInit f703d4fb0d6acabf99bc76c146015dd8::$classMap;108 $loader->prefixLengthsPsr4 = ComposerStaticInitb2e779dab142ae8288ce787c5ca39ed1::$prefixLengthsPsr4; 109 $loader->prefixDirsPsr4 = ComposerStaticInitb2e779dab142ae8288ce787c5ca39ed1::$prefixDirsPsr4; 110 $loader->prefixesPsr0 = ComposerStaticInitb2e779dab142ae8288ce787c5ca39ed1::$prefixesPsr0; 111 $loader->classMap = ComposerStaticInitb2e779dab142ae8288ce787c5ca39ed1::$classMap; 112 112 113 113 }, null, ClassLoader::class); -
phraseanet-client/tags/1.2.7/vendor/composer/installed.json
r2703285 r2705793 177 177 { 178 178 "name": "gmponos/guzzle_logger", 179 "version": "v2. 0.0",180 "version_normalized": "2. 0.0.0",179 "version": "v2.2.0", 180 "version_normalized": "2.2.0.0", 181 181 "source": { 182 182 "type": "git", 183 183 "url": "https://github.com/gmponos/guzzle-log-middleware.git", 184 "reference": " 7a42976d27f58860584df7284fa01749baf71ec7"185 }, 186 "dist": { 187 "type": "zip", 188 "url": "https://api.github.com/repos/gmponos/guzzle-log-middleware/zipball/ 7a42976d27f58860584df7284fa01749baf71ec7",189 "reference": " 7a42976d27f58860584df7284fa01749baf71ec7",184 "reference": "8784459b18f332beb49363a4d71399e784d8c298" 185 }, 186 "dist": { 187 "type": "zip", 188 "url": "https://api.github.com/repos/gmponos/guzzle-log-middleware/zipball/8784459b18f332beb49363a4d71399e784d8c298", 189 "reference": "8784459b18f332beb49363a4d71399e784d8c298", 190 190 "shasum": "" 191 191 }, … … 193 193 "ext-json": "*", 194 194 "guzzlehttp/guzzle": "^6.1 || ^7.0.1", 195 "php": "^7.2", 196 "psr/log": "^1.1" 195 "guzzlehttp/psr7": "^1.7 || ^2.0", 196 "php": "^7.2 || ^8.0", 197 "psr/log": "^1.1 || ^2.0 || ^3.0" 197 198 }, 198 199 "require-dev": { … … 206 207 "monolog/monolog": "A PSR-3 logger to send your logs to files, sockets and various web services" 207 208 }, 208 "time": "202 0-07-05T12:27:03+00:00",209 "time": "2022-04-04T08:50:42+00:00", 209 210 "type": "library", 210 211 "extra": { … … 239 240 "support": { 240 241 "issues": "https://github.com/gmponos/guzzle-log-middleware/issues", 241 "source": "https://github.com/gmponos/guzzle-log-middleware/tree/ master"242 "source": "https://github.com/gmponos/guzzle-log-middleware/tree/v2.2.0" 242 243 }, 243 244 "funding": [ … … 443 444 { 444 445 "name": "guzzlehttp/psr7", 445 "version": "1.8. 3",446 "version_normalized": "1.8. 3.0",446 "version": "1.8.5", 447 "version_normalized": "1.8.5.0", 447 448 "source": { 448 449 "type": "git", 449 450 "url": "https://github.com/guzzle/psr7.git", 450 "reference": " 1afdd860a2566ed3c2b0b4a3de6e23434a79ec85"451 }, 452 "dist": { 453 "type": "zip", 454 "url": "https://api.github.com/repos/guzzle/psr7/zipball/ 1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",455 "reference": " 1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",451 "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268" 452 }, 453 "dist": { 454 "type": "zip", 455 "url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268", 456 "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268", 456 457 "shasum": "" 457 458 }, … … 471 472 "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" 472 473 }, 473 "time": "202 1-10-05T13:56:00+00:00",474 "time": "2022-03-20T21:51:18+00:00", 474 475 "type": "library", 475 476 "extra": { … … 536 537 "support": { 537 538 "issues": "https://github.com/guzzle/psr7/issues", 538 "source": "https://github.com/guzzle/psr7/tree/1.8. 3"539 "source": "https://github.com/guzzle/psr7/tree/1.8.5" 539 540 }, 540 541 "funding": [ … … 638 639 { 639 640 "name": "phraseanet/php-sdk", 640 "version": "dev- origin/1.1-freemius",641 "version_normalized": "dev- origin/1.1-freemius",641 "version": "dev-main", 642 "version_normalized": "dev-main", 642 643 "dist": { 643 644 "type": "path", -
phraseanet-client/tags/1.2.7/vendor/composer/installed.php
r2703285 r2705793 6 6 'install_path' => __DIR__ . '/../../', 7 7 'aliases' => array(), 8 'reference' => 'f fbb8d4e4663ed60e7da96c953a7c27e029ed312',8 'reference' => 'f3394e067d5efd8d8838fb133ebd0bea2103be08', 9 9 'name' => 'phraseanet/wordpress-plugin', 10 10 'dev' => true, … … 30 30 ), 31 31 'gmponos/guzzle_logger' => array( 32 'pretty_version' => 'v2. 0.0',33 'version' => '2. 0.0.0',32 'pretty_version' => 'v2.2.0', 33 'version' => '2.2.0.0', 34 34 'type' => 'library', 35 35 'install_path' => __DIR__ . '/../gmponos/guzzle_logger', 36 36 'aliases' => array(), 37 'reference' => ' 7a42976d27f58860584df7284fa01749baf71ec7',37 'reference' => '8784459b18f332beb49363a4d71399e784d8c298', 38 38 'dev_requirement' => false, 39 39 ), … … 57 57 ), 58 58 'guzzlehttp/psr7' => array( 59 'pretty_version' => '1.8. 3',60 'version' => '1.8. 3.0',59 'pretty_version' => '1.8.5', 60 'version' => '1.8.5.0', 61 61 'type' => 'library', 62 62 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 63 63 'aliases' => array(), 64 'reference' => ' 1afdd860a2566ed3c2b0b4a3de6e23434a79ec85',64 'reference' => '337e3ad8e5716c15f9657bd214d16cc5e69df268', 65 65 'dev_requirement' => false, 66 66 ), … … 75 75 ), 76 76 'phraseanet/php-sdk' => array( 77 'pretty_version' => 'dev- origin/1.1-freemius',78 'version' => 'dev- origin/1.1-freemius',77 'pretty_version' => 'dev-main', 78 'version' => 'dev-main', 79 79 'type' => 'library', 80 80 'install_path' => __DIR__ . '/../phraseanet/php-sdk', … … 89 89 'install_path' => __DIR__ . '/../../', 90 90 'aliases' => array(), 91 'reference' => 'f fbb8d4e4663ed60e7da96c953a7c27e029ed312',91 'reference' => 'f3394e067d5efd8d8838fb133ebd0bea2103be08', 92 92 'dev_requirement' => false, 93 93 ), -
phraseanet-client/tags/1.2.7/vendor/gmponos/guzzle_logger/CHANGELOG.md
r2703285 r2705793 2 2 3 3 All Notable changes to `gmponos/guzzle_logger` will be documented in this file 4 5 ## 2.2.0 - 2021-04-04 6 7 ## Changes 8 - Allow psr/log in version 2 and 3, like guzzlehttp/guzzle do it ([44](https://github.com/gmponos/guzzle-log-middleware/pull/44)) 9 10 ## 2.1.0 - 2021-03-18 11 12 That was a long layoff 13 14 ## Changes 15 - Allow PHP 8 16 - Fix a deprecation on MultiRecordArrayHandler regarding query 4 17 5 18 ## 2.0.0 - 2020-07-05 -
phraseanet-client/tags/1.2.7/vendor/gmponos/guzzle_logger/README.md
r2703285 r2705793 5 5 [](https://travis-ci.org/gmponos/guzzle-log-middleware) 6 6 [](https://github.com/gmponos/monolog-slack/blob/master/LICENSE.md) 7 [](http://phppackages.org/p/gmponos/guzzle_logger)8 7 9 8 This is a middleware for [guzzle](https://github.com/guzzle/guzzle) that will help you automatically log every request -
phraseanet-client/tags/1.2.7/vendor/gmponos/guzzle_logger/composer.json
r2703285 r2705793 27 27 }, 28 28 "require": { 29 "php": "^7.2 ",29 "php": "^7.2 || ^8.0", 30 30 "ext-json": "*", 31 31 "guzzlehttp/guzzle": "^6.1 || ^7.0.1", 32 "psr/log": "^1.1" 32 "guzzlehttp/psr7": "^1.7 || ^2.0", 33 "psr/log": "^1.1 || ^2.0 || ^3.0" 33 34 }, 34 35 "require-dev": { -
phraseanet-client/tags/1.2.7/vendor/gmponos/guzzle_logger/src/Handler/MultiRecordArrayHandler.php
r2703285 r2705793 5 5 namespace GuzzleLogMiddleware\Handler; 6 6 7 use GuzzleHttp\Psr7\Query; 7 8 use GuzzleHttp\TransferStats; 8 9 use GuzzleLogMiddleware\Handler\LogLevelStrategy\LogLevelStrategyInterface; … … 149 150 $isForm = preg_grep('/application\/x-www-form-urlencoded/', $contentType); 150 151 if (!empty($isForm)) { 151 $result = \GuzzleHttp\Psr7\parse_query($body);152 $result = Query::parse($body); 152 153 $stream->rewind(); 153 154 return $result; -
phraseanet-client/tags/1.2.7/vendor/gmponos/guzzle_logger/src/Handler/StringHandler.php
r2703285 r2705793 54 54 } 55 55 56 $str = \GuzzleHttp\Psr7\ str($value);56 $str = \GuzzleHttp\Psr7\Message::toString($value); 57 57 58 58 $level = $this->logLevelStrategy->getLevel($value, $options); … … 68 68 } 69 69 70 $str = \GuzzleHttp\Psr7\ str($value);70 $str = \GuzzleHttp\Psr7\Message::toString($value); 71 71 72 72 $level = $this->logLevelStrategy->getLevel($value, $options); -
phraseanet-client/tags/1.2.7/vendor/guzzlehttp/psr7/CHANGELOG.md
r2703285 r2705793 9 9 10 10 ## Unreleased 11 12 ## 1.8.5 - 2022-03-20 13 14 ### Fixed 15 16 - Correct header value validation 17 18 ## 1.8.4 - 2022-03-20 19 20 ### Fixed 21 22 - Validate header values properly 11 23 12 24 ## 1.8.3 - 2021-10-05 -
phraseanet-client/tags/1.2.7/vendor/guzzlehttp/psr7/composer.json
r2703285 r2705793 69 69 "config": { 70 70 "preferred-install": "dist", 71 "sort-packages": true 71 "sort-packages": true, 72 "allow-plugins": { 73 "bamarni/composer-bin-plugin": true 74 } 72 75 } 73 76 } -
phraseanet-client/tags/1.2.7/vendor/guzzlehttp/psr7/src/MessageTrait.php
r2703285 r2705793 158 158 } 159 159 160 /** 161 * @param mixed $value 162 * 163 * @return string[] 164 */ 160 165 private function normalizeHeaderValue($value) 161 166 { 162 167 if (!is_array($value)) { 163 return $this->trim HeaderValues([$value]);168 return $this->trimAndValidateHeaderValues([$value]); 164 169 } 165 170 … … 168 173 } 169 174 170 return $this->trim HeaderValues($value);175 return $this->trimAndValidateHeaderValues($value); 171 176 } 172 177 … … 179 184 * OWS = *( SP / HTAB ) 180 185 * 181 * @param string[] $values Header values186 * @param mixed[] $values Header values 182 187 * 183 188 * @return string[] Trimmed header values … … 185 190 * @see https://tools.ietf.org/html/rfc7230#section-3.2.4 186 191 */ 187 private function trim HeaderValues(array $values)192 private function trimAndValidateHeaderValues(array $values) 188 193 { 189 194 return array_map(function ($value) { … … 195 200 } 196 201 197 return trim((string) $value, " \t"); 202 $trimmed = trim((string) $value, " \t"); 203 $this->assertValue($trimmed); 204 205 return $trimmed; 198 206 }, array_values($values)); 199 207 } 200 208 209 /** 210 * @see https://tools.ietf.org/html/rfc7230#section-3.2 211 * 212 * @param mixed $header 213 * 214 * @return void 215 */ 201 216 private function assertHeader($header) 202 217 { … … 211 226 throw new \InvalidArgumentException('Header name can not be empty.'); 212 227 } 228 229 if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/', $header)) { 230 throw new \InvalidArgumentException( 231 sprintf( 232 '"%s" is not valid header name', 233 $header 234 ) 235 ); 236 } 237 } 238 239 /** 240 * @param string $value 241 * 242 * @return void 243 * 244 * @see https://tools.ietf.org/html/rfc7230#section-3.2 245 * 246 * field-value = *( field-content / obs-fold ) 247 * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] 248 * field-vchar = VCHAR / obs-text 249 * VCHAR = %x21-7E 250 * obs-text = %x80-FF 251 * obs-fold = CRLF 1*( SP / HTAB ) 252 */ 253 private function assertValue($value) 254 { 255 // The regular expression intentionally does not support the obs-fold production, because as 256 // per RFC 7230#3.2.4: 257 // 258 // A sender MUST NOT generate a message that includes 259 // line folding (i.e., that has any field-value that contains a match to 260 // the obs-fold rule) unless the message is intended for packaging 261 // within the message/http media type. 262 // 263 // Clients must not send a request with line folding and a server sending folded headers is 264 // likely very rare. Line folding is a fairly obscure feature of HTTP/1.1 and thus not accepting 265 // folding is not likely to break any legitimate use case. 266 if (! preg_match('/^[\x20\x09\x21-\x7E\x80-\xFF]*$/', $value)) { 267 throw new \InvalidArgumentException(sprintf('"%s" is not valid header value', $value)); 268 } 213 269 } 214 270 } -
phraseanet-client/tags/1.2.7/version.txt
r2703285 r2705793 1 1 * origin/1.1-freemius 2 commit cf98088535c825623a4591fcca7083701dc57c953 Author: sam0hack <sam.nyx@live.com>4 Date: Fri Mar 25 13:17:23 2022 +01005 6 feat: add and change default currency to EUR7 8 feat: add and change default currency to EUR9 10 commit 7dfe81ff1e03d2ad04a9ccdee1c5d467fc13d8bb11 Author: sam0hack <sam.nyx@live.com>12 Date: Fri Mar 25 13:15:50 2022 +010013 14 fix: dev name15 16 commit d2939e3746915ddc17c355a882700bbb5f84cb2a17 Author: sam0hack <sam.nyx@live.com>18 Date: Wed Mar 23 13:56:56 2022 +010019 20 PC-56 version update21 22 commit afd471bed3a5d15743ddad423c95ffb9faf4f72623 Author: sam0hack <sam.nyx@live.com>24 Date: Tue Mar 22 16:51:19 2022 +010025 26 PC-56 Solution 127 28 PC-56 Solution 1. add a packager that create two builds. 1 for free and 1 for premium.29 30 commit fc7ee7e8905b86d787b7689b2474f41c11217e7031 Author: sam0hack <sam.nyx@live.com>32 Date: Wed Mar 16 17:06:27 2022 +010033 34 fix: typos35 36 commit 72aa0c1b480fe2355643a922cb7fb157efced6c837 Author: sam0hack <sam.nyx@live.com>38 Date: Wed Mar 16 17:06:08 2022 +010039 40 add: PC-56 get premium button41 42 commit 2e4e1c014ec6f9b64f1aef7d5368fa586435207f43 Author: sam0hack <sam.nyx@live.com>44 Date: Thu Mar 3 15:29:08 2022 +010045 46 PC-55 version upgrade for WP47 48 commit d9d5a81e08d8d5f0fa1b03e7c81c4503d5fdf0d449 Author: sam0hack <sam.nyx@live.com>50 Date: Thu Mar 3 13:04:39 2022 +010051 52 fix: PC-55 logo53 54 commit e96f119974407f1b7e8119986645eb469a7b8d7555 Author: sam0hack <sam.nyx@live.com>56 Date: Thu Mar 3 13:02:08 2022 +010057 58 patch: PC-55 All of the issues are minor except for one that allows WP logged-in users to turn the SDK's debug mode on, which activates logging and can potentially expose some Freemius-related sensitive variables — like the opted-in user email address and API keys59 60 patch: PC-55 All of the issues are minor except for one that allows WP logged-in users to turn the SDK's debug mode on, which activates logging and can potentially expose some Freemius-related sensitive variables — like the opted-in user email address and API keys61 62 commit 8b904b17b876143d05af5965a37eada53e019a7f63 Author: sam0hack <sam.nyx@live.com>64 Date: Wed Mar 2 15:13:17 2022 +010065 66 fix: PC-52 and PC-54 SVN commit rejected by wordpress pre-commit hooks issues with wordpress compatibility67 68 fix: PC-54 by adding the local version of phraseanet-php-sdk with fixed version of doctrine/collection and doctrine/cache69 70 commit ed03d62aabb2f0ac2fd8e345f6d4414840ff9e4a71 Author: sam0hack <sam.nyx@live.com>72 Date: Fri Feb 25 15:06:33 2022 +010073 74 fix: PC-48 improve performance75 76 commit 2bf8af15f0dd52080fffa461d07f801b176755c877 Author: sam0hack <sam.nyx@live.com>78 Date: Fri Feb 25 15:05:50 2022 +010079 80 fix: PC-52 indentation81 82 commit 60882dc2ddebc1542c5b67cf483415b46f690a7483 Author: sam0hack <sam.nyx@live.com>84 Date: Thu Feb 24 16:46:20 2022 +010085 86 fix: PC-48 Fix wrong asset download87 88 fix: PC-48 after updating collection chooser with the allowed collections the download asset functionality broke.89 90 commit 684774d5e8beb007427958463f5b55ad0567adee91 Author: sam0hack <sam.nyx@live.com>92 Date: Thu Feb 24 16:14:42 2022 +010093 94 fix: PC-52 Optimize the lodash imports95 96 Optimized the lodash imports and removed .map files from production to reduce the build size.97 98 2 commit 0b35531659a173b8228b8973e8915bbb9c8b7361 99 3 Author: sam0hack <sam.nyx@live.com>
Note: See TracChangeset
for help on using the changeset viewer.