Commit Graph

22617 Commits

Author SHA1 Message Date
246a10f058 Copy Validator to email-editor package
Because the email-editor package should be independent. We copy Validator to the package, at least for now.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
b2e8a9c82b Remove usage of constant from NewsletterEntity
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
45a8233a1e Copy CdnAssetUrl to email-editor package
For independence of the email-editor package, I copied the class to the package.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
4424a33624 Add Container class
This class is used as DI Container for easier injecting classes in integration tests.
It can be also reused during a standalone usage.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
1af3c09422 Bootstrap email-editor integration tests
I tried to minimize the code repetition.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
d38e6bb1b9 Bootstrap email-editor unit tests
I also replaced using verify function by asserts, which will be removed in the higher version of phpunit.
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
98712db36d Add composer files for email-editor package
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
d0c1ad4aba Move email editor integration tests
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
0860f7c45f Move email editor unit tests
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
09a8d7445b Use composer env variable for copying local packages
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
9c926fd99f Update composer.json and docker-compose.yml
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
ea71b6c967 Move EmailEditor PHP files into a packages directory
[MAILPOET-6216]
2024-09-23 15:16:59 +02:00
fe4eeb0049 Fix send email step time-out happening too early
This was an off-by-one error — the first step run is the email scheduling run.

[MAILPOET-6246]
2024-09-23 13:00:48 +02:00
e609adf408 Update used WooCommerce plugin in Circle CI
- latest version: 9.3.2
 - previous version: 9.2.3
2024-09-23 08:53:41 +02:00
0198eae41a Update WC action when setting cart item to zero
[MAILPOET-6069]
2024-09-23 08:32:06 +02:00
a90997ea1f Remove spacing in test and update code 2024-09-18 09:44:13 +02:00
8fa109571f Fix php linting 2024-09-18 09:44:13 +02:00
ce0937b880 Update tests to add subscriber and stats page newsletter timezone check 2024-09-18 09:44:13 +02:00
a085b76b4c Update existing schedule newsletter test to include timezone scenario 2024-09-18 09:44:13 +02:00
70b4602e94 Release 5.2.1 2024-09-18 09:34:16 +02:00
981e64b57f Remove deprecated version from docker-compose file
[MAILPOET-6233]
2024-09-18 07:52:26 +02:00
1a0fecf2db Rename docker-compose to docker compose
[MAILPOET-6233]
2024-09-18 07:52:26 +02:00
0efe8e0204 Set no-cache headers for pulic MailPoet router
This includes open and click tracking, cron daemon, view in browser,
form previews, subscription management, and image proxy for thumbnails.
2024-09-17 17:27:37 +02:00
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