Real Media Library: Media Library Folder & File Manager - Version 4.18.24

Version Description

Download this release

Release Info

Developer devowl
Plugin Icon wp plugin Real Media Library: Media Library Folder & File Manager
Version 4.18.24
Comparing to
See all releases

Code changes from version 4.18.23 to 4.18.24

CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
  All notable changes to this project will be documented in this file.
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
 
 
 
 
 
 
 
 
 
6
  ## 4.18.23 (2022-12-01)
7
 
8
 
3
  All notable changes to this project will be documented in this file.
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
 
6
+ ## 4.18.24 (2022-12-02)
7
+
8
+ **Note:** This package (@devowl-wp/real-media-library) has been updated because a dependency, which is also shipped with this package, has changed.
9
+
10
+
11
+
12
+
13
+
14
  ## 4.18.23 (2022-12-01)
15
 
16
 
README.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Real Media Library: Media Library Folder & File Manager ===
2
  Contributors: devowl, mguenter, jankarres, mrguenter, styx
3
  Tags: wordpress media library folders, media library folders, file manager, media folder, media library folder, media library category, media library categories, media category, subfolders, file manager, directories, folder, folders, organize, media library, enhanced Media, enhanced media library, media management, media directory, folder manager, wordpress, media library wizard, folders manager, media library folder, media folders, media directories, media categories, wordpress media library folders, wordpress media folder, wordpress media folders, wordpress media library
4
- Stable tag: 4.18.23
5
  Requires at least: 5.2
6
  Requires PHP: 7.2.0
7
  Tested up to: 6.1
1
  === Real Media Library: Media Library Folder & File Manager ===
2
  Contributors: devowl, mguenter, jankarres, mrguenter, styx
3
  Tags: wordpress media library folders, media library folders, file manager, media folder, media library folder, media library category, media library categories, media category, subfolders, file manager, directories, folder, folders, organize, media library, enhanced Media, enhanced media library, media management, media directory, folder manager, wordpress, media library wizard, folders manager, media library folder, media folders, media directories, media categories, wordpress media library folders, wordpress media folder, wordpress media folders, wordpress media library
4
+ Stable tag: 4.18.24
5
  Requires at least: 5.2
6
  Requires PHP: 7.2.0
7
  Tested up to: 6.1
inc/base/others/cachebuster-lib.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /* This file was automatically generated (Thu Dec 01 2022 09:30:56 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'i18n-react' => '0.7.0',
5
  'mobx' => '4.15.7',
1
  <?php
2
+ /* This file was automatically generated (Fri Dec 02 2022 12:04:11 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'i18n-react' => '0.7.0',
5
  'mobx' => '4.15.7',
inc/base/others/cachebuster.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /* This file was automatically generated (Thu Dec 01 2022 09:30:56 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'src/public/dist/rml_gutenberg.lite.js' => 'ec037dfb6f4518134e33bc6a33d2e466',
5
  'src/public/dist/rml_gutenberg.pro.js' => '6a34186dde43c12b236b2fd5c0c947df',
1
  <?php
2
+ /* This file was automatically generated (Fri Dec 02 2022 12:04:11 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'src/public/dist/rml_gutenberg.lite.js' => 'ec037dfb6f4518134e33bc6a33d2e466',
5
  'src/public/dist/rml_gutenberg.pro.js' => '6a34186dde43c12b236b2fd5c0c947df',
index.php CHANGED
@@ -8,7 +8,7 @@
8
  * Description: Organize uploaded media in folders, collections and galleries: A file manager for WordPress. Media management made easy!
9
  * Author: devowl.io
10
  * Author URI: https://devowl.io
11
- * Version: 4.18.23
12
  * Text Domain: real-media-library
13
  * Domain Path: /languages
14
  */
8
  * Description: Organize uploaded media in folders, collections and galleries: A file manager for WordPress. Media management made easy!
9
  * Author: devowl.io
10
  * Author URI: https://devowl.io
11
+ * Version: 4.18.24
12
  * Text Domain: real-media-library
13
  * Domain Path: /languages
14
  */
vendor/autoload.php CHANGED
@@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
22
 
23
  require_once __DIR__ . '/composer/autoload_real.php';
24
 
25
- return ComposerAutoloaderInita5170a7d55a1a66897e6dc4b1305e766::getLoader();
22
 
23
  require_once __DIR__ . '/composer/autoload_real.php';
24
 
25
+ return ComposerAutoloaderInit86cc5ed39cede326c4a2386fdbbb4f08::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInita5170a7d55a1a66897e6dc4b1305e766
6
  {
7
  private static $loader;
8
 
@@ -22,19 +22,19 @@ class ComposerAutoloaderInita5170a7d55a1a66897e6dc4b1305e766
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInita5170a7d55a1a66897e6dc4b1305e766', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
- spl_autoload_unregister(array('ComposerAutoloaderInita5170a7d55a1a66897e6dc4b1305e766', 'loadClassLoader'));
28
 
29
  require __DIR__ . '/autoload_static.php';
30
- call_user_func(\Composer\Autoload\ComposerStaticInita5170a7d55a1a66897e6dc4b1305e766::getInitializer($loader));
31
 
32
  $loader->setClassMapAuthoritative(true);
33
  $loader->register(true);
34
 
35
- $includeFiles = \Composer\Autoload\ComposerStaticInita5170a7d55a1a66897e6dc4b1305e766::$files;
36
  foreach ($includeFiles as $fileIdentifier => $file) {
37
- composerRequirea5170a7d55a1a66897e6dc4b1305e766($fileIdentifier, $file);
38
  }
39
 
40
  return $loader;
@@ -46,7 +46,7 @@ class ComposerAutoloaderInita5170a7d55a1a66897e6dc4b1305e766
46
  * @param string $file
47
  * @return void
48
  */
49
- function composerRequirea5170a7d55a1a66897e6dc4b1305e766($fileIdentifier, $file)
50
  {
51
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
52
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit86cc5ed39cede326c4a2386fdbbb4f08
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit86cc5ed39cede326c4a2386fdbbb4f08', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit86cc5ed39cede326c4a2386fdbbb4f08', 'loadClassLoader'));
28
 
29
  require __DIR__ . '/autoload_static.php';
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit86cc5ed39cede326c4a2386fdbbb4f08::getInitializer($loader));
31
 
32
  $loader->setClassMapAuthoritative(true);
33
  $loader->register(true);
34
 
35
+ $includeFiles = \Composer\Autoload\ComposerStaticInit86cc5ed39cede326c4a2386fdbbb4f08::$files;
36
  foreach ($includeFiles as $fileIdentifier => $file) {
37
+ composerRequire86cc5ed39cede326c4a2386fdbbb4f08($fileIdentifier, $file);
38
  }
39
 
40
  return $loader;
46
  * @param string $file
47
  * @return void
48
  */
49
+ function composerRequire86cc5ed39cede326c4a2386fdbbb4f08($fileIdentifier, $file)
50
  {
51
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
52
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInita5170a7d55a1a66897e6dc4b1305e766
8
  {
9
  public static $files = array (
10
  'cd48e99dc39649f6529395d65373ee16' => __DIR__ . '/..' . '/devowl-wp/real-product-manager-wp-client/src/autoload.php',
@@ -177,9 +177,9 @@ class ComposerStaticInita5170a7d55a1a66897e6dc4b1305e766
177
  public static function getInitializer(ClassLoader $loader)
178
  {
179
  return \Closure::bind(function () use ($loader) {
180
- $loader->prefixLengthsPsr4 = ComposerStaticInita5170a7d55a1a66897e6dc4b1305e766::$prefixLengthsPsr4;
181
- $loader->prefixDirsPsr4 = ComposerStaticInita5170a7d55a1a66897e6dc4b1305e766::$prefixDirsPsr4;
182
- $loader->classMap = ComposerStaticInita5170a7d55a1a66897e6dc4b1305e766::$classMap;
183
 
184
  }, null, ClassLoader::class);
185
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit86cc5ed39cede326c4a2386fdbbb4f08
8
  {
9
  public static $files = array (
10
  'cd48e99dc39649f6529395d65373ee16' => __DIR__ . '/..' . '/devowl-wp/real-product-manager-wp-client/src/autoload.php',
177
  public static function getInitializer(ClassLoader $loader)
178
  {
179
  return \Closure::bind(function () use ($loader) {
180
+ $loader->prefixLengthsPsr4 = ComposerStaticInit86cc5ed39cede326c4a2386fdbbb4f08::$prefixLengthsPsr4;
181
+ $loader->prefixDirsPsr4 = ComposerStaticInit86cc5ed39cede326c4a2386fdbbb4f08::$prefixDirsPsr4;
182
+ $loader->classMap = ComposerStaticInit86cc5ed39cede326c4a2386fdbbb4f08::$classMap;
183
 
184
  }, null, ClassLoader::class);
185
  }
vendor/composer/installed.php CHANGED
@@ -2,4 +2,4 @@
2
 
3
  namespace MatthiasWeb\RealMediaLibrary\Vendor;
4
 
5
- return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '875b52ab2e3f85a16731c57375661a7ff09fe099', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '875b52ab2e3f85a16731c57375661a7ff09fe099', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/freemium' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a6f7fa5938b077d07d390d5a6729e1b48e0c178b', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/freemium', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-product-manager-wp-client' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '20cb702cfdf8371d48750463c30f8551c1753410', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-product-manager-wp-client', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '48f380da0e61910f07cecb52dc58cf8e24b8f5e1', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-utils', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '4f4a98962be8e2e5a3404e76233f744ca5346477', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/utils', 'aliases' => array(), 'dev_requirement' => \false), 'yahnis-elsts/plugin-update-checker' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '56c78cc6da7b071e58ec4a4cc04f2a2dcae05a13', 'type' => 'library', 'install_path' => __DIR__ . '/../yahnis-elsts/plugin-update-checker', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false)));
2
 
3
  namespace MatthiasWeb\RealMediaLibrary\Vendor;
4
 
5
+ return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '01a16acaa14db146a9767282bf0ca19ed560e8a2', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '01a16acaa14db146a9767282bf0ca19ed560e8a2', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/freemium' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a6f7fa5938b077d07d390d5a6729e1b48e0c178b', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/freemium', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-product-manager-wp-client' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '20cb702cfdf8371d48750463c30f8551c1753410', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-product-manager-wp-client', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '48f380da0e61910f07cecb52dc58cf8e24b8f5e1', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-utils', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '4f4a98962be8e2e5a3404e76233f744ca5346477', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/utils', 'aliases' => array(), 'dev_requirement' => \false), 'yahnis-elsts/plugin-update-checker' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '56c78cc6da7b071e58ec4a4cc04f2a2dcae05a13', 'type' => 'library', 'install_path' => __DIR__ . '/../yahnis-elsts/plugin-update-checker', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false)));
vendor/devowl-wp/real-product-manager-wp-client/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
3
  All notable changes to this project will be documented in this file.
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ## 1.13.17 (2022-12-01)
7
 
8
 
3
  All notable changes to this project will be documented in this file.
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
 
6
+ ## 1.13.18 (2022-12-02)
7
+
8
+
9
+ ### fix
10
+
11
+ * do not send empty telemetry data (CU-37hc4hh)
12
+ * do not send telemetry data after deactivation of license (CU-37hc4hh)
13
+ * log invalid map data in telemetry job and map empty strings to correct bool zero string (CU-37hc4hh)
14
+
15
+
16
+
17
+
18
+
19
  ## 1.13.17 (2022-12-01)
20
 
21
 
vendor/devowl-wp/real-product-manager-wp-client/package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "@devowl-wp/real-product-manager-wp-client",
3
- "version": "1.13.17",
4
  "private": true,
5
  "description": "A WordPress client for Real Product Manager",
6
  "homepage": "https://devowl.io",
1
  {
2
  "name": "@devowl-wp/real-product-manager-wp-client",
3
+ "version": "1.13.18",
4
  "private": true,
5
  "description": "A WordPress client for Real Product Manager",
6
  "homepage": "https://devowl.io",
vendor/devowl-wp/real-product-manager-wp-client/src/client/TelemetryData.php CHANGED
@@ -37,12 +37,17 @@ class TelemetryData {
37
  public function put() {
38
  $license = $this->getLicense();
39
  $pluginUpdate = $license->getPluginUpdate();
 
 
 
 
 
40
  $body = [
41
  'licenseActivation' => [
42
  'license' => ['licenseKey' => $license->getActivation()->getCode()],
43
  'client' => ['uuid' => $license->getUuid()]
44
  ],
45
- 'telemetries' => $license->getTelemetryData()->build(\true)
46
  ];
47
  return \MatthiasWeb\RealMediaLibrary\Vendor\DevOwl\RealProductManagerWpClient\client\ClientUtils::request(
48
  $pluginUpdate->getInitiator(),
37
  public function put() {
38
  $license = $this->getLicense();
39
  $pluginUpdate = $license->getPluginUpdate();
40
+ $built = $license->getTelemetryData()->build(\true);
41
+ // Nothing to send, skip request and return simulated "valid" response
42
+ if (\count($built) === 0) {
43
+ return [];
44
+ }
45
  $body = [
46
  'licenseActivation' => [
47
  'license' => ['licenseKey' => $license->getActivation()->getCode()],
48
  'client' => ['uuid' => $license->getUuid()]
49
  ],
50
+ 'telemetries' => $built
51
  ];
52
  return \MatthiasWeb\RealMediaLibrary\Vendor\DevOwl\RealProductManagerWpClient\client\ClientUtils::request(
53
  $pluginUpdate->getInitiator(),
vendor/devowl-wp/real-product-manager-wp-client/src/license/TelemetryData.php CHANGED
@@ -55,7 +55,13 @@ class TelemetryData {
55
  public function add($key, $data) {
56
  $this->data[] = [
57
  'key' => $key,
58
- 'value' => $this->encode ? (\is_scalar($data) ? \strval($data) : \json_encode($data)) : $data
 
 
 
 
 
 
59
  ];
60
  return $this;
61
  }
@@ -77,7 +83,7 @@ class TelemetryData {
77
  */
78
  public function probablyTransmit() {
79
  $activation = $this->getLicense()->getActivation();
80
- if ($activation->isTelemetryDataSharingOptIn()) {
81
  $activation->executeDeferredAction('telemetry', [$this->client, 'put']);
82
  }
83
  }
55
  public function add($key, $data) {
56
  $this->data[] = [
57
  'key' => $key,
58
+ 'value' => $this->encode
59
+ ? (($data === \false
60
+ ? '0'
61
+ : \is_scalar($data))
62
+ ? \strval($data)
63
+ : \json_encode($data))
64
+ : $data
65
  ];
66
  return $this;
67
  }
83
  */
84
  public function probablyTransmit() {
85
  $activation = $this->getLicense()->getActivation();
86
+ if ($activation->isTelemetryDataSharingOptIn() && !empty($activation->getCode())) {
87
  $activation->executeDeferredAction('telemetry', [$this->client, 'put']);
88
  }
89
  }