Commit Graph

15254 Commits

Author SHA1 Message Date
David Remer
0996a64f32 Release 3.89.0 2022-05-10 14:44:19 +03:00
David Remer
acd8fbb773 Move MailPoet cron users to WordPress cron
[MAILPOET-4271]
2022-05-09 13:06:28 +02:00
David Remer
4a2d89c307 Remove MailPoet trigger from UI
[MAILPOET-4271]
2022-05-09 13:06:28 +02:00
David Remer
33e5e15e98 Remove MailPoet Trigger
[MAILPOET-4271]
2022-05-09 13:06:28 +02:00
Brezo Cordero
6e0b639fd3 Use intval instead of (int) to remove PHPStan errors
[MAILPOET-4281]
2022-05-09 13:05:21 +02:00
Brezo Cordero
ce27c2ed33 Add tests for meta in SubscribersEmailCount task
[MAILPOET-4281]
2022-05-09 13:05:21 +02:00
Brezo Cordero
add4039495 Cast type of meta in SubscribersEmailCount task for backwards fix
[MAILPOET-4281]
2022-05-09 13:05:21 +02:00
Brezo Cordero
bb3d1c2a7c Fix type error in meta in SubscribersEmailCount task
[MAILPOET-4281]
2022-05-09 13:05:21 +02:00
Rodrigo Primo
ed164ac397 Replace Paris code with Doctrine in NewslettersResponseBuilder.php
[MAILPOET-4138]
2022-05-09 13:04:56 +02:00
Rodrigo Primo
dd6cbbbbce Create SendingQueuesRepository::countAllByNewsletterAndTaskStatus()
This method will be used in a subsequent commit to replace some of the
usages of the method SendingQueue::findTaskByNewsletterId() as part of
the refactor from Paris to Doctrine.

[MAILPOET-4138]
2022-05-09 13:04:56 +02:00
David Remer
abd4c7b52d Switch WooProductBlock hooks and extender class by version
[MAILPOET-4276]
2022-05-09 10:41:12 +02:00
Rostislav Wolny
fe2397a65e Optimize WordPress cron trigger SQL
Majority of scheduled tasks DB records are completed tasks.
We check completed tasks only for Migration worker task type.
Excluding other workers' completed tasks significantly speeds up the query
on sites with longer history. E.g. on mailpoet.com the query sped up from 0.6s to 0.003s.

[MAILPOET-4314]
2022-05-09 10:19:20 +02:00
Rodrigo Primo
4113c35dc7 Replace Paris code with Doctrine in \MailPoet\Cron\Triggers\WordPress
[MAILPOET-4140]
2022-05-05 19:14:21 +02:00
Rodrigo Primo
8a83726994 Replace Paris code with Doctrine in WordPressTest
[MAILPOET-4140]
2022-05-05 19:14:21 +02:00
Jan Lysý
0f32da7dda Update composer
[MAILPOET-4268]
2022-05-05 09:29:49 +02:00
Rostislav Wolny
c50715698c Run cache cleanup command within do install command
Changes introduced in new versions of packages often cause incompatibility issues in generated and cached files.
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
Rostislav Wolny
51e67dca73 Add do command for cleaning up generated and cached files
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
Ján Mikláš
b02d6689c6 Update changelog 2022-05-03 15:43:08 +02:00
Jan Jakes
36362a4684 Release 3.88.2 2022-05-03 15:43:08 +02:00
Sam Najian
d3335fc679 Fix HelpTooltip component import
[MAILPOET-4288]
2022-05-03 13:46:13 +02:00
Sam Najian
3339d2f877 Correctly set dynamic arg false for Posts block requests
[MAILPOET-4278]
2022-05-02 13:49:05 +02:00
Rostislav Wolny
62c7022227 Improve message for confirmation emails when confirmation is disabled
[MAILPOET-4149]
2022-05-02 13:47:54 +02:00
David Remer
e4b53dd763 Do not deactivate an inactive daemon
If the daemon is already inactive, we do not need an additional SQL
insert

[MAILPOET-4267]
2022-05-02 13:09:12 +02:00
David Remer
8879e505e2 Exit early when the runInterval is -1
By default checkRunInterval will always return true because there is no way
the time which has passed since the last run is smaller than -1. To prevent
unnecessary code execution and an not needed SQL insert, we can return true
in checkRunInterval() early.

[MAILPOET-4267]
2022-05-02 13:09:12 +02:00
Rostislav Wolny
a6d8e36896 Fix namespace of twig_compare function for prefixed version of twig library
New version of Twig we updated to added this new function to generated code.
[MAILPOET-4279]
2022-05-02 11:42:22 +02:00
Jan Lysý
d49be95736 Release 3.88.1 2022-04-28 14:40:53 +02:00
Sam Najian
cd62431548 Fix issue with wrong import causing Radio props not working
[MAILPOET-4277]
2022-04-28 12:59:36 +02:00
Jan Lysý
c08bde077b Update symfony/dependency-injection package to v5
[MAILPOET-4227]
2022-04-27 08:57:54 +02:00
Jan Lysý
4ed3c44d6b Update symfony/validator package to v5
[MAILPOET-4227]
2022-04-27 08:57:54 +02:00
Jan Lysý
1e0878cf6c Update twig/twig package to v3
[MAILPOET-4227]
2022-04-27 08:57:54 +02:00
Jan Lysý
f5078e88ad Increase PHP version for prefixed libraries to 7.2.5
[MAILPOET-4227]
2022-04-27 08:57:54 +02:00
Jan Lysý
d74b6056aa Release 3.88.0 2022-04-26 14:16:21 +02:00
David Remer
c34356b99c Remove optional $wp parameter in getScheduledTimeWithDelay method
[MAILPOET-4252]
2022-04-25 12:08:18 +02:00
David Remer
ca3f8bdc43 Make Scheduler non-static
[MAILPOET-4252]
2022-04-25 12:08:18 +02:00
Jan Lysý
100ea655ff Change method parameter name
[MAILPOET-4137]
2022-04-25 10:58:18 +02:00
Jan Lysý
d019ad9bdb Remove using Idiorm and replace it by Doctrine
[MAILPOET-4137]
2022-04-25 10:58:18 +02:00
Jan Lysý
69ca1ec45c Fix adding new subscriberCustomField into collection
[MAILPOET-4137]
2022-04-25 10:58:18 +02:00
Jan Lysý
a4c7854967 Add subscriberCustomFields association
[MAILPOET-4137]
2022-04-25 10:58:18 +02:00
Jan Lysý
1b04b43be7 Add integration test for handling sending error
[MAILPOET-4200]
2022-04-25 10:58:12 +02:00
Jan Lysý
1310e5afec Disable marking subscribers as processed on error
[MAILPOET-4200]
2022-04-25 10:58:12 +02:00
Rostislav Wolny
4733bcd03f Update info about supported languages in readme.txt
[MAILPOET-4265]
2022-04-24 23:52:46 +02:00
dependabot[bot]
acfb512c77 Bump async from 2.6.3 to 2.6.4 in /mailpoet
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 08:35:12 +02:00
John Oleksowicz
ad5dfdba43 Add new versions of strings for translations
This is step 1 in a two step process to fix translations that change
double quotes to something else. Once the translations for these new
strings have been completed we can update the application code to use
the new strings, change the find/replace, and remove the old strings.

[MAILPOET-4185]
2022-04-20 15:40:13 -05:00
Jan Jakes
adf6dd3ce9 Add schema for workflow post endpoint
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
Jan Jakes
29df2dddb6 Sanitize unknown params
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
Jan Jakes
679f2200bd Rename endpoint "factory" to a more exact "container"
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
Jan Jakes
36a3f34db8 Add generic API endpoint tests
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
Jan Jakes
c5ff597267 Add the possibility to specify request schema
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
Jan Jakes
a06a8af0d5 Use WP-native params to support all REST API request formats
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
Jan Jakes
6b1c6929d1 Migrate existing endpoints to the new structure
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00