Commit Graph

825 Commits

Author SHA1 Message Date
Jan Jakeš
114c80cee2 Use more descriptive alias in WooCommerceOrdersTest
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Jan Jakeš
5ae89efb03 Add tests for WooCommerce payment stats
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Pavel Dohnal
8b6fd78cfa [MAILPOET-1898] 2019-04-23 12:33:15 -04:00
Jan Jakeš
87434bf3fa Improve compatibility with plugins using tax_query
[MAILPOET-1963]
2019-04-23 10:31:25 -04:00
Rostislav Wolny
a8584523d3 Consider also confirmed_at for subscribers deactivation
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
8be29b0863 Skip subscribes deactivation when tracking is disabled
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
5d70af106b Add execution of inactive subscribers worker
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
7eb0e23d22 Add cron worker for inactive subscribers
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
7b433a4273 Add reactivation of recently active subscribers
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
9edace78f0 Add inactive subscribers deactivation
[MAILPOET-1971]
2019-04-22 10:58:13 -04:00
Ján Mikláš
6fd9c69a27 Always show product image in editor
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
Pavel Dohnal
bdaff6fc30 Add tracking cookie
[MAILPOET-1961]
2019-04-16 11:20:56 +02:00
Rostislav Wolny
534dc140f7 Use WP function to parse DB_HOST
This change will enable using MailPoet on sites which are using ipv6 addresses in DB_HOST
[MAILPOET-1907]
2019-04-16 11:11:28 +03:00
Ján Mikláš
a9856473a3 Remove unnecessary code
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
Ján Mikláš
814fc7c078 Test that inactive subscribers don't recieve newsletters
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
Pavel Dohnal
46a0b7501b Update phpstan to level 5
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
Rostislav Wolny
7fc2c25fa1 Refactor column renderer
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
Pavel Dohnal
6493f7ceb4 Validate only fields in form
[MAILPOET-1828]
2019-04-08 10:35:20 -04:00
Pavel Dohnal
08a3a66f4c Cleanup export files after some time
[MAILPOET-1894]
2019-04-03 12:46:45 -04:00
Pavel Dohnal
cd1bfe6d88 Prevent unsubscribing when previewing
[MAILPOET-1935]
2019-04-03 12:01:23 -04:00
Pavel Dohnal
acbf363412 Prevent scheduling welcome emails
If subscriber is imported we don't want to send them welcome emails if their data are updated

[MAILPOET-1908]
2019-04-01 07:02:54 -04:00
Pavel Dohnal
3d69b3aeec Move Twig to prefixed dependencies
Closes #1904
[MAILPOET-1929]
2019-04-01 05:43:25 -04:00
wxa
ed775c31cd Fix subscribing old WooCommerce customers to WC list [MAILPOET-1939] 2019-03-28 11:48:15 -04:00
Amine Ben hammou
17949d06d5 Clean DB on _before() 2019-03-21 10:03:21 -04:00
Amine Ben hammou
de3d3331b0 Refactor tests [MAILOET-1677] 2019-03-21 10:03:21 -04:00
Amine Ben hammou
92cf0cc7db Refactor UserFlagsController 2019-03-21 10:03:21 -04:00
Amine Ben hammou
114a8281a9 Fix tests, code typos and style 2019-03-21 10:03:21 -04:00
Amine Ben hammou
6218166ca1 Add user flags API endpoint [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
Amine Ben hammou
33847397f3 Add UserFlags controller [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
Amine Ben hammou
6801204232 Add UserFlag model [MAILPOET-1677] 2019-03-21 10:03:21 -04:00
wxa
0a9e23d2c4 Add tests [MAILPOET-1922] 2019-03-21 08:30:45 -04:00
Rostislav Wolny
c7fd6a5bfe Change sender for mailer send test to use authorized sending address 2019-03-18 11:17:04 -04:00
Pavel Dohnal
c526ba97e0 Fix typos
[MAILPOET-1790]
2019-03-13 16:10:09 -04:00
Pavel Dohnal
fefcf4fed5 Synchronise subscribers status
[MAILPOET-1790]
2019-03-13 16:10:09 -04:00
Rostislav Wolny
5193df6a6d Fix unix_socket parsing from DB_HOST
[MAILPOET-1886]
2019-03-13 09:45:42 -04:00
Rostislav Wolny
a35d7dc7c6 Refactor Config\Env to accept DB constants as parameters
[MAILPOET-1886]
2019-03-13 09:45:42 -04:00
Rostislav Wolny
efc5aa5900 Enhance Analytics\Reporter to fetch tracking data
[MAILPOET-1815]
2019-03-12 10:45:46 -04:00
Pavel Dohnal
2330532f35 Use default sender
[MAILPOET-1868]
2019-03-12 07:35:00 -04:00
Amine Ben hammou
3ff55d85a9 Fix tests 2019-03-07 08:30:14 -05:00
Pavel Dohnal
6d3beaa45d Render post position
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
Amine Ben hammou
658f4a6eb1 Add tests 2019-02-28 15:56:40 -05:00
Amine Ben hammou
ef0f6c9a5a Reduce the number of SQL queries 2019-02-28 15:56:40 -05:00
Ján Mikláš
af39ae89c4 Use DI for ServicesChecker
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
fc55e5f7ec Fix integration test
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
f5feb032fe Show error notice when email is sent from unauthorized email
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
79bd178123 Add integration test for unauthorized email
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
91c88bc93f Better error code name when not able to send mails
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Rostislav Wolny
6048ccba85 Inject CronTrigger into Initializer
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
b1c9133330 Add current_user_can WP function into WPFunctions wrapper
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
1179747324 Refactor AccessControl static methods to instance methods
[MAIPOET-1823]
2019-02-25 06:38:25 -05:00