Commit Graph

4663 Commits

Author SHA1 Message Date
Amine Ben hammou
042557aafa Apply new limit to new users
I refactored the SubscribersFeature class so that it's easily
unit tested. Computing the subscribers count in the constructor
is better then computing it on every call to check().

[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
Pavel Dohnal
8fb58450ed Use inferPrivatePropertyTypeFromConstructor
[MAILPOET-2568]
2019-12-10 13:24:17 +01:00
wxa
98f18a48fb Always show 'Customize' button for WC email customizer [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
wxa
b528b732a5 Add WC customizer activation button to the editor [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
wxa
21fb16116d Fix a redirect when WC is disabled (thus no output buffering) [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
wxa
393b377437 Fix colors and font sizes, add default logo, remove CTA button [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
Jan Jakeš
0c4dd20ce6 Fix source being reported as NULL when sending
[MAILPOET-2541]
2019-12-09 13:18:09 +00:00
Ján Mikláš
bd0faa9a71 Respect transactional emails settings
[MAILPOET-2536]
2019-12-05 11:18:25 +00:00
Ján Mikláš
90e49e9399 Remove feature flag for transactional emails
[MAILPOET-2536]
2019-12-05 11:18:25 +00:00
Rostislav Wolny
270798ceeb Create new form with email label within input
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
a082e74003 Fix fetching form styles within Populator
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
fa4ecaa445 Set full width text inputs as a default for newly created forms
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
effd37a0ad Refactor Form\Utils\Styles to injectable service
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
e53c58201b Add default styles for newly created forms
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
969f66e71c Add form placement section to form settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Amine Ben hammou
2c0f16b0dd Fix tests and default values
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
d61d7ce483 Add class attribute to global class
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a5dc30c4b6 Use Doctrine to create the newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a178b5d1e8 Use DI to inject csstidy
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
9a8a353095 Fix PHPStan errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
822f48468e Show default heading if WC one is empty
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
aa129f5987 Use template for WooCommerce transactional emails
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
f56ced0ef5 Add Email renderer
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
45da91f670 Separate the template creation into a class
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
f34128d91b Add WC blocks preprocessing
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
5f5a254548 Move preprocessing logic into Preprocessor class
[MAILPOET-2286]

Additional preprocessing logic is needed to handle WooCommerce
blocks, so instead of making the Renderer class even bigger,
I am creating a new Preprocessor class. I wanted to move the
`addMailpoetLogoContentBlock` logic as well but it will break
tests and require a lot of refactor to fix them so I am leaving
it here for now.
2019-11-28 14:07:38 +00:00
wxa
7be762c462 Improve the SPF check message [MAILPOET-2511] 2019-11-28 13:23:02 +00:00
Jan Jakeš
9a2dea5f37 Add Sudzy to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
5c212e7483 Add Paris to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
45c2b19dfa Move XSLXWriter to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
9166f280d0 Move CSS to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
a012984a7a Move array_column polyfill to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
bfdaf4da1e Move 3rd-party libs to a dedicated directory
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Amine Ben hammou
5ca9b6f520 Fix shortcode being URL encoded
[MAILPOET-2540]
2019-11-27 09:44:48 +00:00
Amine Ben hammou
371b6a2824 Remove tasks if processing requirements are false
[MAILPOET-2530]
2019-11-25 15:43:57 +00:00
Jan Jakeš
dc5e2ae386 Simplify WorkersFactory using DI and making it container-aware
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
382df5e034 Pass cron worker timer in process() method instead of a constructor
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
afecae15f5 Extract scheduling logic from SimpleWorker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
59ac38cabd Use processTaskStrategy() instead of custom logic in Bounce worker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
ac794aaca2 Use processTaskStrategy() instead of custom logic in Migration worker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
8a8b34e554 Remove useless method
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
cd93940940 Make static methods in cron workers non-static
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
ba41f4901e Move SQL queries from SimpleWorker to model, improve naming
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
c1d5c8068d Use DI for cron triggers
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
7a91641d11 Make cron triggers non-static
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
b1aed487be Simplify CronTrigger methods list & its usage
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Pavel Dohnal
69b79b4f6c Fix types
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Pavel Dohnal
52b4d67eca Make sure values are found
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00