Commit Graph

17780 Commits

Author SHA1 Message Date
Sam Najian
f551d4388c Add CouponPreprocessor to create coupons before rendering
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
751dc539f6 Add information overlay to Coupon block
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
d305680ba5 Remove coupon code input from the settings sidebar
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
bb7775f87b Render Coupon block in email body
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
54d9b517dd Adjust coupon block styling in editor
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
199910a52f Add coupon block config
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
983102c094 Add Coupon block setting pane
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
0d330e08b4 Bootstrap Coupon block and make it function
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
David Remer
ccd1a5363d Fix typo in variable
[MAILPOET-4510]
2023-01-19 10:52:51 +01:00
Rostislav Wolny
c368b130b8 Add wait calls to prevent calling translations API too quickly
This commit is an attempt to prevent 429 "Too manu requests" errors
we sometimes experience during the Switching languages test.
[MAILPOET-4969]
2023-01-17 14:21:59 +01:00
David Remer
3ffe99d5ab Release 4.5.0 2023-01-17 15:14:55 +02:00
David Remer
339068c086 Set isBusy state for OptionButton
[MAILPOET-4918]
2023-01-16 14:15:23 +01:00
David Remer
dad40e262f Set isBusy state for FromScratch buttons
[MAILPOET-4918]
2023-01-16 14:15:23 +01:00
Sam Najian
0bbd65ac61 Sanitize segment data when persisty via public API
[MAILPOET-4942]
2023-01-16 13:59:30 +01:00
Sam Najian
1a7b7d1936 Escape segment name for usage in html select
[MAILPOET-4942]
2023-01-16 13:59:30 +01:00
Sam Najian
2bbaa246d7 Sanitize name and description of segment when saving
[MAILPOET-4942]
2023-01-16 13:59:30 +01:00
Jan Lysý
296ec54c3e Add function preparing error response
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
579de1cc86 Reduce the count of constants
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
da88250fe1 Update integration tests
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
ad831316ab Remove unused constants
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
2e97cb6924 Fix tests after last changes
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
c79787c677 Extract domain creation error messages from bridge to strings
As a part of those changes I tried to unify the array key with error messages.
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
07954dd968 Extract domain verification error messages from bridge to strings
As a part of those changes I tried to unify the array key with error messages.
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
2ace6da75b Extract email authorization error messages from bridge to strings
As a part of those changes I tried to unify the array key with error messages.
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
982568445b Extract sending error messages from bridge to strings
The original error is stored under a new key for easier handling an error state.
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Rostislav Wolny
a53e446583 Add request cache to TranslationUpdater
WP may call the action we hook into more times during one request.
This commit adds simple caching to prevent multiple requests.
[MAILPOET-4909]
2023-01-12 14:08:31 +01:00
Rostislav Wolny
b033d7d92f Add error logging when fetching language packs info
[MAILPOET-4909]
2023-01-12 14:08:31 +01:00
Rostislav Wolny
1190d61ca3 Update mailpoet_shortcodes tinyMce extension to work with v6
[MAILPOET-4963]
2023-01-11 14:19:03 +01:00
Rostislav Wolny
7da5cc847f Make completed tasks in task list not interact-able
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
2778244faf Use nicer name for property that indicates complete task
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
3789379084 Add error boundaries to the homepage app
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
72e3c87190 Add basic acceptance test for the homepage task list
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
38640e65e4 Add complete state task titles and additional task contents
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
e0718f11ea Add message when task list is complete
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
eb7cc97ca2 Add styles for task list heading
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
24d3c0b13b Display WooCommerce import task based on customers count
We use the same logic in WooCommerce setup page
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
ec0b1d4de8 Highlight current task in task list on homepage
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
56c90ef452 Add styles and links for homepage task list
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
5f0ac0ec7e Render simple task list items with state info
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
8c767af5c6 Store homepage task list was dismissed to DB
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
b0e8263e2f Hide the task list and store the state in the store
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
be592dbf9b Add an empty wordpress/data store to homepage
We plan to add more dynamic sections to the homepage so I want to set up and use the
store from the beginning.
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
3679320483 Add dummy hide list button
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
Rostislav Wolny
51ab4523f8 Add basic task list component for homepage
[MAILPOET-4826]
2023-01-11 11:30:10 +01:00
David Remer
60abe14c7a Remove text-domain rule from shared-ruleset
[MAILPOET-4913]
2023-01-11 07:46:57 +02:00
David Remer
f58b5e61b0 Use new ruleset for free plugin
[MAILPOET-4913]
2023-01-11 07:46:57 +02:00
David Remer
dbb972ec3f Create ruleset for free and premium and a shared ruleset
[MAILPOET-4913]
2023-01-11 07:46:57 +02:00
Pavel Dohnal
1930410754 Release 4.4.0 2023-01-10 15:45:22 +01:00
Oluwaseun Olorunsola
539df2a994 Switch to @wordpress/i18n and clean up
MAILPOET-4798
2023-01-10 15:23:50 +01:00
Oluwaseun Olorunsola
ad41ef2f5e Add FAQ accordion and contents
MAILPOET-4798
2023-01-10 15:23:50 +01:00