mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-04 09:56:13 +01:00
Commit graph

22 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
ad460b20b3
[FEATURE] Add FE editing for existing tea records (#872)
Part of #871
2023-06-22 14:20:14 +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
Lina Wolf
ebf5f204cd
[TASK] Cleanup ext_localconf.php (#833)
After dropping TYPO3 10.4 support:

- Using an anonymous function is not needed anymore
- declare(strict_types=1); can and should be used
- Use statements instead of FQCN should be used

resolves https://github.com/TYPO3-Documentation/tea/issues/826

---------

Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
2023-05-09 06:11:25 +02:00
Łukasz Uznański
2484f6d8ca
[TASK] Replace switchable controller actions (#575) 2022-09-27 11:53:43 +02:00
Chris Müller
a0955b5e0b
[TASK] Substitute TYPO3_MODE constant with TYPO3 constant (#521)
The TYPO3_MODE constant is deprecated with v11.0. The new constant
TYPO3, which replaces the old constant, was introduced also in
TYPO3 v10 with version v10.4.11:

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Deprecation-92947-DeprecateTYPO3_MODEAndTYPO3_REQUESTTYPEConstants.html

As best practice, we should also use the new constant and
raise the composer constraints for TYPO3 accordingly.
2022-08-28 12:22:38 +02:00
Oliver Klee
be40b3719e
[BUGFIX] Use full controller class name for plugin registration (#457)
This get the FE output of the plugin get to work in TYPO3 10LTS
and 11LTS.

Fixes #441
2022-06-15 16:15:04 +02:00
Oliver Klee
14803e193c
[CLEANUP] Add a return type declaration to an anonymous function (#434) 2022-04-29 14:27:06 +02:00
Oliver Klee
3a13b2dea3
[BUGFIX] Stop using the vendor name for plugin registration (#385)
This has been deprecated in TYPO3 10.0:

https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/10.0/Deprecation-87550-UseControllerClassesWhenRegisteringPluginsmodules.html

Fixes #383
2022-02-15 15:47:57 +01:00
Łukasz Uznański
f0127b3b64
[TASK] Fix php cs related to official configuration (#341)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-17 13:14:43 +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
Oliver Klee
29bf7ccae5
[TASK] Convert the PHP namespaces to "TTN" (#9)
Fixes #1
2019-12-01 12:16:06 +01:00
Oliver Klee
3e1fd7416f
[FEATURE] Tea single view (#26) 2018-05-28 17:05:39 +02:00
Oliver Klee
436a10b9d6
[FEATURE] Tea plugin with TeaController and index action (#19) 2018-05-26 20:46:55 +02:00
Oliver Klee
4b7ffe0546 [CLEANUP] Empty out the extensions 2017-12-22 22:20:43 +01:00
Oliver Klee
f4d5287239 [FEATURE] Testimonial showAction 2017-12-09 18:05:05 +01:00
Oliver Klee
d0871fb5f8 [CLEANUP] Use the short array syntax 2016-05-07 21:56:27 +02:00
Oliver Klee
b6bb92d0da [CLEANUP] Reformat the code as PSR-2 2016-05-07 21:43:25 +02:00
Oliver Klee
5a33bc2a85 [CLEANUP] Shorten the die() line 2014-12-14 15:50:25 +01:00
Oliver Klee
f8a77f270f [CLEANUP] Drop closing PHP tags and do some more minor cleanup. 2013-12-23 13:24:40 +01:00
Oliver Klee
ee93fac2b7 [FEATURE] Add missing files for indexAction. 2013-11-05 12:41:20 +01:00