Commit Graph

4376 Commits

Author SHA1 Message Date
Pavel Dohnal
cf5e761ba4 Remove duplicite button
[MAILPOET-2888]
2020-05-28 09:45:15 +02:00
Pavel Dohnal
93e574da4e Fix typo
[MAILPOET-2887]
2020-05-28 09:35:20 +02:00
Jan Jakeš
e69188c5a0 Map bigint DB type to "int" (not as DBAL historically does to "string")
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
Jan Jakeš
fb238cd531 Fix errors discovered by doctrine-phpstan
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
wxa
aac8619f8f Subscribe to custom lists on WC checkout [MAILPOET-2897] 2020-05-27 13:30:05 +02:00
Rostislav Wolny
00f40b7ee4 Fix form html id to differ per display type
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
0039dec079 Add check that resize was called from correct domain
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
9ebd96fb6a Render form width on FE from settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
32f5e09d7d Make renderStyles attributes required
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
bf34a7477a Use form display types constants
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
9267cf7563 Add constants for form display type
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
63a972db4a Move inlined form styles to form styles in style element
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
2eabab4150 Move form styles rendering methods to style utils
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
2c53507a4e Update form style utils method names
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
a7cea43aac Refactor form preview specific FE functionality to extra module
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
wxa
70e3d1e459 Refresh nonce via heartbeats [MAILPOET-2839] 2020-05-25 18:45:19 +02:00
Jan Jakeš
0cc7e8de61 Fix queue re-rendering on save
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
3522c3b39f Fix inversed annotation
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
70e580a93c Fix newsletter adding/removing with orphan removal
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
652f56c066 Fix using wrong repository method
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
08549e4221 Use better variable name
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
492c3e8f27 Unify options check with segments
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
2c9341afff Update segments only if set in the request
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
81d2141529 Fix Carbon import
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
5d3a280d61 Re-render last sent email only for standard newsletters
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
489662c8b1 Use Doctrine's orphan removal for newsletter options
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
2242ef1a77 Use Doctrine's orphan removal for newsletter segments
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
04938bc6a1 Fix newsletter body validator
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
4862d42e8b Test all supported save fields
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
f986da4d7f Return input & output filters back to API endpoint
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
98c78c5c24 Return updated Newsletter entity from save controller
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
8fe3870608 Use Doctrine to re-check authorized emails on save
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
57b5d0c3c0 Update queue using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
7bea9a03a7 Reschedule post notifications using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
86a24ad674 Use PHPStan generics
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
e1819d4334 Set newsletter option data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
0e5e95310f Set newsletter segment data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
2c784ee036 Set newsletter data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
bb200fce7a Inject NewsletterTemplateRepository via constructor
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
25d33da702 Use exceptions instead of error responses
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
63971147e5 Extract Newsletter save functionality to a controller
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
3f78c82c51 Add functionality for converting exceptions to HTTP responses
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
d11dc98190 Add basic set of MailPoet exceptions
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Amine Ben hammou
9f97866e28 Fix annotation 2020-05-25 17:22:05 +02:00
Pavel Dohnal
fbcc79b461 Move placeholder styling
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Pavel Dohnal
419496208a Render placeholder color with set value
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Pavel Dohnal
acf1986490 Render the font colour
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
wxa
e9bbfbee46 Remove unnecessary custom CSS, change defualt form padding [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
wxa
9604172cbd Apply bottom padding fix in public CSS with some restrictions [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
wxa
90e73982f7 Limit slide-in width in public CSS [MAILPOET-2869] 2020-05-21 09:30:51 +02:00