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

118 commits

Author SHA1 Message Date
Oliver Klee
cda38af84b
[FEATURE] Add a delete functionality for the Tea FE editor (#876)
The delete action is triggered using a form with a submit button,
causing a POST request to be sent instead of a GET request.
This is because GET requests should not modify (or delete) data,
but only read it and be idempotent. Also, the request then
is guaranteed to not get cached.

From a usability perspective, a button instead of a link also
is semantically more correct: A link is expected to bring you
to some place, whereas a button is expected to trigger some
action.

Closes #871
2023-06-23 11:55:19 +02:00
Oliver Klee
82e7e95487
[FEATURE] Allow creating a new tea in the FE (#874)
Part of #871
2023-06-22 20:30:12 +02:00
Oliver Klee
1f263d8839
[FEATURE] Add a list view for the FE tea editor (#864)
This is one more part of building CRUD functionality.
2023-06-22 11:17:51 +00:00
Oliver Klee
47033ca0bb
[FEATURE] Add automerging of green Dependabot PRs (#756)
Now dependency updates by Dependabot will be automerged if/when all
required checks are green.

This will reduce the repetetive work of merging all these update
PRs, and we have been heavily relying on our CI pipeline to check
if a depenceny update is safe to merge anyway.

Attaching any of the labels `wip` or `blocked` to a PR will block the
automerging.
2023-02-22 18:21:47 +01:00
Oliver Klee
5f9fa25339
[TASK] Set the minimal 12LTS version to 12.1 (#702)
TYPO3 12.1 has been released. So the 12.0 sprint release is no longer
relevant.
2022-12-26 07:06:50 +01:00
Oliver Klee
a6c4a86273
[BUGFIX] Get the functional tests to work with TYPO3 >= 12.1 (#704)
Starting with TYPO3 12.1, a request is required for the
`BackendConfigurationManager` to not crash:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/76447

Also, a fix in that area has been merged (after the release of TYPO3 12.1)
that might allow us to remove our workaround again once we've updated to
TYPO3 12.2 or 12.1.3:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/77028
2022-12-22 09:47:55 +01:00
Oliver Klee
14b8628483
[TASK] Stop using Prophecy (#676)
The Prophecy project is basically dead, and our Prophecy dependency
currently prevents installations on PHP 8.2 without having to resort
to fiddling with Composer's platform options.
2022-11-05 17:08:32 +01:00
Oliver Klee
d0c819d3a6
[TASK] Avoid race condition on case-insensitive filesystems (#657)
Case-insensitive filesystems cannot distinguish properly for
file and folder names with different casings. This leads to
unforseeable issues on these systems, like default partition
on MacOS devices from apple or eventually Windows systems.

This change configure phpcoverall and the chain explicitly to
use folders for the files which differs from the default of
`build/*` to avoid conflicts on case-insensitve filesystems
and prepare for introduction of the upcoming implementation
of TYPO3 core recommended `Build/` structure.

Co-authored-by: Stefan Bürk <stefan.buerk@impactmedia.de>
2022-10-24 18:26:02 +02:00
Oliver Klee
0fa4cfe8d9
V3.0.0: Add TYPO3 12 support, drop TYPO3 10LTS support 2022-10-19 22:19:52 +02:00
Oliver Klee
1d9c79a439
[FEATURE] Run the functional tests on TYPO3 12 as well (#615)
Fixes #519
Closes #528

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-19 19:12:47 +02:00
Oliver Klee
43e4829255
[FEATURE] Run the unit tests on TYPO3 12 on CI (#653)
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-19 16:04:38 +02:00
Łukasz Uznański
6e8aef2daf
[TASK] Harden Github Actions workflows (#649)
Resolves: #614
2022-10-19 15:14:17 +02:00
Oliver Klee
6b957de595
[FEATURE] Allow installations on TYPO3 12 (#652) 2022-10-19 09:06:36 +02:00
Łukasz Uznański
19b8c4ef47
[TASK] Stop injecting query settings (#650) 2022-10-18 23:21:20 +02:00
Oliver Klee
3b4b544e2c
[TASK] Switch the coverage on CI from Xdebug to PCOV (#648)
This greatly improves performance.

Also make the Composer version in the Coverage CI job less specific.
2022-10-18 19:38:45 +02:00
Oliver Klee
49c38d6e40
[BUGFIX] Do not check composer.lock during composer normalize (#641)
This package does not ship a `composer.lock`, and hence
`composer normalize` should not check that file.

Fixes #640
2022-10-16 17:50:33 +02:00
Oliver Klee
5a5d900c27
[TASK] Add .gitignore entry for JetBrains Fleet editor (#642)
JetBrains created a new product named "Fleet" as
lightweight editor. This tool tends to write it's
config files to `.fleet/` folders, like all of the
IntellJ based IDE's like PHPStorm uses the `.idea`
folder.

This change adds this config folder to `.gitignore`
to avoid adding this folder to a patch if Fleet
is used to create a patch.
2022-10-16 17:47:04 +02:00
Oliver Klee
122f61fe13
[BUGFIX] Raise typo3/cms-* to 11.5.4 to be stable with minimum deps (#643)
This change raises the minimum versions for TYPO3 core packages up
to 11.5.4 as minimum version, which contains needed fixes directly
or through raised core package dependencies to avoid corresponding
php deprecation and return type hint issues with symfony/routing
during composer minimum tests with PHP8.1. Beside this, we need at
least this version as core ships with QueryBuilder forward combat
methods `executeQuery()` and `executeStatement()` only since this
version.

See: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72430

Fixes #635
2022-10-16 17:46:20 +02:00
Oliver Klee
98fc40b38d
[TASK] Upgrade to helmich/typo3-typoscript-lint V3 (#645)
This unblocks the road to Symfony 6 (which is required for TYPO3 12).
2022-10-16 17:42:10 +02:00
Oliver Klee
b4dac22bba
[TASK] Postpone the TYPO3 12 compatibility (#639)
We should wait with marking this extension TYPO3-12-compatible
until an installation with TYPO3 12 is actually possible
(i.e., until all development dependencies actually allow this),
as an installation with TYPO3 12 will require changes to the
PHPStan annotations.

Otherwise, we will get PHPStan errors for the first build
after all dependencies allow an installation with TYPO3 12.

This reverts commit 639e414512.
2022-10-16 13:27:47 +02:00
Oliver Klee
639e414512
[FEATURE] Allow installations with TYPO3 12LTS (#637)
* [FEATURE] Allow installations with TYPO3 12LTS

Part of #519

* Update CHANGELOG.md

Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>

Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
2022-10-15 21:40:20 +02:00
Oliver Klee
1e157e6958
[TASK] Upgrade to the testing framework V7 (#629)
* [TASK] Upgrade to the testing framework V7

This is required to also run the tests on TYPO3 12LTS.

* Update CHANGELOG.md

Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com>
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
2022-10-13 13:52:25 +02:00
Lina Wolf
a6d75b72f3
[TASK] Make the TCA ready for TYPO3 v12 (#625)
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-12 11:10:13 +02:00
Oliver Klee
b3f0eb3f3d
[CLEANUP] Use more native property types in the tests (#628) 2022-10-10 16:05:06 +02:00
Oliver Klee
8d0f1e462b
[TASK] Bump the Symfony dependencies (#622)
Now the Symfony (dev) dependencies are in sync what TYPO3 11LTS and 12LTS
require.
2022-10-09 17:51:02 +02:00
Oliver Klee
5ec9bd2342
[TASK] Add missing changelog entry 2022-10-09 11:25:50 +02:00
Oliver Klee
01d5c73a20
[BUGFIX] Stop relying on transitive dependencies for psr/http-message (#613)
We're using a class from this package in the controller and hence should
have this package as a direct dependency.
2022-10-06 17:55:14 +02:00
Lina Wolf
8be6d02315
[TASK] Convert functional test fixtures to CSV (#601)
Fixes #600

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-03 19:10:08 +02:00
Lina Wolf
e469041db7
[CLEANUP] Use typed properties instead of @var annotations (#599)
The `@var` annotations where left where it is not possible yet to replace them in PHP 7.4.

Fixes #550

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-03 19:00:55 +02:00
Lina Wolf
5d3fcee00e
[TASK] Return ResponseInterface in controller actions (#597)
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-03 16:02:32 +02:00
Lina Wolf
672194fba8
[TASK] Drop TYPO3 10LTS support (#594)
Fixes #589

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-09-27 16:48:54 +02:00
Łukasz Uznański
2484f6d8ca
[TASK] Replace switchable controller actions (#575) 2022-09-27 11:53:43 +02:00
Oliver Klee
14c804b209
[TASK] Drop support for PHP 7.2 and 7.3 (#581)
Also sync the test matrices of the `predefined` CI jobs with those
from the Composer-script-driven CI jobs.

This change does not add any 7.4-only PHP language features.

Fixes #577
2022-09-22 11:49:45 +02:00
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