Commit Graph

11662 Commits

Author SHA1 Message Date
Amine Ben hammou
c4d53df406 Add common CSS and components
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
Jan Jakeš
f98229372e Move duplicit code into ServicesChecker
[MAILPOET-2729]
2020-03-24 19:55:36 +01:00
Jan Jakeš
6c10594a9b Add acceptance test for unapproved key notices
[MAILPOET-2729]
2020-03-24 19:55:36 +01:00
Jan Jakeš
7d352062ba Display unapproved key notice for sending step, disable send buttons
[MAILPOET-2729]
2020-03-24 19:55:36 +01:00
Jan Jakeš
5160498c22 Display unapproved key notice for 'Send preview'
[MAILPOET-2729]
2020-03-24 19:55:36 +01:00
Jan Jakeš
2b1444dd53 Require that subscriber received a newsletter only for non-preview links
[MAILPOET-2761]
2020-03-24 18:37:03 +01:00
Emma Kalson
31fc05dbfd Updated variable name
Updated $getsubscriber to $get_subscriber for coding compliance and to ensure that $subscriber array isn't overwritten.
2020-03-24 14:12:49 +01:00
Emma Kalson
ab44227c11 Update UsageExamples.md
Changed variable name of $subscriber to $getsubscriber, so the subscriber array isn't overwritten.
2020-03-24 14:12:49 +01:00
Rostislav Wolny
6501fdb526 Release 3.46.6 2020-03-24 11:05:32 +01:00
Pavel Dohnal
ea6f9bb76a Fix tests
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
Pavel Dohnal
68ad8a72c0 Remove html support, we don't support that
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
Pavel Dohnal
9ffd442653 Render paragraph properties
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
Pavel Dohnal
c0a5097cdd Add an empty paragraph renderer
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
Pavel Dohnal
6fe3ff3fe1 Load paragraph block from server
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
Pavel Dohnal
718bc278f9 Save paragraph block to server
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
Pavel Dohnal
b7aa1b9f3d Create paragraph block
[MAILPOET-2614]
2020-03-23 18:30:26 +01:00
Rostislav Wolny
c15ddf478a Release 3.46.5 2020-03-23 16:38:56 +01:00
Jan Jakeš
1d7fb55ae4 Revert "Remove functionality from old model"
This reverts commit 99f4a377c7.

[MAILPOET-2815]
2020-03-23 14:07:02 +01:00
Jan Jakeš
7e60e9ba7e Make NewsletterTemplateEntity name mandatory
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
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
Jan Jakeš
72af35e2af Rewrite newsletter template model test to Doctrine repository test
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
Jan Jakeš
f1fb0c3529 Rewrite newsletter template API tests to Doctrine
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
Jan Jakeš
239e77256a Add SafeToOneAssociationLoadTrait, use it in NewsletterTemplateEntity
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
Jan Jakeš
8ffdde144e Backport fix for Doctrine relation lazy loading bug
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
Jan Jakeš
2a6c777b96 Replace remaining usages of NewsletterTemplate model with Doctrine, remove the model
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
a88cc069a7 Implement NewsletterTempates::cleanRecentlySent() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
e9ae4df4bc Remove 'description' from newsletter templates, it's not used anymore
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
196fb6794c Implement NewsletterTempates::delete() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
32f5777945 Implement NewsletterTempates::save() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
4d110bbb68 Implement NewsletterTempates::get() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
29ebd113b5 Implement NewsletterTempates::getAll() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
a50a23c0e2 Add NewsletterTemplateEntity and repository
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Ján Mikláš
e1f913a6b4 Reduce plugin's common styles lenght
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
2841f5bb89 Reduce editor's common styles lenght
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
0998f72632 Separate plugin and public styles
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
f02876b7cf Separate newsletter editor CSS file
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
cdf52fa6e4 Separate post editor block component
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
1d112fced6 Separate form editor components
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
87e9054117 Separate global wordpress styles components
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
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
Ján Mikláš
7487a2aa63 Create mixin files with SCSS mixins
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
8afb42d88a Unify newsletter editor variable naming
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
32b6bff89e Create settings files with just SCSS variables and unify their naming
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
ae58c44129 Unify SCSS files naming to kebab-case
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
6d6a01ba53 Rename main styles files
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Pavel Dohnal
02fe614b27 Split component into two
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
d2716736a1 Use variables and calculations
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
96a5344115 Update acceptance test
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
20f417fe1e Remove debug code
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
46fbb588bb Add checkbox
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00