Commit Graph

4591 Commits

Author SHA1 Message Date
Jan Jakeš
3ffd1a2a3c Use DI for WP functions in Reporter
[MAILPOET-2903]
2020-05-28 14:54:11 +02:00
Jan Jakeš
f0193feaad Use DI to create Analytics classes
[MAILPOET-2903]
2020-05-28 14:54:11 +02:00
Pavel Dohnal
5d17304ead Mark old function as deprecated
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
695ee96f84 Fix entity annotation
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
c63c49af89 Use doctrine for latest post fetching
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
7b0c5e61fe Use Newsletter entity in renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
f8a16b5e5a Remove public properties from renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
c9b1c549c1 Remove rendering in model
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
7e0b536ff4 Use Di for newsletter renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
fbc6786058 Split class to prevent circular dependency
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
c3686d9973 Move data from constructor
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
be631bd549 Use DI for blocks rendering
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
5f73f9ee3e Use DI in block renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
7561730407 Use DI in ALC
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
00fa2379e3 Add paragraph spaces to post excerpts
[MAILPOET-2627]
2020-05-28 10:01:14 +02:00
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