Commit Graph

10202 Commits

Author SHA1 Message Date
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
Ján Mikláš
1146c37665 Adjust some headings size after redesign change
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
ba3e8be510 Add story for YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
d89969417c Add YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
eca9817b9e Add styles for yes-no component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
c00bead4d1 Add story for Toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
f54ed0997b Add Toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
5850dfb85e Add styles for toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
49b866ad29 Replace onChange prop with onCheck for Radio and Checkbox
onChange is already defined for HTML inputs and returns event, but we want to return boolean/array of values

[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
6521b4e59f Add variables for dimensions for choice inputs
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
34ba928a76 Add story with radio examples
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00