Version Notes
- Enhancement
Download this release
Release Info
Developer | Biztech |
Extension | magento_mobile_assistant_manager |
Version | 0.2.5 |
Comparing to | |
See all releases |
Code changes from version 0.2.4 to 0.2.5
- app/code/local/Biztech/All/Helper/Data.php +0 -6
- app/code/local/Biztech/All/Model/All.php +0 -10
- app/code/local/Biztech/All/Model/Mysql4/All.php +0 -10
- app/code/local/Biztech/All/Model/Mysql4/All/Collection.php +0 -10
- app/code/local/Biztech/All/Model/Source/Updates/Type.php +0 -50
- app/code/local/Biztech/All/Model/Status.php +0 -15
- app/code/local/Biztech/All/Model/Update.php +0 -92
- app/code/local/Biztech/All/etc/config.xml +0 -147
- app/code/local/Biztech/All/etc/system.xml +0 -46
- app/code/local/Biztech/Authentication/controllers/IndexController.php +1 -1
- app/code/local/Biztech/Authentication/controllers/IndexController_10-3-2016.php +0 -199
- app/code/local/Biztech/Mobileassistant/Block/Config/.LCKBaseurl.php~ +1 -0
- app/code/local/Biztech/Mobileassistant/Block/Config/Baseurl.php +1 -1
- app/code/local/Biztech/Mobileassistant/etc/system.xml +10 -10
- app/etc/modules/Biztech_All.xml +0 -52
- package.xml +5 -5
app/code/local/Biztech/All/Helper/Data.php
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Biztech_All_Helper_Data extends Mage_Core_Helper_Abstract
|
4 |
-
{
|
5 |
-
|
6 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/All/Model/All.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Biztech_All_Model_All extends Mage_Core_Model_Abstract
|
4 |
-
{
|
5 |
-
public function _construct()
|
6 |
-
{
|
7 |
-
parent::_construct();
|
8 |
-
$this->_init('all/all');
|
9 |
-
}
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/All/Model/Mysql4/All.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Biztech_All_Model_Mysql4_All extends Mage_Core_Model_Mysql4_Abstract
|
4 |
-
{
|
5 |
-
public function _construct()
|
6 |
-
{
|
7 |
-
// Note that the all_id refers to the key field in your database table.
|
8 |
-
$this->_init('all/all', 'all_id');
|
9 |
-
}
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/All/Model/Mysql4/All/Collection.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Biztech_All_Model_Mysql4_All_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
|
4 |
-
{
|
5 |
-
public function _construct()
|
6 |
-
{
|
7 |
-
parent::_construct();
|
8 |
-
$this->_init('all/all');
|
9 |
-
}
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/All/Model/Source/Updates/Type.php
DELETED
@@ -1,50 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the EULA
|
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 |
-
*/
|
11 |
-
|
12 |
-
class Biztech_All_Model_Source_Updates_Type extends Mage_Eav_Model_Entity_Attribute_Source_Abstract
|
13 |
-
{
|
14 |
-
const TYPE_UPDATE_RELEASE = 'UPDATE_RELEASE';
|
15 |
-
const TYPE_INSTALLED_UPDATE = 'INSTALLED_UPDATE';
|
16 |
-
public function toOptionArray()
|
17 |
-
{
|
18 |
-
return array(
|
19 |
-
array('value' => self::TYPE_INSTALLED_UPDATE, 'label' => Mage::helper('all')->__('My extensions updates')),
|
20 |
-
array('value' => self::TYPE_UPDATE_RELEASE, 'label' => Mage::helper('all')->__('All extensions updates')),
|
21 |
-
);
|
22 |
-
}
|
23 |
-
|
24 |
-
public function getAllOptions()
|
25 |
-
{
|
26 |
-
return $this->toOptionArray();
|
27 |
-
}
|
28 |
-
|
29 |
-
|
30 |
-
public function getLabel($value)
|
31 |
-
{
|
32 |
-
$options = $this->toOptionArray();
|
33 |
-
foreach ($options as $v) {
|
34 |
-
if ($v['value'] == $value) {
|
35 |
-
return $v['label'];
|
36 |
-
}
|
37 |
-
}
|
38 |
-
return '';
|
39 |
-
}
|
40 |
-
|
41 |
-
public function getGridOptions()
|
42 |
-
{
|
43 |
-
$items = $this->getAllOptions();
|
44 |
-
$out = array();
|
45 |
-
foreach ($items as $item) {
|
46 |
-
$out[$item['value']] = $item['label'];
|
47 |
-
}
|
48 |
-
return $out;
|
49 |
-
}
|
50 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/All/Model/Status.php
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Biztech_All_Model_Status extends Varien_Object
|
4 |
-
{
|
5 |
-
const STATUS_ENABLED = 1;
|
6 |
-
const STATUS_DISABLED = 2;
|
7 |
-
|
8 |
-
static public function getOptionArray()
|
9 |
-
{
|
10 |
-
return array(
|
11 |
-
self::STATUS_ENABLED => Mage::helper('all')->__('Enabled'),
|
12 |
-
self::STATUS_DISABLED => Mage::helper('all')->__('Disabled')
|
13 |
-
);
|
14 |
-
}
|
15 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/All/Model/Update.php
DELETED
@@ -1,92 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Biztech_All_Model_Update extends Mage_Core_Helper_Abstract
|
4 |
-
{
|
5 |
-
|
6 |
-
const UPDATE_NOTIFICATION_FEED_URL = 'http://store.biztechconsultancy.com/rss/catalog/new/store_id/1/';
|
7 |
-
public function getInterests()
|
8 |
-
{
|
9 |
-
$types = @explode(',', Mage::getStoreConfig('all/all_general/interests'));
|
10 |
-
return $types;
|
11 |
-
}
|
12 |
-
public function isExtensionInstalled($code)
|
13 |
-
{
|
14 |
-
|
15 |
-
$modules = array_keys((array)Mage::getConfig()->getNode('modules')->children());
|
16 |
-
foreach ($modules as $moduleName) {
|
17 |
-
if ($moduleName == $code) {
|
18 |
-
return true;
|
19 |
-
}
|
20 |
-
}
|
21 |
-
return false;
|
22 |
-
}
|
23 |
-
|
24 |
-
public function check()
|
25 |
-
{
|
26 |
-
if ((time() - Mage::app()->loadCache('biztech_all_updates_feed_lastcheck')) > Mage::getStoreConfig('all/all_general/check_frequency')) {
|
27 |
-
$this->refresh();
|
28 |
-
}
|
29 |
-
}
|
30 |
-
|
31 |
-
public function refresh()
|
32 |
-
{
|
33 |
-
$types = array();
|
34 |
-
$feedData = array();
|
35 |
-
$extensio_module = array();
|
36 |
-
try{
|
37 |
-
$xml = false;
|
38 |
-
$limit_context = stream_context_create(array('http'=>array('timeout' => 5)));
|
39 |
-
$xml = file_get_contents(self::UPDATE_NOTIFICATION_FEED_URL,true,$limit_context);
|
40 |
-
$xml = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);//LIBXML_NOCDATA LIBXML_NOWARNING
|
41 |
-
|
42 |
-
if($xml != false){
|
43 |
-
$interests = $this->getInterests();
|
44 |
-
if(!empty($interests[0])){
|
45 |
-
$isInterestedInSelfUpgrades = in_array(Biztech_All_Model_Source_Updates_Type::TYPE_INSTALLED_UPDATE, $interests);
|
46 |
-
$isInterestedInAllUpgrades = in_array(Biztech_All_Model_Source_Updates_Type::TYPE_UPDATE_RELEASE, $interests);
|
47 |
-
$modules = Mage::getConfig()->getNode('modules')->children();
|
48 |
-
$modulesArray = (array)$modules;
|
49 |
-
foreach($xml->channel->item as $keys=>$extensions) {
|
50 |
-
$types[] = (string) $extensions->update_notifications->type;
|
51 |
-
$extensions_name = (string)$extensions->update_notifications->extensions;
|
52 |
-
|
53 |
-
if((string)$extensions->update_notifications->date!=""&&(string)$extensions->update_notifications->extension_title!=""&&(string)$extensions->update_notifications->extension_content!=""&&(string)$extensions->update_notifications->product_url!=""){
|
54 |
-
if(!$isInterestedInAllUpgrades){
|
55 |
-
if ($this->isExtensionInstalled($extensions_name)) {
|
56 |
-
$feedData[] = array(
|
57 |
-
'severity' => 4,
|
58 |
-
'date_added' => (string) $extensions->update_notifications->date,
|
59 |
-
'title' => (string)$extensions->update_notifications->extension_title,
|
60 |
-
'description' => (string)$extensions->update_notifications->extension_content,
|
61 |
-
'url' => (string)$extensions->update_notifications->product_url,
|
62 |
-
);
|
63 |
-
}
|
64 |
-
} else{
|
65 |
-
$feedData[] = array(
|
66 |
-
'severity' => 4,
|
67 |
-
'date_added' => (string)$extensions->update_notifications->date,
|
68 |
-
'title' => (string)$extensions->update_notifications->extension_title,
|
69 |
-
'description' => (string)$extensions->update_notifications->extension_content,
|
70 |
-
'url' => (string)$extensions->update_notifications->product_url,
|
71 |
-
);
|
72 |
-
}
|
73 |
-
}
|
74 |
-
}
|
75 |
-
if ($feedData) {
|
76 |
-
foreach($feedData as $data){
|
77 |
-
if ((array_intersect($types,$interests) && $isInterestedInSelfUpgrades)) {
|
78 |
-
Mage::getModel('adminnotification/inbox')->parse(array_reverse(array($data)));
|
79 |
-
}
|
80 |
-
}
|
81 |
-
}
|
82 |
-
Mage::app()->saveCache(time(), 'biztech_all_updates_feed_lastcheck');
|
83 |
-
return true;
|
84 |
-
}
|
85 |
-
} else{
|
86 |
-
return false;
|
87 |
-
}
|
88 |
-
}catch (Exception $e) {
|
89 |
-
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
90 |
-
}
|
91 |
-
}
|
92 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/All/etc/config.xml
DELETED
@@ -1,147 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* @category Biztech
|
5 |
-
* @package Biztech_All
|
6 |
-
* @author ModuleCreator
|
7 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
8 |
-
*/
|
9 |
-
-->
|
10 |
-
<config>
|
11 |
-
<modules>
|
12 |
-
<Biztech_All>
|
13 |
-
<version>0.1.0</version>
|
14 |
-
</Biztech_All>
|
15 |
-
</modules>
|
16 |
-
<frontend>
|
17 |
-
<routers>
|
18 |
-
<all>
|
19 |
-
<use>standard</use>
|
20 |
-
<args>
|
21 |
-
<module>Biztech_All</module>
|
22 |
-
<frontName>all</frontName>
|
23 |
-
</args>
|
24 |
-
</all>
|
25 |
-
</routers>
|
26 |
-
<!--<layout>
|
27 |
-
<updates>
|
28 |
-
<all>
|
29 |
-
<file>all.xml</file>
|
30 |
-
</all>
|
31 |
-
</updates>
|
32 |
-
</layout>-->
|
33 |
-
</frontend>
|
34 |
-
<admin>
|
35 |
-
<routers>
|
36 |
-
<all>
|
37 |
-
<use>admin</use>
|
38 |
-
<args>
|
39 |
-
<module>Biztech_All</module>
|
40 |
-
<frontName>all</frontName>
|
41 |
-
</args>
|
42 |
-
</all>
|
43 |
-
</routers>
|
44 |
-
</admin>
|
45 |
-
<adminhtml>
|
46 |
-
<!--<menu>
|
47 |
-
<all module="all">
|
48 |
-
<title>All</title>
|
49 |
-
<sort_order>71</sort_order>
|
50 |
-
<children>
|
51 |
-
<items module="all">
|
52 |
-
<title>Manage Items</title>
|
53 |
-
<sort_order>0</sort_order>
|
54 |
-
<action>all/adminhtml_all</action>
|
55 |
-
</items>
|
56 |
-
</children>
|
57 |
-
</all>
|
58 |
-
</menu> -->
|
59 |
-
<acl>
|
60 |
-
<resources>
|
61 |
-
<all>
|
62 |
-
<title>Allow Everything</title>
|
63 |
-
</all>
|
64 |
-
<admin>
|
65 |
-
<children>
|
66 |
-
<Biztech_All>
|
67 |
-
<title>All Module</title>
|
68 |
-
<sort_order>10</sort_order>
|
69 |
-
</Biztech_All>
|
70 |
-
</children>
|
71 |
-
</admin>
|
72 |
-
</resources>
|
73 |
-
</acl>
|
74 |
-
<events>
|
75 |
-
<controller_action_predispatch>
|
76 |
-
<observers>
|
77 |
-
|
78 |
-
<bzall_upds>
|
79 |
-
<type>singleton</type>
|
80 |
-
<class>all/update</class>
|
81 |
-
<method>check</method>
|
82 |
-
</bzall_upds>
|
83 |
-
</observers>
|
84 |
-
</controller_action_predispatch>
|
85 |
-
</events>
|
86 |
-
<!--<layout>
|
87 |
-
<updates>
|
88 |
-
<all>
|
89 |
-
<file>all.xml</file>
|
90 |
-
</all>
|
91 |
-
</updates>
|
92 |
-
</layout> -->
|
93 |
-
</adminhtml>
|
94 |
-
<global>
|
95 |
-
<models>
|
96 |
-
<all>
|
97 |
-
<class>Biztech_All_Model</class>
|
98 |
-
<resourceModel>all_mysql4</resourceModel>
|
99 |
-
</all>
|
100 |
-
<all_mysql4>
|
101 |
-
<class>Biztech_All_Model_Mysql4</class>
|
102 |
-
<entities>
|
103 |
-
<all>
|
104 |
-
<table>all</table>
|
105 |
-
</all>
|
106 |
-
</entities>
|
107 |
-
</all_mysql4>
|
108 |
-
</models>
|
109 |
-
<resources>
|
110 |
-
<all_setup>
|
111 |
-
<setup>
|
112 |
-
<module>Biztech_All</module>
|
113 |
-
</setup>
|
114 |
-
<connection>
|
115 |
-
<use>core_setup</use>
|
116 |
-
</connection>
|
117 |
-
</all_setup>
|
118 |
-
<all_write>
|
119 |
-
<connection>
|
120 |
-
<use>core_write</use>
|
121 |
-
</connection>
|
122 |
-
</all_write>
|
123 |
-
<all_read>
|
124 |
-
<connection>
|
125 |
-
<use>core_read</use>
|
126 |
-
</connection>
|
127 |
-
</all_read>
|
128 |
-
</resources>
|
129 |
-
<blocks>
|
130 |
-
<all>
|
131 |
-
<class>Biztech_All_Block</class>
|
132 |
-
</all>
|
133 |
-
</blocks>
|
134 |
-
<helpers>
|
135 |
-
<all>
|
136 |
-
<class>Biztech_All_Helper</class>
|
137 |
-
</all>
|
138 |
-
</helpers>
|
139 |
-
</global>
|
140 |
-
<default>
|
141 |
-
<all>
|
142 |
-
<all_general>
|
143 |
-
<check_frequency>86400</check_frequency>
|
144 |
-
</all_general>
|
145 |
-
</all>
|
146 |
-
</default>
|
147 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/All/etc/system.xml
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8" ?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<biztech translate="label" module="all">
|
5 |
-
<label>Biztech Extensions</label>
|
6 |
-
<sort_order>400</sort_order>
|
7 |
-
</biztech>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<all translate="label" module="all">
|
11 |
-
<label>Info</label>
|
12 |
-
<tab>biztech</tab>
|
13 |
-
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>10</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_website>1</show_in_website>
|
17 |
-
<show_in_store>1</show_in_store>
|
18 |
-
<groups>
|
19 |
-
|
20 |
-
<all_general translate="label">
|
21 |
-
<label>General</label>
|
22 |
-
<frontend_type>text</frontend_type>
|
23 |
-
<sort_order>10</sort_order>
|
24 |
-
<show_in_default>1</show_in_default>
|
25 |
-
<show_in_website>1</show_in_website>
|
26 |
-
<show_in_store>1</show_in_store>
|
27 |
-
<fields>
|
28 |
-
|
29 |
-
<interests translate="label">
|
30 |
-
<label>I'd like to be informed by Biztech about:</label>
|
31 |
-
<comment></comment>
|
32 |
-
<frontend_type>multiselect</frontend_type>
|
33 |
-
<sort_order>100</sort_order>
|
34 |
-
<show_in_default>1</show_in_default>
|
35 |
-
<show_in_website>1</show_in_website>
|
36 |
-
<show_in_store>1</show_in_store>
|
37 |
-
<can_be_empty>1</can_be_empty>
|
38 |
-
<source_model>all/source_updates_type</source_model>
|
39 |
-
</interests>
|
40 |
-
|
41 |
-
</fields>
|
42 |
-
</all_general>
|
43 |
-
</groups>
|
44 |
-
</all>
|
45 |
-
</sections>
|
46 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/Authentication/controllers/IndexController.php
CHANGED
@@ -162,7 +162,7 @@ class Biztech_Authentication_IndexController extends Mage_Core_Controller_Front_
|
|
162 |
$currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
|
163 |
|
164 |
$isPos = 0;
|
165 |
-
$resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos
|
166 |
$result = Mage::helper('core')->jsonEncode($resultArr);
|
167 |
return Mage::app()->getResponse()->setBody($result);
|
168 |
}
|
162 |
$currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
|
163 |
|
164 |
$isPos = 0;
|
165 |
+
$resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos);
|
166 |
$result = Mage::helper('core')->jsonEncode($resultArr);
|
167 |
return Mage::app()->getResponse()->setBody($result);
|
168 |
}
|
app/code/local/Biztech/Authentication/controllers/IndexController_10-3-2016.php
DELETED
@@ -1,199 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Biztech_Authentication_IndexController extends Mage_Core_Controller_Front_Action {
|
4 |
-
|
5 |
-
public function indexAction() {
|
6 |
-
if (Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled')) {
|
7 |
-
|
8 |
-
$isSecure = Mage::app()->getFrontController()->getRequest()->isSecure();
|
9 |
-
$validate_url = false;
|
10 |
-
if ($isSecure) {
|
11 |
-
if (Mage::getStoreConfig('web/secure/base_url') == Mage::getStoreConfig('web/secure/base_link_url')) {
|
12 |
-
$validate_url = true;
|
13 |
-
}
|
14 |
-
} else {
|
15 |
-
if (Mage::getStoreConfig('web/unsecure/base_url') == Mage::getStoreConfig('web/unsecure/base_link_url')) {
|
16 |
-
$validate_url = true;
|
17 |
-
}
|
18 |
-
}
|
19 |
-
|
20 |
-
if ($validate_url) {
|
21 |
-
|
22 |
-
$details = Mage::app()->getRequest()->getParams();
|
23 |
-
|
24 |
-
$username = $details['userapi'];
|
25 |
-
$password = $details['keyapi'];
|
26 |
-
$deviceToken = $details['token'];
|
27 |
-
$flag = $details['notification_flag'];
|
28 |
-
$device_type = $details['device_type'];
|
29 |
-
|
30 |
-
Mage::register('isSecureArea', true);
|
31 |
-
|
32 |
-
$config = Mage::getStoreConfigFlag('admin/security/use_case_sensitive_login');
|
33 |
-
Mage::getSingleton('core/session', array('name' => 'adminhtml'));
|
34 |
-
$user = Mage::getModel('admin/user')->loadByUsername($username);
|
35 |
-
|
36 |
-
$sensitive = ($config) ? $username == $user->getUsername() : true;
|
37 |
-
|
38 |
-
if ($sensitive && $user->getId() && Mage::helper('core')->validateHash($password, $user->getPassword())) {
|
39 |
-
if ($user->getIsActive() != '1') {
|
40 |
-
$result['error'] = Mage::helper('adminhtml')->__('This account is inactive.');
|
41 |
-
}
|
42 |
-
if (!$user->hasAssigned2Role($user->getId())) {
|
43 |
-
$result['error'] = Mage::helper('adminhtml')->__('Access denied.');
|
44 |
-
}
|
45 |
-
} else {
|
46 |
-
$result['error'] = $this->__('Invalid User Name or Password.');
|
47 |
-
$jsonData = Mage::helper('core')->jsonEncode($result);
|
48 |
-
return Mage::app()->getResponse()->setBody($jsonData);
|
49 |
-
}
|
50 |
-
if (Mage::getSingleton('adminhtml/url')->useSecretKey()) {
|
51 |
-
Mage::getSingleton('adminhtml/url')->renewSecretUrls();
|
52 |
-
}
|
53 |
-
$session = Mage::getSingleton('admin/session');
|
54 |
-
|
55 |
-
$session->setIsFirstVisit(true);
|
56 |
-
$session->setUser($user);
|
57 |
-
$session->setAcl(Mage::getResourceModel('admin/acl')->loadAcl());
|
58 |
-
$session_id = $user->getId() . '_' . md5($username);
|
59 |
-
|
60 |
-
Mage::dispatchEvent('admin_session_user_login_success', array('user' => $user));
|
61 |
-
|
62 |
-
Mage::unregister('isSecureArea');
|
63 |
-
|
64 |
-
if ($session_id) {
|
65 |
-
$data = array('username' => $username, 'password' => $user->getPassword(), 'devicetoken' => $deviceToken, 'session_id' => $session_id, 'notification_flag' => $flag, 'device_type' => $device_type, 'is_logout' => 0);
|
66 |
-
$result = Mage::helper('mobileassistant')->create($data);
|
67 |
-
|
68 |
-
|
69 |
-
$jsonData = Mage::helper('core')->jsonEncode($result);
|
70 |
-
return Mage::app()->getResponse()->setBody($jsonData);
|
71 |
-
}
|
72 |
-
} else {
|
73 |
-
$result['error'] = $this->__('There seems some difference between the Based URL & Magento Based URL(on the store). Please check & if issue persists, Contact our Support Team.');
|
74 |
-
}
|
75 |
-
} else {
|
76 |
-
$result['error'] = $this->__('Please activate the Mobile Assistant Extension on the Magento Store.');
|
77 |
-
}
|
78 |
-
$jsonData = Mage::helper('core')->jsonEncode($result);
|
79 |
-
return Mage::app()->getResponse()->setBody($jsonData);
|
80 |
-
}
|
81 |
-
|
82 |
-
public function testModuleAction() {
|
83 |
-
$post_data = Mage::app()->getRequest()->getParams();
|
84 |
-
$url = $post_data['magento_url'];
|
85 |
-
$url_info = parse_url($url);
|
86 |
-
|
87 |
-
if (Mage::getConfig()->getModuleConfig('Biztech_Mobileassistant')->is('active', 'true') && Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled')) {
|
88 |
-
|
89 |
-
$isSecure = Mage::app()->getFrontController()->getRequest()->isSecure();
|
90 |
-
$validate_url = false;
|
91 |
-
if ($isSecure) {
|
92 |
-
if (Mage::getStoreConfig('web/secure/base_url') == Mage::getStoreConfig('web/secure/base_link_url')) {
|
93 |
-
$validate_url = true;
|
94 |
-
}
|
95 |
-
|
96 |
-
if ($url_info['scheme'] == 'http') {
|
97 |
-
$result['error'] = $this->__('It seems you use secure url for your store. So please use "https". ');
|
98 |
-
$jsonData = Mage::helper('core')->jsonEncode($result);
|
99 |
-
return Mage::app()->getResponse()->setBody($jsonData);
|
100 |
-
}
|
101 |
-
} else {
|
102 |
-
if (Mage::getStoreConfig('web/unsecure/base_url') == Mage::getStoreConfig('web/unsecure/base_link_url')) {
|
103 |
-
$validate_url = true;
|
104 |
-
}
|
105 |
-
}
|
106 |
-
if ($validate_url) {
|
107 |
-
|
108 |
-
$is_index = Mage::getStoreConfig('web/seo/use_rewrites');
|
109 |
-
if (!$is_index && basename($url) != 'index.php') {
|
110 |
-
$result['error'] = $this->__('Please add "index.php" after your url.');
|
111 |
-
$jsonData = Mage::helper('core')->jsonEncode($result);
|
112 |
-
return Mage::app()->getResponse()->setBody($jsonData);
|
113 |
-
}
|
114 |
-
|
115 |
-
$result['success'] = $this->__('Hurray! The connection with the Magento Site worked out fine & you can start using the App.');
|
116 |
-
} else {
|
117 |
-
$result['error'] = $this->__('There seems some difference between the Based URL & Magento Based URL(on the store). Please check & if issue persists, Contact our Support Team.');
|
118 |
-
}
|
119 |
-
} else {
|
120 |
-
$result['error'] = $this->__('Please activate the Mobile Assistant Extension on the Magento Store.');
|
121 |
-
}
|
122 |
-
$jsonData = Mage::helper('core')->jsonEncode($result);
|
123 |
-
return Mage::app()->getResponse()->setBody($jsonData);
|
124 |
-
}
|
125 |
-
|
126 |
-
public function changeSettingsAction() {
|
127 |
-
$post_data = Mage::app()->getRequest()->getParams();
|
128 |
-
$user = $post_data['userapi'];
|
129 |
-
$deviceToken = $post_data['token'];
|
130 |
-
$flag = $post_data['notification_flag'];
|
131 |
-
$collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()->addFieldToFilter('username', Array('eq' => $user))->addFieldToFilter('device_token', Array('eq' => $deviceToken));
|
132 |
-
$count = count($collections);
|
133 |
-
|
134 |
-
foreach ($collections as $user) {
|
135 |
-
$user_id = $user->getUserId();
|
136 |
-
}
|
137 |
-
if ($count == 1) {
|
138 |
-
try {
|
139 |
-
$connection = Mage::getSingleton('core/resource')->getConnection('core_write');
|
140 |
-
$connection->beginTransaction();
|
141 |
-
$fields = array();
|
142 |
-
$fields['notification_flag'] = $flag;
|
143 |
-
$where = $connection->quoteInto('user_id =?', $user_id);
|
144 |
-
$prefix = Mage::getConfig()->getTablePrefix();
|
145 |
-
$connection->update($prefix . 'mobileassistant', $fields, $where);
|
146 |
-
$connection->commit();
|
147 |
-
} catch (Exception $e) {
|
148 |
-
return $e->getMessage();
|
149 |
-
}
|
150 |
-
$successArr[] = array('success_msg' => 'Settings updated sucessfully');
|
151 |
-
$result = Mage::helper('core')->jsonEncode($successArr);
|
152 |
-
return Mage::app()->getResponse()->setBody($result);
|
153 |
-
}
|
154 |
-
}
|
155 |
-
|
156 |
-
public function getLogoAndCurrencyAction() {
|
157 |
-
$post_data = Mage::app()->getRequest()->getParams();
|
158 |
-
$storeId = $post_data['storeid'];
|
159 |
-
$block = new Mage_Page_Block_Html_Header();
|
160 |
-
$logo = $block->getLogoSrc();
|
161 |
-
|
162 |
-
$currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
|
163 |
-
|
164 |
-
$isPos = 0;
|
165 |
-
$resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos, 'is_inventory'=>1);
|
166 |
-
$result = Mage::helper('core')->jsonEncode($resultArr);
|
167 |
-
return Mage::app()->getResponse()->setBody($result);
|
168 |
-
}
|
169 |
-
|
170 |
-
public function logoutAction() {
|
171 |
-
|
172 |
-
$post_data = Mage::app()->getRequest()->getParams();
|
173 |
-
$user = $post_data['userapi'];
|
174 |
-
$deviceToken = $post_data['token'];
|
175 |
-
$collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()->addFieldToFilter('device_token', Array('eq' => $deviceToken));
|
176 |
-
$count = count($collections);
|
177 |
-
|
178 |
-
foreach ($collections as $user) {
|
179 |
-
$device_token = $user->getDeviceToken();
|
180 |
-
|
181 |
-
try {
|
182 |
-
$connection = Mage::getSingleton('core/resource')->getConnection('core_write');
|
183 |
-
$connection->beginTransaction();
|
184 |
-
$fields = array();
|
185 |
-
$fields['is_logout'] = 1;
|
186 |
-
$where = $connection->quoteInto('device_token =?', $device_token);
|
187 |
-
$prefix = Mage::getConfig()->getTablePrefix();
|
188 |
-
$connection->update($prefix . 'mobileassistant', $fields, $where);
|
189 |
-
$connection->commit();
|
190 |
-
} catch (Exception $e) {
|
191 |
-
return $e->getMessage();
|
192 |
-
}
|
193 |
-
$successArr[] = array('success_msg' => 'User logout successfully.');
|
194 |
-
$result = Mage::helper('core')->jsonEncode($successArr);
|
195 |
-
return Mage::app()->getResponse()->setBody($result);
|
196 |
-
}
|
197 |
-
}
|
198 |
-
|
199 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Biztech/Mobileassistant/Block/Config/.LCKBaseurl.php~
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/var/www/html/magento1923/app/code/local/Biztech/Mobileassistant/Block/Config/Baseurl.php
|
app/code/local/Biztech/Mobileassistant/Block/Config/Baseurl.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
}
|
9 |
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
10 |
{
|
11 |
-
return Mage::getBaseUrl();
|
12 |
}
|
13 |
|
14 |
}
|
8 |
}
|
9 |
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
10 |
{
|
11 |
+
return '<span style="color:blue;">'.Mage::getBaseUrl().'</span>';
|
12 |
}
|
13 |
|
14 |
}
|
app/code/local/Biztech/Mobileassistant/etc/system.xml
CHANGED
@@ -64,6 +64,16 @@
|
|
64 |
<show_in_store>1</show_in_store>
|
65 |
<comment>Select Yes to enable this feature.</comment>
|
66 |
</enabled>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
<notification translate="label">
|
68 |
<label>Send Notification For</label>
|
69 |
<frontend_type>multiselect</frontend_type>
|
@@ -121,16 +131,6 @@
|
|
121 |
<show_in_store>1</show_in_store>
|
122 |
<comment>Enter your message which will be received on the Mobile app whenever a new product review is added.</comment>
|
123 |
</product_review_notification_msg>
|
124 |
-
<base_url translate="label">
|
125 |
-
<label>Store Base Url</label>
|
126 |
-
<frontend_type>text</frontend_type>
|
127 |
-
<frontend_model>mobileassistant/config_baseurl</frontend_model>
|
128 |
-
<sort_order>8</sort_order>
|
129 |
-
<show_in_default>1</show_in_default>
|
130 |
-
<show_in_website>1</show_in_website>
|
131 |
-
<show_in_store>1</show_in_store>
|
132 |
-
<comment>Diaplay Store Base Url.</comment>
|
133 |
-
</base_url>
|
134 |
<barcode_for_url translate="label">
|
135 |
<label>Store Base Url QRcode</label>
|
136 |
<frontend_type>text</frontend_type>
|
64 |
<show_in_store>1</show_in_store>
|
65 |
<comment>Select Yes to enable this feature.</comment>
|
66 |
</enabled>
|
67 |
+
<base_url translate="label">
|
68 |
+
<label>Store Base Url</label>
|
69 |
+
<frontend_type>text</frontend_type>
|
70 |
+
<frontend_model>mobileassistant/config_baseurl</frontend_model>
|
71 |
+
<sort_order>1</sort_order>
|
72 |
+
<show_in_default>1</show_in_default>
|
73 |
+
<show_in_website>1</show_in_website>
|
74 |
+
<show_in_store>1</show_in_store>
|
75 |
+
<comment>Configure this URL on your device.</comment>
|
76 |
+
</base_url>
|
77 |
<notification translate="label">
|
78 |
<label>Send Notification For</label>
|
79 |
<frontend_type>multiselect</frontend_type>
|
131 |
<show_in_store>1</show_in_store>
|
132 |
<comment>Enter your message which will be received on the Mobile app whenever a new product review is added.</comment>
|
133 |
</product_review_notification_msg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
<barcode_for_url translate="label">
|
135 |
<label>Store Base Url QRcode</label>
|
136 |
<frontend_type>text</frontend_type>
|
app/etc/modules/Biztech_All.xml
DELETED
@@ -1,52 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* @category Biztech
|
5 |
-
* @package Biztech_All
|
6 |
-
* @author ModuleCreator
|
7 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
8 |
-
*/
|
9 |
-
-->
|
10 |
-
<config>
|
11 |
-
<modules>
|
12 |
-
<Biztech_All>
|
13 |
-
<active>true</active>
|
14 |
-
<codePool>local</codePool>
|
15 |
-
</Biztech_All>
|
16 |
-
</modules>
|
17 |
-
<adminhtml>
|
18 |
-
<acl>
|
19 |
-
<resources>
|
20 |
-
<all>
|
21 |
-
<title>Allow Everything</title>
|
22 |
-
</all>
|
23 |
-
<admin>
|
24 |
-
<children>
|
25 |
-
<Biztech_All>
|
26 |
-
<title>All</title>
|
27 |
-
<sort_order>10</sort_order>
|
28 |
-
</Biztech_All>
|
29 |
-
<system>
|
30 |
-
<children>
|
31 |
-
<config>
|
32 |
-
<children>
|
33 |
-
<all>
|
34 |
-
<title>All</title>
|
35 |
-
</all>
|
36 |
-
</children>
|
37 |
-
</config>
|
38 |
-
</children>
|
39 |
-
</system>
|
40 |
-
</children>
|
41 |
-
</admin>
|
42 |
-
</resources>
|
43 |
-
</acl>
|
44 |
-
<layout>
|
45 |
-
<updates>
|
46 |
-
<all>
|
47 |
-
<file>all.xml</file>
|
48 |
-
</all>
|
49 |
-
</updates>
|
50 |
-
</layout>
|
51 |
-
</adminhtml>
|
52 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>magento_mobile_assistant_manager</name>
|
4 |
-
<version>0.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -25,11 +25,11 @@ To ensure smooth working of this extension you need to download this extension i
|
|
25 |
Application Download Link:
|
26 |
https://itunes.apple.com/us/app/magentomobilemanager/id695074519?mt=8&ign-mpt=uo%3D4
|
27 |
</description>
|
28 |
-
<notes>-
|
29 |
<authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
|
30 |
-
<date>2016-07-
|
31 |
-
<time>
|
32 |
-
<contents><target name="
|
33 |
<compatible/>
|
34 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
35 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>magento_mobile_assistant_manager</name>
|
4 |
+
<version>0.2.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
25 |
Application Download Link:
|
26 |
https://itunes.apple.com/us/app/magentomobilemanager/id695074519?mt=8&ign-mpt=uo%3D4
|
27 |
</description>
|
28 |
+
<notes>- Enhancement</notes>
|
29 |
<authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
|
30 |
+
<date>2016-07-19</date>
|
31 |
+
<time>04:52:31</time>
|
32 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Biztech_Mobileassistant.xml" hash="18d9cf7b8e516db899336adfd8210621"/><file name="Biztech_Authentication.xml" hash="149998e1599f43939f13cbc059123c8f"/></dir></target><target name="mage"><dir name="lib"><dir name="mobileassistant"><file name="pushcert.pem" hash="ae01f2353e11081071f5fa7e06bef9c1"/></dir></dir><dir name="."><file name="MageMobAdmin.pdf" hash=""/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mobileassistant"><dir name="system"><dir name="config"><file name="barcode.phtml" hash="4316de57ba76dc0f3d581fd149830920"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Authentication"><dir name="controllers"><file name="IndexController.php" hash="c2ed951c28b0ca4a2009b64c9cf28a40"/></dir><dir name="etc"><file name="config.xml" hash="d12ebc10e7781ff82323e54ff7713dae"/></dir></dir><dir name="Mobileassistant"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Renderer"><file name="Website.php" hash="0c1e8edeea8f34380803f2ee8caaf0e8"/></dir></dir></dir><file name="Enabledisable.php" hash="3b2fcf73b42be06f35b8661d14c11293"/></dir><dir name="Config"><file name="Barcodeurl.php" hash="6dc63c4a9f259cb5fb854d39c9057eaa"/><file name="Baseurl.php" hash="afc86dd6d73b665f610613933d8a9d5f"/><file name=".LCKBaseurl.php~" hash="3a2b712196fc12ed484916becec79e61"/></dir></dir><dir name="Helper"><file name="Data.php" hash="951e2c003267660cf66a5110f7c1f0df"/></dir><dir name="Model"><dir name="Mobileassistant"><file name="Api.php" hash="4e8e1f556fc8f1d9e6c2f520a3a84e52"/></dir><file name="Mobileassistant.php" hash="68e160bf752ec8c1facc514389c00849"/><dir name="Mysql4"><dir name="Mobileassistant"><file name="Collection.php" hash="e9319365535ec2c42429ea1d9dbdc097"/></dir><file name="Mobileassistant.php" hash="62dc51f43aa6dff1dc762646b71cd600"/></dir><file name="Observer.php" hash="b40ccaabbc9d2fb2312097dba1f93389"/><dir name="System"><dir name="Config"><file name="Notification.php" hash="fdaacb629e9b200fc4d778ab4173f55a"/><file name="Notification_30-1-2016.php" hash="e534c166867436b3ab6c5d3a9c0e5d45"/></dir></dir></dir><dir name="controllers"><file name="CustomerController.php" hash="43619f8ab81eb651a34e7fab791af613"/><file name="DashboardController.php" hash="74ab167f27cb2a2fb1e5f7a636896668"/><file name="IndexController.php" hash="a3f18e83cd9fd2887ce82e3305c27b28"/><file name="OrderController.php" hash="14e4ef67dc8b5cd4aa0e4a4e4235a966"/><file name="ProductController.php" hash="cbeea2ed1c12baada5b2fb2ba593e78c"/></dir><dir name="etc"><file name="api.xml" hash="7860c9fe0f121148eb2a3a498d1879b1"/><file name="config.xml" hash="728d352e24878516ce118759978b7054"/><file name="system.xml" hash="0e2f664f7a4849ba06b40618d866d493"/></dir><dir name="sql"><dir name="mobileassistant_setup"><file name="mysql4-install-0.1.0.php" hash="4f06ae1c3c5362b88fae1b1951a6b02a"/><file name="mysql4-upgrade-0.1.0-0.1.4.php" hash="172e9ecba3b5b385cef1c257b2af4bfa"/><file name="mysql4-upgrade-0.1.10-0.2.0.php" hash="dcb5288e356d3c36838446bbcadf6a2e"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="bd4adba7146d89fed6c548dd46a30a81"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="88ea6198ef876da921faebb1aa067485"/><file name="mysql4-upgrade-0.1.6-0.1.10.php" hash="88ea6198ef876da921faebb1aa067485"/></dir></dir></dir></dir></target></contents>
|
33 |
<compatible/>
|
34 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
35 |
</package>
|