Commit Graph

10452 Commits

Author SHA1 Message Date
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
688338bcdf Refactor save controller tests, use Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
770cda5c3c Move API save tests to controller tests
[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
d11dc98190 Add basic set of MailPoet exceptions
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
9f97866e28 Fix annotation 2020-05-25 17:22:05 +02:00
d679776a65 Check params before accessing values 2020-05-25 17:22:05 +02:00
fbcc79b461 Move placeholder styling
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
419496208a Render placeholder color with set value
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
acf1986490 Render the font colour
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
2f01a00dc4 Display the correct colour in textarea
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
0555cc94d9 Display label within input using selected colour
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
e77f1380f9 Add input colour settings
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
03599c54ea Replace unicode icons with SVG in YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
20257ad52a Add disabled form control components to stories
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
7517baeea8 Add disabled states for form control components
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
61dd1c61de Add box-shadow for Toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
6603fd89fd Sort values in CheckboxGroup component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
14352f8da3 Add border-radius variable for form controls
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
6864fc0694 UX fixes
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
1146c37665 Adjust some headings size after redesign change
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
ba3e8be510 Add story for YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
d89969417c Add YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
eca9817b9e Add styles for yes-no component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
c00bead4d1 Add story for Toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
f54ed0997b Add Toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
5850dfb85e Add styles for toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
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
6521b4e59f Add variables for dimensions for choice inputs
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
34ba928a76 Add story with radio examples
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00