Jan Jakes
a1ead743fa
Complete translation directory exclusion list, make it more readable
...
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Rodrigo Primo
7521dbd1ef
Update Woo COT build in test to the latest version
...
The latest version is 7.0.0-hpos.dev.7
[MAILPOET-4691]
2022-10-11 07:23:37 +02:00
Rodrigo Primo
db0a8bee0f
Update Woo COT build in test to the latest version
...
The latest version is 7.0.0-hpos.dev.4
[MAILPOET-4691]
2022-10-04 09:26:11 +02:00
Jan Lysý
37d9bc5d0c
Replace styles fixing with styles checking
...
[MAILPOET-4550]
2022-10-03 11:16:21 +02:00
Rostislav Wolny
3d4ca982a6
Update Woo COT build in test to the latest beta
...
[MAILPOET-4572]
2022-09-21 10:49:10 -03:00
Rostislav Wolny
65a6edff16
Add integration test job running woo tests with COT enabled
...
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
ebdeabaccf
Add option to disable COT Synchronization into integration and acceptance tests
...
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
be9643515e
Add option for toggle COT in integration and acceptance tests
...
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
82218ca48c
Add ./do reset:test-docker command
...
We already have a similar command ./do delete:docker which removes everything
related to docker for test environment including images.
This is an overkill in case one wants to do just basic cleanup of container and volumes e.g. to allow
activation of a different version of WooCommerce
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Rostislav Wolny
910ded0f30
Add temporary command for downloading WooCommerce build with COT
...
[MAILPOET-4572]
2022-09-19 11:38:03 -03:00
Pavel Dohnal
5984c1be04
Add a command to calculate number of pull requests
2022-09-09 11:02:50 +02:00
Rostislav Wolny
f05a7367ef
Add shortcuts for Woo integration tests and base integration test to Robo
...
./do test:woo-integration - runs test from Woo group with and activate plugins
./do test:base-integration - runs test without Woo group with and doesn't activate plugins
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Rostislav Wolny
8d564a52f1
Add option for skipping 3rd party plugins activation in integration tests
...
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Rostislav Wolny
08d970a94b
Add support for group to integration test robo command
...
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Jan Jakes
a377f0c946
Do not limit memory for CodeSniffer
...
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
Jan Jakes
6a6d11ccdb
Fix ignore patterns for CodeSniffer
...
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
Jan Jakes
2e6248b63b
Run scripts using pnpm
...
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
Jan Jakes
c41ab7464c
Make mailpoet a pnpm workspace
...
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
Jan Jakes
c83a3b7d8d
Use pnpm in the monorepo root
...
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
Pavel Dohnal
a32af0c103
Fix Shop project
2022-06-21 13:17:45 +02:00
Pavel Dohnal
57937c71a0
Display number of reviews
2022-06-21 13:17:45 +02:00
David Remer
0d4048b682
Remove WordPress from build process
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
d15be7555c
Add hbs and txt files
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
afb03bd83f
Add twig:generate-cache command
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
Rodrigo Primo
e56e2db9ef
Update release script to use trunk instead of master
...
[MAILPOET-3466]
2022-05-31 11:23:33 +01:00
Sam Najian
77d46d9a1b
Remove memory limit when building translations
2022-05-18 15:27:29 +02:00
Sam Najian
e4886cf812
Update Doctrine before running tests
...
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
Sam Najian
393154e080
Adjust used Docker container to run integration tests
...
[MAILPOET-4251]
2022-05-17 14:17:26 +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
Jan Jakes
ba322bc078
Add Robo commands for prettier
...
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
Jan Jakes
b5530bad70
Install repo root dependencies in ./do install
...
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
Rodrigo Primo
f38443f82e
Fix minor error in logic to create lang dir
...
This commit fixes a small error in the logic to create the lang dir
inside the Robo command to get the mailpoet.pot file from the CircleCI
build.
The old code would always return false and thus ways try to create the
directory mailpoet/lang as the path 'mailpoet/lang' is not a file and it
is wrong. To fix this problem `is_file()` was replaced with
`file_exists()` and the correct path was passed to the function (__DIR__
. '/lang' instead of 'mailpoet/lang').
[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
Rodrigo Primo
05c3c68c56
Remove references to CircleCI from command to get the .pot file
...
This commit removes references to CircleCI from the command that gets
the .pot file from the CircleCI release build. I'm doing this based on
review feedback in case in the future we decide to get the .pot file
from a different source.
[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
Rodrigo Primo
8e0283b4dd
Update release:publish to use mailpoet.pot file from CircleCI
...
This commit changes the Robo command release:publish to use the
mailpoet.pot file that is present in the zip file in the release branch
of the CircleCI build. Before we were using the mailpoet.pot file
present in the local repository, which meant it could contain undesired
local changes that should not be included when creating a new MailPoet
release.
A new Robo command was created to get the zip file from CircleCI called
translations:get-pot-file-from-circle-ci. The old translations:build was
preserved as it is used inside mailpoet/build.sh.
[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
David Remer
f4b040d8ff
Fix two minor sniff warnings
...
WordPress.NamingConventions.PrefixAllGlobals.DeprecatedWhitelistCommentFound
WordPress.WP.DeprecatedParameters.Load_plugin_textdomainParam2Found
[MAILPOET-4219]
2022-04-04 17:12:33 +02: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 Jakes
66243f246b
Allow PHPStan cache
...
[MAILPOET-4055]
2022-03-09 14:11:03 +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ý
4ce1c4f4e6
Use WPOrgDownloader for WC blocks downloading
...
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
Jan Lysý
2aa2c39b1c
Add command for downloading WC Blocks plugin
...
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
Sam NAjian
897c9bbd8c
Add tests for MailPoetDate.isInFuture and fix test eslint issues
...
- Convert date.js to typescript and define types
- Fix test script to include ts tests as well
- Make eslint for ts tests work correct and recognize mocha
[MAILPOET-4023]
2022-02-09 16:32:26 +01:00
Jan Lysý
4d6fd85007
Add install npm eslint dependencies
...
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
Jan Lysý
73f735ecaa
Use moved eslint configuration files
...
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
wxa
46a9baba1d
Add tests
...
[MAILPOET-3880]
2022-01-27 16:14:14 +01:00
Brezo Cordero
824b4566d3
Add comment about files to exclude on qaLintBuild
...
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
Brezo Cordero
63bb2e1a86
Add vendor and vendor-prefixed files to 7.4 lint
...
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00