Lib_Mage - Version 1.9.2.0

Version Notes

1.9.2.0

Download this release

Release Info

Developer Magento Core Team
Extension Lib_Mage
Version 1.9.2.0
Comparing to
See all releases


Code changes from version 1.9.1.1 to 1.9.2.0

lib/Mage/Cache/Backend/File.php CHANGED
@@ -72,9 +72,10 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
72
'read_control' => false, // Use a checksum to detect corrupt data
73
'read_control_type' => 'crc32', // If read_control is enabled, which checksum algorithm to use
74
'hashed_directory_level' => 2, // How many characters should be used to create sub-directories
75
- 'hashed_directory_perm' => 0770, // Filesystem permissions for created directories
76
'file_name_prefix' => 'mage', // Prefix for cache directories created
77
- 'cache_file_perm' => 0660, // Filesystem permissions for created files
78
);
79
80
/**
@@ -91,10 +92,15 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
91
{
92
// Backwards compatibility ZF 1.11 and ZF 1.12
93
if (isset($options['hashed_directory_umask'])) {
94
- $options['hashed_directory_perm'] = $options['hashed_directory_umask'];
95
}
96
if (isset($options['cache_file_umask'])) {
97
- $options['cache_file_perm'] = $options['cache_file_umask'];
98
}
99
100
// Don't use parent constructor
@@ -117,14 +123,14 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
117
}
118
119
// See #ZF-4422
120
- if (is_string($this->_options['hashed_directory_perm'])) {
121
- $this->_options['hashed_directory_perm'] = octdec($this->_options['hashed_directory_perm']);
122
}
123
- if (is_string($this->_options['cache_file_perm'])) {
124
- $this->_options['cache_file_perm'] = octdec($this->_options['cache_file_perm']);
125
}
126
- $this->_options['hashed_directory_umask'] = $this->_options['hashed_directory_perm'];
127
- $this->_options['cache_file_umask'] = $this->_options['cache_file_perm'];
128
}
129
130
/**
@@ -444,7 +450,7 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
444
* @param string $id Cache id
445
* @param boolean $parts If true, returns array of directory parts instead of single string
446
*
447
- * @return string Complete directory path
448
*/
449
protected function _path($id, $parts = false)
450
{
@@ -452,9 +458,7 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
452
$root = $this->_options['cache_dir'];
453
$prefix = $this->_options['file_name_prefix'];
454
if ($this->_options['hashed_directory_level'] > 0) {
455
- $hash = hash('adler32', $id);
456
- $root = $root . $prefix . '--' . substr($hash, -$this->_options['hashed_directory_level'])
457
- . DIRECTORY_SEPARATOR;
458
$partsArray[] = $root;
459
}
460
if ($parts) {
@@ -495,10 +499,9 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
495
}
496
foreach ($glob as $file) {
497
if (is_file($file)) {
498
- switch ($mode) {
499
- case Zend_Cache::CLEANING_MODE_ALL:
500
- $result = @unlink($file) && $result;
501
- continue;
502
}
503
504
$id = $this->_fileNameToId(basename($file));
@@ -512,20 +515,14 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
512
@unlink($file);
513
continue;
514
}
515
- switch ($mode) {
516
- case Zend_Cache::CLEANING_MODE_OLD:
517
- if (time() > $metadatas['expire']) {
518
- $result = $this->_remove($file) && $result;
519
- $result = $this->_updateIdsTags(
520
- array($id),
521
- explode(',', $metadatas['tags']),
522
- 'diff'
523
- ) && $result;
524
- }
525
- continue;
526
- default:
527
- Zend_Cache::throwException('Invalid mode for clean() method');
528
- break;
529
}
530
}
531
if (is_dir($file) && $this->_options['hashed_directory_level'] > 0) {
@@ -572,7 +569,7 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
572
foreach ($ids as $id) {
573
$idFile = $this->_file($id);
574
if (is_file($idFile)) {
575
- $result = $result && $this->_remove($idFile);
576
}
577
}
578
switch ($mode) {
@@ -580,7 +577,7 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
580
foreach ($tags as $tag) {
581
$tagFile = $this->_tagFile($tag);
582
if (is_file($tagFile)) {
583
- $result = $result && $this->_remove($tagFile);
584
}
585
}
586
break;
@@ -631,7 +628,7 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
631
break;
632
case Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG:
633
foreach ($tags as $tag) {
634
- $ids = $ids + $this->_getTagIds($tag);
635
}
636
$ids = array_unique($ids);
637
break;
@@ -659,12 +656,13 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
659
*/
660
protected function _tagPath()
661
{
662
- $path = $this->_options['cache_dir'] . DIRECTORY_SEPARATOR . $this->_options['file_name_prefix'] . '--tags'
663
. DIRECTORY_SEPARATOR;
664
if (!$this->_isTagDirChecked) {
665
if (!is_dir($path)) {
666
- @mkdir($path, $this->_options['hashed_directory_perm']);
667
- @chmod($path, $this->_options['hashed_directory_perm']);
668
}
669
$this->_isTagDirChecked = true;
670
}
@@ -683,15 +681,16 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
683
{
684
if (is_resource($tag)) {
685
$ids = stream_get_contents($tag);
686
- } else {
687
$ids = @file_get_contents($this->_tagFile($tag));
688
}
689
- if (!$ids) {
690
return array();
691
}
692
- $ids = substr($ids, 0, strrpos($ids, "\n"));
693
-
694
- return explode("\n", $ids);
695
}
696
697
/**
@@ -706,47 +705,37 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
706
protected function _updateIdsTags($ids, $tags, $mode)
707
{
708
$result = true;
709
- foreach ($tags as $tag) {
710
$file = $this->_tagFile($tag);
711
if (file_exists($file)) {
712
- if (!$ids && $mode == 'diff') {
713
- $result = $this->_remove($file);
714
- } else {
715
- if ($mode == 'diff' || (rand(1, 100) == 1 && filesize($file) > 4096)) {
716
- $file = $this->_tagFile($tag);
717
- if (!($fd = fopen($file, 'rb+'))) {
718
- $result = false;
719
- continue;
720
- }
721
- if ($this->_options['file_locking']) {
722
- flock($fd, LOCK_EX);
723
- }
724
- if ($mode == 'diff') {
725
- $_ids = array_diff($this->_getTagIds($fd), $ids);
726
- } else { // if ($mode == 'merge')
727
- $_ids = $this->_getTagIds($fd) + $ids;
728
- }
729
- fseek($fd, 0);
730
- ftruncate($fd, 0);
731
- $result = fwrite($fd, implode("\n", array_unique($_ids)) . "\n") && $result;
732
- if ($this->_options['file_locking']) {
733
- flock($fd, LOCK_UN);
734
- }
735
- fclose($fd);
736
} else {
737
- $string = implode("\n", $ids) . "\n";
738
- $flags = FILE_APPEND | ($this->_options['file_locking'] ? LOCK_EX : 0);
739
-
740
- $result = file_put_contents($file, $string, $flags) && $result;
741
}
742
}
743
- } else {
744
- if ($mode == 'merge') {
745
- $result = $this->_filePutContents($file, implode("\n", $ids) . "\n") && $result;
746
}
747
}
748
}
749
-
750
return $result;
751
}
752
@@ -761,11 +750,36 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
761
protected function _filePutContents($file, $string)
762
{
763
$result = @file_put_contents($file, $string, $this->_options['file_locking'] ? LOCK_EX : 0);
764
- $result && chmod($file, $this->_options['cache_file_perm']);
765
766
return $result;
767
}
768
769
/**
770
* For unit testing only
771
*
72
'read_control' => false, // Use a checksum to detect corrupt data
73
'read_control_type' => 'crc32', // If read_control is enabled, which checksum algorithm to use
74
'hashed_directory_level' => 2, // How many characters should be used to create sub-directories
75
+ 'use_chmod' => FALSE, // Do not use chmod on files and directories (should use umask() to control permissions)
76
+ 'file_mode' => 0660, // Filesystem permissions for created files (requires use_chmod)
77
+ 'directory_mode' => 0770, // Filesystem permissions for created directories (requires use_chmod)
78
'file_name_prefix' => 'mage', // Prefix for cache directories created
79
);
80
81
/**
92
{
93
// Backwards compatibility ZF 1.11 and ZF 1.12
94
if (isset($options['hashed_directory_umask'])) {
95
+ $options['directory_mode'] = $options['hashed_directory_umask'];
96
}
97
if (isset($options['cache_file_umask'])) {
98
+ $options['file_mode'] = $options['cache_file_umask'];
99
+ }
100
+
101
+ // Auto-enable chmod if modes are specified.
102
+ if (isset($options['directory_mode']) || isset($options['file_mode'])) {
103
+ $options['use_chmod'] = TRUE;
104
}
105
106
// Don't use parent constructor
123
}
124
125
// See #ZF-4422
126
+ if (is_string($this->_options['directory_mode'])) {
127
+ $this->_options['directory_mode'] = octdec($this->_options['directory_mode']);
128
}
129
+ if (is_string($this->_options['file_mode'])) {
130
+ $this->_options['file_mode'] = octdec($this->_options['file_mode']);
131
}
132
+ $this->_options['hashed_directory_umask'] = $this->_options['directory_mode'];
133
+ $this->_options['cache_file_umask'] = $this->_options['file_mode'];
134
}
135
136
/**
450
* @param string $id Cache id
451
* @param boolean $parts If true, returns array of directory parts instead of single string
452
*
453
+ * @return string|array Complete directory path
454
*/
455
protected function _path($id, $parts = false)
456
{
458
$root = $this->_options['cache_dir'];
459
$prefix = $this->_options['file_name_prefix'];
460
if ($this->_options['hashed_directory_level'] > 0) {
461
+ $root .= $prefix . '--' . substr(md5($id), -$this->_options['hashed_directory_level']) . DIRECTORY_SEPARATOR;
462
$partsArray[] = $root;
463
}
464
if ($parts) {
499
}
500
foreach ($glob as $file) {
501
if (is_file($file)) {
502
+ if ($mode == Zend_Cache::CLEANING_MODE_ALL) {
503
+ $result = @unlink($file) && $result;
504
+ continue;
505
}
506
507
$id = $this->_fileNameToId(basename($file));
515
@unlink($file);
516
continue;
517
}
518
+ if ($mode == Zend_Cache::CLEANING_MODE_OLD) {
519
+ if (time() > $metadatas['expire']) {
520
+ $result = $this->_remove($file) && $result;
521
+ $result = $this->_updateIdsTags(array($id), explode(',', $metadatas['tags']), 'diff') && $result;
522
+ }
523
+ continue;
524
+ } else {
525
+ Zend_Cache::throwException('Invalid mode for clean() method.');
526
}
527
}
528
if (is_dir($file) && $this->_options['hashed_directory_level'] > 0) {
569
foreach ($ids as $id) {
570
$idFile = $this->_file($id);
571
if (is_file($idFile)) {
572
+ $result = $this->_remove($idFile) && $result;
573
}
574
}
575
switch ($mode) {
577
foreach ($tags as $tag) {
578
$tagFile = $this->_tagFile($tag);
579
if (is_file($tagFile)) {
580
+ $result = $this->_remove($tagFile) && $result;
581
}
582
}
583
break;
628
break;
629
case Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG:
630
foreach ($tags as $tag) {
631
+ $ids = array_merge($ids,$this->_getTagIds($tag));
632
}
633
$ids = array_unique($ids);
634
break;
656
*/
657
protected function _tagPath()
658
{
659
+ $path = $this->_options['cache_dir'] . DIRECTORY_SEPARATOR . $this->_options['file_name_prefix'] . '-tags'
660
. DIRECTORY_SEPARATOR;
661
if (!$this->_isTagDirChecked) {
662
if (!is_dir($path)) {
663
+ if (@mkdir($path, $this->_options['use_chmod'] ? $this->_options['directory_mode'] : 0777) && $this->_options['use_chmod']) {
664
+ @chmod($path, $this->_options['directory_mode']); // see #ZF-320 (this line is required in some configurations)
665
+ }
666
}
667
$this->_isTagDirChecked = true;
668
}
681
{
682
if (is_resource($tag)) {
683
$ids = stream_get_contents($tag);
684
+ } elseif(file_exists($this->_tagFile($tag))) {
685
$ids = @file_get_contents($this->_tagFile($tag));
686
+ } else {
687
+ $ids = false;
688
}
689
+ if( ! $ids) {
690
return array();
691
}
692
+ $ids = trim(substr($ids, 0, strrpos($ids, "\n")));
693
+ return $ids ? explode("\n", $ids) : array();
694
}
695
696
/**
705
protected function _updateIdsTags($ids, $tags, $mode)
706
{
707
$result = true;
708
+ if (empty($ids)) {
709
+ return $result;
710
+ }
711
+ foreach($tags as $tag) {
712
$file = $this->_tagFile($tag);
713
if (file_exists($file)) {
714
+ if ($mode == 'diff' || (rand(1,100) == 1 && filesize($file) > 4096)) {
715
+ $file = $this->_tagFile($tag);
716
+ if ( ! ($fd = fopen($file, 'rb+'))) {
717
+ $result = false;
718
+ continue;
719
+ }
720
+ if ($this->_options['file_locking']) flock($fd, LOCK_EX);
721
+ if ($mode == 'diff') {
722
+ $_ids = array_diff($this->_getTagIds($fd), $ids);
723
} else {
724
+ $_ids = array_merge($this->_getTagIds($fd), $ids);
725
}
726
+ fseek($fd, 0);
727
+ ftruncate($fd, 0);
728
+ $result = fwrite($fd, implode("\n", array_unique($_ids))."\n") && $result;
729
+ if ($this->_options['file_locking']) flock($fd, LOCK_UN);
730
+ fclose($fd);
731
}
732
+ else {
733
+ $result = file_put_contents($file, implode("\n", $ids)."\n", FILE_APPEND | ($this->_options['file_locking'] ? LOCK_EX : 0)) && $result;
734
}
735
+ } else if ($mode == 'merge') {
736
+ $result = $this->_filePutContents($file, implode("\n", $ids)."\n") && $result;
737
}
738
}
739
return $result;
740
}
741
750
protected function _filePutContents($file, $string)
751
{
752
$result = @file_put_contents($file, $string, $this->_options['file_locking'] ? LOCK_EX : 0);
753
+ if ($result && $this->_options['use_chmod']) {
754
+ @chmod($file, $this->_options['file_mode']);
755
+ }
756
757
return $result;
758
}
759
760
+ /**
761
+ * Make the directory structure for the given id
762
+ *
763
+ * @param string $id cache id
764
+ * @return boolean true
765
+ */
766
+ protected function _recursiveMkdirAndChmod($id)
767
+ {
768
+ if ($this->_options['hashed_directory_level'] <=0) {
769
+ return true;
770
+ }
771
+ $partsArray = $this->_path($id, true);
772
+ foreach ($partsArray as $part) {
773
+ if (!is_dir($part)) {
774
+ @mkdir($part, $this->_options['use_chmod'] ? $this->_options['directory_mode'] : 0777);
775
+ if ($this->_options['use_chmod']) {
776
+ @chmod($part, $this->_options['directory_mode']); // see #ZF-320 (this line is required in some configurations)
777
+ }
778
+ }
779
+ }
780
+ return true;
781
+ }
782
+
783
/**
784
* For unit testing only
785
*
lib/Mage/Connect/Package/Extension.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Package/Maintainer.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Repository.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Repository/Abstract.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Repository/Channel.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Repository/Channel/Abstract.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Repository/Channel/Commercial.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Repository/Channel/Community.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Repository/Channel/Core.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
lib/Mage/Connect/Repository/Local.php CHANGED
@@ -1 +1,25 @@
1
-
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magento.com for more information.
20
+ *
21
+ * @category Mage
22
+ * @package Mage_Connect
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
+ */
package.xml CHANGED
@@ -1,18 +1,18 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Lib_Mage</name>
4
- <version>1.9.1.1</version>
5
<stability>stable</stability>
6
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>Mage Library</summary>
10
<description>Mage Library</description>
11
- <notes>1.9.1.1</notes>
12
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
13
- <date>2015-04-29</date>
14
- <time>12:01:15</time>
15
- <contents><target name="magelib"><dir name="Mage"><dir name="Archive"><file name="Abstract.php" hash="de4e571664fc07c3d9549f0fd267673c"/><file name="Bz.php" hash="2505695d644c59adc33e22a0e4b4026b"/><file name="Gz.php" hash="b1a8f824762096e9481c4cf867236e0f"/><dir name="Helper"><dir name="File"><file name="Bz.php" hash="c2ecedaf9f2f87da265e8d015f184483"/><file name="Gz.php" hash="7f02f08015915d25220d065994ddc5d4"/></dir><file name="File.php" hash="83b65b9f0ac67451501a9c9637f5079b"/></dir><file name="Interface.php" hash="082498bdccf0768d5dd074493a570ebb"/><file name="Tar.php" hash="3f68ba944d9c375a14e94d10ef9fe5b0"/></dir><file name="Archive.php" hash="6bb5cfd52d689a82580e56ed016c9d5c"/><dir name="Autoload"><file name="Simple.php" hash="79585aafc6ed3c63d9560f1975f7839f"/></dir><dir name="Backup"><file name="Abstract.php" hash="6dc4a21835d04a2b517d5c3fb097fa32"/><dir name="Archive"><file name="Tar.php" hash="b0ea407733eb0eddf2335eb04b6d4efd"/></dir><file name="Db.php" hash="82085d5187d2f98b3bba9843e13e9e73"/><dir name="Exception"><file name="CantLoadSnapshot.php" hash="5999c355894c14f1e2362f45a6ba057a"/><file name="FtpConnectionFailed.php" hash="7a1fa7df65b14879e06f416358e4bfe8"/><file name="FtpValidationFailed.php" hash="69af18f3940a28573735e51c09582906"/><file name="NotEnoughFreeSpace.php" hash="85aa48d06cbf0bbbff797dda79be5031"/><file name="NotEnoughPermissions.php" hash="66b048e085f4e22ff92165cf27eb154a"/></dir><file name="Exception.php" hash="faffb5273a8d7b3bc1ac23500b3738ed"/><dir name="Filesystem"><file name="Helper.php" hash="decd420b567cc2f6352e1fe32832b777"/><dir name="Iterator"><file name="File.php" hash="30cf1633496618f74849bc2374f031c8"/><file name="Filter.php" hash="1fe29804508aa85589ba1a8578f492a8"/></dir><dir name="Rollback"><file name="Abstract.php" hash="f9282d34c12a6030942554a80882bb4a"/><file name="Fs.php" hash="179ac7ecd47d54e9a5324d8c6dc27194"/><file name="Ftp.php" hash="c31b8da9f38b0dd03fa87832f74a388b"/></dir></dir><file name="Filesystem.php" hash="7db5e5dc7ac0703bb4944092d19b8153"/><file name="Interface.php" hash="649acb82500c3aa25d789ede57b6d824"/><file name="Media.php" hash="d23badc8294f743242e831a1ee08a235"/><file name="Nomedia.php" hash="f67824816890655d383cc2f6bde37cfd"/><file name="Snapshot.php" hash="c8a1ca0ecd577783cc685560a929953a"/></dir><file name="Backup.php" hash="cb1bdf9d812811d0cf5478fb74d651d6"/><dir name="Cache"><dir name="Backend"><file name="File.php" hash="919df6545b54543059eee4db9d80c2c9"/><file name="Redis.php" hash="347c3b2c5d745df9f198d9c67cf035ee"/></dir></dir><dir name="Connect"><dir name="Channel"><file name="Generator.php" hash="8779c3d0bd0349fb084ba014aeebef08"/><file name="Parser.php" hash="710308a0983877f5397324ccde29ec64"/><file name="VO.php" hash="d5e083cac4674e60f3576c7f9245079e"/></dir><dir name="Command"><file name="Channels.php" hash="64a28e0922b180efae0b1505eb3a23c8"/><file name="Channels_Header.php" hash="c8801d31616e14fd17544d8ad91d8c71"/><file name="Config.php" hash="b4c3946a709c935285c7eef4e9893d95"/><file name="Config_Header.php" hash="be5819b085c2c25406169cc69db91efc"/><file name="Install.php" hash="4bc0690d8dae272ddcca882fbdc52cfa"/><file name="Install_Header.php" hash="b26353e14b18ca24135a8b3152eed832"/><file name="Package.php" hash="91daf698f9d027079aa3d4a70934e119"/><file name="Package_Header.php" hash="6875b32ecfc9be59d130814fb56ed35d"/><file name="Registry.php" hash="443008c5584a2e9b55674f07217ddabd"/><file name="Registry_Header.php" hash="9eaedec1fe480089c604580418579438"/><file name="Remote.php" hash="56b78c8f407460df4664d4455e879f0d"/><file name="Remote_Header.php" hash="d9b41a55a61c5c1e52abaff7a53fcc67"/></dir><file name="Command.php" hash="0fdfd17b49c24ebb994f27dd1d121144"/><file name="Config.php" hash="c452374e4ab10e53663d223c1bdd879f"/><file name="Converter.php" hash="a133fb8a9a1bb27f562daa734fb9f660"/><dir name="Frontend"><file name="CLI.php" hash="c1aeab2cce56ca6a6a1ea09db28897aa"/></dir><file name="Frontend.php" hash="d07caa4fe5b8f49b0ab45083eb6b1c51"/><file name="Ftp.php" hash="00039e4e1292e61e8932617cd57ab203"/><dir name="Loader"><file name="Ftp.php" hash="0332d94da7f3e58fc055fb80d53432a9"/></dir><file name="Loader.php" hash="3ca76a5329a1947d96e94bc316ca3099"/><dir name="Package"><file name="Extension.php" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="Hotfix.php" hash="ae834feb24bf36fc188afc11736681f1"/><file name="Maintainer.php" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="Reader.php" hash="c15f774cde56becedbdb3d363fac388c"/><file name="Target.php" hash="0e839847991ddaef741ae56daa936a6e"/><file name="VO.php" hash="cfbb4316314a742856bbe76e5d752512"/><file name="Writer.php" hash="8e41b3c89abe5a364bb32b56b6ae36de"/></dir><file name="Package.php" hash="94465bdc10578080364de3a9b20d4796"/><file name="Packager.php" hash="9ece3d292eabb6fec1393a021e4cef0d"/><dir name="Repository"><file name="Abstract.php" hash="68b329da9893e34099c7d8ad5cb9c940"/><dir name="Channel"><file name="Abstract.php" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="Commercial.php" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="Community.php" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="Core.php" hash="68b329da9893e34099c7d8ad5cb9c940"/></dir><file name="Channel.php" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="Local.php" hash="68b329da9893e34099c7d8ad5cb9c940"/></dir><file name="Repository.php" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="Rest.php" hash="735bf347e40ba4e6b1eac377b5158d6d"/><file name="Singleconfig.php" hash="f20ebb89682bd0ebc929afb3a7bdba74"/><dir name="Structures"><file name="Graph.php" hash="1b983ae8aa539bb4ff21129b48cccffb"/><file name="Node.php" hash="80f04d92471471b1a04c8f719313fd26"/></dir><file name="Validator.php" hash="36f4954b54798c274ab3ea0e07ec8079"/></dir><dir name="DB"><file name="Exception.php" hash="9b86c22405d6004bb564caba5a2cd73d"/><file name="Mysqli.php" hash="3faca89f2023931bfcdcdb68c26eceaf"/></dir><file name="Exception.php" hash="66fd995ff284b4fd1138bb80fe688661"/><dir name="HTTP"><dir name="Client"><file name="Curl.php" hash="5abff2bfdeecdfc174c96d7bf9a681a5"/><file name="Socket.php" hash="094870f3dc66d9fda62d92bd7726bc30"/></dir><file name="Client.php" hash="36f8059fd5fe72b9698f6eff8a5eb051"/><file name="IClient.php" hash="e2fef2961c4e19ea6d0a32905a3f0cc9"/></dir><dir name="System"><file name="Args.php" hash="aa6e78d765e598733ea5b023ccc5fe28"/><file name="Dirs.php" hash="1e89ada96b371a2ee69397f83adafdad"/><file name="Ftp.php" hash="d147b0479742bed479c6f4db8d819d74"/></dir><dir name="Xml"><file name="Generator.php" hash="7a00666dea843e96f828b721d7ea0968"/><file name="Parser.php" hash="7054f38ca1b3f84f9b0bbc58aa4798e2"/></dir></dir></target></contents>
16
<compatible/>
17
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Lib_Mage</name>
4
+ <version>1.9.2.0</version>
5
<stability>stable</stability>
6
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>Mage Library</summary>
10
<description>Mage Library</description>
11
+ <notes>1.9.2.0</notes>
12
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
13
+ <date>2015-06-26</date>
14
+ <time>13:48:53</time>
15
+ <contents><target name="magelib"><dir name="Mage"><dir name="Archive"><file name="Abstract.php" hash="de4e571664fc07c3d9549f0fd267673c"/><file name="Bz.php" hash="2505695d644c59adc33e22a0e4b4026b"/><file name="Gz.php" hash="b1a8f824762096e9481c4cf867236e0f"/><dir name="Helper"><dir name="File"><file name="Bz.php" hash="c2ecedaf9f2f87da265e8d015f184483"/><file name="Gz.php" hash="7f02f08015915d25220d065994ddc5d4"/></dir><file name="File.php" hash="83b65b9f0ac67451501a9c9637f5079b"/></dir><file name="Interface.php" hash="082498bdccf0768d5dd074493a570ebb"/><file name="Tar.php" hash="3f68ba944d9c375a14e94d10ef9fe5b0"/></dir><file name="Archive.php" hash="6bb5cfd52d689a82580e56ed016c9d5c"/><dir name="Autoload"><file name="Simple.php" hash="79585aafc6ed3c63d9560f1975f7839f"/></dir><dir name="Backup"><file name="Abstract.php" hash="6dc4a21835d04a2b517d5c3fb097fa32"/><dir name="Archive"><file name="Tar.php" hash="b0ea407733eb0eddf2335eb04b6d4efd"/></dir><file name="Db.php" hash="82085d5187d2f98b3bba9843e13e9e73"/><dir name="Exception"><file name="CantLoadSnapshot.php" hash="5999c355894c14f1e2362f45a6ba057a"/><file name="FtpConnectionFailed.php" hash="7a1fa7df65b14879e06f416358e4bfe8"/><file name="FtpValidationFailed.php" hash="69af18f3940a28573735e51c09582906"/><file name="NotEnoughFreeSpace.php" hash="85aa48d06cbf0bbbff797dda79be5031"/><file name="NotEnoughPermissions.php" hash="66b048e085f4e22ff92165cf27eb154a"/></dir><file name="Exception.php" hash="faffb5273a8d7b3bc1ac23500b3738ed"/><dir name="Filesystem"><file name="Helper.php" hash="decd420b567cc2f6352e1fe32832b777"/><dir name="Iterator"><file name="File.php" hash="30cf1633496618f74849bc2374f031c8"/><file name="Filter.php" hash="1fe29804508aa85589ba1a8578f492a8"/></dir><dir name="Rollback"><file name="Abstract.php" hash="f9282d34c12a6030942554a80882bb4a"/><file name="Fs.php" hash="179ac7ecd47d54e9a5324d8c6dc27194"/><file name="Ftp.php" hash="c31b8da9f38b0dd03fa87832f74a388b"/></dir></dir><file name="Filesystem.php" hash="7db5e5dc7ac0703bb4944092d19b8153"/><file name="Interface.php" hash="649acb82500c3aa25d789ede57b6d824"/><file name="Media.php" hash="d23badc8294f743242e831a1ee08a235"/><file name="Nomedia.php" hash="f67824816890655d383cc2f6bde37cfd"/><file name="Snapshot.php" hash="c8a1ca0ecd577783cc685560a929953a"/></dir><file name="Backup.php" hash="cb1bdf9d812811d0cf5478fb74d651d6"/><dir name="Cache"><dir name="Backend"><file name="File.php" hash="e5cae99d5ae44908250e8efd9436f881"/><file name="Redis.php" hash="347c3b2c5d745df9f198d9c67cf035ee"/></dir></dir><dir name="Connect"><dir name="Channel"><file name="Generator.php" hash="8779c3d0bd0349fb084ba014aeebef08"/><file name="Parser.php" hash="710308a0983877f5397324ccde29ec64"/><file name="VO.php" hash="d5e083cac4674e60f3576c7f9245079e"/></dir><dir name="Command"><file name="Channels.php" hash="64a28e0922b180efae0b1505eb3a23c8"/><file name="Channels_Header.php" hash="c8801d31616e14fd17544d8ad91d8c71"/><file name="Config.php" hash="b4c3946a709c935285c7eef4e9893d95"/><file name="Config_Header.php" hash="be5819b085c2c25406169cc69db91efc"/><file name="Install.php" hash="4bc0690d8dae272ddcca882fbdc52cfa"/><file name="Install_Header.php" hash="b26353e14b18ca24135a8b3152eed832"/><file name="Package.php" hash="91daf698f9d027079aa3d4a70934e119"/><file name="Package_Header.php" hash="6875b32ecfc9be59d130814fb56ed35d"/><file name="Registry.php" hash="443008c5584a2e9b55674f07217ddabd"/><file name="Registry_Header.php" hash="9eaedec1fe480089c604580418579438"/><file name="Remote.php" hash="56b78c8f407460df4664d4455e879f0d"/><file name="Remote_Header.php" hash="d9b41a55a61c5c1e52abaff7a53fcc67"/></dir><file name="Command.php" hash="0fdfd17b49c24ebb994f27dd1d121144"/><file name="Config.php" hash="c452374e4ab10e53663d223c1bdd879f"/><file name="Converter.php" hash="a133fb8a9a1bb27f562daa734fb9f660"/><dir name="Frontend"><file name="CLI.php" hash="c1aeab2cce56ca6a6a1ea09db28897aa"/></dir><file name="Frontend.php" hash="d07caa4fe5b8f49b0ab45083eb6b1c51"/><file name="Ftp.php" hash="00039e4e1292e61e8932617cd57ab203"/><dir name="Loader"><file name="Ftp.php" hash="0332d94da7f3e58fc055fb80d53432a9"/></dir><file name="Loader.php" hash="3ca76a5329a1947d96e94bc316ca3099"/><dir name="Package"><file name="Extension.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Hotfix.php" hash="ae834feb24bf36fc188afc11736681f1"/><file name="Maintainer.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Reader.php" hash="c15f774cde56becedbdb3d363fac388c"/><file name="Target.php" hash="0e839847991ddaef741ae56daa936a6e"/><file name="VO.php" hash="cfbb4316314a742856bbe76e5d752512"/><file name="Writer.php" hash="8e41b3c89abe5a364bb32b56b6ae36de"/></dir><file name="Package.php" hash="94465bdc10578080364de3a9b20d4796"/><file name="Packager.php" hash="9ece3d292eabb6fec1393a021e4cef0d"/><dir name="Repository"><file name="Abstract.php" hash="710308a0983877f5397324ccde29ec64"/><dir name="Channel"><file name="Abstract.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Commercial.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Community.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Core.php" hash="710308a0983877f5397324ccde29ec64"/></dir><file name="Channel.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Local.php" hash="710308a0983877f5397324ccde29ec64"/></dir><file name="Repository.php" hash="710308a0983877f5397324ccde29ec64"/><file name="Rest.php" hash="735bf347e40ba4e6b1eac377b5158d6d"/><file name="Singleconfig.php" hash="f20ebb89682bd0ebc929afb3a7bdba74"/><dir name="Structures"><file name="Graph.php" hash="1b983ae8aa539bb4ff21129b48cccffb"/><file name="Node.php" hash="80f04d92471471b1a04c8f719313fd26"/></dir><file name="Validator.php" hash="36f4954b54798c274ab3ea0e07ec8079"/></dir><dir name="DB"><file name="Exception.php" hash="9b86c22405d6004bb564caba5a2cd73d"/><file name="Mysqli.php" hash="3faca89f2023931bfcdcdb68c26eceaf"/></dir><file name="Exception.php" hash="66fd995ff284b4fd1138bb80fe688661"/><dir name="HTTP"><dir name="Client"><file name="Curl.php" hash="5abff2bfdeecdfc174c96d7bf9a681a5"/><file name="Socket.php" hash="094870f3dc66d9fda62d92bd7726bc30"/></dir><file name="Client.php" hash="36f8059fd5fe72b9698f6eff8a5eb051"/><file name="IClient.php" hash="e2fef2961c4e19ea6d0a32905a3f0cc9"/></dir><dir name="System"><file name="Args.php" hash="aa6e78d765e598733ea5b023ccc5fe28"/><file name="Dirs.php" hash="1e89ada96b371a2ee69397f83adafdad"/><file name="Ftp.php" hash="d147b0479742bed479c6f4db8d819d74"/></dir><dir name="Xml"><file name="Generator.php" hash="7a00666dea843e96f828b721d7ea0968"/><file name="Parser.php" hash="7054f38ca1b3f84f9b0bbc58aa4798e2"/></dir></dir></target></contents>
16
<compatible/>
17
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
</package>