Commit Graph

651 Commits

Author SHA1 Message Date
wxa
f98ed72d83 Store the 'in_progress' flag for workers in a separate column [MAILPOET-2443] 2019-10-08 15:03:48 +01:00
Jan Jakeš
e051870eb5 Move 'getCustomerOrderCount' from Helper to where it's used, remove Helper
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
25d9ffa656 Move getWooCommerceSegmentSubscriber() from helper to model
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
dd45a96b94 Remove unused imports
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
55af6fab1a Move tests to feature namespaces
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
50043472ee Mock is-WooCommerce-active detection in PostContentManagerTest
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
d51ba11bf2 Move automatic emails API from Premium plugin
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
f0fa9bee2e Fix WooCommerce test stubs to follow Code Sniffer rules
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
8fd5f987a9 Remove Premium namespace from automatic emails
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
5ceb4a9343 Move automatic emails from Premium plugin
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
8f75a18f6c Add sniff for useless aliases, fix found occurence
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Ján Mikláš
51284bc883 Fix tests
[MAILPOET-2378]
2019-10-01 14:24:12 +01:00
Rostislav Wolny
85dea70801 Remove unused use statements in newsletter links test
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Rostislav Wolny
86fd634563 Mark Newsletter/Links methods used only internally as private
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Rostislav Wolny
44c6e5db91 Ensure that unsubscribe link is always saved before sending
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Rostislav Wolny
028c5e6de5 Add ensure unsubscribe link method to newsletters links
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
wxa
12c526e120 Merge SingleInstanceSimpleWorker into SimpleWorker [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
0805dc365f Make startProgress() and stopProgress() methods private [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
2a48d0846d Move exception handling from concrete workers into processTask() [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
2a0bf3f3c8 Extract rescheduling out of the isInProgress() check [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
ce645306a5 Use single instance protection for inactive subscribers sync [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
9b1f7f2d8c Refactor WooCommerce sync worker to use common single instance protection [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
b5106d9d42 Add a single-instance simple worker [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
Rostislav Wolny
a6db3dceed Remove unused mailpoet cookie session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Rostislav Wolny
8cef633548 Refactor captcha rendering to use updated captcha session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Rostislav Wolny
de3c519fbf Refactor subscribers API to use updated captcha session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Rostislav Wolny
fa4c2c8b8f Add ability to pass session_id in within captcha related urls
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Rostislav Wolny
704117d37d Refactor captcha session to use internal session id
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Pavel Dohnal
910b62cd70 Replace constant in tests
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
Pavel Dohnal
1bedf1fd1a Allow modifing cron limits
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
Rostislav Wolny
4d3a005b20 Inject LinkTokens dependency to SubscriptionUrlFactory using DI
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
0dd7b5fb7a Remove unnecessary aliases for SubcriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
7dba4d900c Rename Subscription\Url to Subscription\SubscriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
653dbe5783 Remove aspect mock from Confirmation mailer test
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
d90d5c6385 Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
4e75f8883e Refactor getManageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
3c4b60ede9 Refactor getConfirmationUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
14cf67d556 Refactor getCaptchaImageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
54632b20c2 Refactor getCaptchaUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Amine Ben hammou
02683ee87b Fix tests
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
bc31ca6c6d Remove Subscriber::generateToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
692ff1ed22 Use getToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
ab63bde9ed Add LinkTokens service
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Pavel Dohnal
35c9973c85 Prevent activating email without body
[MAILPOET-2366]
2019-09-24 14:34:59 +01:00
Ján Mikláš
ef617a0026 Add integration test
[MAILPOET-2292]
2019-09-23 16:50:21 +01:00
Amine Ben hammou
777cf0bdd7 Add meta when sending newsletters
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
3dcde4170e Add meta when sending new subscriber notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00