Commit Graph

11662 Commits

Author SHA1 Message Date
Pavel Dohnal
154d68b827 Save email addresses in lower case
[MAILPOET-2272]
2020-05-26 14:50:10 +02:00
Pavel Dohnal
deb8e3038d Prevent deleting the last item
[MAILPOET-2889]
2020-05-26 13:11:42 +02:00
Amine Ben hammou
bb4f7f9ffd Release 3.47.1 2020-05-26 12:21:28 +02:00
wxa
688c24c7e1 Fix tests [MAILPOET-2839] 2020-05-25 18:45:19 +02:00
wxa
70e3d1e459 Refresh nonce via heartbeats [MAILPOET-2839] 2020-05-25 18:45:19 +02:00
wxa
2b4afbcda9 Show a better error message if newsletter saving fails [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š
688338bcdf Refactor save controller tests, use Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
770cda5c3c Move API save tests to controller tests
[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
Amine Ben hammou
d679776a65 Check params before accessing values 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
Pavel Dohnal
2f01a00dc4 Display the correct colour in textarea
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Pavel Dohnal
0555cc94d9 Display label within input using selected colour
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Pavel Dohnal
e77f1380f9 Add input colour settings
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Ján Mikláš
03599c54ea Replace unicode icons with SVG in YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
20257ad52a Add disabled form control components to stories
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
7517baeea8 Add disabled states for form control components
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
61dd1c61de Add box-shadow for Toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
6603fd89fd Sort values in CheckboxGroup component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
14352f8da3 Add border-radius variable for form controls
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
6864fc0694 UX fixes
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00