Commit Graph

239 Commits

Author SHA1 Message Date
Rodrigo Primo
62e393a76d Revert "Define BlockPostQuery for nicer args processing for quering"
This reverts commit 5b40a585e7.
2022-04-11 16:30:59 -03:00
Sam Najian
5b40a585e7 Define BlockPostQuery for nicer args processing for quering
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00
Brezo Cordero
36baf4c4e3 Simplify the query to calculate lifetime emails
Get max and count of subscribers in the query.

[MAILPOET-4177]
2022-04-07 10:17:38 +02:00
Brezo Cordero
8b7b234446 Create controller to count emails per subscriber
This controller is built to be called by a cron SimpleWorker.

[MAILPOET-4177]
2022-04-07 10:17:38 +02:00
Jan Jakes
af4322c16e Run qa_php job on latest php version
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
David Remer
9f39843189 Sanitize incoming data according to WP sniffer
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
David Remer
cb55cae1b2 Escape SQL queries following wp org sniffs
[MAILPOET-4129]
2022-04-04 17:12:33 +02:00
David Remer
bde6c1ce65 Escape output according to sniffs
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
David Remer
a8d88beec9 Escape output according to WP sniffs
[MAILPOET-4129]
2022-04-04 17:12:33 +02:00
Jan Jakes
af66378f9a Add MinimalPluginStandard code sniffer ruleset 2022-04-04 17:12:33 +02:00
Jan Jakes
f4af6433e3 Fix wporg-code-analysis autoloading 2022-04-04 17:12:33 +02:00
Jan Jakes
1d3c013cee Install wporg-code-analysis 2022-04-04 17:12:33 +02:00
Rodrigo Primo
2e374d1a3b Remove unused property from Pages
[MAILPOET-4020]
2022-04-04 16:24:21 +02:00
Rostislav Wolny
11d4ae47a8 Remove Listing Handler unused methods
[MAILPOET-4006]
2022-04-04 15:33:52 +02:00
Rostislav Wolny
af90f49fa4 Remove unnecessary fix in npm post install script
It is no longer needed after https://github.com/WordPress/gutenberg/pull/37745 was merged
[MAILPOET-4113]
2022-03-28 13:55:05 +02:00
Rostislav Wolny
095f85c897 Update PHPStan and fix new issues
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
Rostislav Wolny
f4f2af0f40 Update code_sniffer tools
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
David Remer
93acb2b39c Remove outdated ignore error statements
[MAILPOET-3535]
2022-03-24 16:00:56 +01:00
David Remer
ac52f2af99 Introduce phpstan-type for MailerLog data
[MAILPOET-4122]
2022-03-21 10:17:37 +01:00
Jan Lysý
d0822be924 Remove translations:pack command
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
Jan Jakes
2ba8d15c6a Pass transifex token using env variable
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
Jan Jakes
2322ec909c Use new Transifex CLI
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
Jan Lysý
d86c59b606 Add fix script for rmccue/requests
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
f3fa51b5b0 Update tools in install script
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Jakes
1bc004adce Update PHPStan
[MAILPOET-4055]
2022-03-09 14:11:03 +01:00
Brezo Cordero
bb962a5af6 Upgrade PHPStan and update baselines
[MAILPOET-4131]
2022-03-07 16:07:16 +01:00
Jan Jakes
da951e77af Enforce type hints in automation directory
[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
Jan Jakes
73554ec101 Enforce strict types in automation directory
[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
Sam Najian
30c6d3d688 Fix issue with TS finding multiple definitions for React
This fixes the issue we sometimes experience where tsc
finds multiple definitions for React types since several of
dependencies have React or related packages as dependency

[MAILPOET-3140]
2022-02-21 09:53:50 +01:00
Rostislav Wolný
4e4352187a Revert "Remove translations:pack command"
This reverts commit af76206d19.
2022-02-16 12:49:35 +01:00
Jan Lysý
af76206d19 Remove translations:pack command
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Jan Lysý
69cbe75f16 Fix downloading WooCommerce Membership plugin
The downloading plugin was failing when the used version was the latest or empty.
So I added the exact version to the list of possible zip names.
[MAILPOET-4095]
2022-02-03 09:38:20 +01:00
Rostislav Wolny
75ab2338d6 Remove backward compatibility code for email action filters
This commit cleans up code that is no longer needed after email actions filter data migration.
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
efa7a55486 Fix cannot access offset PHP stan errors in EmailActionsTest
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Jan Lysý
391e19f692 Improve compatibility BatchIterator with PHP 8.1
[MAILPOET-4053]
2022-01-19 13:14:42 +01:00
Jan Lysý
29ea9ca7e3 Add fix for Stub::makeEmptyExcept annotation
[MAILPOET-4053]
2022-01-19 13:14:42 +01:00
Rostislav Wolny
dc3db54c5a Fix error coming from color-picker
A sub-dependency react-dates caused that @wordpress/component were using older react version.
[MALPOET-4029]
2022-01-19 12:21:15 +01:00
Jan Jakes
bfb69e7b18 Use local .transifexrc to avoid writing to user's home directory
[MAILPOET-3919]
2022-01-18 15:30:22 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00