Version Notes
0.9.2 Release
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Fooman_EmailAttachments |
| Version | 0.10.4 |
| Comparing to | |
| See all releases | |
Code changes from version 0.10.2 to 0.10.4
- app/code/community/Fooman/EmailAttachments/Helper/Data.php +5 -5
- app/code/community/Fooman/EmailAttachments/Model/Core/App/Emulation.php +31 -0
- app/code/community/Fooman/EmailAttachments/Model/Observer.php +11 -0
- app/code/community/Fooman/EmailAttachments/Model/Selftester.php +53 -40
- app/code/community/Fooman/EmailAttachments/etc/config.xml +2 -2
- package.xml +4 -4
app/code/community/Fooman/EmailAttachments/Helper/Data.php
CHANGED
|
@@ -58,12 +58,12 @@ class Fooman_EmailAttachments_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 58 |
{
|
| 59 |
try {
|
| 60 |
$this->debug('ADDING ATTACHMENT: ' . $file);
|
| 61 |
-
$mailObj
|
|
|
|
|
|
|
|
|
|
| 62 |
$filePath = Mage::getBaseDir('media') . DS . 'pdfs' . DS .$file;
|
| 63 |
if (file_exists($filePath)) {
|
| 64 |
-
if (!($mailObj instanceof Zend_Mail)) {
|
| 65 |
-
$mailObj = $mailObj->getMail();
|
| 66 |
-
}
|
| 67 |
$mailObj->createAttachment(
|
| 68 |
file_get_contents($filePath),
|
| 69 |
'application/pdf',
|
|
@@ -172,7 +172,7 @@ class Fooman_EmailAttachments_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 172 |
'label' => Mage::helper('sales')->__('Print'),
|
| 173 |
'class' => 'save',
|
| 174 |
'onclick' => 'setLocation(\'' . $this->getPrintUrl($block) . '\')'
|
| 175 |
-
), 0,
|
| 176 |
);
|
| 177 |
}
|
| 178 |
|
| 58 |
{
|
| 59 |
try {
|
| 60 |
$this->debug('ADDING ATTACHMENT: ' . $file);
|
| 61 |
+
if (!($mailObj instanceof Zend_Mail)) {
|
| 62 |
+
$mailObj = $mailObj->getMail();
|
| 63 |
+
}
|
| 64 |
+
$mailObj->setType(Zend_Mime::MULTIPART_MIXED);
|
| 65 |
$filePath = Mage::getBaseDir('media') . DS . 'pdfs' . DS .$file;
|
| 66 |
if (file_exists($filePath)) {
|
|
|
|
|
|
|
|
|
|
| 67 |
$mailObj->createAttachment(
|
| 68 |
file_get_contents($filePath),
|
| 69 |
'application/pdf',
|
| 172 |
'label' => Mage::helper('sales')->__('Print'),
|
| 173 |
'class' => 'save',
|
| 174 |
'onclick' => 'setLocation(\'' . $this->getPrintUrl($block) . '\')'
|
| 175 |
+
), 0, 25
|
| 176 |
);
|
| 177 |
}
|
| 178 |
|
app/code/community/Fooman/EmailAttachments/Model/Core/App/Emulation.php
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
class Fooman_EmailAttachments_Model_Core_App_Emulation extends Mage_Core_Model_App_Emulation
|
| 4 |
+
|
| 5 |
+
{
|
| 6 |
+
/**
|
| 7 |
+
* rewrite class to bring back previous behaviour
|
| 8 |
+
* to always reload locale on app emulation
|
| 9 |
+
* since it can cause a bug when app emulation is triggered via
|
| 10 |
+
* a cron job not loading non-english translations
|
| 11 |
+
*
|
| 12 |
+
* Apply locale of the specified store
|
| 13 |
+
*
|
| 14 |
+
* @param integer $storeId
|
| 15 |
+
* @param string $area
|
| 16 |
+
*
|
| 17 |
+
* @return string initial locale code
|
| 18 |
+
*/
|
| 19 |
+
protected function _emulateLocale($storeId, $area = Mage_Core_Model_App_Area::AREA_FRONTEND)
|
| 20 |
+
{
|
| 21 |
+
if (php_sapi_name() == 'cli' && property_exists($this, '_app')) {
|
| 22 |
+
$initialLocaleCode = $this->_app->getLocale()->getLocaleCode();
|
| 23 |
+
$newLocaleCode = $this->_getStoreConfig(Mage_Core_Model_Locale::XML_PATH_DEFAULT_LOCALE, $storeId);
|
| 24 |
+
$this->_app->getLocale()->setLocaleCode($newLocaleCode);
|
| 25 |
+
$this->_factory->getSingleton('core/translate')->setLocale($newLocaleCode)->init($area, true);
|
| 26 |
+
return $initialLocaleCode;
|
| 27 |
+
} else {
|
| 28 |
+
return parent::_emulateLocale($storeId, $area);
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
}
|
app/code/community/Fooman/EmailAttachments/Model/Observer.php
CHANGED
|
@@ -17,6 +17,14 @@ class Fooman_EmailAttachments_Model_Observer
|
|
| 17 |
|
| 18 |
const KEY_PACKING_SLIP_PROCESSED = 'emailattachments-packingslip-processed';
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
/**
|
| 21 |
* observe core_block_abstract_prepare_layout_after to add a Print Orders
|
| 22 |
* massaction to the actions dropdown menu
|
|
@@ -146,6 +154,7 @@ class Fooman_EmailAttachments_Model_Observer
|
|
| 146 |
$configPath = $update ? 'invoice_comment' : 'invoice';
|
| 147 |
|
| 148 |
if (Mage::getStoreConfig('sales_email/' . $configPath . '/attachpdf', $storeId)) {
|
|
|
|
| 149 |
//Create Pdf and attach to email - play nicely with PdfCustomiser
|
| 150 |
$pdf = Mage::getModel('sales/order_pdf_invoice')->getPdf(array($invoice));
|
| 151 |
$mailTemplate = Mage::helper('emailattachments')->addAttachment(
|
|
@@ -184,6 +193,7 @@ class Fooman_EmailAttachments_Model_Observer
|
|
| 184 |
$configPath = $update ? 'shipment_comment' : 'shipment';
|
| 185 |
|
| 186 |
if (Mage::getStoreConfig('sales_email/' . $configPath . '/attachpdf', $storeId)) {
|
|
|
|
| 187 |
//Create Pdf and attach to email - play nicely with PdfCustomiser
|
| 188 |
$pdf = Mage::getModel('sales/order_pdf_shipment')->getPdf(array($shipment));
|
| 189 |
$mailTemplate = Mage::helper('emailattachments')->addAttachment(
|
|
@@ -230,6 +240,7 @@ class Fooman_EmailAttachments_Model_Observer
|
|
| 230 |
$configPath = $update ? 'creditmemo_comment' : 'creditmemo';
|
| 231 |
|
| 232 |
if (Mage::getStoreConfig('sales_email/' . $configPath . '/attachpdf', $storeId)) {
|
|
|
|
| 233 |
//Create Pdf and attach to email - play nicely with PdfCustomiser
|
| 234 |
$pdf = Mage::getModel('sales/order_pdf_creditmemo')->getPdf(array($creditmemo));
|
| 235 |
$mailTemplate = Mage::helper('emailattachments')->addAttachment(
|
| 17 |
|
| 18 |
const KEY_PACKING_SLIP_PROCESSED = 'emailattachments-packingslip-processed';
|
| 19 |
|
| 20 |
+
|
| 21 |
+
protected function _fixUnsavedComments($object)
|
| 22 |
+
{
|
| 23 |
+
if (Mage::app()->getRequest()->getPost('comment')) {
|
| 24 |
+
$object->save();
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
/**
|
| 29 |
* observe core_block_abstract_prepare_layout_after to add a Print Orders
|
| 30 |
* massaction to the actions dropdown menu
|
| 154 |
$configPath = $update ? 'invoice_comment' : 'invoice';
|
| 155 |
|
| 156 |
if (Mage::getStoreConfig('sales_email/' . $configPath . '/attachpdf', $storeId)) {
|
| 157 |
+
$this->_fixUnsavedComments($invoice);
|
| 158 |
//Create Pdf and attach to email - play nicely with PdfCustomiser
|
| 159 |
$pdf = Mage::getModel('sales/order_pdf_invoice')->getPdf(array($invoice));
|
| 160 |
$mailTemplate = Mage::helper('emailattachments')->addAttachment(
|
| 193 |
$configPath = $update ? 'shipment_comment' : 'shipment';
|
| 194 |
|
| 195 |
if (Mage::getStoreConfig('sales_email/' . $configPath . '/attachpdf', $storeId)) {
|
| 196 |
+
$this->_fixUnsavedComments($shipment);
|
| 197 |
//Create Pdf and attach to email - play nicely with PdfCustomiser
|
| 198 |
$pdf = Mage::getModel('sales/order_pdf_shipment')->getPdf(array($shipment));
|
| 199 |
$mailTemplate = Mage::helper('emailattachments')->addAttachment(
|
| 240 |
$configPath = $update ? 'creditmemo_comment' : 'creditmemo';
|
| 241 |
|
| 242 |
if (Mage::getStoreConfig('sales_email/' . $configPath . '/attachpdf', $storeId)) {
|
| 243 |
+
$this->_fixUnsavedComments($creditmemo);
|
| 244 |
//Create Pdf and attach to email - play nicely with PdfCustomiser
|
| 245 |
$pdf = Mage::getModel('sales/order_pdf_creditmemo')->getPdf(array($creditmemo));
|
| 246 |
$mailTemplate = Mage::helper('emailattachments')->addAttachment(
|
app/code/community/Fooman/EmailAttachments/Model/Selftester.php
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
<?php
|
|
|
|
| 2 |
/**
|
| 3 |
* @author Kristof Ringleff
|
| 4 |
* @package Fooman_EmailAttachments
|
|
@@ -7,18 +8,17 @@
|
|
| 7 |
* For the full copyright and license information, please view the LICENSE
|
| 8 |
* file that was distributed with this source code.
|
| 9 |
*/
|
| 10 |
-
|
| 11 |
class Fooman_EmailAttachments_Model_Selftester extends Fooman_Common_Model_Selftester
|
| 12 |
{
|
| 13 |
|
| 14 |
/**
|
| 15 |
* get extension version information
|
| 16 |
*/
|
| 17 |
-
public function _getVersions
|
| 18 |
{
|
| 19 |
parent::_getVersions();
|
| 20 |
$this->messages[] = "Fooman_EmailAttachments Config version: "
|
| 21 |
-
. (string)
|
| 22 |
}
|
| 23 |
|
| 24 |
/**
|
|
@@ -26,73 +26,86 @@ class Fooman_EmailAttachments_Model_Selftester extends Fooman_Common_Model_Selft
|
|
| 26 |
*
|
| 27 |
* @return array
|
| 28 |
*/
|
| 29 |
-
public function _getRewrites
|
| 30 |
{
|
| 31 |
-
|
| 32 |
-
array("model","core/email_template_mailer","Fooman_EmailAttachments_Model_Core_Email_Template_Mailer")
|
| 33 |
-
array("model","core/email_queue","Fooman_EmailAttachments_Model_Core_Email_Queue"),
|
| 34 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
/**
|
| 38 |
* list of extension files
|
|
|
|
| 39 |
* @return array
|
| 40 |
*/
|
| 41 |
-
public function _getFiles
|
| 42 |
{
|
| 43 |
//REPLACE
|
| 44 |
return array(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
'app/code/community/Fooman/EmailAttachments/Block/Adminhtml/Extensioninfo.php',
|
|
|
|
| 46 |
'app/code/community/Fooman/EmailAttachments/controllers/Customer/OrderController.php',
|
| 47 |
'app/code/community/Fooman/EmailAttachments/controllers/Admin/OrderController.php',
|
| 48 |
-
'app/code/community/Fooman/EmailAttachments/
|
| 49 |
-
'app/code/community/Fooman/EmailAttachments/etc/system.xml',
|
| 50 |
-
'app/code/community/Fooman/EmailAttachments/Helper/Data.php',
|
| 51 |
-
'app/code/community/Fooman/EmailAttachments/Model/Order/Pdf/Order.php',
|
| 52 |
-
'app/code/community/Fooman/EmailAttachments/Model/Observer.php',
|
| 53 |
'app/code/community/Fooman/EmailAttachments/Model/Core/Email/Template/Mailer.php',
|
| 54 |
'app/code/community/Fooman/EmailAttachments/Model/Core/Email/Queue.php',
|
| 55 |
-
'app/code/community/Fooman/EmailAttachments/Model/
|
| 56 |
'app/code/community/Fooman/EmailAttachments/Model/Selftester.php',
|
| 57 |
-
'app/code/community/Fooman/EmailAttachments/
|
| 58 |
-
'app/
|
| 59 |
-
'app/locale/cs_CZ/Fooman_EmailAttachments.csv',
|
| 60 |
-
'app/locale/nl_NL/Fooman_EmailAttachments.csv',
|
| 61 |
-
'app/locale/en_US/Fooman_EmailAttachments.csv',
|
| 62 |
-
'app/locale/en_US/template/email/sales/order_new_packingslip.html',
|
| 63 |
-
'app/locale/sv_SE/Fooman_EmailAttachments.csv',
|
| 64 |
'app/locale/hu_HU/Fooman_EmailAttachments.csv',
|
|
|
|
| 65 |
'app/locale/gr_GR/Fooman_EmailAttachments.csv',
|
| 66 |
-
'app/locale/fr_FR/Fooman_EmailAttachments.csv',
|
| 67 |
-
'app/locale/fa_IR/Fooman_EmailAttachments.csv',
|
| 68 |
'app/locale/he_IL/Fooman_EmailAttachments.csv',
|
| 69 |
-
'app/locale/
|
| 70 |
-
'app/locale/
|
| 71 |
-
'app/locale/
|
| 72 |
-
'app/locale/pt_BR/Fooman_EmailAttachments.csv',
|
| 73 |
-
'app/locale/sk_SK/Fooman_EmailAttachments.csv',
|
| 74 |
'app/locale/nb_NO/Fooman_EmailAttachments.csv',
|
|
|
|
| 75 |
'app/locale/ko_KR/Fooman_EmailAttachments.csv',
|
| 76 |
-
'app/locale/ro_RO/Fooman_EmailAttachments.csv',
|
| 77 |
-
'app/locale/da_DK/Fooman_EmailAttachments.csv',
|
| 78 |
'app/locale/sl_SI/Fooman_EmailAttachments.csv',
|
| 79 |
-
'app/locale/et_EE/Fooman_EmailAttachments.csv',
|
| 80 |
-
'app/locale/ar_SA/Fooman_EmailAttachments.csv',
|
| 81 |
-
'app/locale/it_IT/Fooman_EmailAttachments.csv',
|
| 82 |
-
'app/locale/ru_RU/Fooman_EmailAttachments.csv',
|
| 83 |
-
'app/locale/pl_PL/Fooman_EmailAttachments.csv',
|
| 84 |
'app/locale/ca_ES/Fooman_EmailAttachments.csv',
|
| 85 |
-
'app/locale/fi_FI/Fooman_EmailAttachments.csv',
|
| 86 |
-
'app/locale/th_TH/Fooman_EmailAttachments.csv',
|
| 87 |
-
'app/locale/tr_TR/Fooman_EmailAttachments.csv',
|
| 88 |
'app/locale/es_ES/Fooman_EmailAttachments.csv',
|
| 89 |
-
'app/locale/
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
'app/locale/hr_HR/Fooman_EmailAttachments.csv',
|
| 91 |
-
'app/locale/
|
|
|
|
|
|
|
| 92 |
'app/locale/lv_LV/Fooman_EmailAttachments.csv',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
);
|
| 94 |
//REPLACE_END
|
| 95 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
}
|
| 97 |
|
| 98 |
|
| 1 |
<?php
|
| 2 |
+
|
| 3 |
/**
|
| 4 |
* @author Kristof Ringleff
|
| 5 |
* @package Fooman_EmailAttachments
|
| 8 |
* For the full copyright and license information, please view the LICENSE
|
| 9 |
* file that was distributed with this source code.
|
| 10 |
*/
|
|
|
|
| 11 |
class Fooman_EmailAttachments_Model_Selftester extends Fooman_Common_Model_Selftester
|
| 12 |
{
|
| 13 |
|
| 14 |
/**
|
| 15 |
* get extension version information
|
| 16 |
*/
|
| 17 |
+
public function _getVersions()
|
| 18 |
{
|
| 19 |
parent::_getVersions();
|
| 20 |
$this->messages[] = "Fooman_EmailAttachments Config version: "
|
| 21 |
+
. (string)Mage::getConfig()->getModuleConfig('Fooman_EmailAttachments')->version;
|
| 22 |
}
|
| 23 |
|
| 24 |
/**
|
| 26 |
*
|
| 27 |
* @return array
|
| 28 |
*/
|
| 29 |
+
public function _getRewrites()
|
| 30 |
{
|
| 31 |
+
$rewrites = array(
|
| 32 |
+
array("model", "core/email_template_mailer", "Fooman_EmailAttachments_Model_Core_Email_Template_Mailer")
|
|
|
|
| 33 |
);
|
| 34 |
+
if ($this->_hasQueueSupport()) {
|
| 35 |
+
array_push($rewrites, array("model", "core/email_queue", "Fooman_EmailAttachments_Model_Core_Email_Queue"));
|
| 36 |
+
|
| 37 |
+
}
|
| 38 |
+
return $rewrites;
|
| 39 |
}
|
| 40 |
|
| 41 |
/**
|
| 42 |
* list of extension files
|
| 43 |
+
*
|
| 44 |
* @return array
|
| 45 |
*/
|
| 46 |
+
public function _getFiles()
|
| 47 |
{
|
| 48 |
//REPLACE
|
| 49 |
return array(
|
| 50 |
+
'app/etc/modules/Fooman_EmailAttachments.xml',
|
| 51 |
+
'app/code/community/Fooman/EmailAttachments/Helper/Data.php',
|
| 52 |
+
'app/code/community/Fooman/EmailAttachments/etc/system.xml',
|
| 53 |
+
'app/code/community/Fooman/EmailAttachments/etc/config.xml',
|
| 54 |
'app/code/community/Fooman/EmailAttachments/Block/Adminhtml/Extensioninfo.php',
|
| 55 |
+
'app/code/community/Fooman/EmailAttachments/LICENSE.txt',
|
| 56 |
'app/code/community/Fooman/EmailAttachments/controllers/Customer/OrderController.php',
|
| 57 |
'app/code/community/Fooman/EmailAttachments/controllers/Admin/OrderController.php',
|
| 58 |
+
'app/code/community/Fooman/EmailAttachments/Model/Core/App/Emulation.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
'app/code/community/Fooman/EmailAttachments/Model/Core/Email/Template/Mailer.php',
|
| 60 |
'app/code/community/Fooman/EmailAttachments/Model/Core/Email/Queue.php',
|
| 61 |
+
'app/code/community/Fooman/EmailAttachments/Model/Order/Pdf/Order.php',
|
| 62 |
'app/code/community/Fooman/EmailAttachments/Model/Selftester.php',
|
| 63 |
+
'app/code/community/Fooman/EmailAttachments/Model/Observer.php',
|
| 64 |
+
'app/code/community/Fooman/EmailAttachments/Model/System/File.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
'app/locale/hu_HU/Fooman_EmailAttachments.csv',
|
| 66 |
+
'app/locale/pt_BR/Fooman_EmailAttachments.csv',
|
| 67 |
'app/locale/gr_GR/Fooman_EmailAttachments.csv',
|
|
|
|
|
|
|
| 68 |
'app/locale/he_IL/Fooman_EmailAttachments.csv',
|
| 69 |
+
'app/locale/cs_CZ/Fooman_EmailAttachments.csv',
|
| 70 |
+
'app/locale/zh_CN/Fooman_EmailAttachments.csv',
|
| 71 |
+
'app/locale/da_DK/Fooman_EmailAttachments.csv',
|
|
|
|
|
|
|
| 72 |
'app/locale/nb_NO/Fooman_EmailAttachments.csv',
|
| 73 |
+
'app/locale/fa_IR/Fooman_EmailAttachments.csv',
|
| 74 |
'app/locale/ko_KR/Fooman_EmailAttachments.csv',
|
|
|
|
|
|
|
| 75 |
'app/locale/sl_SI/Fooman_EmailAttachments.csv',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
'app/locale/ca_ES/Fooman_EmailAttachments.csv',
|
|
|
|
|
|
|
|
|
|
| 77 |
'app/locale/es_ES/Fooman_EmailAttachments.csv',
|
| 78 |
+
'app/locale/tr_TR/Fooman_EmailAttachments.csv',
|
| 79 |
+
'app/locale/ar_SA/Fooman_EmailAttachments.csv',
|
| 80 |
+
'app/locale/lt_LT/Fooman_EmailAttachments.csv',
|
| 81 |
+
'app/locale/th_TH/Fooman_EmailAttachments.csv',
|
| 82 |
+
'app/locale/no_NO/Fooman_EmailAttachments.csv',
|
| 83 |
'app/locale/hr_HR/Fooman_EmailAttachments.csv',
|
| 84 |
+
'app/locale/ja_JP/Fooman_EmailAttachments.csv',
|
| 85 |
+
'app/locale/et_EE/Fooman_EmailAttachments.csv',
|
| 86 |
+
'app/locale/ru_RU/Fooman_EmailAttachments.csv',
|
| 87 |
'app/locale/lv_LV/Fooman_EmailAttachments.csv',
|
| 88 |
+
'app/locale/fi_FI/Fooman_EmailAttachments.csv',
|
| 89 |
+
'app/locale/en_US/template/email/sales/order_new_packingslip.html',
|
| 90 |
+
'app/locale/en_US/Fooman_EmailAttachments.csv',
|
| 91 |
+
'app/locale/ro_RO/Fooman_EmailAttachments.csv',
|
| 92 |
+
'app/locale/de_DE/Fooman_EmailAttachments.csv',
|
| 93 |
+
'app/locale/fr_FR/Fooman_EmailAttachments.csv',
|
| 94 |
+
'app/locale/nl_NL/Fooman_EmailAttachments.csv',
|
| 95 |
+
'app/locale/it_IT/Fooman_EmailAttachments.csv',
|
| 96 |
+
'app/locale/sk_SK/Fooman_EmailAttachments.csv',
|
| 97 |
+
'app/locale/sv_SE/Fooman_EmailAttachments.csv',
|
| 98 |
+
'app/locale/pl_PL/Fooman_EmailAttachments.csv',
|
| 99 |
);
|
| 100 |
//REPLACE_END
|
| 101 |
}
|
| 102 |
+
|
| 103 |
+
protected function _hasQueueSupport()
|
| 104 |
+
{
|
| 105 |
+
return file_exists(
|
| 106 |
+
Mage::getConfig()->getModuleDir('', 'Mage_Core') . DS . 'Model' . DS . 'Email' . DS . 'Queue.php'
|
| 107 |
+
);
|
| 108 |
+
}
|
| 109 |
}
|
| 110 |
|
| 111 |
|
app/code/community/Fooman/EmailAttachments/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Fooman_EmailAttachments>
|
| 5 |
-
<version>0.10.
|
| 6 |
<depends>
|
| 7 |
</depends>
|
| 8 |
</Fooman_EmailAttachments>
|
|
@@ -17,6 +17,7 @@
|
|
| 17 |
<rewrite>
|
| 18 |
<email_template_mailer>Fooman_EmailAttachments_Model_Core_Email_Template_Mailer</email_template_mailer>
|
| 19 |
<email_queue>Fooman_EmailAttachments_Model_Core_Email_Queue</email_queue>
|
|
|
|
| 20 |
</rewrite>
|
| 21 |
</core>
|
| 22 |
</models>
|
|
@@ -120,7 +121,6 @@
|
|
| 120 |
</modules>
|
| 121 |
</translate>
|
| 122 |
</adminhtml>
|
| 123 |
-
|
| 124 |
<admin>
|
| 125 |
<routers>
|
| 126 |
<emailattachments>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Fooman_EmailAttachments>
|
| 5 |
+
<version>0.10.4</version>
|
| 6 |
<depends>
|
| 7 |
</depends>
|
| 8 |
</Fooman_EmailAttachments>
|
| 17 |
<rewrite>
|
| 18 |
<email_template_mailer>Fooman_EmailAttachments_Model_Core_Email_Template_Mailer</email_template_mailer>
|
| 19 |
<email_queue>Fooman_EmailAttachments_Model_Core_Email_Queue</email_queue>
|
| 20 |
+
<app_emulation>Fooman_EmailAttachments_Model_Core_App_Emulation</app_emulation>
|
| 21 |
</rewrite>
|
| 22 |
</core>
|
| 23 |
</models>
|
| 121 |
</modules>
|
| 122 |
</translate>
|
| 123 |
</adminhtml>
|
|
|
|
| 124 |
<admin>
|
| 125 |
<routers>
|
| 126 |
<emailattachments>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Fooman_EmailAttachments</name>
|
| 4 |
-
<version>0.10.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -17,9 +17,9 @@
|
|
| 17 |
Fine grained options offer complete control over what to attach to which email</description>
|
| 18 |
<notes>0.9.2 Release</notes>
|
| 19 |
<authors><author><name>Kristof Ringleff</name><user>auto-converted</user><email>kristof@fooman.co.nz</email></author><author><name>Kristof Ringleff</name><user>auto-converted</user><email>kristof@fooman.co.nz</email></author></authors>
|
| 20 |
-
<date>2015-
|
| 21 |
-
<time>
|
| 22 |
-
<contents><target name="magecommunity"><dir name="Fooman"><dir name="EmailAttachments"><dir name="Block"><dir name="Adminhtml"><file name="Extensioninfo.php" hash="b71b6d6e6c11254588100f0f5b6b9c10"/></dir></dir><dir name="Helper"><file name="Data.php" hash="
|
| 23 |
<compatible/>
|
| 24 |
<dependencies><required><package><name>Fooman_Common</name><channel>community</channel><min></min><max></max></package></required></dependencies>
|
| 25 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Fooman_EmailAttachments</name>
|
| 4 |
+
<version>0.10.4</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 17 |
Fine grained options offer complete control over what to attach to which email</description>
|
| 18 |
<notes>0.9.2 Release</notes>
|
| 19 |
<authors><author><name>Kristof Ringleff</name><user>auto-converted</user><email>kristof@fooman.co.nz</email></author><author><name>Kristof Ringleff</name><user>auto-converted</user><email>kristof@fooman.co.nz</email></author></authors>
|
| 20 |
+
<date>2015-05-20</date>
|
| 21 |
+
<time>04:33:36</time>
|
| 22 |
+
<contents><target name="magecommunity"><dir name="Fooman"><dir name="EmailAttachments"><dir name="Block"><dir name="Adminhtml"><file name="Extensioninfo.php" hash="b71b6d6e6c11254588100f0f5b6b9c10"/></dir></dir><dir name="Helper"><file name="Data.php" hash="216e6925234cd6d9ef07a451d9b4d1c1"/></dir><dir name="Model"><dir name="Core"><dir name="App"><file name="Emulation.php" hash="6b0db295ff798b3286e8fbfcc061dbba"/></dir><dir name="Email"><dir name="Template"><file name="Mailer.php" hash="caf26b4981bb2588ea9c80f789ea327c"/></dir><file name="Queue.php" hash="f3fd963cf345662ece3b6b29b07b1de2"/></dir></dir><dir name="Order"><dir name="Pdf"><file name="Order.php" hash="b8d3bcb8add888068c4ca67caae78b79"/></dir></dir><dir name="System"><file name="File.php" hash="70b05b8e860088b0d2769d7a79c38e0c"/></dir><file name="Observer.php" hash="9e52688b792c42f5b8b8ecbe53382cfe"/><file name="Selftester.php" hash="1bbfe557df592cea774926c575b43bee"/></dir><dir name="controllers"><dir name="Admin"><file name="OrderController.php" hash="e6b7c1937dd4f41fe376c799b2b80fdf"/></dir><dir name="Customer"><file name="OrderController.php" hash="bc8d1ae57801fcdf5bc1d5abbac0b879"/></dir></dir><dir name="etc"><file name="config.xml" hash="7c373819f1b6159054b826300ba8d664"/><file name="system.xml" hash="2b1df0a77b34af861b84602a002f136c"/></dir><file name="LICENSE.txt" hash="59563e7be45096d0833dade102989042"/><file name="modman" hash="9f838aa064e82521f44aa0c12cfaac0c"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fooman_EmailAttachments.xml" hash="041c20e1806af133c1c1505af9902001"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Fooman_EmailAttachments.csv" hash="572cca36b6b4a051b7722cb6488a636a"/></dir><dir name="de_DE"><file name="Fooman_EmailAttachments.csv" hash="7113fa7ee43f7daeb5511123d014ed57"/></dir><dir name="nl_NL"><file name="Fooman_EmailAttachments.csv" hash="379a96bf751644c476f9ba770736fbe2"/></dir><dir name="fr_FR"><file name="Fooman_EmailAttachments.csv" hash="9a1527774e75286333932659b90da09d"/></dir><dir name="es_ES"><file name="Fooman_EmailAttachments.csv" hash="1b9628695c1c2295b915bd1c06edcb84"/></dir><dir name="ro_RO"><file name="Fooman_EmailAttachments.csv" hash="2a24c0da13bfafb658325b6bf4c44f1d"/></dir><dir name="th_TH"><file name="Fooman_EmailAttachments.csv" hash="572cca36b6b4a051b7722cb6488a636a"/></dir><dir name="da_DK"><file name="Fooman_EmailAttachments.csv" hash="129927e87ec7d8b3d4466a58e5215b09"/></dir><dir name="ar_SA"><file name="Fooman_EmailAttachments.csv" hash="00b09a522a8edfb796a0668ef4faedc4"/></dir><dir name="ca_ES"><file name="Fooman_EmailAttachments.csv" hash="a81b65ca792f534072511a18a91423c9"/></dir><dir name="cs_CZ"><file name="Fooman_EmailAttachments.csv" hash="86f4cac9569ca2708b44a5240496d00a"/></dir><dir name="et_EE"><file name="Fooman_EmailAttachments.csv" hash="206f6d731c2e2ef3664869a6be68b95f"/></dir><dir name="he_IL"><file name="Fooman_EmailAttachments.csv" hash="81b7326525ee4839e41be971709f9e96"/></dir><dir name="it_IT"><file name="Fooman_EmailAttachments.csv" hash="d5a0dd8ea51c030c33efdb5159f3c549"/></dir><dir name="ja_JP"><file name="Fooman_EmailAttachments.csv" hash="5618c215a5cbb924d2951c879d42573f"/></dir><dir name="lt_LT"><file name="Fooman_EmailAttachments.csv" hash="18fff03b09d88b8b938bed19639b4f8f"/></dir><dir name="lv_LV"><file name="Fooman_EmailAttachments.csv" hash="15714286f2b7e009f7674a9f747a1cd4"/></dir><dir name="no_NO"><file name="Fooman_EmailAttachments.csv" hash="9d201c51cfc24326a0a677b2f7cd838e"/></dir><dir name="pt_BR"><file name="Fooman_EmailAttachments.csv" hash="463ca55f2f52b4422ff2f275f8649b85"/></dir><dir name="sl_SI"><file name="Fooman_EmailAttachments.csv" hash="288a189ee828dc6b91b72f20bc771452"/></dir><dir name="sv_SE"><file name="Fooman_EmailAttachments.csv" hash="d9a51a4c763d9cb0739d57a4f1d9c18c"/></dir><dir name="fi_FI"><file name="Fooman_EmailAttachments.csv" hash="53f5fa6e60fb26effdd36422d8bf24f9"/></dir><dir name="gr_GR"><file name="Fooman_EmailAttachments.csv" hash="22959ba9d6c58a89db59db26edf9b163"/></dir><dir name="hr_HR"><file name="Fooman_EmailAttachments.csv" hash="6564938bfeefdc2ca37f183943bc5873"/></dir><dir name="ko_KR"><file name="Fooman_EmailAttachments.csv" hash="951a785b40eb519b6f460fccc7718b24"/></dir><dir name="nb_NO"><file name="Fooman_EmailAttachments.csv" hash="9d201c51cfc24326a0a677b2f7cd838e"/></dir><dir name="pl_PL"><file name="Fooman_EmailAttachments.csv" hash="db51bd721228cf6f3b8f25702282cced"/></dir><dir name="ru_RU"><file name="Fooman_EmailAttachments.csv" hash="5c111bca22d66855aa3f999a74b1fdba"/></dir><dir name="zh_CN"><file name="Fooman_EmailAttachments.csv" hash="f35148d8703229c2945565b3d8559455"/></dir><dir name="fa_IR"><file name="Fooman_EmailAttachments.csv" hash="02f8af4fe42307f3a0ef12d897c64f47"/></dir><dir name="sk_SK"><file name="Fooman_EmailAttachments.csv" hash="86c42277437d0f293754892581f523ed"/></dir><dir name="hu_HU"><file name="Fooman_EmailAttachments.csv" hash="4136ac55aebaff443434d80612bd6371"/></dir></target></contents>
|
| 23 |
<compatible/>
|
| 24 |
<dependencies><required><package><name>Fooman_Common</name><channel>community</channel><min></min><max></max></package></required></dependencies>
|
| 25 |
</package>
|
