15608 Commits

Author SHA1 Message Date
Sam Najian
8432cfa904 Fix issue with recursion ending up breaking watch:js command
[MAILPOET-4522]
2022-08-09 17:11:53 +02:00
Sam Najian
50d77741b7 Break compilation when compile:js hits a warning
[MAILPOET-4507]
2022-08-09 17:11:53 +02:00
Sam Najian
4814e0a8e8 Prioritize main over module for @woocommerce/components
Webpack was prioritizing module over main for
@woocommerce/components which was problematic

[MAILPOET-4507]
2022-08-09 17:11:53 +02:00
Jan Lysý
d102556d28 Disable layout configuration
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
839265663e Unify color panel design
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
5148e2dca7 Fix sidebar's family-font select
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
5214a25a6f Remove old color component usage
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
08f62f4590 Use newer Gutenberg component for settings colors
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
6791375807 Remove ColorSettings component
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
9bbdc160ea Fix family-font select design in popover
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
c37173a30e Fix compatibility to allow compilation
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
2ae02db229 Update @types/wordpress__* packages
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Jan Lysý
641a1cda47 Update @wordpress packages
[MAILPOET-4301]
2022-08-09 17:11:53 +02:00
Rostislav Wolny
7fde0b6bdc Remove unnecessary usage of WPFunctions from SubscribersListingRepository
We agreed that we can use WP translation functions directly.
This one was probably some leftover which remained in the file after merging branches.
The file was missing use statement so this was causing an error.
[MAILPOET-4551]
2022-08-09 14:39:31 +02:00
David Remer
54a721b751 Stub for _x() function
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
402cf63e6b Make I18N sniff compatbile with PHP8.1+
This is a hacky workaround to enable us to use the translation sniffs in a PHP 8 environment. We can get rid of
it, once the coding standards are compatible.

[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
45b344727c Allow 'mailpoet-premium' text-domain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
41a99f15f6 Allow for 'woocommerce' text-domain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
97e160bf67 Fix WordPress.WP.I18n.MissingArgDomain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
76048224d1 Fix WordPress.WP.I18n.NonSingularStringLiteralText errors
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
218de96024 Fix WordPress.WP.I18n.MissingTranslatorsComment errors
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
b05e6d414c Remove WP\Functions::__ and other translate functions
Under the new sniffer rules, those functions produce errors and, when those methods
are used, the sniffer can not properly be applied.

[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
0b2b211b08 Add WP.I18n sniffs to our ruleset
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
Jan Lysý
5d1f49b1bd Fix CSS code style
[MAILPOET-4515]
2022-08-09 13:20:53 +02:00
Rodrigo Primo
6532cc1bec Fix bug when displaying email subjects in the system status page
The commit f44afbddf27cd9731d5b9ef6da399a11823906d1 introduced a bug
when replacing Paris code with Doctrine code in lib/Tasks/State.php.
This bug was causing the system status page to display "Preview" instead
of the subject of the listed emails. The problem was happening because
during the refactor there was a mistake and we were trying to get a
SendingQueueEntity via its ID using the ScheduledTaskEntity ID. This
commit fixes this problem by getting a SendingQueueEntity that matches
the given ScheduledTaskEntity ID.

[MAILPOET-4508]
2022-08-09 13:19:47 +02:00
alex-mailpoet
3a383fdd82 Fix var name in fix-guzzle.php 2022-08-09 14:13:18 +03:00
alex-mailpoet
7c71255231 Release 3.94.0 2022-08-09 14:13:18 +03:00
alex-mailpoet
a1ef5f9568 Fix type hint in fix-guzzle.php
[PREMIUM-199]
2022-08-08 17:28:05 +03:00
Jan Lysý
e7534132d3 Fix update button in Safari
[MAILPOET-4479]
2022-08-08 13:34:34 +02:00
Jan Jakes
d1fddb85f7 Add before step save hook per step key to simplify usage
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
24a63f6448 Call step before save hook more safely and explicitly
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
08e8e88502 Use step defaults from schema in template generation
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
1f6ce667e5 Add schema definition for automation steps
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
0dbfb196e2 Redirect back to automation editor after editing automation email
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
4b5afeac54 Save workflow step ID to automation email options
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
bb24838881 Save workflow ID to automation email options
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
0d2c82ad72 Fix row key computation in automation listing
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
72b392fcd5 Do not hardcode email IDs in workflow templates
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
8319c1e4b6 Implement create functionality for automation email in send email step
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
c02e71c6e6 Add workflow saved status to editor store
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
0792bae953 Fix workflow activation discarding unsaved changes
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
4389d3ca5f Sync automation email step settings to newsletter entity
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
15e4635fe3 Add hook registration helper methods to registry
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
da58a5c416 Trigger workflow and step before save hooks
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
87f35abf8b Add workflow and step before save hooks
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
a6cbf99ee5 Fix wrong ...$args typehints
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
2faf0739a3 Check that step implementation exists when saving workflow
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
cc2f908236 Add registry methods for step interface implementations
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
ebe8d5d478 Add step interface as a parent of action and trigger
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
4aa323b612 Extract data-carrying classes to dedicated namespace
We need a separation of "Step" as an interface vs. "Step" as a serializable data structure.

[MAILPOET-4515]
2022-08-08 13:23:57 +02:00