Commit Graph

22694 Commits

Author SHA1 Message Date
38c6880400 Unify setting no-cache headers, use WP-native nocache_headers() 2024-09-17 17:27:37 +02:00
e731831d29 Preserve selected Woo email dummy content type on history undo/redo
[MAILPOET-6213]
2024-09-17 14:04:26 +02:00
71405b9555 Fix reset template functionality to work for multiple reset
The issue was that after the first reset the global template object
became a model and all changes were save also to this object so
subsequent resets didn't work.

This commit fixes it by making sure we clone the original template before resetting.
[MAILPOET-6213]
2024-09-17 14:04:26 +02:00
30520f08fa Fix typo in the method name in DataInconsistencyRepository
[MAILPOET-6213]
2024-09-17 14:04:26 +02:00
79f12dfeb4 Add reset template button and reset template functionality
[MAILPOET-6213]
2024-09-17 14:04:26 +02:00
f46573eb5f Unify property type annotations in Newsletter Editor page controller
[MAILPOET-6213]
2024-09-17 14:04:26 +02:00
844fa02a06 Make the original Woo Transactional email template available to JS app
[MAILPOET-6213]
2024-09-17 14:04:26 +02:00
b962252c03 Update used WooCommerce Subscriptions plugin in Circle CI
- latest version: 6.7.0
 - previous version: 6.6.2
2024-09-17 10:23:06 +02:00
c50f638463 Update used WooCommerce plugin in Circle CI
- latest version: 9.3.1
 - previous version: 9.2.3
2024-09-17 10:23:06 +02:00
ae642b1974 Update used WordPress images in Circle CI
- latest version: 6.6.2-php8.3
 - previous version: 6.5.5
2024-09-17 10:23:06 +02:00
1f92ac551e Use alias that is not a keyword
Together with fixing the MySQL platform detection this is not necessary,
but it's easy to use a safe alias that is not a keyword, in this case.

[MAILPOET-6232]
2024-09-17 09:37:58 +02:00
ce526e84e0 Do not set MySQL platform autoamtically, enable auto-detection
This will enable correct detection of MySQL vs MariaDB platform in Doctrine,
as well as they particular versions, such as 5.7 or 8.4, etc.

[MAILPOET-6232]
2024-09-17 09:37:58 +02:00
4b633ccdf6 Remove unused MailPoet\Utils\ProgressBar
[MAILPOET-6227]
2024-09-16 16:01:43 -06:00
9fb48d39b4 pnpm audit --fix
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
b6e6e93066 Remove pnpm.overrides from nested package as they are not used
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
6b77cfde45 Update micromatch
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
2673a30177 Update express
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
0a1cf84da3 Update serve-static
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
876c224708 Update send package
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
03fdcfb150 Update body-parser
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
0d9aebdce1 Update path-to-regexp
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
bccd455e6f Remove unnecessary code replacements for twig
twig_xxx functions were deprecated and are no longer used in twig codebase
2024-09-16 10:21:05 +02:00
b23c3b4704 Bump twig/twig from 3.10.3 to 3.11.1 in /mailpoet/prefixer
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.10.3 to 3.11.1.
- [Changelog](https://github.com/twigphp/Twig/blob/v3.11.1/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.10.3...v3.11.1)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 10:21:05 +02:00
f483d40c19 Clean settings cache when reinstalling the plugin 2024-09-13 10:34:55 +02:00
a29233407f Use cached WordPress and WooCommerce segment entities 2024-09-13 10:34:55 +02:00
b512079ce2 Replace settings fetch() calls with cached get() 2024-09-13 10:34:55 +02:00
b32c6aa233 Remove no longer needed populator logic 2024-09-13 10:34:55 +02:00
a416cecddf Optimize populating newsletter option fields 2024-09-13 10:34:55 +02:00
974add271a Optimize populating newsletter templates 2024-09-13 10:34:55 +02:00
5e333fde27 Bump webpack from 5.92.0 to 5.94.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.92.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.92.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 10:22:04 +02:00
8a6a4fd29d Add WordPress-VIP-Go ruleset to CodeSniffer 2024-09-12 15:11:08 +02:00
e425304592 Release 5.2.0 2024-09-12 12:42:18 +02:00
1fe42a2afc Improve WP-Cron notice by checking whether the cron is running 2024-09-12 10:06:14 +02:00
5781351e15 Fix deleting orphaned subscriber tasks in batches
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
9960a56a75 Use temporary tables for orphaned scheduled task subscribers
This will ensure the intermediate results are materialized first.

[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
53a1664133 Optimize queries for orphaned scheduled task subscribers
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
f3d6813d97 Load data inconsistencies async from API
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
a4c901fba7 Fix Help > System Status > Last run started displays unknown
[MAILPOET-6222]
2024-09-11 11:04:02 +02:00
db6d1e9546 Fix not opened stats on subscriber stats page
[MAILPOET-6220]
2024-09-11 08:53:48 +02:00
88c53a727e Iterate through nested block in rendering Preprocessor
[MAILPOET-6212]
2024-09-09 15:31:24 +02:00
45f4a69645 Update used WooCommerce Subscriptions plugin in Circle CI
- latest version: 6.6.2
 - previous version: 6.5.0
2024-09-09 11:00:49 +02:00
c50a774e85 Update used Automate Woo plugin in Circle CI
- latest version: 6.1.0
 - previous version: 6.0.33
2024-09-09 11:00:49 +02:00
234718a712 Fix ShellCheck lint SC2068 in lint-staged-php
Unlikely to cause issue, but ShellCheck linter was not happy

https://www.shellcheck.net/wiki/SC2068
2024-09-06 09:25:14 +02:00
d90f0ae533 Fix unresolved command in lint-staged-php for Linux
The 'source' command is not available in the default sh shell on Linux. The source command is specific to bash and other compatible shells. On Linux, the default sh shell is often dash, which does not support source. It seem to work on macOS because the default shell there is bash.

The . (dot) command is POSIX-compliant and works in both sh and bash.
2024-09-06 09:25:14 +02:00
ebe9a3cc2e Fix Doctrine fixer breaks lint-staged for PHP
Pre-commit hooks were failing with PHP fatal error after correcting invalid 'rm' commands in Doctrine fixer in the previous commit.
2024-09-06 09:25:14 +02:00
d8ccfa4e32 Fix invalid 'rm' commands in Doctrine fixer
No space between the command option (-r) and the file path
2024-09-06 09:25:14 +02:00
8e856abada Release 5.1.1 2024-09-05 13:18:43 +02:00
8646238251 Remove ./do qa:mininal-plugin-standard from git hooks
This check has been removed in https://github.com/mailpoet/mailpoet/pull/5801
The functionality is now covered by code sniffer
[MAILPOET-6150]
2024-09-05 12:55:23 +02:00
fed7a48680 Revert "Replace interact.js with interactjs"
This reverts commit 5c349a506b.

[MAILPOET-6211]
2024-09-04 18:53:07 +02:00
bb5e398e8f Revert "Fix calculating drop zone position"
This reverts commit 8c2f41dcf1.

[MAILPOET-6211]
2024-09-04 18:53:07 +02:00