Commit Graph

4334 Commits

Author SHA1 Message Date
b7294bd86c Move cron-scheduling logic from SimpleWorker to CronWorkerRunner
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
cda5a57fc3 Use Symfony\Polyfill\Mbstring from prefixed namespace
[MAILPOET-2579]
2019-12-17 09:53:39 +00:00
wxa
ac9c250b55 Collect subscriber IPs for 3rd party API subscriptions [MAILPOET-2575] 2019-12-16 18:06:37 +00:00
07fc94f046 Fix Carbon-related problems reported by PHPStan
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
b22d9e1550 Fix conditional font-include comment for Outlook
[MAILPOET-2562]
2019-12-12 19:07:38 +00:00
wxa
748f99f965 Don't verify unsubscribe link presence in the WC template [MAILPOET-2561] 2019-12-12 13:12:06 +00:00
c5314abfd4 Move css-tidy to MailPoetVendor prefixed libraries
[MAILPOET-2563]
2019-12-12 12:46:19 +00:00
wxa
ed6bc90754 Add global styles for use in WC header and content blocks [MAILPOET-2521] 2019-12-11 18:22:46 +00:00
0d87258391 Refactor SubscribersFeature
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
716ccfeec0 Fix Doctrine typos
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
53f94dd7cb Use WP __() function
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
c4b03eb3f5 Fix columns types
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
df628ad78d Use SubscribersRepository instead of Subscriber model
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
924486e914 Add SubscribersRepository
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
86a164c079 Add Subscriber entity
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
e6689269ff Apply only to free users without MSS or premium key
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
d0369e96c9 Add warning to stats notification
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
c9052d71d4 Disable send buttons and endpoints
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
856c870ae5 Show subscribers limit warning
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
daf2b0bffb Remove the subscribers limit page
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
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
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
0c4dd20ce6 Fix source being reported as NULL when sending
[MAILPOET-2541]
2019-12-09 13:18:09 +00:00
bd0faa9a71 Respect transactional emails settings
[MAILPOET-2536]
2019-12-05 11:18:25 +00:00
90e49e9399 Remove feature flag for transactional emails
[MAILPOET-2536]
2019-12-05 11:18:25 +00:00
270798ceeb Create new form with email label within input
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
a082e74003 Fix fetching form styles within Populator
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
fa4ecaa445 Set full width text inputs as a default for newly created forms
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
effd37a0ad Refactor Form\Utils\Styles to injectable service
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
e53c58201b Add default styles for newly created forms
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
969f66e71c Add form placement section to form settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
2c0f16b0dd Fix tests and default values
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
d61d7ce483 Add class attribute to global class
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
a5dc30c4b6 Use Doctrine to create the newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
a178b5d1e8 Use DI to inject csstidy
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
9a8a353095 Fix PHPStan errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
822f48468e Show default heading if WC one is empty
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
aa129f5987 Use template for WooCommerce transactional emails
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
f56ced0ef5 Add Email renderer
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
45da91f670 Separate the template creation into a class
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
f34128d91b Add WC blocks preprocessing
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
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
9a2dea5f37 Add Sudzy to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00