Cloudinary_Cloudinary - Version 1.2.1

Version Notes

v1.2.1

Download this release

Release Info

Developer Cloudinary
Extension Cloudinary_Cloudinary
Version 1.2.1
Comparing to
See all releases


Code changes from version 1.2.0 to 1.2.1

app/code/community/Cloudinary/Cloudinary/Model/Cms/Uploader.php CHANGED
@@ -7,25 +7,59 @@ class Cloudinary_Cloudinary_Model_Cms_Uploader extends Mage_Core_Model_File_Uplo
7
  {
8
  use Cloudinary_Cloudinary_Model_PreConditionsValidator;
9
 
 
 
10
  protected function _afterSave($result)
11
  {
12
  parent::_afterSave($result);
13
 
14
- if (!empty($result['path']) && !empty($result['file'])) {
15
- $imageProvider = CloudinaryImageProvider::fromConfiguration($this->_getConfigHelper()->buildConfiguration());
 
 
 
 
 
 
 
 
 
 
 
16
 
17
- $imageProvider->upload(Image::fromPath($result['path'] . DIRECTORY_SEPARATOR . $result['file']));
 
 
 
 
 
 
 
 
18
 
19
- $this->_trackSynchronisation($result['file']);
 
 
 
 
 
 
 
 
 
 
20
  }
21
 
22
- return $this;
23
  }
24
 
25
- private function _trackSynchronisation($fileName)
 
 
 
 
 
26
  {
27
- Mage::getModel('cloudinary_cloudinary/cms_synchronisation')
28
- ->setValue($fileName)
29
- ->tagAsSynchronized();
30
  }
31
- }
7
  {
8
  use Cloudinary_Cloudinary_Model_PreConditionsValidator;
9
 
10
+ private $requiredParams = ['path', 'file', 'type'];
11
+
12
  protected function _afterSave($result)
13
  {
14
  parent::_afterSave($result);
15
 
16
+ if ($this->shouldUpload($result)) {
17
+ $this->upload($result);
18
+ }
19
+
20
+ return $this;
21
+ }
22
+
23
+ private function upload($result)
24
+ {
25
+ $imageProvider = CloudinaryImageProvider::fromConfiguration($this->_getConfigHelper()->buildConfiguration());
26
+ $imageProvider->upload(Image::fromPath($result['path'] . DIRECTORY_SEPARATOR . $result['file']));
27
+ Mage::getModel('cloudinary_cloudinary/cms_synchronisation')->setValue($result['file'])->tagAsSynchronized();
28
+ }
29
 
30
+ /**
31
+ * @param array $result
32
+ *
33
+ * @return boolean
34
+ */
35
+ private function shouldUpload($result)
36
+ {
37
+ return $this->hasRequiredParams($result) && $this->isImage($result);
38
+ }
39
 
40
+ /**
41
+ * @param array $result
42
+ *
43
+ * @return boolean
44
+ */
45
+ private function hasRequiredParams($result)
46
+ {
47
+ foreach ($this->requiredParams as $requiredParam) {
48
+ if (empty($result[$requiredParam])) {
49
+ return false;
50
+ }
51
  }
52
 
53
+ return true;
54
  }
55
 
56
+ /**
57
+ * @param array $result
58
+ *
59
+ * @return boolean
60
+ */
61
+ private function isImage($result)
62
  {
63
+ return strpos($result['type'], 'image') !== false;
 
 
64
  }
65
+ }
app/code/community/Cloudinary/Cloudinary/Model/PreConditionsValidator.php CHANGED
@@ -9,7 +9,7 @@ trait Cloudinary_Cloudinary_Model_PreConditionsValidator
9
 
10
  private function _isImageInCloudinary($imageName)
11
  {
12
- return Mage::getModel('cloudinary_cloudinary/synchronisation')->isImageInCloudinary($imageName);
13
  }
14
 
15
  /**
9
 
10
  private function _isImageInCloudinary($imageName)
11
  {
12
+ return Mage::getSingleton('cloudinary_cloudinary/syncedImages')->isImageInCloudinary($imageName);
13
  }
14
 
15
  /**
app/code/community/Cloudinary/Cloudinary/Model/SyncedImages.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Cloudinary_Cloudinary_Model_SyncedImages
4
+ {
5
+ protected $_syncronisation;
6
+ protected $_syncedImages = [];
7
+
8
+ public function __construct($arguments)
9
+ {
10
+ if(!isset($arguments['synchronisation'])) {
11
+ $arguments['synchronisation'] = Mage::getModel('cloudinary_cloudinary/synchronisation');
12
+ }
13
+ $this->_syncronisation = $arguments['synchronisation'];
14
+
15
+ }
16
+
17
+ public function isImageInCloudinary($imageName)
18
+ {
19
+ if (!isset($this->_syncedImages[$imageName])) {
20
+ $coll = $this->_syncronisation->getCollection();
21
+ $table = $coll->getMainTable();
22
+ // case sensitive check
23
+
24
+ $query = "select 1 from $table where binary image_name = '$imageName' limit 1";
25
+
26
+ $this->_syncedImages[$imageName] = ($coll->getConnection()->query($query)->fetchColumn() > 0);
27
+ }
28
+
29
+ return $this->_syncedImages[$imageName];
30
+ }
31
+ }
app/code/community/Cloudinary/Cloudinary/Model/Synchronisation.php CHANGED
@@ -20,15 +20,6 @@ class Cloudinary_Cloudinary_Model_Synchronisation extends Mage_Core_Model_Abstra
20
  $this->save();
21
  }
22
 
23
- public function isImageInCloudinary($imageName)
24
- {
25
- $coll = $this->getCollection();
26
- $table = $coll->getMainTable();
27
- // case sensitive check
28
- $query = "select count(*) from $table where binary image_name = '$imageName' limit 1";
29
- return $coll->getConnection()->query($query)->fetchColumn() > 0;
30
- }
31
-
32
  public function getFilename()
33
  {
34
  if (!$this->getValue()) {
20
  $this->save();
21
  }
22
 
 
 
 
 
 
 
 
 
 
23
  public function getFilename()
24
  {
25
  if (!$this->getValue()) {
app/code/community/Cloudinary/Cloudinary/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Cloudinary_Cloudinary>
5
- <version>1.1.5</version>
6
  </Cloudinary_Cloudinary>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Cloudinary_Cloudinary>
5
+ <version>1.1.6</version>
6
  </Cloudinary_Cloudinary>
7
  </modules>
8
  <global>
app/code/community/Cloudinary/Cloudinary/sql/cloudinary_setup/upgrade-1.1.5-1.1.6.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+ /* @var $installer Mage_Core_Model_Resource_Setup */
5
+ $installer->startSetup();
6
+
7
+ $installer->getConnection()->addIndex(
8
+ $installer->getTable('cloudinary_synchronisation'),
9
+ $installer->getIdxName('cloudinary_synchronisation', ['image_name']),
10
+ ['image_name']
11
+ );
12
+
13
+ $installer->endSetup();
lib/CloudinaryExtension/Image.php CHANGED
@@ -10,8 +10,6 @@ class Image
10
 
11
  private function __construct($imagePath, $relativePath = '')
12
  {
13
- $caller = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3)[2];
14
- \Cloudinary_Cloudinary_Model_Logger::getInstance()->debugLog("$imagePath, $relativePath, {$caller['class']}::{$caller['function']}");
15
  $this->imagePath = $imagePath;
16
  $this->relativePath = $relativePath;
17
  $this->pathInfo = pathinfo($this->imagePath);
10
 
11
  private function __construct($imagePath, $relativePath = '')
12
  {
 
 
13
  $this->imagePath = $imagePath;
14
  $this->relativePath = $relativePath;
15
  $this->pathInfo = pathinfo($this->imagePath);
lib/CloudinaryExtension/Migration/BatchUploader.php CHANGED
@@ -62,10 +62,9 @@ class BatchUploader
62
  $apiImage = Image::fromPath($absolutePath, $relativePath);
63
 
64
  try {
65
- $uploadResult = $this->imageProvider->upload($apiImage);
66
  $image->tagAsSynchronized();
67
  $this->countMigrated++;
68
- $this->_debugLogResult($uploadResult);
69
  $this->logger->notice(sprintf(self::MESSAGE_UPLOADED, $absolutePath . ' - ' . $relativePath));
70
  } catch (\Exception $e) {
71
  $this->errors[] = $e;
@@ -74,15 +73,6 @@ class BatchUploader
74
  }
75
  }
76
 
77
- /**
78
- * @param $uploadResult
79
- */
80
- private function _debugLogResult($uploadResult)
81
- {
82
- $extractedResult = ArrayUtils::arraySelect($uploadResult, ['url', 'public_id']);
83
- $this->logger->debugLog(json_encode($extractedResult, JSON_PRETTY_PRINT) . "\n");
84
- }
85
-
86
  /**
87
  * @return array
88
  */
62
  $apiImage = Image::fromPath($absolutePath, $relativePath);
63
 
64
  try {
65
+ $this->imageProvider->upload($apiImage);
66
  $image->tagAsSynchronized();
67
  $this->countMigrated++;
 
68
  $this->logger->notice(sprintf(self::MESSAGE_UPLOADED, $absolutePath . ' - ' . $relativePath));
69
  } catch (\Exception $e) {
70
  $this->errors[] = $e;
73
  }
74
  }
75
 
 
 
 
 
 
 
 
 
 
76
  /**
77
  * @return array
78
  */
lib/CloudinaryExtension/Security/CloudinaryEnvironmentVariable.php CHANGED
@@ -8,13 +8,16 @@ use CloudinaryExtension\Credentials;
8
 
9
  class CloudinaryEnvironmentVariable implements EnvironmentVariable
10
  {
11
-
12
  private $environmentVariable;
13
 
14
  private function __construct($environmentVariable)
15
  {
16
  $this->environmentVariable = (string)$environmentVariable;
17
- Cloudinary::config_from_url(str_replace('CLOUDINARY_URL=', '', $environmentVariable));
 
 
 
 
18
  }
19
 
20
  public static function fromString($environmentVariable)
@@ -40,4 +43,8 @@ class CloudinaryEnvironmentVariable implements EnvironmentVariable
40
  return $this->environmentVariable;
41
  }
42
 
43
- }
 
 
 
 
8
 
9
  class CloudinaryEnvironmentVariable implements EnvironmentVariable
10
  {
 
11
  private $environmentVariable;
12
 
13
  private function __construct($environmentVariable)
14
  {
15
  $this->environmentVariable = (string)$environmentVariable;
16
+ $cloudinaryUrl = str_replace('CLOUDINARY_URL=', '', $environmentVariable);
17
+ if ($this->isUrlValid($cloudinaryUrl)) {
18
+ Cloudinary::config_from_url($cloudinaryUrl);
19
+ }
20
+
21
  }
22
 
23
  public static function fromString($environmentVariable)
43
  return $this->environmentVariable;
44
  }
45
 
46
+ private function isUrlValid($cloudinaryUrl)
47
+ {
48
+ return parse_url($cloudinaryUrl, PHP_URL_SCHEME) == "cloudinary";
49
+ }
50
+ }
package.xml CHANGED
@@ -1,22 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Cloudinary_Cloudinary</name>
4
- <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license>MIT License (MITL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Cloudinary - Image Management In The Cloud</summary>
10
  <description>Cloudinary supercharges your images! Upload images to the cloud, deliver optimized via a fast CDN, perform smart resizing and apply effects.</description>
11
- <notes>v1.2.0&#xD;
12
- &#xD;
13
- Release Highlights:&#xD;
14
- &#xD;
15
- * Foldered migration</notes>
16
  <authors><author><name>Cloudinary</name><user>cloudinary</user><email>accounts+magento@cloudinary.com</email></author></authors>
17
- <date>2016-02-29</date>
18
- <time>16:32:17</time>
19
- <contents><target name="magecommunity"><dir name="Cloudinary"><dir name="Cloudinary"><dir name="Block"><dir name="Adminhtml"><dir name="Manage"><file name="Grid.php" hash="b6a05f6ba08c5ba0d08846a7b0a06776"/></dir><file name="Manage.php" hash="c525e34955df149b70d3a7fdde427672"/><dir name="Page"><file name="Menu.php" hash="891d6a4c075ba03c9a20658076c86ad0"/></dir><dir name="System"><dir name="Config"><file name="Signup.php" hash="235c27f236e45900eb94dea0181027cc"/></dir></dir></dir></dir><dir name="Helper"><file name="Autoloader.php" hash="393b3e2fc25e63ca28157152d2542b18"/><dir name="Configuration"><file name="Validation.php" hash="6d17d39ba39f67888701fadf0fe3de62"/></dir><file name="Configuration.php" hash="045cf15e781fac57b999551e1e5c88ea"/><file name="Console.php" hash="e4ca7f9bf450b05383def130b2819ce0"/><file name="Data.php" hash="42c9d44f1bbe530e30cf5379846dea65"/><file name="Image.php" hash="2b0b6a42a3f38203952547739e36632d"/><dir name="Util"><file name="ArrayUtils.php" hash="dbf5b1f86213f6e1ea34b1523b2b9ffe"/></dir></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><file name="Image.php" hash="4c04c8db36be21aaecfc681fac429f69"/><dir name="Media"><file name="Config.php" hash="ff27ccd9fc2becce9feae31ffd1d59e2"/></dir><file name="Media.php" hash="05726616a07d7d08933e9654e6107283"/></dir></dir><dir name="Cms"><dir name="Adminhtml"><dir name="Template"><file name="Filter.php" hash="4ef453061d790fff6b772286e90439f2"/></dir></dir><file name="Synchronisation.php" hash="3bf5d872b6451cf3ce6f83ec92104415"/><dir name="Template"><file name="Filter.php" hash="5ec9589ef22b1e9c88b20c3272d01f8c"/></dir><file name="Uploader.php" hash="bcaca2303cf806d41bac82a009ba9eb6"/><dir name="Wysiwyg"><dir name="Images"><file name="Storage.php" hash="b3eae9a3a4810d9de5ab6a91243d047d"/></dir></dir></dir><file name="CollectionCounter.php" hash="e69953aee5d966a3ec13d33533f017e0"/><file name="Cron.php" hash="13ea00a9e40622912bf46ed367f9a214"/><dir name="Exception"><file name="BadFilePathException.php" hash="68135da8dfe2f0589a531b4bd36e3330"/></dir><file name="Image.php" hash="0377e2c24c5e2f23357a55d744098fda"/><file name="Logger.php" hash="226893f4a59d1431330688f455975d61"/><file name="MagentoFolderTranslator.php" hash="ad11d373bc6e193b689d29f16f5f6480"/><file name="Migration.php" hash="e923053b36d2ab469362b3590935ecfe"/><file name="MigrationError.php" hash="1c91373b020d639ae3fb8acfa099eea0"/><file name="Observer.php" hash="22a8e380ac895894f218e7239560b2e2"/><file name="PreConditionsValidator.php" hash="b7cf4e4b4372a2ea5b87d849b2a3d748"/><dir name="Resource"><dir name="Cms"><dir name="Synchronisation"><file name="Collection.php" hash="117085bb56d3f0db8f3d52f136a8b84b"/></dir></dir><dir name="Media"><file name="Collection.php" hash="f54d914a6f79c7b3ab51f822bf64de39"/></dir><file name="Migration.php" hash="69a545d0627016afc03ea097641aa749"/><dir name="MigrationError"><file name="Collection.php" hash="3c5ef530b18b4cd7763a610b84cd3d41"/></dir><file name="MigrationError.php" hash="e6de24a80cb0daed6ead44c699dce535"/><dir name="Synchronisation"><file name="Collection.php" hash="8abfc042f7c84f424015e8bc34dab0dc"/></dir><file name="Synchronisation.php" hash="5b721d854d8f89bc3310e46081be7153"/></dir><file name="Synchronisation.php" hash="553d95d0c40d677539b6e9f035c52b91"/><file name="SynchronisedMediaUnifier.php" hash="dd47a04cc2eaa2a81b6dce27f22301f2"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Dropdown"><file name="Dpr.php" hash="2b9bfd5f836dbdb5d7224d298264f540"/><file name="Gravity.php" hash="c241498e2093640892170673cd7550cd"/><file name="Quality.php" hash="e0c5902f5c36c96fb8a8ba7cc741ce1f"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CloudinaryController.php" hash="4e23d18f841d78abf8443de71a951ed6"/></dir></dir><dir name="data"><dir name="cloudinary_setup"><file name="data-upgrade-0.1.0-0.1.1.php" hash="4c6ce6cd9ab0d94654afb4a398fb3d6c"/><file name="data-upgrade-1.1.2-1.1.3.php" hash="fe2026874346017303a8f41a9d0d6c0d"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="46e365e2f4b1d543aad248dfcfb99c50"/><file name="config.xml" hash="8449286938df94d41182641f54de1d06"/><file name="system.xml" hash="a4ae810df3e6587625d395985b79ee83"/></dir><dir name="sql"><dir name="cloudinary_setup"><file name="install-0.1.0.php" hash="55d93b3dab573c2a932edbb5a2fa4865"/><file name="upgrade-0.1.0-0.1.1.php" hash="6c8d430fbf7b9714586b67db3d455008"/><file name="upgrade-1.1.3-1.1.4.php" hash="d6314fc1843b2061d0d04ae60c4d8091"/><file name="upgrade-1.1.4-1.1.5.php" hash="5b035e4b600cbbc743e9ff6a7b505230"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cloudinary_Cloudinary.xml" hash="9337962a4ccf8a43164d5d71dfd2d756"/></dir></target><target name="magelib"><dir name="CloudinaryExtension"><file name="Cloud.php" hash="59b0debf9ae297e4e824e39ba819b1d1"/><file name="CloudinaryImageProvider.php" hash="e75c77d6a169fec4c96c875de477fc75"/><file name="Configuration.php" hash="b4ece3c87e2aa2af83b8362311ad7850"/><file name="Credentials.php" hash="ccd2da6450df39f3218cfd64ac47103f"/><dir name="Exception"><file name="InvalidCredentials.php" hash="abecc635a25f6c9896c605ad16e1f7d7"/><file name="MigrationError.php" hash="1f37d28be668edb805e46fd207c72fd9"/></dir><file name="FolderTranslator.php" hash="19a335acf751d67bd7efe46829602490"/><dir name="Image"><file name="Synchronizable.php" hash="38a6b9db4cfc3fde3e94db5b35a92bf8"/><dir name="Transformation"><file name="Dimensions.php" hash="8b9a09da6980aa2ff42e8f00d79a1b83"/><file name="Dpr.php" hash="f78cd1bfabaf3088ca8d4af972bfd453"/><file name="FetchFormat.php" hash="b81c62dd756dee4ad085ee6f0a83356a"/><file name="Format.php" hash="ab8ea9b6a8c813a24f23b079ea6236da"/><file name="Gravity.php" hash="c1c2adf4dbbeaa6b06d67d2014300559"/><file name="Quality.php" hash="23a857f3910aecf6e45645194ff7f54e"/></dir><file name="Transformation.php" hash="fc443a6abad4a478e94df5661e4aef12"/></dir><file name="Image.php" hash="cf1b7cd018475520cda04a49780a17de"/><file name="ImageProvider.php" hash="f4eb49d5e1e4c1728a5dde29b6b5a3fa"/><dir name="Migration"><file name="BatchUploader.php" hash="5d25c21cf55040b79320221f815df8e8"/><file name="Logger.php" hash="648b47bb065de0c81b386ac300b4f9a3"/><file name="Queue.php" hash="add92864192b0950c29c91ffe5e5a3ee"/><file name="SynchronizedMediaRepository.php" hash="9e7e1dae66b40ce991b0e86ecdff4c24"/><file name="Task.php" hash="ac11d06c531d48b38cf88f6e8f2bdc19"/></dir><dir name="Security"><file name="ApiSignature.php" hash="049c7db2684ec2a6cf5bb4efcd064951"/><file name="CloudinaryEnvironmentVariable.php" hash="2b5c28381b52350586ea1589854ca498"/><file name="ConsoleUrl.php" hash="4e748cfe0f5a0aeab2307c623179c6f9"/><file name="EnvironmentVariable.php" hash="297fa60b819ffc028b9a32dae6eef63d"/><file name="Key.php" hash="ac3a50b59f2a7db1edcf30386759c7ec"/><file name="Secret.php" hash="b1010679976575d57752dbb07f1b94ed"/><file name="SignedConsoleUrl.php" hash="791e1f1080be23423c2ad87f431f6221"/></dir><file name="ValidateRemoteUrlRequest.php" hash="c2e2eb712e5293ad508a23610dfbbd6d"/></dir><dir name="Cloudinary"><file name="Api.php" hash="f046d7b1db05efb0997a458fb610a09f"/><file name="Cloudinary.php" hash="debd99bcb8076cf250f59a8925f8ba1b"/><file name="CloudinaryField.php" hash="411714580d21b58115ab07737367173a"/><file name="Helpers.php" hash="63035ebeaa237bd69dcad2d756a00b44"/><file name="PreloadedFile.php" hash="73cc9e276f96553814f05eae592d11ee"/><file name="Uploader.php" hash="2fbea92cd3e409ec62e61ecbf36e6f2c"/><file name="cacert.pem" hash="c4290b9deb70d0bef2f88b67fc68c8ec"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="cloudinary"><file name="cloudinary.xml" hash="8cf333ec4b49c684ea6a209061f5128b"/></dir></dir><dir name="template"><dir name="cloudinary"><file name="manage.phtml" hash="080ea639f961da33a5a3d2429da13edc"/><dir name="system"><dir name="config"><file name="signup.phtml" hash="2a0e06990eb542f22531ac2ebb5996f5"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.4.0</min><max>7.0.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Cloudinary_Cloudinary</name>
4
+ <version>1.2.1</version>
5
  <stability>stable</stability>
6
  <license>MIT License (MITL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Cloudinary - Image Management In The Cloud</summary>
10
  <description>Cloudinary supercharges your images! Upload images to the cloud, deliver optimized via a fast CDN, perform smart resizing and apply effects.</description>
11
+ <notes>v1.2.1</notes>
 
 
 
 
12
  <authors><author><name>Cloudinary</name><user>cloudinary</user><email>accounts+magento@cloudinary.com</email></author></authors>
13
+ <date>2016-07-15</date>
14
+ <time>12:34:10</time>
15
+ <contents><target name="magecommunity"><dir name="Cloudinary"><dir name="Cloudinary"><dir name="Block"><dir name="Adminhtml"><dir name="Manage"><file name="Grid.php" hash="b6a05f6ba08c5ba0d08846a7b0a06776"/></dir><file name="Manage.php" hash="c525e34955df149b70d3a7fdde427672"/><dir name="Page"><file name="Menu.php" hash="891d6a4c075ba03c9a20658076c86ad0"/></dir><dir name="System"><dir name="Config"><file name="Signup.php" hash="235c27f236e45900eb94dea0181027cc"/></dir></dir></dir></dir><dir name="Helper"><file name="Autoloader.php" hash="393b3e2fc25e63ca28157152d2542b18"/><dir name="Configuration"><file name="Validation.php" hash="6d17d39ba39f67888701fadf0fe3de62"/></dir><file name="Configuration.php" hash="045cf15e781fac57b999551e1e5c88ea"/><file name="Console.php" hash="e4ca7f9bf450b05383def130b2819ce0"/><file name="Data.php" hash="42c9d44f1bbe530e30cf5379846dea65"/><file name="Image.php" hash="2b0b6a42a3f38203952547739e36632d"/><dir name="Util"><file name="ArrayUtils.php" hash="dbf5b1f86213f6e1ea34b1523b2b9ffe"/></dir></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><file name="Image.php" hash="4c04c8db36be21aaecfc681fac429f69"/><dir name="Media"><file name="Config.php" hash="ff27ccd9fc2becce9feae31ffd1d59e2"/></dir><file name="Media.php" hash="05726616a07d7d08933e9654e6107283"/></dir></dir><dir name="Cms"><dir name="Adminhtml"><dir name="Template"><file name="Filter.php" hash="4ef453061d790fff6b772286e90439f2"/></dir></dir><file name="Synchronisation.php" hash="3bf5d872b6451cf3ce6f83ec92104415"/><dir name="Template"><file name="Filter.php" hash="5ec9589ef22b1e9c88b20c3272d01f8c"/></dir><file name="Uploader.php" hash="6f3923330d573af7d5687aec6120dd12"/><dir name="Wysiwyg"><dir name="Images"><file name="Storage.php" hash="b3eae9a3a4810d9de5ab6a91243d047d"/></dir></dir></dir><file name="CollectionCounter.php" hash="e69953aee5d966a3ec13d33533f017e0"/><file name="Cron.php" hash="13ea00a9e40622912bf46ed367f9a214"/><dir name="Exception"><file name="BadFilePathException.php" hash="68135da8dfe2f0589a531b4bd36e3330"/></dir><file name="Image.php" hash="0377e2c24c5e2f23357a55d744098fda"/><file name="Logger.php" hash="226893f4a59d1431330688f455975d61"/><file name="MagentoFolderTranslator.php" hash="ad11d373bc6e193b689d29f16f5f6480"/><file name="Migration.php" hash="e923053b36d2ab469362b3590935ecfe"/><file name="MigrationError.php" hash="1c91373b020d639ae3fb8acfa099eea0"/><file name="Observer.php" hash="22a8e380ac895894f218e7239560b2e2"/><file name="PreConditionsValidator.php" hash="c6090d025c65b38595101b21dd9673fe"/><dir name="Resource"><dir name="Cms"><dir name="Synchronisation"><file name="Collection.php" hash="117085bb56d3f0db8f3d52f136a8b84b"/></dir></dir><dir name="Media"><file name="Collection.php" hash="f54d914a6f79c7b3ab51f822bf64de39"/></dir><file name="Migration.php" hash="69a545d0627016afc03ea097641aa749"/><dir name="MigrationError"><file name="Collection.php" hash="3c5ef530b18b4cd7763a610b84cd3d41"/></dir><file name="MigrationError.php" hash="e6de24a80cb0daed6ead44c699dce535"/><dir name="Synchronisation"><file name="Collection.php" hash="8abfc042f7c84f424015e8bc34dab0dc"/></dir><file name="Synchronisation.php" hash="5b721d854d8f89bc3310e46081be7153"/></dir><file name="SyncedImages.php" hash="b76c320d8523450a50d9d05526cf8ca8"/><file name="Synchronisation.php" hash="34e5a1746a91b8f6676a18772c433047"/><file name="SynchronisedMediaUnifier.php" hash="dd47a04cc2eaa2a81b6dce27f22301f2"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Dropdown"><file name="Dpr.php" hash="2b9bfd5f836dbdb5d7224d298264f540"/><file name="Gravity.php" hash="c241498e2093640892170673cd7550cd"/><file name="Quality.php" hash="e0c5902f5c36c96fb8a8ba7cc741ce1f"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CloudinaryController.php" hash="4e23d18f841d78abf8443de71a951ed6"/></dir></dir><dir name="data"><dir name="cloudinary_setup"><file name="data-upgrade-0.1.0-0.1.1.php" hash="4c6ce6cd9ab0d94654afb4a398fb3d6c"/><file name="data-upgrade-1.1.2-1.1.3.php" hash="fe2026874346017303a8f41a9d0d6c0d"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="46e365e2f4b1d543aad248dfcfb99c50"/><file name="config.xml" hash="259a52b2470e1588751388fc044425a1"/><file name="system.xml" hash="a4ae810df3e6587625d395985b79ee83"/></dir><dir name="sql"><dir name="cloudinary_setup"><file name="install-0.1.0.php" hash="55d93b3dab573c2a932edbb5a2fa4865"/><file name="upgrade-0.1.0-0.1.1.php" hash="6c8d430fbf7b9714586b67db3d455008"/><file name="upgrade-1.1.3-1.1.4.php" hash="d6314fc1843b2061d0d04ae60c4d8091"/><file name="upgrade-1.1.4-1.1.5.php" hash="5b035e4b600cbbc743e9ff6a7b505230"/><file name="upgrade-1.1.5-1.1.6.php" hash="323c5e50635018be420cf524072f6a92"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cloudinary_Cloudinary.xml" hash="9337962a4ccf8a43164d5d71dfd2d756"/></dir></target><target name="magelib"><dir name="CloudinaryExtension"><file name="Cloud.php" hash="59b0debf9ae297e4e824e39ba819b1d1"/><file name="CloudinaryImageProvider.php" hash="e75c77d6a169fec4c96c875de477fc75"/><file name="Configuration.php" hash="b4ece3c87e2aa2af83b8362311ad7850"/><file name="Credentials.php" hash="ccd2da6450df39f3218cfd64ac47103f"/><dir name="Exception"><file name="InvalidCredentials.php" hash="abecc635a25f6c9896c605ad16e1f7d7"/><file name="MigrationError.php" hash="1f37d28be668edb805e46fd207c72fd9"/></dir><file name="FolderTranslator.php" hash="19a335acf751d67bd7efe46829602490"/><dir name="Image"><file name="Synchronizable.php" hash="38a6b9db4cfc3fde3e94db5b35a92bf8"/><dir name="Transformation"><file name="Dimensions.php" hash="8b9a09da6980aa2ff42e8f00d79a1b83"/><file name="Dpr.php" hash="f78cd1bfabaf3088ca8d4af972bfd453"/><file name="FetchFormat.php" hash="b81c62dd756dee4ad085ee6f0a83356a"/><file name="Format.php" hash="ab8ea9b6a8c813a24f23b079ea6236da"/><file name="Gravity.php" hash="c1c2adf4dbbeaa6b06d67d2014300559"/><file name="Quality.php" hash="23a857f3910aecf6e45645194ff7f54e"/></dir><file name="Transformation.php" hash="fc443a6abad4a478e94df5661e4aef12"/></dir><file name="Image.php" hash="ad13d525919cde14c163a72f0c348ab7"/><file name="ImageProvider.php" hash="f4eb49d5e1e4c1728a5dde29b6b5a3fa"/><dir name="Migration"><file name="BatchUploader.php" hash="6aae7adc0f4f99dab7836976d0a06d75"/><file name="Logger.php" hash="648b47bb065de0c81b386ac300b4f9a3"/><file name="Queue.php" hash="add92864192b0950c29c91ffe5e5a3ee"/><file name="SynchronizedMediaRepository.php" hash="9e7e1dae66b40ce991b0e86ecdff4c24"/><file name="Task.php" hash="ac11d06c531d48b38cf88f6e8f2bdc19"/></dir><dir name="Security"><file name="ApiSignature.php" hash="049c7db2684ec2a6cf5bb4efcd064951"/><file name="CloudinaryEnvironmentVariable.php" hash="3263d4ae4a497e10f301f065017df8a6"/><file name="ConsoleUrl.php" hash="4e748cfe0f5a0aeab2307c623179c6f9"/><file name="EnvironmentVariable.php" hash="297fa60b819ffc028b9a32dae6eef63d"/><file name="Key.php" hash="ac3a50b59f2a7db1edcf30386759c7ec"/><file name="Secret.php" hash="b1010679976575d57752dbb07f1b94ed"/><file name="SignedConsoleUrl.php" hash="791e1f1080be23423c2ad87f431f6221"/></dir><file name="ValidateRemoteUrlRequest.php" hash="c2e2eb712e5293ad508a23610dfbbd6d"/></dir><dir name="Cloudinary"><file name="Api.php" hash="f046d7b1db05efb0997a458fb610a09f"/><file name="Cloudinary.php" hash="debd99bcb8076cf250f59a8925f8ba1b"/><file name="CloudinaryField.php" hash="411714580d21b58115ab07737367173a"/><file name="Helpers.php" hash="63035ebeaa237bd69dcad2d756a00b44"/><file name="PreloadedFile.php" hash="73cc9e276f96553814f05eae592d11ee"/><file name="Uploader.php" hash="2fbea92cd3e409ec62e61ecbf36e6f2c"/><file name="cacert.pem" hash="c4290b9deb70d0bef2f88b67fc68c8ec"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="cloudinary"><file name="cloudinary.xml" hash="8cf333ec4b49c684ea6a209061f5128b"/></dir></dir><dir name="template"><dir name="cloudinary"><file name="manage.phtml" hash="080ea639f961da33a5a3d2429da13edc"/><dir name="system"><dir name="config"><file name="signup.phtml" hash="2a0e06990eb542f22531ac2ebb5996f5"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.4.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>