Commit Graph

112 Commits

Author SHA1 Message Date
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
eb02627a98 Fix PHPStan errors in unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Pavel Dohnal
227ec2adc9 Mark network tests as skipped
Instead of silently returning

[MAILPOET-2358]
2019-09-19 14:48:59 +02:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
wxa
87e515b89d Move current unit tests to integration tests 2018-10-29 17:57:47 +03:00
Pavel Dohnal
ee00464cc5 Remove www from confirmation email sender
[MAILPOET-1593]
2018-10-22 09:17:10 +02:00
Pavel Dohnal
a1d606e533 Add cleanup
[MAILPOET-1522]
2018-10-15 13:52:04 +02:00
Pavel Dohnal
654dd1e8d0 Rename Send classes
[MAILPOET-1522]
2018-10-15 13:06:19 +02:00
Pavel Dohnal
70debcc828 Refactor confirmation email sending
Aspect mock stopped working for me so I had to create a separate service
for sending confirmation emails.

[MAILPOET-1522]
2018-10-11 13:39:39 +02:00
Pavel Dohnal
4249c7a2cb Send an email notification on new subscriber
[MAILPOET-1522]
2018-10-11 10:23:06 +02:00
Michelle Shull
02e1f7f6dc Merge pull request #1489 from mailpoet/migration-notice
Migration notice [MAILPOET-1492]
2018-09-20 14:13:17 -04:00
Pavel Dohnal
de6ba39595 Fix private access error 2018-09-19 10:24:37 +02:00
Tautvidas Sipavičius
bb8a94d580 Fix broken test after translation change 2018-09-17 15:55:33 +03:00
Pavel Dohnal
ae0e03d2f3 Update code for PHP 5.5
[MAILPOET-1496]
2018-08-23 12:10:21 +02:00
Pavel Dohnal
ac33e11c60 Reject requests without mandatory custom fields
We need to make sure subscribers cannot be created without custom fields
Users require GDPR consent and we need to make sure there are no way to
create a subscriber without mandatory custom fields

[MAILPOET-1405]
2018-08-21 15:03:08 +02:00
Rostislav Wolny
dff9154e7d Fix export of newsletters statistics [MAILPOET-1444] 2018-06-29 14:40:13 +02:00
Michelle Shull
d56f2c59ef Merge pull request #1355 from mailpoet/subscriber-source
Subscriber source [MAILPOET-1377]
2018-05-21 08:17:00 -04:00
Pavel Dohnal
d4e3334f9e Add source to privacy exports
[MAILPOET-1377]
2018-05-14 16:22:51 +01:00
Michelle Shull
e55aab43b5 Merge pull request #1350 from mailpoet/gdpr-clicks
Export statistics clicks [MAILPOET-1357]
2018-05-14 10:19:37 -04:00
Pavel Dohnal
f5d59eb00e Add source to imported subscribers
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
Pavel Dohnal
1af5802030 Add subscriber source
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
Michelle Shull
709de7dd54 Merge pull request #1348 from mailpoet/gdpr-opens
Export viewed emails [MAILPOET-1356]
2018-05-14 07:00:46 -04:00
Pavel Dohnal
a664d3631b Export statistics clicks
[MAILPOET-1357]
2018-05-11 18:34:25 +01:00
Pavel Dohnal
d5b9664bde Fix failing tests 2018-05-09 12:47:25 +01:00
Pavel Dohnal
bd01b5855e Add subscriber eraser for GDPR
[MAILPOET-1359]
2018-05-09 09:28:04 +01:00
Pavel Dohnal
ee99195b30 Export viewed emails
[MAILPOET-1356]
2018-05-08 12:26:41 +01:00
Pavel Dohnal
68b091848c Export newsletters sent to a user
[MAILPOET-1355]
2018-05-07 14:19:44 +03:00
Pavel Dohnal
11067327a1 Add Subscriber exporter
[MAILPOET-1358]
2018-05-03 16:35:40 +01:00
Pavel Dohnal
8e13eb50bf Export lists for email
[MAILPOET-1354]
2018-05-03 16:33:22 +01:00
Vlad
6c64ba90c7 Abstracts WP's remove_all_filters function and fixes export test 2018-04-13 14:20:53 -04:00
Amine Ben hammou
82ec8d7ef9 adding tests 2018-03-16 15:31:29 +01:00
Amine Ben hammou
b9c31698d5 moving subscribers fetching logic into a separated class. 2018-03-08 18:01:56 +01:00
Vlad
0d69b05ac0 Removes option to group by lists during export 2018-02-19 09:53:34 +00:00
Vlad
b5b0a02ea4 Removes option to export only confirmed subscribers 2018-02-16 14:46:34 +00:00
Vlad
3c43c04586 Imports all new subscribers with subscribed status as default 2018-02-16 14:46:34 +00:00
Vlad
e87134eca4 Adds IP address field to export 2018-02-16 14:46:34 +00:00
Vlad
c8f334d782 Prevents overwriting global subscription status 2018-02-16 14:46:34 +00:00
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
stoletniy
37c58c6aa4 Add a comment about testing normalization [MAILPOET-1271] 2018-01-23 18:08:13 +03:00
Amine Ben hammou
4abd034880 normalizing emails in lowercase 2018-01-23 13:46:10 +00:00
stoletniy
6fb18ad321 Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025] 2017-07-26 18:28:56 +03:00
stoletniy
29491dfd3e Fix active coding standard rule violations in tests [MAILPOET-981] 2017-07-03 16:20:44 +03:00
Pavel Dohnal
b80683a9a1 Fix unit tests for PHPUnit v6
Codeception from version 2.3 up comes with PHPUnit v6 which changed
__construct behaviour. Our tests have to call parent __constructor in
order to work. The error was:
[PHPUnit\Framework\Exception] array_merge(): Argument #1 is not an array
2017-06-07 11:32:33 +01: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