aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Template/TemplateManager.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Only write once to template instead of create/copyJulius Knorr2024-09-101-3/+3
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* feat: Add support for filling fields to backend componentsElizabeth Danzberger2024-07-251-2/+3
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Emit new `BeforeGetTemplates` eventElizabeth Danzberger2024-07-251-0/+3
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-21/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* perf(templates): Emit RegisterTemplateCreatorEvent to register template ↵Julius Härtl2024-04-221-0/+2
| | | | | | creators more lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(TemplateManager): Bail early if templatedirectory is emptyMarcel Klehr2023-12-041-0/+5
| | | | | | fixes #39266 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(files): migrate template pickerJohn Molakvoæ2023-10-171-1/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add app config for default template pathThomas Citharel2023-01-241-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-4/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix log error when creating files from an empty templateJulius Härtl2021-05-181-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Properly handle creating the template directory in a subfolder (fixes #25787)Julius Härtl2021-04-011-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Get the parent directory before creating a file from a templateJulius Härtl2021-04-011-1/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Type the service registrationChristoph Wurst2021-02-101-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Avoid template creators being registered multiple timesJulius Härtl2021-02-021-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use proper path for scannerJulius Härtl2021-01-291-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Obtain the user language from the passed in user idJulius Härtl2021-01-291-1/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Normalize compared path to avoid renaming to the same directoryJulius Härtl2021-01-291-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move TemplateProvider registration to boot context and make template type ↵Julius Härtl2021-01-281-17/+29
| | | | | | registration lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Only create template directory if it is present in the default skeletonJulius Härtl2021-01-281-1/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Skip template picker if none availableJohn Molakvoæ (skjnldsv)2021-01-281-28/+67
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add templatedirectory config value to let admins have their custom templates ↵Julius Härtl2021-01-281-9/+64
| | | | | | by default Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add template pickerJohn Molakvoæ (skjnldsv)2021-01-281-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* files: Create files from template APIJulius Härtl2021-01-281-0/+237
Signed-off-by: Julius Härtl <jus@bitgrid.net>