Commit Graph

10452 Commits

Author SHA1 Message Date
68ad8a72c0 Remove html support, we don't support that
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
9ffd442653 Render paragraph properties
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
c0a5097cdd Add an empty paragraph renderer
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
6fe3ff3fe1 Load paragraph block from server
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
718bc278f9 Save paragraph block to server
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
b7aa1b9f3d Create paragraph block
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
c15ddf478a Release 3.46.5 2020-03-23 16:38:56 +01:00
1d7fb55ae4 Revert "Remove functionality from old model"
This reverts commit 99f4a377c7.

[MAILPOET-2815]
2020-03-23 14:07:02 +01:00
7e60e9ba7e Make NewsletterTemplateEntity name mandatory
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
a0ee6dadba Ignore PHPStan error about EntityManager::getReference() type for now
PHPStan's Doctrine extension doesn't recognize our prefixed version of Doctrine.
We'll need to address this separately.

[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
72af35e2af Rewrite newsletter template model test to Doctrine repository test
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
f1fb0c3529 Rewrite newsletter template API tests to Doctrine
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
239e77256a Add SafeToOneAssociationLoadTrait, use it in NewsletterTemplateEntity
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
8ffdde144e Backport fix for Doctrine relation lazy loading bug
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
2a6c777b96 Replace remaining usages of NewsletterTemplate model with Doctrine, remove the model
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
a88cc069a7 Implement NewsletterTempates::cleanRecentlySent() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
e9ae4df4bc Remove 'description' from newsletter templates, it's not used anymore
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
196fb6794c Implement NewsletterTempates::delete() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
32f5777945 Implement NewsletterTempates::save() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
4d110bbb68 Implement NewsletterTempates::get() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
29ebd113b5 Implement NewsletterTempates::getAll() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
a50a23c0e2 Add NewsletterTemplateEntity and repository
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
e1f913a6b4 Reduce plugin's common styles lenght
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
2841f5bb89 Reduce editor's common styles lenght
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
0998f72632 Separate plugin and public styles
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
f02876b7cf Separate newsletter editor CSS file
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
cdf52fa6e4 Separate post editor block component
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
1d112fced6 Separate form editor components
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
87e9054117 Separate global wordpress styles components
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
7754da489e Create breakpoints mixin
This will later be used to define breakpoints by name, so developers don't have to remember specific sizes in pixels

[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
7487a2aa63 Create mixin files with SCSS mixins
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
8afb42d88a Unify newsletter editor variable naming
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
32b6bff89e Create settings files with just SCSS variables and unify their naming
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
ae58c44129 Unify SCSS files naming to kebab-case
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
6d6a01ba53 Rename main styles files
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
02fe614b27 Split component into two
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
d2716736a1 Use variables and calculations
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
96a5344115 Update acceptance test
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
20f417fe1e Remove debug code
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
46fbb588bb Add checkbox
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
db47fdf22f Use a new close button
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
104f84c863 Add save button
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
915d80d4c5 Display toggle in modal
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
fbae1f10ad Fix modal prop types
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
c77a9f3137 Create toggle component
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
f9aca4fe57 Open settings modal
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
af69fae556 Active state for form placement component
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
15df4ec37c Hover state for form placement component
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
c9a2a44970 Add placement settings header
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
9c4844f77c Create a component for placement settings
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00