Brezo Cordero
949c962fc9
Convert create_custom_field_started.jsx
...
It also adds a new type for the action and converts the test.
[MAILPOET-3523]
2023-02-06 12:19:21 +01:00
Brezo Cordero
17c0a76754
Rename Type
...
[MAILPOET-3523]
2023-02-06 12:19:21 +01:00
Brezo Cordero
d449f02883
Add functions to use partial types in tests
...
Functions to create mocks with Partial Types in tests and avoid using `as Type`. Also extract FormData type to form_data_types.ts
[MAILPOET-3523]
2023-02-06 12:19:21 +01:00
Brezo Cordero
b40c5a5dfe
Convert history_record.ts.jsx to ts
...
Converts the file and test. It also moves HistorRecord type to state_types.ts
[MAILPOET-3523]
2023-02-06 12:19:21 +01:00
Brezo Cordero
08aea80a55
Convert save_form_started.jsx to ts
...
Converts the file and test. It also removes extra param from tests.
[MAILPOET-3523]
2023-02-06 12:19:21 +01:00
Brezo Cordero
86a4347908
Convert blocks_to_form_body.jsx to ts
...
Converts the file and tests. It also creates the type CustomFields.
[MAILPOET-3523]
2023-02-06 12:19:21 +01:00
Brezo Cordero
f242e847bb
Convert selectors.spec.js to ts
...
I have decided to use `as State` on the mocks instead of creating a big object conforming to the type.
The functions tested only use one or two properties of the 33 the type has and I have verified the properties we use for the test are well-formed.
[MAILPOET-3523]
2023-02-06 12:19:21 +01:00
Rostislav Wolny
3c89bf2f0d
Remove currency from the Woo Tracker data
...
The currency is already tracked by Woo core under settings.currency.
[MAILPOET-5037]
2023-02-06 12:13:27 +01:00
Oluwaseun Olorunsola
10ea5ec55b
Remove extra sending method check for new users.
...
mta.method is probably not set yet.
MAILPOET-4929
2023-02-06 12:11:12 +01:00
Oluwaseun Olorunsola
805804f3d3
Add WP Filter to disable the mail function check
...
MAILPOET-4929
2023-02-06 12:11:12 +01:00
Oluwaseun Olorunsola
74549665d6
Stop checking for DisabledMailFunction when the plugin is repeatedly activated and updated.
...
We will only perform the check when the plugin is first activated and sending method is changed.
MAILPOET-4929
2023-02-06 12:11:12 +01:00
Oluwaseun Olorunsola
5b78ea9a69
Update test mail information for DisabledMailFunctionNotice
...
In this commit, we change the test mail subject, body and destination address
MAILPOET-4929
2023-02-06 12:11:12 +01:00
David Remer
b25c8b8965
Do not use title attribute when alt text is not defined
...
[MAILPOET-4932]
2023-02-06 11:43:23 +01:00
Oluwaseun Olorunsola
da5b0ede16
Show the MailPoet logo on the landing page
...
This will show the topbar (including the MailPoet logo) and set content max-width
MAILPOET-5029
2023-02-06 10:59:27 +01:00
Veljko
29de3e2bae
Remove Promise from helper
...
[MAILPOET-4960]
2023-02-02 17:16:33 +01:00
Veljko
79bc684312
Add new test Settings basics
...
[MAILPOET-4960]
2023-02-02 17:16:33 +01:00
David Remer
7bc71429eb
Add Copy to clipboard button
...
[MAILPOET-4526]
2023-02-01 12:48:35 +01:00
alex-mailpoet
967988519b
Fix deprecated callable usage in Sudzy library
...
[MAILPOET-4873]
2023-02-01 12:17:03 +01:00
Jan Lysý
3b5a96a3f7
Add test case that coupon is rendered correctly
...
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
83b14013ec
Add coupon block unit test
...
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
cd9904de7d
Fix using code instead of couponCode read by id
...
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
d305498613
Add coupon block acceptance test
...
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
69833557e4
Add newsletter editor test for coupon block
...
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
cd596245ce
Add coupon default values
...
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
David Remer
7d36d59e65
Allow rgb in the newsletter style attributes
...
[MAILPOET-4981]
2023-02-01 11:10:59 +01:00
David Remer
efaa5073fb
Query subscriber by user in shortcode
...
[MAILPOET-4184]
2023-02-01 10:53:26 +01:00
David Remer
37f4082210
Remove wpUser authentication
...
[MAILPOET-4184]
2023-02-01 10:53:26 +01:00
Rodrigo Primo
f324abd1d0
Update woocommerce-stubs to version 7.3.0
...
[MAILPOET-4313]
2023-02-01 08:57:47 +02:00
Rodrigo Primo
5d56a0368a
Update outdated PHP version message
...
Changing the message to make it more clear that PHP >= 7.2 and <= 7.3 is
not recommended but still supported.
[MAILPOET-4933]
2023-01-31 13:58:52 +01:00
Rodrigo Primo
106db48f8d
Display the PHP outdated version warning for sites running PHP <= 7.3
...
[MAILPOET-4933]
2023-01-31 13:58:52 +01:00
Jan Jakes
ed2ecb7604
Release 4.6.0
2023-01-31 13:26:57 +01:00
Jan Jakes
10dcc4f45d
Fix failing test due to a changed DMARC policy
...
It seems that the DMARC policy for automattic.com was changed from
"quarantine" to "reject".
[MAILPOET-5038]
2023-01-30 14:40:17 -03:00
Rodrigo Primo
3237351450
Move code to handle tracking source of wizard to its own file
...
Doing this based on feedback during the PR review: https://github.com/mailpoet/mailpoet/pull/4660/files#r1073420154
[MAILPOET-4814]
2023-01-30 15:01:42 +01:00
Rodrigo Primo
8d57e81b99
Use return type hint instead of docblock to tell PHP the return type
...
[MAILPOET-4814]
2023-01-30 15:01:42 +01:00
Rodrigo Primo
e37daa6c66
Delete setting instead of updating it when tracking wizard source
...
[MAILPOET-4814]
2023-01-30 15:01:42 +01:00
Rodrigo Primo
ad4247a241
Add API endpoint to delete a setting
...
[MAILPOET-4814]
2023-01-30 15:01:42 +01:00
Rodrigo Primo
8a4f5c13da
Add tracking for users arriving to the wizard from WooCommerce
...
MailPoet adds a link to the WooCommerce task list pointing to its own
welcome wizard. We want to track users that arrive to the MP wizard from
WooCommerce but at this point tracking is not enabled. So we store the
information in a setting, and send the tracking event to Mixpanel, if it
is enabled, after the user completes the wizard.
[MAILPOET-4814]
2023-01-30 15:01:42 +01:00
Rodrigo Primo
1161e6f3f6
Add MailPoet task to WooCommerce homepage
...
[MAILPOET-4814]
2023-01-30 15:01:42 +01:00
Jan Lysý
e5d5e20efd
Add escaping into rendering homepage_link shortcode
...
[MAILPOET-4936]
2023-01-30 14:39:35 +01:00
Jan Lysý
9fcb9afa9d
Add site:homepage_url shortcode to helper
...
[MAILPOET-4936]
2023-01-30 14:39:35 +01:00
Jan Lysý
b24b7b86fd
Update homepage link in default settings for confirmation email
...
[MAILPOET-4936]
2023-01-30 14:39:35 +01:00
Jan Lysý
ddca94891d
Unify rendering site:homepate_link shortcode with value from helper
...
[MAILPOET-4936]
2023-01-30 14:39:35 +01:00
Jan Lysý
9f14f3cc08
Change inserted text in shortcode helper for Homepage link
...
[MAILPOET-4936]
2023-01-30 14:39:35 +01:00
Jan Lysý
6b3fc309cc
Add new shortcode [site:homepage_url]
...
[MAILPOET-4936]
2023-01-30 14:39:35 +01:00
Ján Mikláš
60d933b39a
Fix capitalization of MSS
...
[MAILPOET-5030]
2023-01-30 14:25:41 +01:00
alex-mailpoet
ea57fd9c11
Update pronouns in a string from "his/her" to "their"
...
[MAILPOET-5028]
2023-01-30 14:24:21 +01:00
alex-mailpoet
a9788b04d4
Remove Code Sniffer ignore
...
[MAILPOET-4900]
2023-01-30 14:13:33 +01:00
alex-mailpoet
46c45d9bef
Fix consolidation/robo PHP 8.2 deprecation notices
...
[MAILPOET-4900]
When a new robo version with a fix for 'self' in callables is released,
this patch can be removed. Check here:
https://github.com/consolidation/robo/issues/1135
2023-01-30 14:13:33 +01:00
alex-mailpoet
3282e2f063
Update robo and its dependency to PHP 8.2 compatible versions
...
[MAILPOET-4900]
2023-01-30 14:13:33 +01:00
Sam Najian
05e941e449
Allow dynamic genration of coupon code for some newsletters
...
Those newsletters that allow updating their body html should
persist the couponId along side the Coupon block settings so
that on the next rendering attempt the same coupon code is
used
[MAILPOET-4763]
2023-01-30 12:46:38 +01:00