Oluwaseun Olorunsola
f09616dc46
General refactor
...
Use a single click handler for css lookup
Set to mailpoet-js-button-authorize-email-and-sender-domain
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
55f10a403c
Show sender domain verification modal on newsletter
...
sending page
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
bd5ea1041d
Use unidirectional data store, remove unnecessary useState
...
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
25013e8c8c
Add AuthorizeSenderEmailAndDomainModal component
...
This component wraps the AuthorizeSenderEmailModal and
AuthorizeSenderDomainModal and displays them in a Tabbed
manner
This gives the user the ability to either authorize an email or verify
a domain
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
fcfcbcc4d7
Update SenderDomainModal and AuthorizeSenderEmailModal
...
Provide the ability to display content without modal
I included the `useModal` option for backward compatibility and
to not break any other components
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
f9588484a6
Feat: Add classname to tabs
...
This would give us the ability to selectively display or hide the
tab component with CSS classes without causing issues
with the JavaScript code
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
1a0796c627
Add clean up action after domain is verified
...
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
847d199352
Implement the Manage Sender Domain component and
...
The AuthorizeSenderDomainModal
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
5c3a9fe9b2
Add API methods for creating and verifying sender domains
...
We also included an API method for fetching Sender Domains
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
aba68d2305
Add mailpoet_all_sender_domains to Newsletter and settings
...
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
9e5f1d0ff0
Implement Show sender domain warning for settings
...
This would show the sender domain warning message for
domains that are not verified and have a Retricted DMARC Policy
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
370de8050a
Add mailpoet_verified_sender_domains to newsletters and settings page
...
Update tests
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
c961e0a363
Add AuthorizedSenderDomainController class and tests
...
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
601b3e775b
Add DMARC Policy Checker class and
...
getDomainDmarcPolicy method
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
417c0897e8
Add API methods for fetching, creating and verifying
...
sender domain
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Rostislav Wolny
02af3d6c2e
Update sed command for fixing code sniffer to be Mac OS compatible
...
[MAILPOET-4560]
2022-08-11 12:30:33 +02:00
David Remer
42dce4280a
Use correct error code and translator comment
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
0d1b51c7ba
Query a workflow in a specific version in the StepHandler
...
The StepHandler must run a specific version of a workflow. Therefore, we need to
query this specific Workflow.
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
9f2ae81835
Remove outdated $change variable
...
The usage of $change was a leftover from a rebase which was
necessary.
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
293c1f4a46
Fix use statements in test
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
ee54440c03
Fix intendation for SQL strings
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
ea07bbe9fa
Use INNER JOIN to combine workflows with their versions
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
f7722e4349
Rename workflowHeaderData method
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
7a0a6413d5
Update updatedAt when values are changed
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
457d361ee9
Introduce Workflow::equals() and move decision to update a record to storage
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
3885194b48
Add created and updated columns to versions table
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
7f78c387cf
Test WorkflowStorage
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
7e9149f2aa
Query workflow by version in StepRunner
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
02489a61a6
Add version_id to WorkflowRun
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
456417a467
Add version_id to Workflows
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
964f3ca69d
Separate workflow versionable data into workflow_version table
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
c7f10a18c4
Update database entry only when an actual change happend
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
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