Version Notes
Email marketing
Download this release
Release Info
Developer | bento |
Extension | Licentia_Fidelitas |
Version | 2.7.0.0 |
Comparing to | |
See all releases |
Code changes from version 2.6.3.1 to 2.7.0.0
- app/code/community/Licentia/Fidelitas/.DS_Store +0 -0
- app/code/community/Licentia/Fidelitas/Model/Egoi.php +13 -45
- app/code/community/Licentia/Fidelitas/controllers/.DS_Store +0 -0
- app/code/community/Licentia/Fidelitas/controllers/Adminhtml/Fidelitas/AccountController.php +81 -30
- app/code/community/Licentia/Fidelitas/etc/config.xml +3 -3
- app/code/community/Licentia/Fidelitas/sql/fidelitas_setup/mysql4-upgrade-2.6.3.1-2.7.0.0.php +25 -0
- package.xml +4 -4
app/code/community/Licentia/Fidelitas/.DS_Store
ADDED
Binary file
|
app/code/community/Licentia/Fidelitas/Model/Egoi.php
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
define('RestUrl', 'http://api.e-goi.com/');
|
4 |
-
define('RestPath', '/v2/rest.php');
|
5 |
|
6 |
class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
7 |
{
|
@@ -20,7 +18,7 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
20 |
|
21 |
ini_set('default_socket_timeout', 10);
|
22 |
|
23 |
-
$this->rpc = new
|
24 |
|
25 |
$this->_client = new Zend_Soap_Client(self::API_URL, array("user_agent" => "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120403211507 Firefox/12.0"));
|
26 |
}
|
@@ -226,6 +224,12 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
226 |
->addFieldToFilter('subscriber_status', 1)
|
227 |
->addFieldToFilter('subscriber_id', array('gt' => $lastSync));
|
228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
if ($meta->getSize() == 0) {
|
230 |
return true;
|
231 |
}
|
@@ -246,6 +250,10 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
246 |
->addFieldToFilter('subscriber_status', 1)
|
247 |
->addFieldToFilter('subscriber_id', array('gt' => $lastSync));
|
248 |
|
|
|
|
|
|
|
|
|
249 |
$subscribers = array();
|
250 |
$indexArray = array();
|
251 |
$subI = 0;
|
@@ -433,7 +441,8 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
433 |
'subscribers' => $subscribers,
|
434 |
);
|
435 |
|
436 |
-
$
|
|
|
437 |
|
438 |
if (count($subscribers) == 200) {
|
439 |
$cron = Mage::getModel('cron/schedule');
|
@@ -665,46 +674,5 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
665 |
];
|
666 |
}
|
667 |
|
668 |
-
function call($method, $map)
|
669 |
-
{
|
670 |
-
|
671 |
-
$params = $this->buildParams($method, $map);
|
672 |
-
$resp = $this->rpc->restGet(RestPath, $params);
|
673 |
-
$map = Zend_Json::decode($resp->getBody(), Zend_Json::TYPE_ARRAY);
|
674 |
-
$map = $map["Egoi_Api"][$method];
|
675 |
-
unset($map['status']);
|
676 |
-
|
677 |
-
return $this->walkMap($map);
|
678 |
-
}
|
679 |
-
|
680 |
-
function walkMap($map)
|
681 |
-
{
|
682 |
-
|
683 |
-
if (array_key_exists("key_0", $map)) {
|
684 |
-
$mrl = [];
|
685 |
-
foreach ($map as $k => $v) {
|
686 |
-
if (strpos($k, "key_") != 0) {
|
687 |
-
continue;
|
688 |
-
}
|
689 |
-
$mrl[] = $this->walkValues($v);
|
690 |
-
}
|
691 |
-
|
692 |
-
return $mrl;
|
693 |
-
} else {
|
694 |
-
return $this->walkValues($map);
|
695 |
-
}
|
696 |
-
}
|
697 |
-
|
698 |
-
function walkValues($map)
|
699 |
-
{
|
700 |
-
|
701 |
-
foreach ($map as $k => $v) {
|
702 |
-
if (is_array($v)) {
|
703 |
-
$map[$k] = $this->walkMap($v);
|
704 |
-
}
|
705 |
-
}
|
706 |
-
|
707 |
-
return $map;
|
708 |
-
}
|
709 |
|
710 |
}
|
1 |
<?php
|
2 |
|
|
|
|
|
3 |
|
4 |
class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
5 |
{
|
18 |
|
19 |
ini_set('default_socket_timeout', 10);
|
20 |
|
21 |
+
$this->rpc = new Zend_XmlRpc_Client('http://api.e-goi.com/v2/xmlrpc.php');
|
22 |
|
23 |
$this->_client = new Zend_Soap_Client(self::API_URL, array("user_agent" => "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120403211507 Firefox/12.0"));
|
24 |
}
|
224 |
->addFieldToFilter('subscriber_status', 1)
|
225 |
->addFieldToFilter('subscriber_id', array('gt' => $lastSync));
|
226 |
|
227 |
+
$yesterday = date('Y-m-d 00:00:00', strtotime('yesterday'));
|
228 |
+
|
229 |
+
if (!$generate) {
|
230 |
+
$meta->addFieldToFilter('fidelitas_updated_at', array('gteq' => $yesterday));
|
231 |
+
}
|
232 |
+
|
233 |
if ($meta->getSize() == 0) {
|
234 |
return true;
|
235 |
}
|
250 |
->addFieldToFilter('subscriber_status', 1)
|
251 |
->addFieldToFilter('subscriber_id', array('gt' => $lastSync));
|
252 |
|
253 |
+
if (!$generate) {
|
254 |
+
$meta->addFieldToFilter('fidelitas_updated_at', array('gteq' => $yesterday));
|
255 |
+
}
|
256 |
+
|
257 |
$subscribers = array();
|
258 |
$indexArray = array();
|
259 |
$subI = 0;
|
441 |
'subscribers' => $subscribers,
|
442 |
);
|
443 |
|
444 |
+
$client = new Zend_XmlRpc_Client('http://api.e-goi.com/v2/xmlrpc.php');
|
445 |
+
$result = $client->call('addSubscriberBulk', array($params));
|
446 |
|
447 |
if (count($subscribers) == 200) {
|
448 |
$cron = Mage::getModel('cron/schedule');
|
674 |
];
|
675 |
}
|
676 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
677 |
|
678 |
}
|
app/code/community/Licentia/Fidelitas/controllers/.DS_Store
ADDED
Binary file
|
app/code/community/Licentia/Fidelitas/controllers/Adminhtml/Fidelitas/AccountController.php
CHANGED
@@ -5,18 +5,19 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
5 |
|
6 |
protected function _initAction()
|
7 |
{
|
|
|
8 |
$this->loadLayout()
|
9 |
-
|
|
|
10 |
return $this;
|
11 |
}
|
12 |
|
13 |
public function refreshAction()
|
14 |
{
|
15 |
|
16 |
-
|
17 |
$core = Mage::getModel('newsletter/subscriber')
|
18 |
-
|
19 |
-
|
20 |
|
21 |
/** @var Mage_Newsletter_Model_Subscriber $susbcriber */
|
22 |
foreach ($core as $susbcriber) {
|
@@ -48,6 +49,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
48 |
|
49 |
public function validateSmtpAction()
|
50 |
{
|
|
|
51 |
try {
|
52 |
|
53 |
$transport = Mage::helper('fidelitas')->getSmtpTransport();
|
@@ -56,14 +58,18 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
56 |
$salesEmail = Mage::getStoreConfig('trans_email/ident_general/email');
|
57 |
|
58 |
$mail = new Zend_Mail('utf-8');
|
59 |
-
$mail->setBodyHtml(
|
|
|
|
|
60 |
$mail->setFrom($salesEmail, $salesSender)
|
61 |
-
|
62 |
-
|
63 |
|
64 |
$mail->send($transport);
|
65 |
|
66 |
-
$this->_getSession()->addSuccess(
|
|
|
|
|
67 |
|
68 |
} catch (Exception $e) {
|
69 |
$this->_getSession()->addError('Error Testing your Settings: ' . $e->getMessage());
|
@@ -74,6 +80,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
74 |
|
75 |
public function listAction()
|
76 |
{
|
|
|
77 |
try {
|
78 |
$listnum = $this->getRequest()->getPost('list_id');
|
79 |
|
@@ -85,7 +92,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
85 |
/** @var Mage_Core_Model_Resource $resource */
|
86 |
$resource = Mage::getSingleton('core/resource');
|
87 |
$write = $resource->getConnection('core_write');
|
88 |
-
$write->update($resource->getTableName('fidelitas_subscribers'),
|
89 |
|
90 |
}
|
91 |
$this->_getSession()->addSuccess($this->__('List Updated. Please map the attributes to the new list'));
|
@@ -96,6 +103,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
96 |
}
|
97 |
|
98 |
$this->_redirect('*/fidelitas_lists/');
|
|
|
99 |
return;
|
100 |
}
|
101 |
|
@@ -104,28 +112,35 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
104 |
|
105 |
try {
|
106 |
$cron = Mage::getModel('cron/schedule')
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
|
111 |
$firstDay = new Zend_Date($cron['finished_at']);
|
112 |
$lastDay = new Zend_Date(now());
|
113 |
$diff = $lastDay->sub($firstDay)->toValue('m');
|
114 |
|
115 |
if ($diff > 20 || !$cron->getId()) {
|
116 |
-
$this->_getSession()->addError(
|
|
|
|
|
117 |
}
|
118 |
|
119 |
$auth = Mage::getModel('fidelitas/egoi')->validateEgoiEnvironment();
|
120 |
if (!$auth) {
|
121 |
$this->_redirect('adminhtml/fidelitas_account/new');
|
|
|
122 |
return;
|
123 |
}
|
124 |
|
125 |
$okList = Mage::getModel('fidelitas/lists')->getList(true, true);
|
126 |
|
127 |
if (is_integer($okList) && $okList == -1) {
|
128 |
-
$this->_getSession()->addError(
|
|
|
|
|
|
|
|
|
129 |
}
|
130 |
} catch (Exception $e) {
|
131 |
|
@@ -157,8 +172,8 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
157 |
#$file = Mage::getBaseDir('tmp') . '/egoi_export.csv';
|
158 |
#return $this->_prepareDownloadResponse('egoi_export.csv', file_get_contents($file));
|
159 |
|
160 |
-
|
161 |
$this->_getSession()->addSuccess('You will get an email when the file is reafy to download');
|
|
|
162 |
return $this->_redirect('*/fidelitas_account/index/');
|
163 |
}
|
164 |
|
@@ -171,6 +186,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
171 |
$this->_getSession()->addSuccess($this->__('Data will be synced next time cron runs'));
|
172 |
|
173 |
$this->_redirect('*/*/');
|
|
|
174 |
return;
|
175 |
|
176 |
}
|
@@ -181,7 +197,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
181 |
$core = Mage::getModel('core/config');
|
182 |
$core->saveConfig('fidelitas/config/api_key', "0", 'default', 0);
|
183 |
|
184 |
-
$data =
|
185 |
|
186 |
$resource = Mage::getSingleton('core/resource');
|
187 |
$write = $resource->getConnection('core_write');
|
@@ -210,14 +226,21 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
210 |
|
211 |
public function supportAction()
|
212 |
{
|
213 |
-
|
|
|
|
|
|
|
|
|
|
|
214 |
|
215 |
$firstDay = new Zend_Date($cron['finished_at']);
|
216 |
$lastDay = new Zend_Date(now());
|
217 |
$diff = $lastDay->sub($firstDay)->get('m');
|
218 |
|
219 |
if ($diff > 20 || !$cron->getId()) {
|
220 |
-
$this->_getSession()->addError(
|
|
|
|
|
221 |
}
|
222 |
|
223 |
$info = Mage::getModel('fidelitas/egoi')->getUserData()->getData();
|
@@ -269,6 +292,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
269 |
}
|
270 |
|
271 |
$this->_redirectReferer();
|
|
|
272 |
return;
|
273 |
}
|
274 |
|
@@ -276,20 +300,32 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
276 |
$this->_setActiveMenu('fidelitas/account');
|
277 |
|
278 |
$this->_addContent($this->getLayout()->createBlock('fidelitas/adminhtml_account_support_edit'))
|
279 |
-
|
280 |
|
281 |
$this->renderLayout();
|
282 |
}
|
283 |
|
284 |
public function newAction()
|
285 |
{
|
|
|
286 |
$this->getRequest()->setParam('op', 'api');
|
287 |
$op = $this->getRequest()->getParam('op');
|
288 |
|
289 |
if ($op == 'api') {
|
290 |
-
$this->_getSession()->addNotice(
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
} else {
|
292 |
-
$this->_getSession()->addNotice(
|
|
|
|
|
|
|
|
|
|
|
293 |
}
|
294 |
|
295 |
$model = new Varien_Object();
|
@@ -305,13 +341,14 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
305 |
$this->_setActiveMenu('fidelitas/account');
|
306 |
|
307 |
$this->_addContent($this->getLayout()->createBlock('fidelitas/adminhtml_account_new_edit'))
|
308 |
-
|
309 |
|
310 |
$this->renderLayout();
|
311 |
}
|
312 |
|
313 |
public function firstAction()
|
314 |
{
|
|
|
315 |
$this->_initAction();
|
316 |
$this->_getSession()->setData('fidelitas_first_run', true);
|
317 |
|
@@ -321,15 +358,16 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
321 |
|
322 |
} catch (Exception $e) {
|
323 |
$this->_getSession()->addError('NO_MORE_LISTS_ALLOWED');
|
324 |
-
$this->_redirect('*/*/',
|
|
|
325 |
return;
|
326 |
}
|
327 |
|
328 |
$this->_redirect('*/*/sync');
|
|
|
329 |
return;
|
330 |
}
|
331 |
|
332 |
-
|
333 |
public function syncAction()
|
334 |
{
|
335 |
|
@@ -337,14 +375,16 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
337 |
$user = $admin->getId();
|
338 |
|
339 |
if ($this->_getSession()->getData('fidelitas_first_run') === true) {
|
340 |
-
Mage::getModel('fidelitas/account')->getAccount()->setData('cron', 3)->setData('notify_user', $user)->save(
|
|
|
341 |
} else {
|
342 |
-
Mage::getModel('fidelitas/account')->getAccount()->setData('cron', 1)->setData('notify_user', $user)->save(
|
|
|
343 |
}
|
344 |
|
345 |
$cron = Mage::getModel('cron/schedule')->getCollection()
|
346 |
-
|
347 |
-
|
348 |
|
349 |
if ($cron->getSize() > 0) {
|
350 |
$this->_getSession()->addError($this->__('Please wait until previous cron ends'));
|
@@ -359,26 +399,35 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
359 |
}
|
360 |
|
361 |
$this->_redirect('*/*/');
|
|
|
362 |
return;
|
363 |
}
|
364 |
|
365 |
public function saveAction()
|
366 |
{
|
|
|
367 |
if ($this->getRequest()->isPost()) {
|
368 |
$data = $this->getRequest()->getPost();
|
369 |
try {
|
370 |
-
$model = Mage::getModel('fidelitas/egoi')->setData('api_key', $data['api_key'])->checkLogin(
|
|
|
|
|
371 |
if ($model->getData('user_id')) {
|
372 |
Mage::getConfig()->saveConfig('fidelitas/config/api_key', $data['api_key']);
|
373 |
Mage::getConfig()->cleanCache();
|
374 |
|
375 |
$lists = Mage::getModel('fidelitas/egoi')->getLists();
|
376 |
if (count($lists->getData()) == 0) {
|
377 |
-
$this->_getSession()->addSuccess(
|
|
|
|
|
|
|
|
|
378 |
} else {
|
379 |
$this->_getSession()->addSuccess($this->__('Success!!!'));
|
380 |
}
|
381 |
$this->_redirect('*/*/first/op/ok');
|
|
|
382 |
return;
|
383 |
}
|
384 |
|
@@ -386,6 +435,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
386 |
|
387 |
$this->_getSession()->addError($this->__('Apikey invalid'));
|
388 |
$this->_redirect('*/*/new/op/api');
|
|
|
389 |
return;
|
390 |
}
|
391 |
|
@@ -395,6 +445,7 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_AccountController extends Mage_Admi
|
|
395 |
|
396 |
protected function _isAllowed()
|
397 |
{
|
|
|
398 |
return Mage::getSingleton('admin/session')->isAllowed('fidelitas/account');
|
399 |
}
|
400 |
|
5 |
|
6 |
protected function _initAction()
|
7 |
{
|
8 |
+
|
9 |
$this->loadLayout()
|
10 |
+
->_setActiveMenu('fidelitas/account');
|
11 |
+
|
12 |
return $this;
|
13 |
}
|
14 |
|
15 |
public function refreshAction()
|
16 |
{
|
17 |
|
|
|
18 |
$core = Mage::getModel('newsletter/subscriber')
|
19 |
+
->getCollection()
|
20 |
+
->addFieldToFilter('subscriber_status', 1);
|
21 |
|
22 |
/** @var Mage_Newsletter_Model_Subscriber $susbcriber */
|
23 |
foreach ($core as $susbcriber) {
|
49 |
|
50 |
public function validateSmtpAction()
|
51 |
{
|
52 |
+
|
53 |
try {
|
54 |
|
55 |
$transport = Mage::helper('fidelitas')->getSmtpTransport();
|
58 |
$salesEmail = Mage::getStoreConfig('trans_email/ident_general/email');
|
59 |
|
60 |
$mail = new Zend_Mail('utf-8');
|
61 |
+
$mail->setBodyHtml(
|
62 |
+
'If you are receiving this message, everything seems to be ok with your SMTP configuration'
|
63 |
+
);
|
64 |
$mail->setFrom($salesEmail, $salesSender)
|
65 |
+
->addTo($salesEmail, $salesSender)
|
66 |
+
->setSubject('E-Goi / Magento - Test');
|
67 |
|
68 |
$mail->send($transport);
|
69 |
|
70 |
+
$this->_getSession()->addSuccess(
|
71 |
+
'Success. Everything seems to be ok with your setting. We sent an email to ' . $salesEmail
|
72 |
+
);
|
73 |
|
74 |
} catch (Exception $e) {
|
75 |
$this->_getSession()->addError('Error Testing your Settings: ' . $e->getMessage());
|
80 |
|
81 |
public function listAction()
|
82 |
{
|
83 |
+
|
84 |
try {
|
85 |
$listnum = $this->getRequest()->getPost('list_id');
|
86 |
|
92 |
/** @var Mage_Core_Model_Resource $resource */
|
93 |
$resource = Mage::getSingleton('core/resource');
|
94 |
$write = $resource->getConnection('core_write');
|
95 |
+
$write->update($resource->getTableName('fidelitas_subscribers'), ['list' => $listnum]);
|
96 |
|
97 |
}
|
98 |
$this->_getSession()->addSuccess($this->__('List Updated. Please map the attributes to the new list'));
|
103 |
}
|
104 |
|
105 |
$this->_redirect('*/fidelitas_lists/');
|
106 |
+
|
107 |
return;
|
108 |
}
|
109 |
|
112 |
|
113 |
try {
|
114 |
$cron = Mage::getModel('cron/schedule')
|
115 |
+
->getCollection()->setOrder('finished_at', 'DESC')
|
116 |
+
->setPageSize(1)
|
117 |
+
->getFirstItem();
|
118 |
|
119 |
$firstDay = new Zend_Date($cron['finished_at']);
|
120 |
$lastDay = new Zend_Date(now());
|
121 |
$diff = $lastDay->sub($firstDay)->toValue('m');
|
122 |
|
123 |
if ($diff > 20 || !$cron->getId()) {
|
124 |
+
$this->_getSession()->addError(
|
125 |
+
$this->__('WARNING: Your cron is not running. Background data sync will not occur.')
|
126 |
+
);
|
127 |
}
|
128 |
|
129 |
$auth = Mage::getModel('fidelitas/egoi')->validateEgoiEnvironment();
|
130 |
if (!$auth) {
|
131 |
$this->_redirect('adminhtml/fidelitas_account/new');
|
132 |
+
|
133 |
return;
|
134 |
}
|
135 |
|
136 |
$okList = Mage::getModel('fidelitas/lists')->getList(true, true);
|
137 |
|
138 |
if (is_integer($okList) && $okList == -1) {
|
139 |
+
$this->_getSession()->addError(
|
140 |
+
$this->__(
|
141 |
+
'WARNING: We cannot find your E-Goi List Mapped to this Store. If this errors continues, please use the section on your right "Clear Data" to disconnect and start the mapping process again'
|
142 |
+
)
|
143 |
+
);
|
144 |
}
|
145 |
} catch (Exception $e) {
|
146 |
|
172 |
#$file = Mage::getBaseDir('tmp') . '/egoi_export.csv';
|
173 |
#return $this->_prepareDownloadResponse('egoi_export.csv', file_get_contents($file));
|
174 |
|
|
|
175 |
$this->_getSession()->addSuccess('You will get an email when the file is reafy to download');
|
176 |
+
|
177 |
return $this->_redirect('*/fidelitas_account/index/');
|
178 |
}
|
179 |
|
186 |
$this->_getSession()->addSuccess($this->__('Data will be synced next time cron runs'));
|
187 |
|
188 |
$this->_redirect('*/*/');
|
189 |
+
|
190 |
return;
|
191 |
|
192 |
}
|
197 |
$core = Mage::getModel('core/config');
|
198 |
$core->saveConfig('fidelitas/config/api_key', "0", 'default', 0);
|
199 |
|
200 |
+
$data = ['lists', 'autoresponders', 'events', 'subscribers', 'extra'];
|
201 |
|
202 |
$resource = Mage::getSingleton('core/resource');
|
203 |
$write = $resource->getConnection('core_write');
|
226 |
|
227 |
public function supportAction()
|
228 |
{
|
229 |
+
|
230 |
+
$cron = Mage::getModel('cron/schedule')
|
231 |
+
->getCollection()
|
232 |
+
->setOrder('finished_at', 'DESC')
|
233 |
+
->setPageSize(1)
|
234 |
+
->getFirstItem();
|
235 |
|
236 |
$firstDay = new Zend_Date($cron['finished_at']);
|
237 |
$lastDay = new Zend_Date(now());
|
238 |
$diff = $lastDay->sub($firstDay)->get('m');
|
239 |
|
240 |
if ($diff > 20 || !$cron->getId()) {
|
241 |
+
$this->_getSession()->addError(
|
242 |
+
$this->__('WARNING: Your cron is not running. Background data sync will not occur.')
|
243 |
+
);
|
244 |
}
|
245 |
|
246 |
$info = Mage::getModel('fidelitas/egoi')->getUserData()->getData();
|
292 |
}
|
293 |
|
294 |
$this->_redirectReferer();
|
295 |
+
|
296 |
return;
|
297 |
}
|
298 |
|
300 |
$this->_setActiveMenu('fidelitas/account');
|
301 |
|
302 |
$this->_addContent($this->getLayout()->createBlock('fidelitas/adminhtml_account_support_edit'))
|
303 |
+
->_addLeft($this->getLayout()->createBlock('fidelitas/adminhtml_account_support_edit_tabs'));
|
304 |
|
305 |
$this->renderLayout();
|
306 |
}
|
307 |
|
308 |
public function newAction()
|
309 |
{
|
310 |
+
|
311 |
$this->getRequest()->setParam('op', 'api');
|
312 |
$op = $this->getRequest()->getParam('op');
|
313 |
|
314 |
if ($op == 'api') {
|
315 |
+
$this->_getSession()->addNotice(
|
316 |
+
$this->__(
|
317 |
+
"If you don't have an E-Goi account please %s. If you want to know more about E-Goi %s",
|
318 |
+
'<a target="_blank" href="http://bo.e-goi.com/?action=registo&aff=fadb7a3c20">click here</a>',
|
319 |
+
'<a target="_blank" href="http://www.e-goi.com/index.php?aff=fadb7a3c20">click here</a>'
|
320 |
+
)
|
321 |
+
);
|
322 |
} else {
|
323 |
+
$this->_getSession()->addNotice(
|
324 |
+
$this->__(
|
325 |
+
'If you already have an E-Goi account please %s',
|
326 |
+
'<a href="' . $this->getUrl('*/*/*/op/api') . '">click here</a>'
|
327 |
+
)
|
328 |
+
);
|
329 |
}
|
330 |
|
331 |
$model = new Varien_Object();
|
341 |
$this->_setActiveMenu('fidelitas/account');
|
342 |
|
343 |
$this->_addContent($this->getLayout()->createBlock('fidelitas/adminhtml_account_new_edit'))
|
344 |
+
->_addLeft($this->getLayout()->createBlock('fidelitas/adminhtml_account_new_edit_tabs'));
|
345 |
|
346 |
$this->renderLayout();
|
347 |
}
|
348 |
|
349 |
public function firstAction()
|
350 |
{
|
351 |
+
|
352 |
$this->_initAction();
|
353 |
$this->_getSession()->setData('fidelitas_first_run', true);
|
354 |
|
358 |
|
359 |
} catch (Exception $e) {
|
360 |
$this->_getSession()->addError('NO_MORE_LISTS_ALLOWED');
|
361 |
+
$this->_redirect('*/*/', ['id' => $this->getRequest()->getParam('id')]);
|
362 |
+
|
363 |
return;
|
364 |
}
|
365 |
|
366 |
$this->_redirect('*/*/sync');
|
367 |
+
|
368 |
return;
|
369 |
}
|
370 |
|
|
|
371 |
public function syncAction()
|
372 |
{
|
373 |
|
375 |
$user = $admin->getId();
|
376 |
|
377 |
if ($this->_getSession()->getData('fidelitas_first_run') === true) {
|
378 |
+
Mage::getModel('fidelitas/account')->getAccount()->setData('cron', 3)->setData('notify_user', $user)->save(
|
379 |
+
);
|
380 |
} else {
|
381 |
+
Mage::getModel('fidelitas/account')->getAccount()->setData('cron', 1)->setData('notify_user', $user)->save(
|
382 |
+
);
|
383 |
}
|
384 |
|
385 |
$cron = Mage::getModel('cron/schedule')->getCollection()
|
386 |
+
->addFieldToFilter('job_code', 'fidelitas_sync_manually')
|
387 |
+
->addFieldToFilter('status', 'pending');
|
388 |
|
389 |
if ($cron->getSize() > 0) {
|
390 |
$this->_getSession()->addError($this->__('Please wait until previous cron ends'));
|
399 |
}
|
400 |
|
401 |
$this->_redirect('*/*/');
|
402 |
+
|
403 |
return;
|
404 |
}
|
405 |
|
406 |
public function saveAction()
|
407 |
{
|
408 |
+
|
409 |
if ($this->getRequest()->isPost()) {
|
410 |
$data = $this->getRequest()->getPost();
|
411 |
try {
|
412 |
+
$model = Mage::getModel('fidelitas/egoi')->setData('api_key', $data['api_key'])->checkLogin(
|
413 |
+
$data['api_key']
|
414 |
+
);
|
415 |
if ($model->getData('user_id')) {
|
416 |
Mage::getConfig()->saveConfig('fidelitas/config/api_key', $data['api_key']);
|
417 |
Mage::getConfig()->cleanCache();
|
418 |
|
419 |
$lists = Mage::getModel('fidelitas/egoi')->getLists();
|
420 |
if (count($lists->getData()) == 0) {
|
421 |
+
$this->_getSession()->addSuccess(
|
422 |
+
$this->__(
|
423 |
+
'Success!!! Please wait while we setup the environment. Don\'t close or refresh this page.'
|
424 |
+
)
|
425 |
+
);
|
426 |
} else {
|
427 |
$this->_getSession()->addSuccess($this->__('Success!!!'));
|
428 |
}
|
429 |
$this->_redirect('*/*/first/op/ok');
|
430 |
+
|
431 |
return;
|
432 |
}
|
433 |
|
435 |
|
436 |
$this->_getSession()->addError($this->__('Apikey invalid'));
|
437 |
$this->_redirect('*/*/new/op/api');
|
438 |
+
|
439 |
return;
|
440 |
}
|
441 |
|
445 |
|
446 |
protected function _isAllowed()
|
447 |
{
|
448 |
+
|
449 |
return Mage::getSingleton('admin/session')->isAllowed('fidelitas/account');
|
450 |
}
|
451 |
|
app/code/community/Licentia/Fidelitas/etc/config.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<config>
|
4 |
<modules>
|
5 |
<Licentia_Fidelitas>
|
6 |
-
<version>2.
|
7 |
</Licentia_Fidelitas>
|
8 |
</modules>
|
9 |
<frontend>
|
@@ -216,7 +216,7 @@
|
|
216 |
</fidelitas_sync_manually>
|
217 |
<fidelitas_sync_bulk>
|
218 |
<schedule>
|
219 |
-
<cron_expr>15 3 * *
|
220 |
</schedule>
|
221 |
<run>
|
222 |
<model>fidelitas/egoi::addSubscriberBulk</model>
|
@@ -232,7 +232,7 @@
|
|
232 |
</fidelitas_export_bulk>
|
233 |
<fidelitas_sync>
|
234 |
<schedule>
|
235 |
-
<cron_expr>0 3 * *
|
236 |
</schedule>
|
237 |
<run>
|
238 |
<model>fidelitas/egoi::sync</model>
|
3 |
<config>
|
4 |
<modules>
|
5 |
<Licentia_Fidelitas>
|
6 |
+
<version>2.7.0.0</version>
|
7 |
</Licentia_Fidelitas>
|
8 |
</modules>
|
9 |
<frontend>
|
216 |
</fidelitas_sync_manually>
|
217 |
<fidelitas_sync_bulk>
|
218 |
<schedule>
|
219 |
+
<cron_expr>15 3 * * *</cron_expr>
|
220 |
</schedule>
|
221 |
<run>
|
222 |
<model>fidelitas/egoi::addSubscriberBulk</model>
|
232 |
</fidelitas_export_bulk>
|
233 |
<fidelitas_sync>
|
234 |
<schedule>
|
235 |
+
<cron_expr>0 3 * * *</cron_expr>
|
236 |
</schedule>
|
237 |
<run>
|
238 |
<model>fidelitas/egoi::sync</model>
|
app/code/community/Licentia/Fidelitas/sql/fidelitas_setup/mysql4-upgrade-2.6.3.1-2.7.0.0.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Licentia Fidelitas - SMS Notifications for E-Goi
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
* This source file is subject to the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
|
8 |
+
* It is available through the world-wide-web at this URL:
|
9 |
+
* http://creativecommons.org/licenses/by-nc-nd/4.0/
|
10 |
+
*
|
11 |
+
* @title SMS Notifications
|
12 |
+
* @category Marketing
|
13 |
+
* @package Licentia
|
14 |
+
* @author Bento Vilas Boas <bento@licentia.pt>
|
15 |
+
* @Copyright (c) 2016 E-Goi - http://e-goi.com
|
16 |
+
* @license Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
|
17 |
+
*/
|
18 |
+
$installer = $this;
|
19 |
+
$installer->startSetup();
|
20 |
+
|
21 |
+
$installer->run("ALTER TABLE `{$installer->getTable('newsletter_subscriber')}` ADD COLUMN `fidelitas_updated_at` datetime DEFAULT CURRENT_TIMESTAMP");
|
22 |
+
|
23 |
+
$installer->run("CREATE TRIGGER `fidelitas_change_update` BEFORE UPDATE ON `{$installer->getTable('newsletter_subscriber')}` FOR EACH ROW set NEW.fidelitas_updated_at = IF(NEW.subscriber_status=1 AND OLD.subscriber_status!=1,NOW(),OLD.fidelitas_updated_at)");
|
24 |
+
|
25 |
+
$installer->endSetup();
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Licentia_Fidelitas</name>
|
4 |
-
<version>2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons - Attribution-NonCommercial 4.0 International </license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Email marketing</description>
|
11 |
<notes>Email marketing</notes>
|
12 |
<authors><author><name>bento</name><user>licentia</user><email>bento@licentia.pt</email></author></authors>
|
13 |
-
<date>2017-07
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Licentia"><dir name="Fidelitas"><dir name="Block"><dir name="Adminhtml"><dir name="Account"><dir name="New"><dir name="Edit"><file name="Form.php" hash="6802d636f325a1c1e91515d906c35352"/><dir name="Tab"><file name="Api.php" hash="320ffbcc93452ab7c2ffd0a83aa96020"/><file name="Form.php" hash="d58c80db9a08fb05ae059e18215cb378"/></dir><file name="Tabs.php" hash="8add5cc4a3edbd6ef92c6f0a00db0e2e"/></dir><file name="Edit.php" hash="b86f3f3b32c38ba80c5e74bd0c858e08"/></dir><file name="New.php" hash="d5fc7f250b2d2cd816e4b5cc91242272"/><dir name="Support"><dir name="Edit"><file name="Form.php" hash="0eacee9a220ba52968442575c9f9a406"/><dir name="Tab"><file name="Form.php" hash="5cecbf817777f9322a8a4066805c6dd4"/></dir><file name="Tabs.php" hash="3de3e6aa7541058be94a4cdad5f479ae"/></dir><file name="Edit.php" hash="9dbc6988f63239978405ca3703ed2ce6"/></dir><file name="Support.php" hash="8a8ca7ba9dd695f10fca5e6f2fe7b55a"/><dir name="Sync"><dir name="Edit"><file name="Form.php" hash="f0283c4d94ded6843b5d807cd8ef1a29"/><dir name="Tab"><file name="Form.php" hash="62aa790142e7c7d5f7c1efd403bc8caf"/></dir><file name="Tabs.php" hash="69846a0c99c896a88e9ab56766d7e53f"/></dir><file name="Edit.php" hash="564693d4f8dfb59b9ff0efd47a1119cd"/></dir><file name="Sync.php" hash="2c1d8b495043e8f07dcd9e360bb188d3"/></dir><file name="Account.php" hash="7852371d0a9d7be6df7a2d06e2ee631c"/><dir name="Autoresponders"><dir name="Edit"><file name="Form.php" hash="356ca946f042ef4707f4c2d87d449852"/><dir name="Tab"><file name="Data.php" hash="bbacf805657b8f029d6b91b36d28bb77"/><file name="Main.php" hash="37bdc3f0d2b704bc1fb208a7f5515a6a"/></dir><file name="Tabs.php" hash="ea583251e1c289ef5bcb883140966474"/></dir><file name="Edit.php" hash="814a0172d583f9678cf6fa67972e0198"/><file name="Grid.php" hash="44ce976d0426680e89d84fd0327e6ae2"/></dir><file name="Autoresponders.php" hash="7e2d11c1b3bb81a3bd2e1e347c1dcf0f"/><dir name="Events"><file name="Grid.php" hash="fb96492b69dec4628b42a25c8bbfd284"/></dir><file name="Events.php" hash="d5e7420ab36d092fb36f0c800dd55a1d"/><dir name="Lists"><dir name="Edit"><file name="Form.php" hash="1887d528edc782f9c918894238e3e5a4"/><dir name="Tab"><file name="Main.php" hash="fa2ee28e4baf3b562df58e35a287ac08"/></dir><file name="Tabs.php" hash="b0687d00f6c93ea0955ad5432c2dc1ab"/></dir><file name="Edit.php" hash="f9e149d2b0922c33ffb89a99e256c4b3"/><file name="Grid.php" hash="c2684f64f5dac5e6e83a74a6d9cd0664"/></dir><file name="Lists.php" hash="cc3df10e61a0a0cef65deb0e7bd029bb"/><dir name="Subscribers"><dir name="Edit"><file name="Form.php" hash="aadce50da358d664c99fc2c27d519b2e"/><dir name="Tab"><file name="Form.php" hash="56f4c6b69545e15b3e4bfad1228c2d57"/></dir><file name="Tabs.php" hash="62462849bc5bd297fb764a075abb6b69"/></dir><file name="Edit.php" hash="c86c116e9b7894b653713db6c1f5b405"/><file name="Grid.php" hash="b6307e585a5e6feb8af3801db5b5019f"/></dir><file name="Subscribers.php" hash="5880102fd07c90d645fee6c9f90f5662"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Smtp.php" hash="9d069b87913cb35f90803f961c0e1c02"/><file name="Test.php" hash="55c625dced6d7e265c28377eed3fea21"/></dir></dir></dir></dir></dir><file name="Egoimmerce.php" hash="e95396e47ddac5af96d6a303840d63cc"/><file name="Products.php" hash="fe93effd102dc4b569725e37f6c004dd"/></dir><dir name="Helper"><file name="Data.php" hash="6c5e19e87fafb4f19410169664d50c3b"/></dir><dir name="Model"><file name="Account.php" hash="ac6a858eebdf9335b22e7cced2145fa8"/><file name="Autoresponders.php" hash="3f6808a6b9c7e356002c31cc00597317"/><file name="Egoi.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php><extension><name>soap</name><min/><max/></extension></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Licentia_Fidelitas</name>
|
4 |
+
<version>2.7.0.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons - Attribution-NonCommercial 4.0 International </license>
|
7 |
<channel>community</channel>
|
10 |
<description>Email marketing</description>
|
11 |
<notes>Email marketing</notes>
|
12 |
<authors><author><name>bento</name><user>licentia</user><email>bento@licentia.pt</email></author></authors>
|
13 |
+
<date>2017-08-07</date>
|
14 |
+
<time>20:31:29</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Licentia"><dir name="Fidelitas"><dir name="Block"><dir name="Adminhtml"><dir name="Account"><dir name="New"><dir name="Edit"><file name="Form.php" hash="6802d636f325a1c1e91515d906c35352"/><dir name="Tab"><file name="Api.php" hash="320ffbcc93452ab7c2ffd0a83aa96020"/><file name="Form.php" hash="d58c80db9a08fb05ae059e18215cb378"/></dir><file name="Tabs.php" hash="8add5cc4a3edbd6ef92c6f0a00db0e2e"/></dir><file name="Edit.php" hash="b86f3f3b32c38ba80c5e74bd0c858e08"/></dir><file name="New.php" hash="d5fc7f250b2d2cd816e4b5cc91242272"/><dir name="Support"><dir name="Edit"><file name="Form.php" hash="0eacee9a220ba52968442575c9f9a406"/><dir name="Tab"><file name="Form.php" hash="5cecbf817777f9322a8a4066805c6dd4"/></dir><file name="Tabs.php" hash="3de3e6aa7541058be94a4cdad5f479ae"/></dir><file name="Edit.php" hash="9dbc6988f63239978405ca3703ed2ce6"/></dir><file name="Support.php" hash="8a8ca7ba9dd695f10fca5e6f2fe7b55a"/><dir name="Sync"><dir name="Edit"><file name="Form.php" hash="f0283c4d94ded6843b5d807cd8ef1a29"/><dir name="Tab"><file name="Form.php" hash="62aa790142e7c7d5f7c1efd403bc8caf"/></dir><file name="Tabs.php" hash="69846a0c99c896a88e9ab56766d7e53f"/></dir><file name="Edit.php" hash="564693d4f8dfb59b9ff0efd47a1119cd"/></dir><file name="Sync.php" hash="2c1d8b495043e8f07dcd9e360bb188d3"/></dir><file name="Account.php" hash="7852371d0a9d7be6df7a2d06e2ee631c"/><dir name="Autoresponders"><dir name="Edit"><file name="Form.php" hash="356ca946f042ef4707f4c2d87d449852"/><dir name="Tab"><file name="Data.php" hash="bbacf805657b8f029d6b91b36d28bb77"/><file name="Main.php" hash="37bdc3f0d2b704bc1fb208a7f5515a6a"/></dir><file name="Tabs.php" hash="ea583251e1c289ef5bcb883140966474"/></dir><file name="Edit.php" hash="814a0172d583f9678cf6fa67972e0198"/><file name="Grid.php" hash="44ce976d0426680e89d84fd0327e6ae2"/></dir><file name="Autoresponders.php" hash="7e2d11c1b3bb81a3bd2e1e347c1dcf0f"/><dir name="Events"><file name="Grid.php" hash="fb96492b69dec4628b42a25c8bbfd284"/></dir><file name="Events.php" hash="d5e7420ab36d092fb36f0c800dd55a1d"/><dir name="Lists"><dir name="Edit"><file name="Form.php" hash="1887d528edc782f9c918894238e3e5a4"/><dir name="Tab"><file name="Main.php" hash="fa2ee28e4baf3b562df58e35a287ac08"/></dir><file name="Tabs.php" hash="b0687d00f6c93ea0955ad5432c2dc1ab"/></dir><file name="Edit.php" hash="f9e149d2b0922c33ffb89a99e256c4b3"/><file name="Grid.php" hash="c2684f64f5dac5e6e83a74a6d9cd0664"/></dir><file name="Lists.php" hash="cc3df10e61a0a0cef65deb0e7bd029bb"/><dir name="Subscribers"><dir name="Edit"><file name="Form.php" hash="aadce50da358d664c99fc2c27d519b2e"/><dir name="Tab"><file name="Form.php" hash="56f4c6b69545e15b3e4bfad1228c2d57"/></dir><file name="Tabs.php" hash="62462849bc5bd297fb764a075abb6b69"/></dir><file name="Edit.php" hash="c86c116e9b7894b653713db6c1f5b405"/><file name="Grid.php" hash="b6307e585a5e6feb8af3801db5b5019f"/></dir><file name="Subscribers.php" hash="5880102fd07c90d645fee6c9f90f5662"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Smtp.php" hash="9d069b87913cb35f90803f961c0e1c02"/><file name="Test.php" hash="55c625dced6d7e265c28377eed3fea21"/></dir></dir></dir></dir></dir><file name="Egoimmerce.php" hash="e95396e47ddac5af96d6a303840d63cc"/><file name="Products.php" hash="fe93effd102dc4b569725e37f6c004dd"/></dir><dir name="Helper"><file name="Data.php" hash="6c5e19e87fafb4f19410169664d50c3b"/></dir><dir name="Model"><file name="Account.php" hash="ac6a858eebdf9335b22e7cced2145fa8"/><file name="Autoresponders.php" hash="3f6808a6b9c7e356002c31cc00597317"/><file name="Egoi.php" hash="d9aab808cd5ae837ddd727e9367451c2"/><dir name="Email"><file name="Template.php" hash="2b6cfffa0692ff4bc53379737d9b1a7f"/></dir><file name="Email.php" hash="732a20fe2fc578f7b760c74476698372"/><file name="Events.php" hash="190cf15070bd6f799f8b10c0921133f5"/><file name="Extra.php" hash="ba2e3e3797ebd6d62bbca22a05190cae"/><file name="Lists.php" hash="ed90f73468ff9d46d9eee88b8626348c"/><dir name="Mysql4"><dir name="Account"><file name="Collection.php" hash="2d668e62a13f4ef5e384aeec0e514c1a"/></dir><file name="Account.php" hash="7c9967d6a86f49378f1e513acfc07078"/><dir name="Autoresponders"><file name="Collection.php" hash="bb924ad5979b3b27b312f46d84fe44c6"/></dir><file name="Autoresponders.php" hash="84fe50177e1c3cf4b8773b6133017ab4"/><dir name="Events"><file name="Collection.php" hash="3eb76ae733c4d76f27dae40cda7f9f4c"/></dir><file name="Events.php" hash="c68be7cbd8bcb077729de120a4af2cb3"/><dir name="Extra"><file name="Collection.php" hash="3378a705bbc8fd647c87d50c729b6715"/></dir><file name="Extra.php" hash="2e7c8ae5c07f92a22b04b5080f0712b4"/><dir name="Lists"><file name="Collection.php" hash="bb48b44e845ee9c28a8ce8fdbc42674d"/></dir><file name="Lists.php" hash="eb23516e199ed10234c7df1a6922a313"/><dir name="Subscribers"><file name="Collection.php" hash="fc44d78d088c11aab5345aacd12b80b6"/></dir><file name="Subscribers.php" hash="4478e53edda9027e02fb62163164ce97"/></dir><file name="Observer.php" hash="2427a5b6790255e334f536fedc0b091a"/><file name="Products.php" hash="15563f5b53af8e176e48ce2a4633458a"/><dir name="Source"><file name="Addressattributes.php" hash="c8cf64629c92f54859c3335832b43ee6"/><file name="Domains.php" hash="26bbbf2a46741928e9aa673159d64af1"/><file name="Method.php" hash="151497a995e79e0a6e226ec1aae3eaec"/><file name="Sender.php" hash="2c054ca6a46b43545a0cec4eef381b8a"/></dir><file name="Subscribers.php" hash="c88f3825d806a7aa27123407eb4eb327"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Fidelitas"><file name="AccountController.php" hash="5c46248e28c60189943fcac18bb95f7b"/><file name="AutorespondersController.php" hash="000336c4a0bbe237404ea8de5a399e66"/><file name="EventsController.php" hash="37252a1a492bb4a90d2badae5c92e472"/><file name="ListsController.php" hash="7731b43d85442b802c1d71fcc2d7c6b3"/><file name="SubscribersController.php" hash="c3c0393809c664891b02f07a89ca3f7b"/></dir></dir><file name="CallbackController.php" hash="e7c436874749a4f3ad444ce04173052d"/><file name="DownloadController.php" hash="2a793941280dddb4adbdc54d6777634b"/><file name="ProductsController.php" hash="368d75d6057c36710359fc0bfc945186"/><file name=".DS_Store" hash="7448e3cc4f6df46edb67d502b2c330fe"/></dir><dir name="etc"><file name="adminhtml.xml" hash="cbd50b5788580ddfd5b87449c8c07bff"/><file name="config.xml" hash="c03d83314550a7c7320e10a4c1b9267e"/><file name="system.xml" hash="c9b035a3e3845f3ba47e806fef72560d"/></dir><dir name="sql"><dir name="fidelitas_setup"><file name="mysql4-install-2.0.0.0.php" hash="665ca2dfe422a474f4faad8ae1985e6c"/><file name="mysql4-upgrade-2.0.0.5-2.1.0.0.php" hash="628f9f7253d152847971708552849b90"/><file name="mysql4-upgrade-2.1.0.4-2.1.0.5.php" hash="5fe08f874391f6d174be2c33e2f81cfd"/><file name="mysql4-upgrade-2.2.0.4-2.2.0.5.php" hash="49eda87aa6a53550d8e6f28d03a59749"/><file name="mysql4-upgrade-2.6.3.1-2.7.0.0.php" hash="76e717f7bf1de83571eb301ec8c46daf"/></dir></dir><file name=".DS_Store" hash="8420e75b9ea41476af71869f18a90d28"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Licentia_Fidelitas.xml" hash="fb5bebd3e734d581867a362a1046df7c"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="fidelitas.xml" hash="78efe5b2c2cbf4650e4d3d5acea8df12"/></dir><dir name="template"><dir name="fidelitas"><file name="egoimmerce.phtml" hash="8402f2defee218269dad4989ce80651f"/><file name="products.phtml" hash="6b704c921c38bcc25a6d90764e01a879"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="fidelitas.xml" hash="fbf163f93a515a6b834468bbbddd49da"/></dir><dir name="template"><dir name="fidelitas"><dir name="account"><file name="account.phtml" hash="97780bef262e113155886a62e867af3b"/><file name="new.phtml" hash="b77874642f2fe60d966ba52ba808ff87"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php><extension><name>soap</name><min/><max/></extension></required></dependencies>
|
18 |
</package>
|