Commit Graph

10452 Commits

Author SHA1 Message Date
Jan Jakeš
8245ef878a Promote agency plan on Premium page
[MAILPOET-2534]
2019-12-02 13:18:45 +00:00
Rostislav Wolny
6015a1370d Refactor simple JS to be main JS tests
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
a6dfab1178 Add test for panel toggle reducer
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
cd0cce07a6 Refactor panel toggle reducer to be more readable
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
a1ac7cb4fd Add acceptance test for basic form editing
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
ab7a4babea Unify input focus highlight in form basic settings panel
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
836974fbe2 Add list input highlight on save if no list selected
[MAILOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
338e2480d2 Refactor saving form notices end error processing from control to reducer
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
df3a0477b4 Fix file naming in reducers
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
5d1ffbc03a Refactor sidebar panels state to store
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
1b0497bad3 Refactor sidebar tabs from local state to store
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Pavel Dohnal
1287152d0f Use curry instead of partial
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
c0b3ccfecc Refactor form data validation to extra function and run on every change
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
74d00145be Use classnames instead for getting conditional className
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
2e3b7cc14b Rename unclear getSegments and getPages selectors
[MAILPOET-2450]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
63431e48ea Add default options for codemirror wrap
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
01c0381418 Use partial application instead of nested function call
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
f024c57ed7 Fix translations strings for form settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
c2823f3f68 Apply custom css in editor
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
8d0ed7a084 Add missing list check and error notices
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
e53c58201b Add default styles for newly created forms
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
4712056c65 Add form basic settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
0ba2e15a1c Use codeMirror editor for Custom CSS
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
a1b1f173d2 Add custom css panel
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
72fe158069 Refactor form placement panel to extra component
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
969f66e71c Add form placement section to form settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Amine Ben hammou
2c0f16b0dd Fix tests and default values
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
d61d7ce483 Add class attribute to global class
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a5dc30c4b6 Use Doctrine to create the newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a178b5d1e8 Use DI to inject csstidy
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
9a8a353095 Fix PHPStan errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
822f48468e Show default heading if WC one is empty
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
404ebc5170 Fix PHPCS errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
aa129f5987 Use template for WooCommerce transactional emails
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
f56ced0ef5 Add Email renderer
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
45da91f670 Separate the template creation into a class
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
f34128d91b Add WC blocks preprocessing
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
5f5a254548 Move preprocessing logic into Preprocessor class
[MAILPOET-2286]

Additional preprocessing logic is needed to handle WooCommerce
blocks, so instead of making the Renderer class even bigger,
I am creating a new Preprocessor class. I wanted to move the
`addMailpoetLogoContentBlock` logic as well but it will break
tests and require a lot of refactor to fix them so I am leaving
it here for now.
2019-11-28 14:07:38 +00:00
Amine Ben hammou
9e27afc994 Fix bug
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
c24f43b2e8 Remove default context value
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
76d0dc0d9b Add context to help entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
3345903eaa Add context to forms entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
b98df95ccc Add context to form editor entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
62bd6f1126 Add context to features entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
1b5e371177 Add context to dynamic_segments entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
de08105dff Add context to wizard entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
6ce548ef1b Add context to import entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
8dba06f8b9 Add context to subscribers entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
65cc655e7f Add context to settings entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00