Commit Graph

22779 Commits

Author SHA1 Message Date
Rostislav Wolny
6b77cfde45 Update micromatch
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
Rostislav Wolny
2673a30177 Update express
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
Rostislav Wolny
0a1cf84da3 Update serve-static
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
Rostislav Wolny
876c224708 Update send package
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
Rostislav Wolny
03fdcfb150 Update body-parser
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
Rostislav Wolny
0d9aebdce1 Update path-to-regexp
[MAILPOET-6229]
2024-09-16 12:42:25 +02:00
Rostislav Wolny
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
dependabot[bot]
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
Jan Jakes
f483d40c19 Clean settings cache when reinstalling the plugin 2024-09-13 10:34:55 +02:00
Jan Jakes
a29233407f Use cached WordPress and WooCommerce segment entities 2024-09-13 10:34:55 +02:00
Jan Jakes
b512079ce2 Replace settings fetch() calls with cached get() 2024-09-13 10:34:55 +02:00
Jan Jakes
b32c6aa233 Remove no longer needed populator logic 2024-09-13 10:34:55 +02:00
Jan Jakes
a416cecddf Optimize populating newsletter option fields 2024-09-13 10:34:55 +02:00
Jan Jakes
974add271a Optimize populating newsletter templates 2024-09-13 10:34:55 +02:00
dependabot[bot]
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
Jan Jakes
8a6a4fd29d Add WordPress-VIP-Go ruleset to CodeSniffer 2024-09-12 15:11:08 +02:00
Rostislav Wolny
e425304592 Release 5.2.0 2024-09-12 12:42:18 +02:00
Jan Jakes
1fe42a2afc Improve WP-Cron notice by checking whether the cron is running 2024-09-12 10:06:14 +02:00
Rostislav Wolny
5781351e15 Fix deleting orphaned subscriber tasks in batches
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Jan Jakes
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
Rostislav Wolny
53a1664133 Optimize queries for orphaned scheduled task subscribers
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Rostislav Wolny
f3d6813d97 Load data inconsistencies async from API
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Jan Jakes
a4c901fba7 Fix Help > System Status > Last run started displays unknown
[MAILPOET-6222]
2024-09-11 11:04:02 +02:00
Rostislav Wolny
db6d1e9546 Fix not opened stats on subscriber stats page
[MAILPOET-6220]
2024-09-11 08:53:48 +02:00
Jan Lysý
88c53a727e Iterate through nested block in rendering Preprocessor
[MAILPOET-6212]
2024-09-09 15:31:24 +02:00
github-actions[bot]
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
github-actions[bot]
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
Mustapha Hadid
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
Mustapha Hadid
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
Mustapha Hadid
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
Mustapha Hadid
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
Jan Lysý
8e856abada Release 5.1.1 2024-09-05 13:18:43 +02:00
Rostislav Wolny
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
 Ján Mikláš
fed7a48680 Revert "Replace interact.js with interactjs"
This reverts commit 5c349a506b.

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

[MAILPOET-6211]
2024-09-04 18:53:07 +02:00
 Ján Mikláš
d553e4647d Revert "Fix cloning dragged element"
This reverts commit 08f0f2bf38.

[MAILPOET-6211]
2024-09-04 18:53:07 +02:00
 Ján Mikláš
65516e70ed Revert "Prevent text selection when dragging"
This reverts commit e4730f7e31.

[MAILPOET-6211]
2024-09-04 18:53:07 +02:00
 Ján Mikláš
e7466fc9df Revert "Prevent text selection when resizing"
This reverts commit c11460fd30.

[MAILPOET-6211]
2024-09-04 18:53:07 +02:00
 Ján Mikláš
4882b2aef6 Revert "Fixed dragging images after being resized"
This reverts commit 16525d5cce.

[MAILPOET-6211]
2024-09-04 18:53:07 +02:00
 Ján Mikláš
2a4953489e Revert "Fix deprecation warning from interact.js"
This reverts commit 0c000b0595.

[MAILPOET-6211]
2024-09-04 18:53:07 +02:00
github-actions[bot]
9ed2e59a74 Update used WooCommerce Subscriptions plugin in Circle CI
- latest version: 6.6.1
 - previous version: 6.5.0
2024-09-03 16:09:03 +02:00
github-actions[bot]
c4bc285d28 Update used Automate Woo plugin in Circle CI
- latest version: 6.0.33
 - previous version: 5.8.5
2024-09-03 16:09:03 +02:00
github-actions[bot]
1408e7135c Update used WooCommerce plugin in Circle CI
- latest version: 9.2.3
 - previous version: 9.1.4
2024-09-03 16:09:03 +02:00
Jan Lysý
56c1a34120 Release 5.1.0 2024-09-03 16:01:56 +02:00
Jan Jakes
f68160fe5b Fix typos in WordPress Playground link action
[MAILPOET-6185]
2024-09-02 21:33:40 +02:00
 Ján Mikláš
9d0e2cdbcf Add acceptance test for the same form rendered multiple times on a page
[MAILPOET-6182]
2024-09-02 12:53:26 +02:00
 Ján Mikláš
d5f1980c63 Update integration tests
[MAILPOET-6182]
2024-09-02 12:53:26 +02:00
 Ján Mikláš
924a496e99 Update unit tests
[MAILPOET-6182]
2024-09-02 12:53:26 +02:00
 Ján Mikláš
4a54033d1e Correctly show error message next to the field when the same form is rendered multiple times
Every form block now has unique ID (even the same block in two different form has different ID) used for rendering error messages. Before this, when the same form was rendered on a page multiple times, error messages of custom fields were always shown on the last rendered form, even if the first one was submitted.

[MAILPOET-6182]
2024-09-02 12:53:26 +02:00
 Ján Mikláš
ccc1786614 Add reCAPTCHA validation and prevent form submission when invalid
[MAILPOET-6182]
2024-09-02 12:53:26 +02:00