Commit Graph

144 Commits

Author SHA1 Message Date
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
89b10e7504 Avoid ignoring PHPCS checks in automation field factories
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
e3f7caea14 Avoid ignoring PHPCS checks in automation storages
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
b1248cca0d Use placeholders and comments
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
c6caee6f7a Add comments to the WPDB queries in Automation Integrations
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
9f87b1c18b Add comments to the WPDB queries in Automation Storages
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
4b69005900 Use subquery in DELETE for SQLite
[MAILPOET-6185]
2024-08-22 13:28:09 +02:00
4531ae9e60 Use WPDB driver for Doctrine
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
805c752843 Remove all old models and their setup
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
ac751871f9 Unify automation endpoint 404 exceptions
[MAILPOET-5436]
2024-07-08 14:37:30 +02:00
e3b1a87f34 Sync AutomateWoo Opt-In when Subscribe event happens. 2024-06-17 13:15:42 +02:00
26a98f1000 Update composer package doctrine/dbal
We cannot update to the latest version of the dbal 3 because there is a another package conflict.
[MAILPOET-6101]
2024-06-17 12:38:08 +02:00
487f1490b0 Update composer package doctrine/orm
The used version is limited by the package dependencies which can cause incompatibility on WP.org SVN.
[MAILPOET-6101]
2024-06-17 12:38:08 +02:00
c52937202e Polish Heading block renderer code
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
a697b32e0e Exclude from phpstan 2024-04-10 11:42:50 +02:00
15b0846f34 Leave on-save email validation only in SubscriberSaveController
[MAILPOET-5878]
2024-03-15 15:29:36 +01:00
adff3b61a6 Add "in the last" parameter to "woocommerce:customer:order-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
d9be326aa7 Add "in the last" parameter to "woocommerce:customer:spent-total" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
6f98634b94 Replace Subscriber and SubscriberSegment models with Doctrine in \MailPoet\Segments\WP
[MAILPOET-5752]
2024-02-12 15:33:28 +01:00
6e38762d6d Hide AutomateWoo checkout opt-in block so only one checkbox is visible
[MAILPOET-5721]
2024-01-22 14:48:00 +01:00
327a23ca81 Improve typography preprocessor to distribute font color from theme.json
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
195756c0c7 Add renderer for core/button block
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
4734aafef5 Mark WpPostEntity as read-only
Read-only was added to prevent using the entity for modifying post
data.
We want to allow modifying posts only via WP functions so that we don't skip any hooks etc.
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
eaf320bb89 Unify version pattern in composer.json for PHPStan
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
cf9e0c2584 Changing static analysis instance class from medium to medium+
After updating PHPStan static analysis started failing due to memory. It was possible to disable parallel runs but it took 5 minutes.
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
80ee6e4160 Remove redundant configuration for PHPStan
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
eee5a9e31e Remove WP_PLUGIN_DIR constant definition from
PHPStan bootstrap

[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
525c80bac4 Fix PHPStan warnings in lib
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
41a55262fe Fix PHPStan warnings in tests
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
1119e73056 Unify PHPStan baseline for PHP 8.0 and 8.1
Because both files were identical, I decided for simplification.
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
981232bfbc Update PHPStan and related packages to the latest version
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
224adaae67 Add WP_HTML_Tag_Processor stub for PHPStan
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
d111f3e2f5 Update woocommerce-stubs library to the latest version
MAILPOET-5692
2023-11-23 10:40:43 +01:00
8c132556a8 Add get_date method
[PREMIUM-257]
2023-11-19 18:39:16 +01:00
a5484f2728 Extend \WC_Subscription stub
[PREMIUM-256]
2023-11-19 18:39:16 +01:00
5fec40484a Remove PHPStan ignored error that is not happening anymore
This error was added to the list of PHPStan ignored errors in
153e32b3bc. It is not happening anymore so
it is safe to remove it. Probably one of the commits that changed the
used codeception/verify functions caused that but I didn't check which
one and I don't believe this is necessary.

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
35c24fb324 Update codeception/verify to version 2.1.1
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
c809461322 Remove phpstan exception that no longer triggers
MAILPOET-5161
2023-10-23 17:40:54 +02:00
b9ecac91d4 Query all runs when no status has been added
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
69a87e8146 Apply editor content styles in the email renderer
Add proof of concept for applying additional CSS in renderer
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
30eafb9146 Extract purchase states to helper method
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
6dd0c844ca Take also list specific status into account when counting subscribers
[MAILPOET-4487]
2023-08-18 13:35:13 +02:00
6414cc832c Include parent category IDs in order category field
[MAILPOET-5377]
2023-08-14 16:41:29 +02:00
a5a7966663 Fix filterData reference in DynamicSegmentFilterData
[MAILPOET-5505]
2023-08-07 10:21:33 -05:00
fe318f5a30 Add 'not contains' option for text custom fields
MAILPOET-4996
2023-08-07 12:03:49 +02:00
640fb61861 Use versions loader when an automation with a specific version is queried
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
5aaa7b2361 Query list of Automation with different versions
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
10f4d6c3c3 Query all versions of an Automation with create date
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
a99e58e197 Fix missing baseline definition for PHPStan with PHP 8.1 2023-06-20 09:29:32 +02:00
dd037c349c Use strings for template categories
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00