Commit Graph

4334 Commits

Author SHA1 Message Date
c9b1c549c1 Remove rendering in model
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
7e0b536ff4 Use Di for newsletter renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
fbc6786058 Split class to prevent circular dependency
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
c3686d9973 Move data from constructor
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
be631bd549 Use DI for blocks rendering
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
5f73f9ee3e Use DI in block renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
7561730407 Use DI in ALC
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
00fa2379e3 Add paragraph spaces to post excerpts
[MAILPOET-2627]
2020-05-28 10:01:14 +02:00
cf5e761ba4 Remove duplicite button
[MAILPOET-2888]
2020-05-28 09:45:15 +02:00
93e574da4e Fix typo
[MAILPOET-2887]
2020-05-28 09:35:20 +02:00
e69188c5a0 Map bigint DB type to "int" (not as DBAL historically does to "string")
[MAILPOET-2945]
2020-05-27 13:40:41 +02:00
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
00f40b7ee4 Fix form html id to differ per display type
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
0039dec079 Add check that resize was called from correct domain
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
9ebd96fb6a Render form width on FE from settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
32f5e09d7d Make renderStyles attributes required
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
bf34a7477a Use form display types constants
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
9267cf7563 Add constants for form display type
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
63a972db4a Move inlined form styles to form styles in style element
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
2eabab4150 Move form styles rendering methods to style utils
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
2c53507a4e Update form style utils method names
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
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
0cc7e8de61 Fix queue re-rendering on save
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
3522c3b39f Fix inversed annotation
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
70e580a93c Fix newsletter adding/removing with orphan removal
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
652f56c066 Fix using wrong repository method
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
08549e4221 Use better variable name
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
492c3e8f27 Unify options check with segments
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
2c9341afff Update segments only if set in the request
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
81d2141529 Fix Carbon import
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
5d3a280d61 Re-render last sent email only for standard newsletters
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
489662c8b1 Use Doctrine's orphan removal for newsletter options
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
2242ef1a77 Use Doctrine's orphan removal for newsletter segments
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
04938bc6a1 Fix newsletter body validator
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
4862d42e8b Test all supported save fields
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
f986da4d7f Return input & output filters back to API endpoint
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
98c78c5c24 Return updated Newsletter entity from save controller
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
8fe3870608 Use Doctrine to re-check authorized emails on save
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
57b5d0c3c0 Update queue using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
7bea9a03a7 Reschedule post notifications using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
86a24ad674 Use PHPStan generics
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
e1819d4334 Set newsletter option data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
0e5e95310f Set newsletter segment data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
2c784ee036 Set newsletter data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
bb200fce7a Inject NewsletterTemplateRepository via constructor
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
25d33da702 Use exceptions instead of error responses
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
63971147e5 Extract Newsletter save functionality to a controller
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
3f78c82c51 Add functionality for converting exceptions to HTTP responses
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00