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

39 commits

Author SHA1 Message Date
Oliver Klee
f783321c52
[TASK] Drop approved="yes" from the original locallang files (#1259)
The concept of translation approval only applies to translated labels,
not to the original labels in English.

Fixes #1257
2024-05-01 00:51:39 +02:00
Oliver Klee
dcdb653fbc
[BUGFIX] Add resname to all language labels (#1221)
Fixes #1220
2024-04-14 22:47:19 +02:00
Oliver Klee
eeda862e77
[!!!][TASK] Drop additional namespace segment for the Tea model (#1025)
The `Product` namespace segment in the domain model namespace
`TTN\Tea\Domain\Model` currently serves no purpose and only adds
confusion. So let's simplify the extension structure accordingly.

(I intended to use this to demonstrate DDD contexts, but never
built enough models in the Tea extension for this to actually
make sense.)

Fixes #1008
2024-01-16 15:21:21 +01:00
Łukasz Uznański
8587bc8389
[FEATURE] Provide Polish translation for tea (#1020)
Resolves: #1014
2023-11-27 14:17:08 +01:00
Łukasz Uznański
53b0abd977
[FEATURE] Make records timeable and hidable (#989)
Resolves: #553
2023-11-27 13:31:13 +01:00
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
373c7965b4
[CLEANUP] Adopt .editorconfig settings from the TYPO3 core (#176)
Also drop redundancies and sort the entries.
2020-11-29 21:15:29 +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
8623f687c5 [FEATURE] Add extension icon 2017-12-23 01:15:25 +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