Commit Graph

26 Commits

Author SHA1 Message Date
393154e080 Adjust used Docker container to run integration tests
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
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
51e67dca73 Add do command for cleaning up generated and cached files
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
ba322bc078 Add Robo commands for prettier
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
b5530bad70 Install repo root dependencies in ./do install
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
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
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
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
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
d0822be924 Remove translations:pack command
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
2ba8d15c6a Pass transifex token using env variable
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
2322ec909c Use new Transifex CLI
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
66243f246b Allow PHPStan cache
[MAILPOET-4055]
2022-03-09 14:11:03 +01:00
4e4352187a Revert "Remove translations:pack command"
This reverts commit af76206d19.
2022-02-16 12:49:35 +01:00
af76206d19 Remove translations:pack command
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
4ce1c4f4e6 Use WPOrgDownloader for WC blocks downloading
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
2aa2c39b1c Add command for downloading WC Blocks plugin
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
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
4d6fd85007 Add install npm eslint dependencies
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
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
824b4566d3 Add comment about files to exclude on qaLintBuild
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
63bb2e1a86 Add vendor and vendor-prefixed files to 7.4 lint
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
a3ef6f8f0d Ensure lang directory exists when building translations
[MAILPOET-3919]
2022-01-18 15:30:22 +01:00
9405f144be Add .mp_svn to ignored folders for code sniffer
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00