Commit Graph

181 Commits

Author SHA1 Message Date
Vlad
7cf63965a0 Adds distinction between global and list status
Exports subscribers with any list status
Limits "confirmed only" option to global status
2018-02-16 14:46:34 +00:00
Amine Ben hammou
4abd034880 normalizing emails in lowercase 2018-01-23 13:46:10 +00:00
Vlad
6fe5b7e0c5 Conditionally uses set_time_limit() when function is not disabled 2017-08-11 12:16:31 -04:00
Vlad
099db4e1c8 Removes unused variable
Fixes typo in error message
2017-06-05 11:59:13 -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
Vlad
ac574acf8e Merge branch 'import_fixes' of mailpoet:mailpoet/mailpoet into import_fixes 2017-04-13 09:41:46 -04:00
Vlad
aa15b9420a Replaces redundant search with one-time lookup 2017-04-13 09:28:54 -04:00
Alexey Stoletniy
bee9bfcfcc Fix data being mixed up when splitting subscribers, remove excessive arguments [MAILPOET-828] 2017-04-13 11:08:20 +03:00
Vlad
5b4fa4ea2b Fixes custom fields not being updated or causing integrity constraint
error: https://mailpoet.atlassian.net/browse/MAILPOET-828
2017-04-12 09:40:15 -04:00
Vlad
d6f5a39829 Simplifies subscriber splitting code and adds comments 2017-04-11 22:12:50 -04:00
Vlad
89ff93958f Removes subscriber object modification logic from the splitSubscribersData() method
Uses 2 separate objects with its own data for existing and new subscribers
Extends only new subscribers' object when it is missing required fields
2017-04-10 21:41:21 -04:00
Vlad
b9f7a5673f Removes lefover test code 2017-04-10 11:32:38 -04:00
Vlad
3a9c006cf9 Prevents overwriting existing subscribers' status (and other required fields) unless
the import object contains data for those fields
2017-04-09 22:04:56 -04:00
Tautvidas Sipavičius
8abec208fc Rewritten some translation strings 2017-01-30 21:35:49 +02:00
Tautvidas Sipavičius
9f7ae122e3 Add missing periods to translation strings 2017-01-30 21:33:59 +02:00
Vlad
9a0bb52860 - Fixes subscribers not being added to list(s) upon import 2016-11-29 15:28:56 -05:00
Tautvidas Sipavičius
c658778476 Merge pull request #723 from mailpoet/bounced_subscribers
Add 'Bounced' status to subscribers [MAILPOET-684]
2016-11-29 12:47:41 +02:00
Alexey Stoletniy
36b935b9ae Add 'Bounced' status to subscribers [MAILPOET-684]
Fix SubscriberTest->testItHasGroupFilter() making only one of four assertions due to lack of data.
Fix a small issue with Import. Unexpected values for the status field were converted to 'unconfirmed' rather than 'subscribed' due to non-strict comparison in in_array(). This hindered 'bounced' status import as well.
2016-11-28 19:37:47 +03:00
Vlad
71fbc1a7b0 - Simplifies code that prepares subscriber custom field data for
creation/update
- Updates tests
2016-11-27 20:53:20 -05:00
Vlad
0c8cc27ea2 - Updates MailChimp API key regex 2016-11-22 12:44:58 -05:00
Vlad
7c61fa2c81 - Fixes an issue where a subscriber with the same email but different case
variant is not considered unique
- Fixes an issue where an object of existing subscribers would not have
  the same number of data in each child array due to null values being
  removed
- Updates unit tests
2016-11-21 21:53:43 -05:00
Tautvidas Sipavičius
2a961cca01 Eliminate an extra level of indentation 2016-11-02 13:10:23 +02:00
Vlad
516bc73092 - Increases export filename length and randomness 2016-10-21 11:42:13 -04:00
Vlad
98f95f72ad - Adds validation for import data, including column names (fixes #633)
- Prevents nonexistent custom fields from being associated with subscribers
2016-10-17 20:22:25 -04:00
Vlad
9197e39fb4 - Restricts MailChimp API key to specific format
- Updates unit test
2016-10-16 11:57:56 -04:00
Tautvidas Sipavičius
be61135daf Merge pull request #627 from mailpoet/translations
Translations
2016-10-05 12:26:03 +03: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
7fbf84db1f converted text domain to string instead of constant 2016-09-30 09:58:26 +02:00
Jonathan Labreuille
42202f676a updated Env::plugin_name to constant for text domain 2016-09-27 14:54:23 +02:00
Jonathan Labreuille
ba6198f956 added textdomain to __() calls 2016-09-27 14:53:44 +02:00
Jonathan Labreuille
289811a595 Updated Import & MailChimp tests 2016-08-17 13:32:29 +02:00
Jonathan Labreuille
876e386966 converted export 2016-08-17 12:23:15 +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
7f091d7188 - Fixes rebase screwup 2016-08-12 10:38:15 -04:00
Vlad
46b0fcf37b - Adds subscriber data validation; specifically for custom fields with
date type
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
41ad86ba1f - Fixes code style 2016-08-05 13:03:31 -04:00
Tautvidas Sipavičius
18398a3bfb Finish changing segments to lists and columns to fields 2016-07-29 13:30:17 +03:00
Kiefer Conrad
c05a20cff9 Update 28 July 2016 2016-07-29 13:29:05 +03:00
Kiefer Conrad
49b65729db update 14 July 2016 2016-07-14 20:58:12 +02:00
Tautvidas Sipavičius
55d48df8a4 Fix indentation issues 2016-06-30 18:50:48 +03:00
Tautvidas Sipavičius
235fdea00f Remove commented out code, raise code similarity trigger treshold 2016-06-30 18:50:48 +03:00
Tautvidas Sipavičius
48f0c03425 Fix spacing between control structure and opening parenthesis 2016-06-30 18:46:33 +03:00
Kiefer Covia
08e6430c7d June 8 2016 Copy review 2016-06-08 17:02:50 +02:00
Jonathan Labreuille
3c46a5b434 Optimized Bulk actions
- Updated SQL schema for every created_at column so that it has a default value
- Updated unit tests based on recent changes (new methods in SubscriberSegment model)
- Added check for HelpScout initialization code so that it doesn't throw errors
2016-05-27 14:15:46 +02: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
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
da08de0e74 - Fixes unit test
- Enables check for ZIP extension
2016-05-19 09:10:26 -04:00
Vlad
31e082eb2b - Removes space between IF and statement 2016-05-18 10:00:38 -04:00