Commit Graph

22617 Commits

Author SHA1 Message Date
fe25ce4857 Update condition for abandoned cart emails on homepage
[MAILPOET-5848]
2024-06-21 14:53:05 +02:00
b8d03f012b Update link for the abandoned cart setup on homepage
[MAILPOET-5847]
2024-06-21 14:53:05 +02:00
1d77461b5d Update ws package
Fix for https://github.com/mailpoet/mailpoet/security/dependabot/103
and https://github.com/mailpoet/mailpoet/security/dependabot/102
2024-06-20 15:26:52 +02:00
b3b686d8bf Ensure not loaded Mixpanel is not blocking UI
[MAILPOET-6116]
2024-06-20 14:06:20 +02:00
638fb7e56a Simplify and speed up notification history search test
[MAILPOET-6072]
2024-06-20 13:31:46 +02:00
d8fca6c46f Add integration test for searching post notifications by subject
[MAILPOET-6072]
2024-06-20 13:31:46 +02:00
9b082f7ffa Update Test helper method name for better clarification
MAILPOET-6072
2024-06-20 13:31:46 +02:00
1e049018d4 Test for both static and dynamic Newsletter subject
MAILPOET-6072
2024-06-20 13:31:46 +02:00
4c21a25774 Add tests for feature and switch to leftJoin instead of InnerJoin because we always want to return Newsletter records when available
MAILPOET-6072
2024-06-20 13:31:46 +02:00
5789a61075 Update ListingRepository::applySearch abstract function to reflect new updates
MAILPOET-6072
2024-06-20 13:31:46 +02:00
ae275d0824 Fix post-notification history subject search
We previously were looking for search term on the Newsletter table subject column. Unfortunately, post-notification and its history items sometimes contain both static text and dynamic text i.e., MailPoet shortcodes. This prevented the search from returning any useful results.

 The RenderedSubject on the Sending queues table includes both the static text and dynamic text, so we can look for the search term on it

MAILPOET-6072
2024-06-20 13:31:46 +02:00
aea6eb3dbb Unify how an automation email type is detected
This fixes an issue when an automation transactional email showed wrong header in email editor.

[MAILPOET-6114]
2024-06-19 17:44:29 +03:00
93f0eb9604 Add new black and white social icon variants to config
[MAILPOET-5805]
2024-06-19 13:52:31 +02:00
15513ad1dd Add new black social icons variant based on grey
[MAILPOET-5805]
2024-06-19 13:52:31 +02:00
8e9a74b132 Add new white social icons variant based on grey
[MAILPOET-5805]
2024-06-19 13:52:31 +02:00
25feb4cccc Remove Google+ icon links from config
[MAILPOET-5805]
2024-06-19 13:52:31 +02:00
c3968e7cad Don't show "authorize now" message when email field is empty
[MAILPOET-6111]
2024-06-19 11:14:45 +01:00
a55725838d Update list of dependencies skipped by the update script
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
03b50bd2f5 Add mock for @woocommerce/settings module
Previously this module was mocked as an empty module, but
after updating @woocommerce/currency we need to provide at
least getSetting function.

The function is called only once with the parameter 'currency'.

I tried installing the full @woocommerce/settings, but it requires
complex initialization (e.g. passing some data from PHP). I find it
better to provide this simple mock and throw an error if it is used more than expected.
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
836772b5bb Pnpm dedupe
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
b83a2188e0 Remove deprecated @babel/plugin-proposal-nullish-coalescing-operator
It was replaced by @babel/plugin-transform-nullish-coalescing-operator
and it is already part of  @babel/preset-env
https://babeljs.io/docs/babel-plugin-transform-nullish-coalescing-operator

[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
922dd93961 Remove deprecated @babel/plugin-proposal-class-properties
It was replaced by @babel/plugin-transform-class-properties
Which is already part of  @babel/preset-env
See https://babeljs.io/docs/babel-plugin-transform-class-properties
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
1d32461b3d Workaround for the issue with chai v5 and ES modules
I couldn't make it work with the Babel loader. There is a possible
solution using ts-node as a loader. I didn't want to install another
package, so I chose a different workaround.
mocha-env.mjs is processed as a module thanks to the suffix, and it
sets chai. expect globally, and then I updated tests to use the global expect.

Please see https://github.com/chaijs/chai/issues/1568
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
73434e1ef7 Workaround for legacy newsletter editor tests after updating chai
Chain newly has to be imported as module and doesn't support CommonJs
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
ca8f6c64d6 Copy buildLocalizeFn into the place of usage
After 3.0.0 the date-fn's package.json contains 'exports' propperty
which prevents us from including the buildLocalizeFn function via direct import form it's file.
Because everything that is not listed in 'exports' throws ModuleNotFound error.
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
bde68b868d Update @babel/preset-env from 7.16.11 to 7.24.7
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
fd8fd8560e Update url from 0.11.1 to 0.11.3
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
706bf3cf2a Update storybook-addon-performance from 0.17.1 to 0.17.3
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
89948771ad Update stylelint-scss from 5.1.0 to 6.3.1
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
e5a27dc466 Update sinon from 15.2.0 to 18.0.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
9e102c0eef Update react-datepicker from 4.16.0 to 6.9.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
24b0f1ba09 Update postcss-cli from 10.1.0 to 11.0.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
5eaa16c286 Update jsdom from 22.1.0 to 24.1.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
556c0d479b Update imports-loader from 4.0.1 to 5.0.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
9d349dad84 Update husky from 8.0.3 to 9.0.11
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
ccaaea40c4 Update expose-loader from 4.1.0 to 5.0.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
1417bd87d5 Update exports-loader from 4.0.0 to 5.0.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
be369a87ac Update date-fns from 2.30.0 to 3.6.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
39d34ac14a Update copy-webpack-plugin from 11.0.0 to 12.0.2
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
4bdfb91480 Update chai from 4.3.8 to 5.1.1
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
7aab32cdf3 Update @storybook/react from 7.3.2 to 8.1.8
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
4010c196ce Update @storybook/builder-webpack5 from 7.3.2 to 8.1.8
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
d974f55068 Update @storybook/addon-storysource from 7.3.2 to 8.1.8
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
896962c7d1 Update @storybook/addon-links from 7.3.2 to 8.1.8
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
ca0d1cf95a Update @storybook/addon-actions from 7.3.2 to 8.1.8
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
22d7722bce Update wp-types from 3.62.4 to 3.65.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
f2dd6bdf2c Update webpack from 5.88.2 to 5.92.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
2eed2a7eb0 Update ts-loader from 9.4.4 to 9.5.1
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
2b98b79414 Update sass from 1.66.1 to 1.77.5
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
846f2d042e Update react-select from 5.7.4 to 5.8.0
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00