Commit Graph

3543 Commits

Author SHA1 Message Date
Jan Jakeš
fd3b07c916 Fix failing multisite tests
[MAILPOET-2466]
2019-10-10 17:17:58 +01:00
Rostislav Wolny
a460f78113 Move logger factory test to unit tests
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
10eb34ce53 Remove aspect mock from LogHandler test
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
e4262b0a6d Refactor Cron to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
db9456d17f Refactor LoggerFactory static methods to instance methods
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
beccbea6e2 Refactor Mailpoet\Logging\Logger to LoggerFactory
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Jan Jakeš
1f2e1f9e4a Rename WooCommerceOrders job to WooCommercePastOrders
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
Rostislav Wolny
6cbaeee868 Use PHPUnit mock instead of aspect mock in sending queue newsletter task test
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
Jan Jakeš
d2f6c48acb Prevent tracking WooCommerce purchases multiple times
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
260b9baeae Clean all previous stats records per-order before inserting new ones
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
4e15aad794 Rename meta record for last ID to restart WooCommerce purchase cron
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
0091755301 Fix and simplify query for latest click per-newsleter-per-subscriber
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
89fa5e20c4 Move dynamic segment acceptance tests from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
c59c13f5e2 Move dynamic segment tests to test namespace
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
70a89b7939 Move dynamic segments from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
3c3baeb9a9 Prefix Swiftmailer class strings missed by PHPScoper, add tests
[MAILPOET-2448]
2019-10-09 10:00:03 +01:00
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š
2c5ae9ff11 Remove check for non-existing automation ID
[MAILPOET-2382]
2019-10-08 14:22:55 +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š
4d4fe113e0 Remove no longer relevant acceptance test
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
169c9540ab Use WordPress trigger method in WooCommerce email tests
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
d459baf9ba Move automatic email acceptance tests from Premium plugin
[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
Ján Mikláš
ed215782a8 Add acceptance test for disabling WooCommerce email settings
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
6956a25c51 Fix acceptance tests that require cron to run
[MAILPOET-2400]
2019-10-03 10:01:55 +02:00
Ján Mikláš
1f5a183540 Use Linux Cron as default cron trigger
[MAILPOET-2400]
2019-10-03 10:01:55 +02:00
Amine Ben hammou
0314cb0b65 Add acceptance test
[MAILPOET-2300]
2019-10-02 09:42:43 +01:00
Jan Jakeš
86675dfd4f Move Swiftmailer to vendor-prefixed
[MAILPOET-2363]
2019-10-02 09:30:49 +01:00
Amine Ben hammou
61cd5e1cc2 Fix javascript tests
[MAILPOET-2281]
2019-10-01 15:10:52 +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
Jan Jakeš
c0d77e4564 Install Composer PHAR to tools directory
[MAILPOET-2405]
2019-09-30 20:10:53 +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