ArchApps_EmailSpellCheck - Version 0.1.2

Version Notes

Release of v0.1.2

Download this release

Release Info

Developer ArchApps
Extension ArchApps_EmailSpellCheck
Version 0.1.2
Comparing to
See all releases


Code changes from version 0.1.1 to 0.1.2

app/code/community/ArchApps/EmailSpellCheck/Helper/Data.php CHANGED
@@ -2,7 +2,6 @@
2
  /**
3
  * @category ArchApps
4
  * @package ArchApps_EmailSpellCheck
5
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
 
2
  /**
3
  * @category ArchApps
4
  * @package ArchApps_EmailSpellCheck
 
5
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
6
  */
7
 
app/code/community/ArchApps/EmailSpellCheck/etc/adminhtml.xml CHANGED
@@ -3,7 +3,6 @@
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
6
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
7
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
8
  */
9
  -->
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
 
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
  -->
app/code/community/ArchApps/EmailSpellCheck/etc/config.xml CHANGED
@@ -3,14 +3,13 @@
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
6
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
7
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
8
  */
9
  -->
10
  <config>
11
  <modules>
12
  <ArchApps_EmailSpellCheck>
13
- <version>0.1.1</version>
14
  </ArchApps_EmailSpellCheck>
15
  </modules>
16
 
@@ -30,16 +29,6 @@
30
  </archapps_emailspellcheck>
31
  </updates>
32
  </layout>
33
-
34
- <translate>
35
- <modules>
36
- <archapps_emailspellcheck>
37
- <files>
38
- <default>ArchApps_EmailSpellCheck.csv</default>
39
- </files>
40
- </archapps_emailspellcheck>
41
- </modules>
42
- </translate>
43
  </frontend>
44
 
45
  <adminhtml>
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
 
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
  -->
9
  <config>
10
  <modules>
11
  <ArchApps_EmailSpellCheck>
12
+ <version>0.1.2</version>
13
  </ArchApps_EmailSpellCheck>
14
  </modules>
15
 
29
  </archapps_emailspellcheck>
30
  </updates>
31
  </layout>
 
 
 
 
 
 
 
 
 
 
32
  </frontend>
33
 
34
  <adminhtml>
app/code/community/ArchApps/EmailSpellCheck/etc/system.xml CHANGED
@@ -3,7 +3,6 @@
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
6
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
7
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
8
  */
9
  -->
@@ -13,7 +12,7 @@
13
  <frontend_type>text</frontend_type>
14
  <label>Email SpellCheck</label>
15
  <sort_order>1030</sort_order>
16
- <tab>general</tab>
17
  <show_in_default>1</show_in_default>
18
  <show_in_website>1</show_in_website>
19
  <show_in_store>1</show_in_store>
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
 
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
  -->
12
  <frontend_type>text</frontend_type>
13
  <label>Email SpellCheck</label>
14
  <sort_order>1030</sort_order>
15
+ <tab>advanced</tab>
16
  <show_in_default>1</show_in_default>
17
  <show_in_website>1</show_in_website>
18
  <show_in_store>1</show_in_store>
app/design/adminhtml/default/default/layout/archapps/emailspellcheck.xml CHANGED
@@ -3,7 +3,6 @@
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
6
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
7
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
8
  */
9
  -->
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
 
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
  -->
app/design/adminhtml/default/default/template/archapps/emailspellcheck/email-spell-check.phtml CHANGED
@@ -2,7 +2,6 @@
2
  /**
3
  * @category ArchApps
4
  * @package ArchApps_EmailSpellCheck
5
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
  ?>
2
  /**
3
  * @category ArchApps
4
  * @package ArchApps_EmailSpellCheck
 
5
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
6
  */
7
  ?>
app/design/frontend/base/default/layout/archapps/emailspellcheck.xml CHANGED
@@ -3,7 +3,6 @@
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
6
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
7
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
8
  */
9
  -->
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
 
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
  -->
app/design/frontend/base/default/template/archapps/emailspellcheck/email-spell-check.phtml CHANGED
@@ -2,7 +2,6 @@
2
  /**
3
  * @category ArchApps
4
  * @package ArchApps_EmailSpellCheck
5
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
  ?>
2
  /**
3
  * @category ArchApps
4
  * @package ArchApps_EmailSpellCheck
 
5
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
6
  */
7
  ?>
app/etc/modules/ArchApps_EmailSpellCheck.xml CHANGED
@@ -3,7 +3,6 @@
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
6
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
7
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
8
  */
9
  -->
3
  /**
4
  * @category ArchApps
5
  * @package ArchApps_EmailSpellCheck
 
6
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
7
  */
8
  -->
app/locale/en_US/ArchApps_EmailSpellCheck.csv CHANGED
@@ -10,10 +10,10 @@
10
  "Admin Email Field Selector", "Admin Email Field Selector"
11
  "Comma Separated CSS Selectors for Email Fields To Be Checked on Front-End, f.e. input[type=email]", "Comma Separated CSS Selectors for Email Fields To Be Checked on Front-End, f.e. input[type=email]"
12
  "Comma Separated CSS Selectors for Email Fields To Be Checked in Admin, f.e. input[type=email]", "Comma Separated CSS Selectors for Email Fields To Be Checked in Admin, f.e. input[type=email]"
13
- "Advanced" ,"Advanced"
14
- "Domains" ,"Domains"
15
  "Comma Separated List of Additional Domains to Suggest, f.e. gmail.com, aol.com, yahoo.com", "Comma Separated List of Additional Domains to Suggest, f.e. gmail.com, aol.com, yahoo.com"
16
- "Second Level Domains" ,"Second Level Domains"
17
  "Comma Separated List of Additional Second Level Domains to Suggest, f.e. gmail, aol, yahoo", "Comma Separated List of Additional Second Level Domains to Suggest, f.e. gmail, aol, yahoo"
18
  "Top Level Domains", "Top Level Domains"
19
  "Comma Separated List of Additional Top Level Domains to Suggest, f.e. com, co.uk, de, it", "Comma Separated List of Additional Top Level Domains to Suggest, f.e. com, co.uk, de, it"
10
  "Admin Email Field Selector", "Admin Email Field Selector"
11
  "Comma Separated CSS Selectors for Email Fields To Be Checked on Front-End, f.e. input[type=email]", "Comma Separated CSS Selectors for Email Fields To Be Checked on Front-End, f.e. input[type=email]"
12
  "Comma Separated CSS Selectors for Email Fields To Be Checked in Admin, f.e. input[type=email]", "Comma Separated CSS Selectors for Email Fields To Be Checked in Admin, f.e. input[type=email]"
13
+ "Advanced", "Advanced"
14
+ "Domains", "Domains"
15
  "Comma Separated List of Additional Domains to Suggest, f.e. gmail.com, aol.com, yahoo.com", "Comma Separated List of Additional Domains to Suggest, f.e. gmail.com, aol.com, yahoo.com"
16
+ "Second Level Domains", "Second Level Domains"
17
  "Comma Separated List of Additional Second Level Domains to Suggest, f.e. gmail, aol, yahoo", "Comma Separated List of Additional Second Level Domains to Suggest, f.e. gmail, aol, yahoo"
18
  "Top Level Domains", "Top Level Domains"
19
  "Comma Separated List of Additional Top Level Domains to Suggest, f.e. com, co.uk, de, it", "Comma Separated List of Additional Top Level Domains to Suggest, f.e. com, co.uk, de, it"
js/archapps/emailspellcheck/css/emailspellcheck.css CHANGED
@@ -1,7 +1,6 @@
1
  /**
2
  * @category ArchApps
3
  * @package ArchApps_EmailSpellCheck
4
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
5
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
6
  */
7
  .esp-wrap {
1
  /**
2
  * @category ArchApps
3
  * @package ArchApps_EmailSpellCheck
 
4
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
5
  */
6
  .esp-wrap {
js/archapps/emailspellcheck/emailspellcheck.js CHANGED
@@ -1,7 +1,6 @@
1
  /**
2
  * @category ArchApps
3
  * @package ArchApps_EmailSpellCheck
4
- * @copyright Copyright 2016 ArchApps (https://archapps.io)
5
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
6
  */
7
 
@@ -25,6 +24,7 @@ ArchApps.EmailSpellCheck.prototype = {
25
  * Initialization function. Apply configs, events, observers
26
  *
27
  * @param {Object} config Object of options for the email spell check
 
28
  */
29
  initialize: function (config) {
30
  if (typeof Mailcheck !== 'object') {
@@ -79,7 +79,9 @@ ArchApps.EmailSpellCheck.prototype = {
79
 
80
  /**
81
  * Run mail-check for given element, show or remove the suggestion
 
82
  * @param {Object} element DOM element of which email to be checked
 
83
  */
84
  check: function (element) {
85
  Mailcheck.run({
@@ -98,8 +100,10 @@ ArchApps.EmailSpellCheck.prototype = {
98
 
99
  /**
100
  * Display the suggestion after the specified DOM input element
 
101
  * @param {Object} after DOM input element after which to add suggestion
102
  * @param {Object} suggestion Suggestion object containing correct email
 
103
  */
104
  showSuggestion: function (after, suggestion) {
105
  var emailMarkup = this.suggestionEmailMarkup.evaluate({
@@ -110,8 +114,10 @@ ArchApps.EmailSpellCheck.prototype = {
110
  suggestionMarkup = this.suggestionMarkup.evaluate({
111
  wrapClass: this.htmlWrapClass,
112
  textClass: this.htmlTextClass,
 
113
  text: this.suggestionText.replace(
114
- '%suggestion%', emailMarkup
 
115
  )
116
  });
117
 
@@ -130,7 +136,9 @@ ArchApps.EmailSpellCheck.prototype = {
130
 
131
  /**
132
  * Remove the suggestion after the specified DOM input element
 
133
  * @param {Object} after DOM element of which to remove suggestion
 
134
  */
135
  removeSuggestion: function (after) {
136
  var suggestionElement = after.next('.' + this.htmlWrapClass);
1
  /**
2
  * @category ArchApps
3
  * @package ArchApps_EmailSpellCheck
 
4
  * @license https://opensource.org/licenses/osl-3.0.php OSL 3.0
5
  */
6
 
24
  * Initialization function. Apply configs, events, observers
25
  *
26
  * @param {Object} config Object of options for the email spell check
27
+ * @return {void}
28
  */
29
  initialize: function (config) {
30
  if (typeof Mailcheck !== 'object') {
79
 
80
  /**
81
  * Run mail-check for given element, show or remove the suggestion
82
+ *
83
  * @param {Object} element DOM element of which email to be checked
84
+ * @return {void}
85
  */
86
  check: function (element) {
87
  Mailcheck.run({
100
 
101
  /**
102
  * Display the suggestion after the specified DOM input element
103
+ *
104
  * @param {Object} after DOM input element after which to add suggestion
105
  * @param {Object} suggestion Suggestion object containing correct email
106
+ * @return {void}
107
  */
108
  showSuggestion: function (after, suggestion) {
109
  var emailMarkup = this.suggestionEmailMarkup.evaluate({
114
  suggestionMarkup = this.suggestionMarkup.evaluate({
115
  wrapClass: this.htmlWrapClass,
116
  textClass: this.htmlTextClass,
117
+
118
  text: this.suggestionText.replace(
119
+ '%suggestion%',
120
+ emailMarkup
121
  )
122
  });
123
 
136
 
137
  /**
138
  * Remove the suggestion after the specified DOM input element
139
+ *
140
  * @param {Object} after DOM element of which to remove suggestion
141
+ * @return {void}
142
  */
143
  removeSuggestion: function (after) {
144
  var suggestionElement = after.next('.' + this.htmlWrapClass);
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ArchApps_EmailSpellCheck</name>
4
- <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Check &amp; suggest correct email address when user misspells it in your web forms.</summary>
10
  <description>Email SpellCheck extension for Magento helps your customers to spot and correct any misspelled email addresses in your web forms - be it checkout, registration, newsletter or any other form. Right after user finishes typing an email, extension checks it for typos and suggests to correct it if finds any.</description>
11
- <notes>Release of v0.1.1</notes>
12
  <authors><author><name>ArchApps</name><user>ArchApps</user><email>raivis@archapps.io</email></author></authors>
13
- <date>2016-04-06</date>
14
- <time>09:32:33</time>
15
- <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="ArchApps"><dir name="EmailSpellCheck"><dir><dir name="Helper"><file name="Data.php" hash="c64d4c406fc7812461924ff7501725b8"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f120395450864cffd7648fd0ca963825"/><file name="config.xml" hash="fb970f4d846f3272ff47f172836c33fd"/><file name="system.xml" hash="5c60ee63ae868cbb954d73cb97bc0ab3"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="ArchApps_EmailSpellCheck.xml" hash="888f626fa3835c6579be2d5a50e3cff3"/></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="archapps"><file name="emailspellcheck.xml" hash="45c5177d314662825a5075c3008d3431"/></dir></dir><dir name="template"><dir name="archapps"><dir name="emailspellcheck"><file name="email-spell-check.phtml" hash="5a42eb858bf1487d6ac8c088fbcbf94c"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="archapps"><dir name="emailspellcheck"><file name="email-spell-check.phtml" hash="5c4a081829e816c4517eb0f885255ae7"/></dir></dir></dir><dir name="layout"><dir name="archapps"><file name="emailspellcheck.xml" hash="022f71e7728286b51ef8f15b24e5a1ad"/></dir></dir></dir></dir></dir></dir><dir name="locale"><dir name="en_US"><file name="ArchApps_EmailSpellCheck.csv" hash="097b1aa15b832ce7114d74cb397ce612"/></dir></dir></dir><dir name="js"><dir name="archapps"><dir name="emailspellcheck"><dir><dir name="css"><file name="emailspellcheck.css" hash="963a3a50b816b61bfefe9505e74bfbe1"/></dir></dir><file name="emailspellcheck.js" hash="d466b31a8b068ede1f4eba0975394450"/><file name="mailcheck-plugin.js" hash="97717ff8f16b797c38ab28ebef2dee8a"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ArchApps_EmailSpellCheck</name>
4
+ <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Check &amp; suggest correct email address when user misspells it in your web forms.</summary>
10
  <description>Email SpellCheck extension for Magento helps your customers to spot and correct any misspelled email addresses in your web forms - be it checkout, registration, newsletter or any other form. Right after user finishes typing an email, extension checks it for typos and suggests to correct it if finds any.</description>
11
+ <notes>Release of v0.1.2</notes>
12
  <authors><author><name>ArchApps</name><user>ArchApps</user><email>raivis@archapps.io</email></author></authors>
13
+ <date>2016-05-13</date>
14
+ <time>13:01:05</time>
15
+ <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="ArchApps"><dir name="EmailSpellCheck"><dir><dir name="Helper"><file name="Data.php" hash="58ec0fd70d2464ef28609bc9209254f9"/></dir><dir name="etc"><file name="adminhtml.xml" hash="ba0b7019d2eab015b3043db6027da0ad"/><file name="config.xml" hash="8be93ac9f87dc85838434a348d2e59b6"/><file name="system.xml" hash="a83175388dcdc56d552e7b114d9ebcd6"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="ArchApps_EmailSpellCheck.xml" hash="6dc5c8d4a84b2dd1bfa6bc718d874e0f"/></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="archapps"><file name="emailspellcheck.xml" hash="a76355f38e875096e6d8e4402cbbcd0c"/></dir></dir><dir name="template"><dir name="archapps"><dir name="emailspellcheck"><file name="email-spell-check.phtml" hash="e7afbe2a9cb6f2f841c2fa96225c5319"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="archapps"><dir name="emailspellcheck"><file name="email-spell-check.phtml" hash="f3524958fb698116ac9ff4cf5f229660"/></dir></dir></dir><dir name="layout"><dir name="archapps"><file name="emailspellcheck.xml" hash="531bce8ceb776ef76ee43c7aea215871"/></dir></dir></dir></dir></dir></dir><dir name="locale"><dir name="en_US"><file name="ArchApps_EmailSpellCheck.csv" hash="6599761995ff869a9edfa61e744793d6"/></dir></dir></dir><dir name="js"><dir name="archapps"><dir name="emailspellcheck"><dir><dir name="css"><file name="emailspellcheck.css" hash="43f55135a3110e8313d70200b79da244"/></dir></dir><file name="emailspellcheck.js" hash="6641ebf3842130143e14ac85d90fb8ce"/><file name="mailcheck-plugin.js" hash="97717ff8f16b797c38ab28ebef2dee8a"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.4.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>