Commit Graph

61 Commits

Author SHA1 Message Date
Amine Ben hammou
a596add838 ES5 block-scoped-var 2017-10-09 11:15:58 +00:00
Amine Ben hammou
1ad90680f4 ES5 object-curly-spacing 2017-09-21 09:12:52 +00:00
Amine Ben hammou
c95c2cd1ae ES5 space-in-parens 2017-09-21 09:04:32 +00:00
Amine Ben hammou
1f9bd04308 ES5 space-unary-ops 2017-09-21 08:52:30 +00:00
Amine Ben hammou
680446b77e ES5 space-before-function-parens 2017-09-21 08:35:12 +00:00
Pavel Dohnal
b4092e0641 Fix eslint no-unneeded-ternary in ES5
[MAILPOET-1085]
2017-09-11 15:03:30 +01:00
Pavel Dohnal
f77620d649 Fix eslint no-undef in ES5
[MAILPOET-1085]
2017-09-11 15:03:30 +01:00
Pavel Dohnal
478e60d60e Fix indent rule in ES5
[MAILPOET-1029]
2017-09-07 15:51:25 +01:00
stoletniy
efece061d0 Fix ES5 semi eslint rule [MAILPOET-1030] 2017-09-05 12:31:51 +01:00
stoletniy
e347fc74a2 Fix ES5 no-extra-semi eslint rule [MAILPOET-1030] 2017-09-05 12:31:51 +01:00
Amine Ben hammou
609f1b5e67 Tracking new events 2017-08-25 13:19:52 +00:00
Amine Ben hammou
b8aceff61f ES5: quote-props 2017-08-24 09:16:51 +02:00
Amine Ben hammou
cd091c2af6 ES5: quotes 2017-08-24 09:16:51 +02:00
Pavel Dohnal
acd2b9f51e Fix no-param-reassign in ES5
[MAILPOET-1033]
2017-08-16 12:22:56 +02:00
Pavel Dohnal
89b51b6215 Fix no-cond-assign in ES5
[MAILPOET-1033]
2017-08-16 10:39:43 +02:00
Vlad
48e37f6797 Adjusts WP's email validation regex syntax to JS 2017-06-11 12:31:54 -04:00
Vlad
7f566fb672 Adds client-side check for invalid characters in email addresses
Adds server-side validation of email addresses using WP's is_email()
2017-06-04 18:48:11 -04:00
stoletniy
ab0d573a66 Merge pull request #873 from mailpoet/import_results_fix
Keeps track of the number of updated/created subscribers over multiple server requests [MAILPOET-894]
2017-04-25 18:26:38 +03:00
Vlad
26c582b19f Keeps track of the number of updated/created subscribers over multiple
server requests
2017-04-25 11:00:52 -04:00
Vlad
6a65ff5e5d Removes default version
Updates all AJAX requests to include api version
Requires namespaces to have version
Clean up code
2017-04-19 23:34:40 -04:00
Vlad
448c9ddaa8 Fixes custom column names not being automatically matched on step 2 of
import
2017-04-13 10:10:00 -04:00
Vlad
a9edb383b4 Fixes next button not appearing when list is first unselected and then
selected back
2017-04-09 21:49:24 -04:00
Vlad
98812834f6 - Uses dependency injection for Select2 library 2016-12-03 19:18:17 -05:00
Vlad
217894745d - Updates text strings
- Closes #655
2016-10-25 10:21:23 -04:00
Vlad
09ca788371 - Fixes subscriber count not being shown when new segment is created 2016-10-17 20:12:57 -04:00
Vlad
b48cc5a959 - Updates import UI to escape HTML text
- Allows mixing of escaped and unescaped HTML text
- Removes server-side text escaping
2016-10-17 11:01:54 -04:00
Vlad
9ba6e9806f - Adds data sanitization on the client and server side
- Closes #641
2016-10-16 13:02:49 -04:00
Jonathan Labreuille
b0ab9e0408 fixed import/export unit tests + added specific method for getting segments for import 2016-09-30 15:52:17 +02:00
Jonathan Labreuille
5025f10f9f missing response in fail and prevent next on MC import 2016-08-17 16:15:54 +02:00
Jonathan Labreuille
9582e58dda converted import 2016-08-17 12:16:58 +02:00
Vlad
c5a02c6136 - Allows setting empty value for date custom fields 2016-08-14 13:00:28 -04:00
Vlad
81c277ca93 - Update import to autodetect dates (UI) and convert them to datetime
format (backend)
- Fixes unit test
- Fixes code formatting in Date class
2016-08-12 00:29:57 -04:00
Vlad
eb107799a7 - Fixes varable name typo
- Declares a new variable during date validate
2016-08-08 18:23:11 -04:00
Vlad
4eec0a42f9 - Forces date validation to use custom custom field parameter 2016-08-08 18:23:11 -04:00
Vlad
151683c632 - Updates Import to use the existing custom field creation code
- Closes #499
2016-08-08 18:23:11 -04:00
Vlad
7696b6ec5d - Replaces depreciated Notice .error() method with .fail() 2016-08-08 18:23:11 -04:00
Vlad
377498be1d - Removes validation of MailChimp API key
- Refactors import class
- Creates new method in Newsletter model to select welcome notifications
  for specific segments
- Updates Step 2 (error) and Step 3 (success) notices
- Gives MenuBootstrap class a comprehensible name
2016-05-27 07:16:11 -04:00
Vlad
768115b794 - Disables "next step" button on import's step 2 when no segments are
selected
2016-05-27 07:16:11 -04:00
Vlad
8b9d76db8a - Displays notice on step 3 of import when subscribers are added to a
segment with welcome notification enabled
2016-05-27 07:16:11 -04:00
Vlad
3888241cbd - Simplified date matching logic by using Moment.js 2016-05-27 07:14:34 -04:00
Vlad
da147047ec - Updates import email regex to use standard HTML5 regex
- Improves email detection/filtering logic
2016-05-27 07:14:34 -04:00
Tautvidas Sipavičius
483eaffc0e Merge pull request #471 from mailpoet/import_update
Import udate
2016-05-12 12:40:23 +03:00
Vlad
23682011af - Prevents WP user's first/last name to be updated during import
- Resets "next step" button state when going to step 3 of import
- Closes #469
2016-05-11 14:44:29 -04:00
Vlad
bc92d9a61e - Updates all datetime references to use WordPress format
- Removes depreciated datetime conversion method from Helpers
- Fixes translation & error display issue in import
Closes #432
2016-05-11 10:56:34 -04:00
Vlad
a1d8dec047 - Properly formats subscriber count during import 2016-05-11 10:18:59 -04:00
Vlad
1bd7639cc2 - Formats all numbers >1000 to use comma
- Removes subscriber count from segments if its === 0
Fixes #431
2016-05-10 20:09:02 -04:00
Vlad
2dab89135f - Sets MailPoet notice timeout to 5sec
- Removes custom timeout from import
2016-05-10 18:59:31 -04:00
Tautvidas Sipavičius
ccab8b4cf3 Add MailPoet.I18n for basic translation handling, removed MailPoetI18n 2016-03-23 14:52:06 +02:00
Vlad
74254d7e2a - Updates import to santize user input 2016-03-15 13:06:21 -04:00
Vlad
4d788f69aa - Updates batch size to 2000 2016-02-29 11:41:17 -05:00