Commit Graph

16368 Commits

Author SHA1 Message Date
Brezo Cordero
4cd3c4ed77 Remove PHPStan level 6 errors from Segments
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
Brezo Cordero
6d5eed6190 Remove PHPStan level 6 errors from Segments\WooCommerce
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
Brezo Cordero
f6dfb19362 Remove PHPStan level 6 errors from Segments\WP
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).
array_walk on import.php was expecting the key as the second parameter to the function. I have switched it to array_map.

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
Jan Lysý
d363c933ea Add strict types declaration
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
98dde764a6 Add warning about deprecated filter
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
00fe1eb1c4 Replace transport hook with a new smpt_options
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
c4c87d75e3 Add definition for WPINC constant
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
4a072dd54c Remove SwiftMailer package
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
0186ddee35 Replace Swift_message with PHPMailer
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
d7582ede37 Move common code into parent class
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
670e6e4cba Replace Swift Mailer for PHPMailer
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
5ee32e5f30 Add abstract parent for PHPMail method
For better reusability and prevention of duplicated code
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Jan Lysý
1dd2c82634 Load PHPMailer
We don't support old loading for WordPress 5.5 and lower
[MAILPOET-4142]
2022-05-23 11:38:32 +02:00
Rodrigo Primo
5c9926b140 Refactor ImportExportFactory to use Doctrine instead of Paris
[MAILPOET-4139]
2022-05-23 11:37:26 +02:00
Rodrigo Primo
30d44186bd Refactor ImportExportFactoryTest to use Doctrine instead of Paris
[MAILPOET-4139]
2022-05-23 11:37:26 +02:00
Rodrigo Primo
e5fa37caa1 Add method to CustomField factory to be able to set the field type
This will be used in a subsequent commit when refactoring
ImportExportFactoryTest to use Doctrine instead of Paris.

[MAILPOET-4139]
2022-05-23 11:37:26 +02:00
Jan Lysý
3bd49fbc27 Fix annotation in AutomatedEmails
[MAILPOET-4308]
2022-05-19 14:18:18 +02:00
Jan Lysý
5ab04b8b22 Remove usage constant from the old model
[MAILPOET-4338]
2022-05-19 14:18:06 +02:00
Sam Najian
87294e8751 Release 3.89.2 2022-05-19 12:02:36 +02:00
Jan Lysý
a41eca2355 Add missing env variables to integration tests
[MAILPOET-4382]
2022-05-19 11:12:56 +02:00
Jan Jakes
b29b1fe51f Fix form editor crash with old "below_post" value
[MAILPOET-4381]
2022-05-19 10:30:32 +02:00
Jan Jakes
d9c47a40f2 Add permissions to manage automations
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
73776206cc Unify focus styles with WP
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
3d2a5afb65 Use plus icon from @wordpress/icons
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
fa310415a6 Display step inserter in a popover when add-step-button clicked
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
8cc2bb5b61 Display workflow details in workflow sidebar
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
91c9b31364 Open step sidebar on step selection, display step details
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
8a764c92bf Save current step to store when selected
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
f30a148344 Render line separator and an add-step-button between workflow steps
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
44e4d41694 Serialize and render workflow steps
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
901e3309cd Make workflow a composite for keyboard navigation and a11y, add root styles
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
ca0516b03b Add basic automation workflow component
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
63a24ffa69 Use workflow name from data store in sidebar
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
b01a6af124 Load workflow data into editor state
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
3dceb0f2e4 Load workflow data in editor template
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
9565e170c6 Add inserter component based on inserter from block editor & mocked data
See: 27ec8f65c9/packages/block-editor/src/components/inserter

[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
27afb211ba Add inserter listbox component based on listbox from block editor
See: 27ec8f65c9/packages/block-editor/src/components/inserter-listbox

[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
184ce081fb Add inserter toggle button to header
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
4983fb8dec Add basic workflow step inserter sidebar and its state
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
8b45dffd3a Add showIconLabels state for consistency with post editor
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
97807e27d9 Add keyboard shortcuts for fullscreen and sidebar toggle
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
ae8ae8a4fc Implement two-tabbed sidebar content and its state
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
be29ee04a6 Add basic sidebar
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
071a028fbd Add header "more" menu with fullscreen toggle
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
16b0229c44 Add basic header with heading and save draft & publish buttons
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
27b1c46c15 Add fullscreen mode
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
5b3ad3d8ba Add basic @wordpress/data store with fullscreen mode state
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
2273dd9e16 Add basic interface skeleton setup
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
49f4eaed16 Add Gutenberg styles to automation editor
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
10c397d3e5 Add automation editor React setup
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00