aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files
Commit message (Collapse)AuthorAgeFilesLines
* chore: Improve isEncrypted descriptionLouis Chemineau2024-09-041-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-294-20/+144
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Make `ISharedStorage` public API and reuse where possibleFerdinand Thiessen2024-08-121-0/+26
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: PHP formattingElizabeth Danzberger2024-07-253-19/+11
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Fix static analysis errorsElizabeth Danzberger2024-07-253-0/+35
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Add support for filling fields to backend componentsElizabeth Danzberger2024-07-251-1/+11
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(api): Add alias to `Field`Elizabeth Danzberger2024-07-251-3/+4
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Make field index a string for better id/index supportElizabeth Danzberger2024-07-251-1/+1
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Correct name of `InvalidFieldTypeException` class fileElizabeth Danzberger2024-07-251-0/+0
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Add proper field typesElizabeth Danzberger2024-07-251-1/+5
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Remove commentsElizabeth Danzberger2024-07-251-3/+0
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Add `InvalidFieldType` exceptionElizabeth Danzberger2024-07-252-1/+18
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: `Field` and `FieldType` implementationElizabeth Danzberger2024-07-252-8/+32
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Add Field and FieldType back to server APIElizabeth Danzberger2024-07-252-0/+30
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Move field classes out of the server apiElizabeth Danzberger2024-07-252-28/+0
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Emit new `BeforeGetTemplates` eventElizabeth Danzberger2024-07-254-6/+26
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Template fieldsElizabeth Danzberger2024-07-253-1/+43
| | | | | | | | | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> fix: Composer dump Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> fix: Add field array to template class Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Add `IFilenameValidator` to have one consistent place for filename ↵Ferdinand Thiessen2024-07-091-0/+39
| | | | | | | | validation Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Make webhook event serialization opt-in with a new interfaceCôme Chilliet2024-06-112-6/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Make node events serializableCôme Chilliet2024-06-112-1/+24
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-24122-2415/+359
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): setOwner since docLouis Chemineau2024-05-161-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(IRootFolder): Add getAppDataDirectoryName methodMarcel Klehr2024-05-141-0/+6
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: weed out some psalm errors and run cs:fixMarcel Klehr2024-05-141-8/+0
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* feat: first pass at TaskProcessing APIMarcel Klehr2024-05-141-0/+8
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* perf(ILockManager): Allow registering a lock provider lazyJulius Härtl2024-04-301-0/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Improve typing of mimetype aliasesCôme Chilliet2024-04-301-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf(templates): Emit RegisterTemplateCreatorEvent to register template ↵Julius Härtl2024-04-221-0/+46
| | | | | | creators more lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Pass the mountpoint target user to storages without ownerJulius Härtl2024-04-091-0/+12
| | | | | | | | | | | | | Storages that do not have a dedicated owner (e.g. groupfolders, external storages) currently always assume the current session user as the owner. This leads to several issues when there is no user session but a node is obtained through a user folder. In order to have the correct user available we need to pass the user that is used to setup a mountpoint along to the storage layer as we generally assume that an owner is available for those. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Fix new psalm errors from updateCôme Chilliet2024-04-081-2/+1
| | | | | | | Not sure about the SimpleContainer modification, let’s see what CI says about that. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-0214-14/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: add interface for lower level filecache acess without having to do ↵Robin Appelman2024-03-251-0/+99
| | | | | | direct db queries Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: Add iconSvgInline to TemplateFileCreatorChristopher Ng2024-03-201-1/+13
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* refactor(mimeloader): modernize MimeTypeLoaderThomas Citharel2024-03-141-4/+4
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* feat(files): copy live photosMaxence Lange2024-03-084-47/+13
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat: add interface to get only a single node by id instead of all nodes for ↵Robin Appelman2024-03-042-1/+39
| | | | | | | | the id this should be enough in most(?) cases and makes efficient implementation and caching easier Signed-off-by: Robin Appelman <robin@icewind.nl>
* add some comments for the distributive operation and add another testRobin Appelman2024-02-161-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix types + autoloaderRobin Appelman2024-02-151-1/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* optimize query pattern used by storage filterRobin Appelman2024-02-151-2/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(OCP): Add since tag for all constantsJoas Schilling2024-02-1410-1/+162
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add missing ArrayAccess template parametersCôme Chilliet2024-02-061-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use OCP\Util::getL10N instead of OC::$server->getL10NCôme Chilliet2024-02-056-6/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf: Avoid updating the folder size if we know the size differenceJulius Härtl2024-01-121-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Synchronize operation on live photo filesLouis Chemineau2023-11-292-0/+46
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-234-4/+4
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Fix is-define operatorLouis Chemineau2023-11-221-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* implements search on null/notnull metadataMaxence Lange2023-11-221-0/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behaviorFerdinand Thiessen2023-11-221-2/+2
|\ | | | | fix(ObjectStore): Make copying behavior consistent with local storage
| * fix(ObjectStore): Make copying behavior consistent with local storageFerdinand Thiessen2023-11-171-2/+2
| | | | | | | | | | | | Drop file permissions on copy like we do on local storage. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | accept boolean valueMaxence Lange2023-11-221-2/+2
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>