Jan Jakes
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
Jan Jakes
8a6a4fd29d
Add WordPress-VIP-Go ruleset to CodeSniffer
2024-09-12 15:11:08 +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
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
Jan Jakes
ab16f5be10
Remove ignores of WordPressDotOrg sniffs
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Jakes
5ef7059de8
Add WPCS WordPress-Extra ruleset to CodeSniffer
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Jakes
89b10e7504
Avoid ignoring PHPCS checks in automation field factories
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Jakes
e3f7caea14
Avoid ignoring PHPCS checks in automation storages
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Lysý
b5d75aaa21
Update used WP coding standards
...
The used package was outdated and didn't allow placeholders for tables or columns
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Lysý
b1248cca0d
Use placeholders and comments
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Lysý
c6caee6f7a
Add comments to the WPDB queries in Automation Integrations
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Lysý
9f87b1c18b
Add comments to the WPDB queries in Automation Storages
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Jakes
4b69005900
Use subquery in DELETE for SQLite
...
[MAILPOET-6185]
2024-08-22 13:28:09 +02:00
Jan Jakes
4531ae9e60
Use WPDB driver for Doctrine
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Jan Jakes
805c752843
Remove all old models and their setup
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Ján Mikláš
f2e048282a
Reset terminal color
...
This caused that all output below this was in red color, even if it's unrelated to this script
[MAILPOET-6172]
2024-08-02 12:03:45 +02:00
Pavel Dohnal
f0687b585d
Check 500 error using exception
2024-07-15 11:01:48 +02:00
Pavel Dohnal
65f7f41f9f
Add retry when downloading files from github
2024-07-15 11:01:48 +02:00
Ján Mikláš
ac751871f9
Unify automation endpoint 404 exceptions
...
[MAILPOET-5436]
2024-07-08 14:37:30 +02:00
Pavel Dohnal
605664228e
Improve code readability
...
[MAILPOET-6119]
2024-06-28 14:27:21 +02:00
Pavel Dohnal
242c29398d
Keep the latest changelog in both readme and changelog files
...
[MAILPOET-6119]
2024-06-28 14:27:21 +02:00
Pavel Dohnal
e023501c31
Fix a typo in method name
...
[MAILPOET-6119]
2024-06-28 14:27:21 +02:00
Pavel Dohnal
7abfa53c2f
Copy changeset on release
...
[MAILPOET-6119]
2024-06-28 14:27:21 +02:00
Miguel Pérez Pellicer
e3b1a87f34
Sync AutomateWoo Opt-In when Subscribe event happens.
2024-06-17 13:15:42 +02:00
Jan Lysý
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
Jan Lysý
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
Jan Lysý
f45ecefc22
Add User-Agent header into command downloading plugins
2024-04-18 15:54:30 +01:00
Rostislav Wolny
c52937202e
Polish Heading block renderer code
...
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Mike Jolley
a697b32e0e
Exclude from phpstan
2024-04-10 11:42:50 +02:00
Mike Jolley
6f1a8fb374
Fix minimal standard in composer
2024-03-21 16:57:59 +01:00
Mike Jolley
0d6fe6e5eb
Apply rules to tests and tasks
2024-03-21 16:57:59 +01:00
Mike Jolley
35fbac6320
Update rules to include correct spacing around arrays and closures.
2024-03-21 16:57:59 +01:00
Mike Jolley
2212869800
Update sniff packages
2024-03-21 16:57:59 +01:00
alex-mpoet
15b0846f34
Leave on-save email validation only in SubscriberSaveController
...
[MAILPOET-5878]
2024-03-15 15:29:36 +01:00
Jan Jakes
adff3b61a6
Add "in the last" parameter to "woocommerce:customer:order-count" field
...
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
d9be326aa7
Add "in the last" parameter to "woocommerce:customer:spent-total" field
...
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Rodrigo Primo
6f98634b94
Replace Subscriber and SubscriberSegment models with Doctrine in \MailPoet\Segments\WP
...
[MAILPOET-5752]
2024-02-12 15:33:28 +01:00
John Oleksowicz
a78a31f110
Fix indentation
...
MAILPOET-4237
2024-02-08 11:13:35 -06:00
John Oleksowicz
fcc4be330c
Add set -e to hook scripts to exit on fail
...
MAILPOET-4237
2024-02-08 11:13:35 -06:00
John Oleksowicz
52397951d8
Rename scripts and make messages consistent
...
MAILPOET-4237
2024-02-08 11:13:35 -06:00
John Oleksowicz
bc4014d4a3
Make lint-staged commands configurable
...
MAILPOET-4237
2024-02-08 11:13:35 -06:00
alex-mpoet
6e38762d6d
Hide AutomateWoo checkout opt-in block so only one checkbox is visible
...
[MAILPOET-5721]
2024-01-22 14:48:00 +01:00
Rostislav Wolny
327a23ca81
Improve typography preprocessor to distribute font color from theme.json
...
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
Rostislav Wolny
195756c0c7
Add renderer for core/button block
...
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
Rostislav Wolny
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
Jan Lysý
eaf320bb89
Unify version pattern in composer.json for PHPStan
...
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
Jan Lysý
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
Jan Lysý
80ee6e4160
Remove redundant configuration for PHPStan
...
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
Jan Lysý
eee5a9e31e
Remove WP_PLUGIN_DIR constant definition from
...
PHPStan bootstrap
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00