a1632ea512
Satisfy PHPCS checks also in tests
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
5ef7059de8
Add WPCS WordPress-Extra ruleset to CodeSniffer
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
b7b62f5fbc
Remove confusing comments in WPDB driver
...
On the low lever of the WPDB driver, we're indeed executing an unknown query,
and we can't say that they are by themeselves fully safe. It's higher levels of
abstraction in Doctrine that aim to prevent us from generating unsafe querires.
[MAILPOET-6150]
2024-08-29 17:23:34 +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
9ab5c928de
Remove deprecated parameters (reported by WPCS)
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
a14849cea2
Remove command for minimal plugin standard
...
Because we used outdated WP coding standard we had reported errors about new WPDB placeholder %i.
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
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
b1248cca0d
Use placeholders and comments
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
952bc28fda
Use placeholders and comments in Migrations
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
91d6ee15db
Fix ignore comment in Functions.php
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
15e109e763
Add comments in WPDB Doctrine driver
...
[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
5ba859ca2c
Another try to fix flaky step clicking action
2024-08-29 09:10:49 +02:00
655188cd14
Update test to use waitForText
2024-08-29 09:10:49 +02:00
938dc9e504
Fix occasionally failing flaky test to trash or restore newsletters
2024-08-29 09:10:49 +02:00
11de87a278
Fix security audit problems
2024-08-29 09:09:54 +02:00
6164898303
Release 5.0.2
2024-08-27 14:49:41 +02:00
44513009a6
Fix pnpm lockfile error when setting up new dev env
...
Running ./do setup fails with this error:
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Cannot proceed with the frozen installation. The current "settings.autoInstallPeers" configuration doesn't match the value found in the lockfile
[MAILPOET-6201]
2024-08-27 10:29:39 +02:00
7ebcf324a6
Update code for the new cron-expression package
...
[MAILPOET-6167]
2024-08-26 14:52:05 +02:00
029b698b56
Replace cron-expression package with a fork
...
[MAILPOET-6167]
2024-08-26 14:52:05 +02:00
cbc2be2368
Remove the MYISAM tests
...
Now we have a check and warn users
InnoDB has been a default for 14 years
[MAILPOET-6184]
2024-08-26 10:20:45 +02:00
95476418fa
Update used WooCommerce Subscriptions plugin in Circle CI
...
- latest version: 6.6.0
- previous version: 6.5.0
2024-08-26 09:13:00 +02:00
db354f03c2
Update used Automate Woo plugin in Circle CI
...
- latest version: 6.0.32
- previous version: 5.8.5
2024-08-26 09:13:00 +02:00
60c18e9cfa
Update used WooCommerce plugin in Circle CI
...
- latest version: 9.2.2
- previous version: 9.1.4
2024-08-26 09:13:00 +02:00
c75bcbd1ab
Add Ukrainian community translations. Thanks Sasha
...
[MAILPOET-6198]
2024-08-26 08:55:28 +02:00
a91fd0abf1
Replace t() with __() in task scheduler translations
...
[MAILPOET-6200]
2024-08-25 22:42:20 +02:00
7068a7e6b1
Rename action scheduler cron option to prevent confusion for HEs
...
[MAILPOET-6200]
2024-08-25 22:42:20 +02:00
a94efb5563
Release 5.0.1
2024-08-23 16:32:40 +02:00
7756827b6e
Remove unused parameters in MailPoet.date.toDate
...
The options were just set in init but there was no effect.
[MAILPOET-6197]
2024-08-23 15:36:00 +02:00
82c0b186d4
Do not apply offset when manipulating with date in the Date picker
...
We use DateTime component on the send page.
The DateTime component uses DateText for picking date.
We add site's offset before we pass the date to the DateTime.
The date-text component is nested in the DateTime and was also applying
offset on the date.
The second issue was we needed to convert the value to JS Date.
The MailPoet.Date.toDate expects the value to be in UTC, and we provided an already converted date.
So for offset -07:00
MailPoet.Date.toDate('2023-09-01');
ends up
Thu Aug 31 2023 17:00:00 GMT-0700 (Pacific Daylight Time) and calendar display's incorrect value.
This commit fixes it so that we don't touch offset in the DateText component.
[MAILPOET-6197]
2024-08-23 15:36:00 +02:00
f960b55acb
Make sure the array contains the correct key
...
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
d137b55dd4
Catch errors while performing query
...
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
c039b220a7
Check the tables engine once per day
...
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
e9969b64ae
Only display two table names
...
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
12cdba005c
Add a warning if a table with incorrect engine detected
...
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
3c9cde6a45
Add an empty test
...
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
64c75fd0ca
Create a new class for database notice
...
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00
dd685f3284
Use __() for translations in new tsx file
...
[MAILPOET-6164]
2024-08-22 14:11:26 +02:00
b77cd11c02
Update tests
...
[MAILPOET-6164]
2024-08-22 14:11:26 +02:00
0f4bf52ca2
Hide machine opens in UI when opens are merged
...
[MAILPOET-6164]
2024-08-22 14:11:26 +02:00
8a506e7278
Show merged opens if respective setting is set
...
[MAILPOET-6164]
2024-08-22 14:11:26 +02:00
ee1043fce9
Add human and machine opens setting
...
[MAILPOET-6164]
2024-08-22 14:11:26 +02:00
c987733fba
Make the form border consistent
...
In the renderer we only display the border if both
colour and size are set. Before this commit in the
editor we showed the border even if the colour
was transparent. This make it consistent and display
the border in the editor same way as in the renderer
[MAILPOET-6193]
2024-08-22 13:56:54 +02:00
912cd7965a
Temporarily replace DROP DEFAULT with a CHANGE COLUMN for WP Playground
...
[MAILPOET-6185]
2024-08-22 13:28:09 +02:00
f584a673cb
Temporarily skip queries incompatible with SQLite
...
[MAILPOET-6185]
2024-08-22 13:28:09 +02:00
4b69005900
Use subquery in DELETE for SQLite
...
[MAILPOET-6185]
2024-08-22 13:28:09 +02:00
279364cf86
Avoid using information_schema for WP Playground
2024-08-22 13:28:09 +02:00
53919dd71b
Add helper for detecting SQLite database engine
...
[MAILPOET-6185]
2024-08-22 13:28:09 +02:00