Commit Graph

4663 Commits

Author SHA1 Message Date
Rostislav Wolny
9fbaa92c9b Refactor AutomaticEmails 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
bf816f7ce3 Rename logger factory property that holds logger instances
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
534726cf9d Add static factory method for LoggerFactory
[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
Jan Jakeš
e0244c771a Rename WooCommerce orders job to restart it even when completed
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
Rostislav Wolny
21158abe49 Rename $queue variable to $sending_task to make code more undestandable
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
Amine Ben hammou
31d8125b99 Make isWPUser return false for 0
[MAILPOET-2457]
2019-10-10 11:59:58 +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
Rostislav Wolny
a4c1bac911 Remove useless validation rules from import code
[MAILPOET-2432]
2019-10-09 13:57:50 +01:00
Rostislav Wolny
54afa0661f Always use datetime validation for custom field of date type
[MAILPOET-2432]
2019-10-09 13:57:50 +01:00
Jan Jakeš
80f335fee3 Add dynamic segments page from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
771f4b9d63 Move dynamic segment hooks from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
e5e85344da Move dynamic segment filters table from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
d7d747b945 Remove Premium namespace from dynamic segments
[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
wxa
c7b0f50c4c Store the in_progress flag for all workers [MAILPOET-2443] 2019-10-08 15:03:48 +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š
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š
50043472ee Mock is-WooCommerce-active detection in PostContentManagerTest
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
a19f094bbc Convert 'afterTimeNumber' to int to pass correct prop types
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
8334fb445e Integrate automatic emails populator from Premium plugin
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
33b243f787 Fix calling method_exists() on string
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
6ec6813f35 Move automatic emails analytics reporter from Premium plugin
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
c829be1a11 Move automatic email initialization 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š
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
Rostislav Wolny
3ccdd85b97 Change collection property types to ArrayCollection
[MAILPOET-2428]
2019-10-03 14:51:11 +01:00
Rostislav Wolny
c2072ec107 Use latest newsletter sending queue in API response
[MAILPOET-2428]
2019-10-03 14:51:11 +01:00
Rostislav Wolny
bf3adf6ef7 Fix Newsletter/SendingQueue association mapping
[MAILPOET-2428]
2019-10-03 14:51:11 +01:00
Ján Mikláš
fa183bec6d Fix checking correct WooCommerce settings tab
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
c11b1a78f1 Use Twig to render WooCommerce settings overlay
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
24cc76cfbd Fix showing overlay on specific WC email settings
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
672c92ae31 Use WPFunctions for translations
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
ccdadf3614 Hide it behind feature flag
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
f2b01911f2 Inject HTML and CSS into WooCommerce settings page
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
b22b81e63a Register hook to inject styles into WooCommerce settings page
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Rostislav Wolny
8b723ce5ed Setup form front end assets on subscription pages
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00
Rostislav Wolny
a65375006a Remove unnecessary class construction in Subscription/Pages
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00
Rostislav Wolny
69cfe201b3 Remove unused variable from Subscriptions/Pages
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00
Rostislav Wolny
bb4bc76e78 Refactor form assets handling to separate class
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00
Amine Ben hammou
f4e1da7ac0 Implement action
[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
b17ade80c2 Fix typo
[MAILPOET-2281]
2019-10-01 15:10:52 +01:00