aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/TranslationApiController.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(core): Make all attribute arguments namedprovokateurin2024-07-271-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(core): Replace security annotations with respective attributesprovokateurin2024-07-261-6/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-271-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* refactor(core): Switch to attribute based routingprovokateurin2024-02-211-0/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Add single status code descriptions for OpenAPIjld31032023-09-271-0/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* core: Add OpenAPI specjld31032023-07-131-1/+17
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Applies agreed-upon indentation convention to the changed controllers.Faraz Samapoor2023-06-201-4/+6
| | | | | | Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753 Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors controllers by using PHP8's constructor property promotion.Faraz Samapoor2023-06-201-15/+7
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* feat(translation): Return the detected language so clients can show more detailsJoas Schilling2023-05-021-4/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(translation): Allow guests to use translations as wellJoas Schilling2023-04-131-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(translation): Use 400 as status code to be distinguishable from server ↵Joas Schilling2023-04-131-2/+2
| | | | | | errors Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(translation): Properly set the numbers as HTTP status codeJoas Schilling2023-04-131-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(translation): Translate error messages on translations APIJoas Schilling2023-04-131-4/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(translation): Allow regular users to use translation api endpointsJulius Härtl2023-02-281-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat(translations): Add translation provider APIJulius Härtl2023-02-271-0/+66
Signed-off-by: Julius Härtl <jus@bitgrid.net>