mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 22:36:12 +01:00
Commit graph

135 commits

Author SHA1 Message Date
Oliver Klee
899f2b588a
V2.0.1: Bug fixes and cleanup (#580) 2022-09-21 19:11:36 +02:00
Oliver Klee
e8da69e4fa
[TASK] Stop using the typo3/minimal package on CI (#531)
The `typo3/minimal` package is not maintained very much, and currently
cannot be used as a requirement to install the latest TYPO3 development
version (as it still depends on `dev-master`, not on `dev-main`).

In addition, not depending on it will allow us to find any missing
dependencies in our requirements that so far have been masked by
the `typo3/minimal` dependencies.

(This is the same as #520, but for GitLab CI.)
2022-08-28 20:17:31 +02:00
Oliver Klee
dbb9b977a8
[DOCS] Add changelog entry that was forgotten 2022-08-28 12:33:59 +02:00
Lina Wolf
214ea7b4de
[TASK] Use CamelCase for the TsConfig folder (#523)
Fixes #522

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-08-28 12:01:02 +02:00
Oliver Klee
be838adde5
[TASK] Remove the ancient acceptance tests (#512)
The acceptance tests have not been testing the extension itself,
have not been maintained for quite some time, and do not serve
as a good example anymore.

Until we have a proper set of example acceptance tests, we should
remove them.

Also drop the now-unused dependency on Codeception.
2022-08-28 09:33:50 +02:00
Oliver Klee
75ae59b28a
[TASK] Update to Composer 2.4 (#513)
Now that Composer 2.4 has had its first point release, we can safely
upgrade from 2.3 to 2.4 in the DDEV configuration and the CI pipeline.
2022-08-27 18:53:54 +02:00
Oliver Klee
821cb8400b
[BUGFIX] Have all extension dependencies in the ext_emconf.php as well (#515)
For non-Composer installations, all extension dependencies that are in
the `composer.json` should also be in the `ext_emconf.php`.

Even for extensions that are always installed (like frontend or fluid),
it is good practice to always make these dependencies explicit.
2022-08-24 18:43:54 +02:00
Oliver Klee
f941268b04
[BUGFIX] Bump the minimal 10.4 Extbase requirement (#514)
Extbase < 10.4.6 has a bug that causes it to stumble over PHPDoc
annotations in the repository.
2022-08-24 12:54:33 +02:00
Oliver Klee
dda805b37d
[BUGFIX] Explicitly require Prophecy (#511)
PHPUnit has dropped its dependency on Prophecy. In order to keep using
Prophecy in our tests, we need to add it as an explicit (development)
dependency.

Also, relying on transitive dependencies is bad practice anyway.
2022-08-23 13:47:10 +02:00
Lina Wolf
60456633b1
Change default rst indentation to 4 spaces (#508)
refs https://github.com/TYPO3-Documentation/T3DocTeam/issues/194
2022-08-20 13:59:53 +02:00
Oliver Klee
0ec3eaab31
V2.0.0: Drop support for TYPO3 9LTS (#494) 2022-07-26 12:15:13 +02:00
Oliver Klee
56b02d5fda
[FEATURE] Configure Dependabot to also update npm packages (#481) 2022-07-13 18:39:00 +02:00
Oliver Klee
f6e17b3be0
[TASK] Add the PHPStan strict rules (#471)
We want PHPStan to be as strict as possible.

(The new warning requires a change in Extbase to get solved properly.)
2022-06-28 18:42:50 +02:00
Oliver Klee
b3e3c4e29d
[FEATURE] Add a Dependabot action for updating GitHub actions (#452)
With this configuration, GitHub's Dependabot will create PR
to update the versions of the GitHub Actions we are using in
our CI pipeline.
2022-05-23 14:45:35 +02:00
jpmschuler
518bae014e
[TASK] Move npm tools and config to default places (#445)
- Move npm tools and config to default places
- Remove now unnecessary config file parameter from npm scripts
- editorconfig and eslint config contradict, adapt editorconfig
- switch JS indent linting to TYPO3 coding standard of 2 spaces
- adapt composer scripts for new npm location
2022-05-18 17:17:45 +02:00
Oliver Klee
2e31910c61
[FEATURE] Use Coveralls for the code coverage (#425)
Fixes #345
Closes #400
2022-04-15 18:47:18 +02:00
Oliver Klee
e1f04ba58b
[TASK] Switch to the TYPO3 Code of Conduct (#430)
Now that the TYPO3 community has a new code of conduct, we should
switch from the Contributor Covenant Code of Conduct to the
TYPO3 CoC.

Fixes #249
2022-04-14 18:11:50 +02:00
Oliver Klee
c79986b614
[TASK] Drop the TYPO3 V9 badge (#372)
We should not advertise what we're not supporting anymore.
2022-01-27 17:08:08 +01:00
Oliver Klee
34eaf0cab1
[TASK] Drop support for TYPO3 9LTS (#363)
Now that we have added support for TYPO3 11LTS, we have been supporting
3 different TYPO3 LTS versions in the same branch. This has turned out
to be too much of a hassle when running the test. So now is the time
to drop support for 9LTS.
2022-01-12 11:22:59 +01:00
Oliver Klee
8654223e22
V1.1.0: Add support for TYPO3 11LTS (#364) 2022-01-04 01:33:24 +01:00
Oliver Klee
9c1a522ebb
[FEATURE] Also run the unit tests with V11 in the CI pipeline (#336) 2021-11-06 15:57:36 +01:00
Oliver Klee
659735dd5f
[BUGFIX] Require at least TYPO3 11.5.2 for 11LTS (#335)
This fixes a missing Symfony polyfill for `str_starts_with` in
TYPO3 11.5.0 and 11.5.1, which fixes a crash in the unit tests with
TYPO3 11LTS and PHP 7.4 using the lowest possible Composer dependencies.
2021-11-04 01:30:42 +01:00
Oliver Klee
6616f79634
[TASK] Upgrade to PHPUnit 8.5 (#328)
Also upgrade to nimut/testing-framework 6.0.

This removes another blocker for running the tests with TYPO3 11LTS.

Fixes #326
2021-11-03 01:15:21 +01:00
Oliver Klee
19f3820d0d
[BUGFIX] Only publish to the TER if the tag is a valid version number (#329)
Tags named like `test-tag` should not trigger a TER releasen, but only
valid version numbers in the format major.minor.bugfix.

Fixes #327
2021-11-03 01:07:00 +01:00
Oliver Klee
e9606534b6
[FEATURE] Re-allow installations on TYPO3 11LTS (#323) 2021-10-19 02:22:07 +02:00
Oliver Klee
d8d55e05a6
V1.0.0: First public release (#322) 2021-10-12 19:06:56 +02:00
Oliver Klee
091e00e478
[FEATURE] Also run the CI build once a week (#160)
This will allow us to catch problems with dependencies or
the build environment, i.e., problems that are not related
to changes in our code base.
2020-11-21 17:58:35 +01:00
Oliver Klee
6671dce5b3
[BUGFIX] Always use the Composer-installed tools (#49)
Add the full relative path to Composer-installed binaries to make
sure that are used instead of other versions that happen to be in
the path.

Also drop unneeded trailing slashes from directories used in
Composer scripts.
2020-06-23 19:36:54 +02:00
Oliver Klee
288fbc7999
[TASK] Drop the Travis CI builds (#56)
We've moved to GitHub Actions (and will add GitLab CI) instead.
2020-06-23 11:05:45 +02:00
Oliver Klee
74813e9a0c
[FEATURE] Run the functional tests via GitHub Actions (#55) 2020-06-06 23:09:20 +02:00
Oliver Klee
59384b3d68
[TASK] Disable running with lower dependencies on GitHub actions (#54)
This currently is broken, and we need to find the cause and fix it
first.

In the meantime, disable this so the build is green again.
2020-05-25 07:50:53 +02:00
Oliver Klee
be01bcec29
[BUGFIX] Avoid unwanted higher PHP versions (#51)
To avoid stating any untested compatibility with a (non-existent) PHP
version 7.5, the requirements in the `composer.json` need to provide
the patch-level version as well as `~7.0` works the same as `^7.0`,
while `~7.0.0` does not.
2020-05-22 12:34:13 +02:00
Oliver Klee
14602e19b5
[BUGFIX] Stop caching vendor/ on Travis CI (#52)
Downgrades of Composer packages do not work reliably
if a higher version of a package already is installed in `vendor/`.
This causes builds to use higher versions of packages than intended
if Travis CI has the corresponding version in the cached and restored
`vendor/` folder.
2020-05-22 12:31:09 +02:00
Oliver Klee
b8cf63d358
[BUGFIX] Use the PHP version from the matrix in the CI (#48)
For GitHub actions, an explicit step is required to use a
specific PHP version. If this is not done, a default version
will be used (which makes the builds unpredictable).
2020-05-22 11:38:45 +02:00
Oliver Klee
0ad663e9c7
[TASK] Update the GitHub actions status badge URL (#47)
Now that the project has been moved to a different project,
the GitHub actions status badge URL needs to be adapted.
2020-05-22 09:14:54 +02:00
Oliver Klee
77c709c2df
[CLEANUP] Drop obsolete dividers2tabs from the TCA (#44)
This option has been removed in TYPO3 7.

Resolves #43
2020-05-22 09:10:58 +02:00
Oliver Klee
c508e4c710
[CLEANUP] Use backticks around file names in the changelog (#45) 2020-05-22 09:09:44 +02:00
Oliver Klee
9d39ca01af [BUGFIX] Re-add the static TypoScript registration (#41)
The registration had accidentally been removed by some
previous changes.
2019-12-07 19:42:02 +01:00
Oliver Klee
1b4d0702c9 [BUGFIX] Keep the global namespace clean in ext_localconf.php (#39)
Move the plugin registration into a function.
2019-12-07 19:15:24 +01:00
Andreas Wolf
9be1c23798 [TASK] Move unit test run to GitHub actions (#38) 2019-12-07 19:00:51 +01:00
Andreas Wolf
cef4baddbc [TASK] Cache Composer dependencies during build (#36)
Also fix the name of TS the lint step.
2019-12-07 18:10:51 +01:00
Oliver Klee
a9f64159ec [TASK] Switch the code sniffing from PSR-2 to PSR-12 (#35)
Also update the corresponding packages and autoformat the code again.

Fixes #3
2019-12-07 17:44:32 +01:00
Oliver Klee
b67a142653 [TASK] Drop obsolete parts from the README (#34)
Also fix some formatting issues.

Fixes #4
2019-12-07 17:30:02 +01:00
Oliver Klee
8c4b5425b9 [TASK] Add a status badge for GitHub actions (#33) 2019-12-07 17:06:13 +01:00
Andreas Wolf
073c03137d [TASK] Move TypoScript linting to GitHub actions (#32) 2019-12-07 17:00:49 +01:00
Andreas Wolf
f5cd65ec94 [TASK] Move PHP code sniffing to GitHub actions (#30)
Resolves: #13
2019-12-07 16:37:17 +01:00
Andreas Wolf
42cd42cb00 [TASK] Move PHP linting to GitHub actions (#28) 2019-12-07 16:00:06 +01:00
Oliver Klee
8df9b442e1 [BUGFIX] Update the badge URLs in the README (#29)
Fixes #22
2019-12-07 15:59:33 +01:00
Andreas Wolf
0444f10243 [TASK] Allow TYPO3 10 in composer.json and ext_emconf.php (#27) 2019-12-07 12:48:34 +01:00
Andreas Wolf
1698880acf [DOC] Fix TYPO3 version in change log (#26) 2019-12-07 12:39:25 +01:00
Andreas Wolf
94c0158888 [TASK] Add PHP 7.4 in composer.json and ext_emconf.php (#25) 2019-12-07 12:29:45 +01:00
Andreas Wolf
3f3c9285d9 [CLEANUP] Fix PHP_Codesniffer issues
Resolves: #21
2019-12-07 12:13:32 +01:00
Andreas Wolf
445dae3129 [TASK] Rename TS files to .typoscript (#19)
Resolves: #8
2019-12-07 11:27:29 +01:00
Oliver Klee
29bf7ccae5
[TASK] Convert the PHP namespaces to "TTN" (#9)
Fixes #1
2019-12-01 12:16:06 +01:00
Oliver Klee
260602f6b6
[TASK] Use a Trainer Network contact email address in the CoC (#6) 2019-11-27 15:07:11 +01:00
Oliver Klee
19ed1f327f
[TASK] Change the Composer namespace to "ttn" (#5)
Also update the GitHub URLs in the `composer.json`.

Fixes #2
2019-11-27 15:04:57 +01:00
Oliver Klee
cf159c8056
[TASK] Drop the old issue numbers from the changelog 2019-11-12 13:11:16 +01:00
Oliver Klee
55a72cca96
[CLEANUP] Sort the Composer dependencies (#61) 2019-11-05 18:57:42 +01:00
Oliver Klee
8eaf03a6a4
[CLEANUP] Drop cms-package-dir from composer.json (#59) 2019-10-29 13:36:40 +01:00
Oliver Klee
69a0f60d32
[FEATURE] Run the functional tests in parallel (#58) 2019-10-29 11:45:33 +01:00
Oliver Klee
b519583431
[CLEANUP] Fix code inspection warnings (#57) 2019-08-12 17:43:02 +02:00
Oliver Klee
82eaf794d4
[TASK] Upgrade PHPUnit to 7.5.14 (#52) 2019-08-12 17:37:53 +02:00
Oliver Klee
3401e32a84
[FEATURE] Add PHP-CS-Fixer (#53)
Also run the fixer on all classes and tests.
2019-08-12 17:25:59 +02:00
Oliver Klee
8da1b736b3
[CLEANUP] Drop ext_icon.svg (#56)
With TYPO3 9.5, the icon file in `Resources/Public/Icons` will suffice.
2019-08-12 17:25:48 +02:00
Oliver Klee
ae9c6f5622
[TASK] Stop building with the lowest Composer dependencies (#55)
This has been too much of a hassle due to breakage caused by old
dev dependencies.
2019-08-12 16:52:51 +02:00
Oliver Klee
eac6593a9d
[BUGFIX] Use the new annotations for lazy loading (#54) 2019-08-12 16:23:28 +02:00
Oliver Klee
37d8935efa
[FEATURE] Add support for PHP 7.3 (#51) 2019-08-12 16:01:12 +02:00
Oliver Klee
fce8d64606
[TASK] Drop support for TYPO3 < 9.5 (#50) 2019-08-12 15:54:29 +02:00
Oliver Klee
64908dad96
[TASK] Drop support for PHP < 7.2 (#49) 2019-08-12 15:47:15 +02:00
Oliver Klee
1c82c6d3a2
[FEATURE] Add support for TYPO3 9.6 (#48) 2019-08-12 15:41:55 +02:00
Oliver Klee
5b0d040e06
[TASK] Drop support for TYPO3 7.6 and require TYPO3 >= 8.7 (#47) 2019-08-12 15:30:02 +02:00
Oliver Klee
b48bc00912
[FOLLOWUP] Actually run PHP_CodeSniffer on Travis CI (#46) 2019-08-12 15:06:50 +02:00
Oliver Klee
85aeb15019
[TASK] Update and pin the dev dependencies (#45) 2019-08-12 14:54:50 +02:00
Oliver Klee
023698729b
[FEATURE] Add PHP_CodeSniffer to the Travis CI build (#44) 2019-08-12 13:49:05 +02:00
Oliver Klee
3cd030387f
[CLEANUP] Drop the TYPO3 package repository from composer.json (#43) 2019-08-09 19:40:03 +02:00
Oliver Klee
296f8b8b8d
[BUGFIX] Drop an obsolete "replace" entry from composer.json (#42) 2019-08-08 16:12:04 +02:00
Oliver Klee
995b1bde8e
[CLEANUP] Drop the dependency of roave/security-advisories (#41)
This dependency should be on the site project or the distribution, not
on the individual extensions.
2019-08-08 12:45:07 +02:00
Oliver Klee
b855b77191
[TASK] Change from GPL V3+ to GPL V2+ (#40)
This allows installing this extension alongside with GPL-V2-only
extensions.
2019-08-08 12:38:56 +02:00
Oliver Klee
aed64e814f
[BUGFIX] Explicitly require MySQL on Travis CI (#38)
Also properly quote the PHP version numbers as strings.
2019-08-07 11:53:21 +02:00
Oliver Klee
792f665524
[CLEANUP] Streamline ext_emconf.php (#37) 2018-11-05 23:31:59 +01:00
Oliver Klee
ac9d9baa0d
[FEATURE] Auto-release to the TER (#34) 2018-10-13 23:23:27 +02:00
Oliver Klee
1c36c57a52
[BUGFIX] Add .php_cs.cache to the .gitignore (#33)
[ci skip]
2018-10-13 23:05:01 +02:00
Stefan Glotzbach
3bbd51cbde [TASK] Update changelog for new release (#32) 2018-06-23 19:52:03 +02:00
Oliver Klee
a1714ab0da
[FEATURE] Composer script for PHP linting (#5) 2018-01-25 17:22:40 +01:00
Oliver Klee
37af656d2b [TASK] Add a changelog 2018-01-23 22:10:59 +01:00