aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files
Commit message (Collapse)AuthorAgeFilesLines
* fix: don't use cached root info from shared cache if the watcher has ↵Robin Appelman2025-02-061-0/+6
| | | | | | detected an update Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: psalm and OCP @since declarationsfix/mime-intJohn Molakvoæ2025-02-062-3/+3
| | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* fix: make sure we process mime extensions as stringskjnldsv2025-02-052-0/+16
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): conversion api simplification and conflict checkskjnldsv2025-01-164-47/+69
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #50196 from nextcloud/fix/template-return-typeArthur Schiwon2025-01-161-1/+1
|\ | | | | docs: Use proper return type for custom template listing
| * docs: Use proper return type for custom template listingfix/template-return-typeJulius Knorr2025-01-151-1/+1
| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | feat(api): File conversion APIElizabeth Danzberger2025-01-153-0/+131
|/ | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): Correctly copy the cache information on copy operationsLouis Chemineau2024-12-031-0/+7
| | | | | | Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder. Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(Files\Mount): Add IShareOwnerlessMountprovokateurin2024-11-251-0/+18
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-056-5/+56
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Use more gender neutral languageprovokateurin2024-10-141-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(Storage): Make all parameter types strong typesprovokateurin2024-10-077-119/+48
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48438 from nextcloud/fix/bring-back-zip-eventFerdinand Thiessen2024-10-071-4/+26
|\ | | | | fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archive
| * fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archivefix/bring-back-zip-eventFerdinand Thiessen2024-09-291-4/+26
| | | | | | | | | | | | This is required to not break behavior on zip download (apps should be able to react to zip download especially for shares). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | docs: Folder.get throws a NotPermittedException exceptionDaniel Kesselberg2024-09-301-0/+1
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(IStorage): Use false instead of bool intersection type to match ↵fix/istorage/return-typesprovokateurin2024-09-261-10/+10
| | | | | | implementations Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Use SPDX headers and property promotion in new filesCôme Chilliet2024-09-231-24/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListenerCarl Schwan2024-09-231-0/+52
| | | | | | | | oc_hooks is deprecated and will at some point be removed Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: use a proper `@param` tag for IConstructableStorage constructor parameterCôme Chilliet2024-09-231-1/+1
| | | | Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* fix: Move storage constructor to specific interfaceCôme Chilliet2024-09-232-8/+27
| | | | | | That allows Wrappers to use DI and not care about the constructor Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-197-7/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(psalm): Fix @throws annotationsfix/psalm/throws-annotationsprovokateurin2024-09-171-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(Storage): Document getOwner() can return falseprovokateurin2024-09-171-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Improve typing and phpdoc commentsCôme Chilliet2024-09-161-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Remove deprecated Storage::search method instead of moving it to IStorageCôme Chilliet2024-09-161-9/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Fix psalm issues, put back private versions of getter in private ↵Côme Chilliet2024-09-161-0/+2
| | | | | | Storage interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix other uses of removed Storage interfaceCôme Chilliet2024-09-161-0/+15
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Remove OCP\Files\Storage interface deprecated since version 9Côme Chilliet2024-09-162-447/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor: Replace __CLASS__ with ::class referencesrefactor/self-class-referenceChristoph Wurst2024-09-151-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #47511 from nextcloud/artonge/chore/is_encrypted_descriptionLouis2024-08-281-1/+3
|\ | | | | chore: Improve `FileInfo::isEncrypted` description
| * chore: Improve isEncrypted descriptionLouis Chemineau2024-08-271-1/+3
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-274-16/+140
|/ | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-255-14/+14
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.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>