Commit Graph

100 Commits

Author SHA1 Message Date
3490b8847c Use wordpress time when importing subscribers
[MAILPOET-3041]
2020-09-02 10:35:16 +02:00
e7002f74ae Add possibility set status for new or existing users in import
Fixes:#2968
[MAILPOET-2957]
2020-08-10 15:16:31 +02:00
257b6b75d4 Make sure the connection to mailchimp is working
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
d5bf33c49a Move dateConverter to common utils namespace
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
7d596e3407 Extract unrelated date conversion functionality from date block
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
dc5a296133 Inject dateBlock to services which use it
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
e2a265fa48 Fix subscriber import when existing emails contain uppercase chars
[MAILPOET-2649]
2020-01-21 21:54:11 +00:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
a012984a7a Move array_column polyfill to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
99ca99cae8 Check if custom field is found in import
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
a4c1bac911 Remove useless validation rules from import code
[MAILPOET-2432]
2019-10-09 13:57:50 +01:00
54afa0661f Always use datetime validation for custom field of date type
[MAILPOET-2432]
2019-10-09 13:57:50 +01:00
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
f27d764d13 Refactor adding link_tokens in import to separate methods
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
d6d9885a1e Add link_token for new subscribers during import
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
0b40475e7a Set last_subscribed_at within subscribers import
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
b3cdf74fa6 Handle duplicities gracefully
[MAILPOET-2157]
2019-07-22 11:20:38 -04:00
512bb0f7fe Fix MailChimp import
[MAILPOET-2157]
2019-07-22 11:20:38 -04:00
561649b25e Reject role-based email address on import
[MAILPOET-2101]
2019-06-20 11:51:46 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
fcf5fe1d5d Move code snipper to its own directory
Because our main composer has php engine specified as 5.6
we cannot use tools and libraries dependent on php 7

[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
46a0b7501b Update phpstan to level 5
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
c5b5d8f45d Downgrade PHPStan level to 4
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
f3f769316a Upgrade PHPStan level to 5
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a935b091d3 Add space between elseif/else if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
100db25ed9 Add space between while and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a8972ca281 Add space between switch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
0dfc967153 Clarify unknown MailChimp error message 2019-01-24 15:15:42 +02:00
44bc27df90 Define default variable values in cases when they can be undefined 2019-01-23 21:29:46 +02:00
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
a9f3eeeb0d User polyfill for array_column
[MAILPOET-1618]
2018-11-27 11:13:00 +01:00
60a5fe2732 Remove unused parameters & variabeles, fix calls with wrong number of args 2018-11-15 11:41:04 +01:00
ae0e03d2f3 Update code for PHP 5.5
[MAILPOET-1496]
2018-08-23 12:10:21 +02:00
f5d59eb00e Add source to imported subscribers
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
46493b991c Checking invalid emails on the input [MAILPOET-1288] 2018-03-06 19:54:44 +01:00
3d43970fdc Revert "Checking invalid emails on the input [MAILPOET-1288]" 2018-03-06 13:24:42 +00:00
5c10a66444 Subscribers import: Email validation unified with subscribers sync MAILPOET-1288 2018-03-06 09:15:48 +01:00
3c43c04586 Imports all new subscribers with subscribed status as default 2018-02-16 14:46:34 +00:00
c8f334d782 Prevents overwriting global subscription status 2018-02-16 14:46:34 +00:00
4abd034880 normalizing emails in lowercase 2018-01-23 13:46:10 +00:00
099db4e1c8 Removes unused variable
Fixes typo in error message
2017-06-05 11:59:13 -04:00
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
ac574acf8e Merge branch 'import_fixes' of mailpoet:mailpoet/mailpoet into import_fixes 2017-04-13 09:41:46 -04:00