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

32 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
Oliver Klee
ea915289df
[TASK] Drop incorrectly placed scope HTML attribute (#862)
The `scope` attribute only makes sense for `th` elements, but not for
`td` elements.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
2023-06-21 11:37:30 +00:00
Oliver Klee
bb2476d783
[TASK] Restructure the label keys (#863)
Label keys should be specific to their context. This allows having
different labels for the same thing in different contexts (e.g.,
having different headings for the tea title in the regular list view
and the FE editor).

We take the plugin as the context here, which allows us to reuse labels
between different actions of the same plugin (e.g., between the list view
and single view).
2023-06-21 13:33:59 +02:00
Oliver Klee
bbe469169b
[FEATURE] Add Tea.ownerUid (#860)
This is a pre-patch for adding a CRUD plugin for tea records.

This property contains only the UID of the owner FE user, but not
a relation to a FE user model. This is because we neither have nor
need a FE user model for the purposes of the CRUD plugin.
2023-06-21 09:16:13 +02:00
fbb6367abb
[FEATURE] Allow to hide teas based on fe_groups (#798)
Relates: #555
2023-04-15 17:08:07 +00:00
Łukasz Uznański
2484f6d8ca
[TASK] Replace switchable controller actions (#575) 2022-09-27 11:53:43 +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
9383b21737
[TASk] Re-upgrade the XLIFF files to version 1.2 (#230)
Now that the Core uses XLIFF version 1.2, this extension
should do so (again), too.

This reverts commit e51dad6aea.
2021-04-05 17:26:30 +02:00
Oliver Klee
e51dad6aea
[BUGFIX] Downgrade the XLIFF files to version 1.0 (#206)
This now matches what the TYPO3 Core uses.

We still use the XLIFF 1.2 schema for validation as version 1.2
is the first fully ratified version.

Closes #198
2021-02-24 19:04:30 +01:00
Oliver Klee
2344557abc
[CLEANUP] Autoformat all files (#175)
This will reduce unrelated autoformatting changes in other commits
(and it also makes the code more readable).
2020-12-01 23:12:34 +01:00
Oliver Klee
e92bd668a0
[FEATURE] Adopt the stylelint configuration from the TYPO3 Core (#177) 2020-11-29 17:44:58 +01:00
Łukasz Uznański
d4ec80de29
[FEATURE] Add frontend linting (#120)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2020-10-31 15:04:44 +01:00
Łukasz Uznański
11e27d01ae
[TASK] Use official xmlns in templates (#98) 2020-09-05 12:29:57 +02:00
Łukasz Uznański
37e1856d9c
[TASK] Fix xliff files (#69)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-07-06 08:45:36 +02: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
09dc1281ca
[FEATURE] Add Tea.image as a FAL example (#15) 2018-05-25 22:39:33 +02:00
Oliver Klee
e2f39033c0
[FEATURE] Tea model and repository (#10) 2018-05-25 16:19:12 +02:00
Oliver Klee
bbb6f8e5f0
[TASK] Add the default directory structure (#7)
Also use spaces for indentation in the .htaccess files.
2018-01-27 15:54:51 +01: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
a1848afbe5 [CLEANUP] Clean up the configuration files 2016-05-13 14:03:32 +02:00
Oliver Klee
ee93fac2b7 [FEATURE] Add missing files for indexAction. 2013-11-05 12:41:20 +01:00
Oliver Klee
3bdff176e7 [FEATURE] Add TestimonialController.indexAction. 2013-11-05 12:39:25 +01:00
Oliver Klee
d9ddc7bae5 [FEATURE] Add a Testimonial model and a relation to it. 2013-11-01 22:03:14 +01:00
Oliver Klee
e8d19e41c8 [FEATURE] Add an Addition model an a relation to it. 2013-11-01 21:21:03 +01:00
Oliver Klee
c74c26029a [FEATURE] Add a TeaType model and a relation to it. 2013-11-01 20:51:53 +01:00
Oliver Klee
c51c06715d [FEATURE] Add the TeaBeverage model and repository. 2013-11-01 20:11:03 +01:00
Oliver Klee
fddb3ce216 [FEATURE] Add the basic extension data. 2013-11-01 19:53:00 +01:00