aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): When redirecting to a file (internal link) then it should open ↵Ferdinand Thiessen2024-08-031-0/+2
| | | | | | by default Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Update openapi specChristopher Ng2024-08-011-1/+9
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Implement endpoint to retrieve a user's folder treeChristopher Ng2024-08-011-25/+89
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* refactor(files): Replace security annotations with respective attributesprovokateurin2024-07-277-73/+56
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #46672 from nextcloud/fix/preview-invalid-idAndy Scherzinger2024-07-251-0/+4
|\ | | | | Avoid using partial file info as valid one
| * fix: Ignore preview requests for invalid file idsJulius Härtl2024-07-221-0/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: PHP formattingElizabeth Danzberger2024-07-251-1/+2
| | | | | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* | feat: Add support for filling fields to backend componentsElizabeth Danzberger2024-07-251-2/+12
|/ | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* refactor: Remove deprecated `Util` function for filename validation to ↵Ferdinand Thiessen2024-07-161-44/+20
| | | | | | `FilenameValidator` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* perf(session): remove useless session openBenjamin Gaussorgues2024-06-241-3/+0
| | | | | | | `UseSession` isn’t used in theses controllers. Not using it should avoid a few session locks. Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(files): Rename openFileInfo to fileInfoLouis Chemineau2024-06-191-1/+1
| | | | | | And check if openFile is set in the URL before opening a file. Signed-off-by: Louis Chemineau <louis@chmn.me>
* perf: Tell browsers to cache storage stats endpoint as it is cachedJulius Härtl2024-06-181-1/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix(files): Properly handle denied ownership transfersFerdinand Thiessen2024-06-141-12/+2
| | | | | | | | | | | | | When the receiver denies the transfer the notification handler was missing, so no notification was created for the transfer owner. But also the internal notification was created two times: 1. When rejecting the transfer 2. By the reject function when dismissing the notification This is fixed by only relying on the dismiss function. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-297-164/+18
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): Use string array instead of string for forbidden charactersFerdinand Thiessen2024-04-291-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Use OCP\Util::getForbiddenFileNameChars instead of direct access ↵Ferdinand Thiessen2024-04-291-4/+2
| | | | | | to system config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-022-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(files): add search plugin to search in specified folder exclusivelyfenn-cs2024-03-071-0/+2
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-10/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(files): Remove dead code from files controllersFerdinand Thiessen2024-02-121-20/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Make sure to add the `fileid` on favorite folders navigation entriesFerdinand Thiessen2024-01-251-3/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): combine navigation and files list into single Vue appGrigorii K. Shartsev2024-01-251-7/+0
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* refactor: Migrate IgnoreOpenAPI attributes to OpenAPIprovokateurin2024-01-183-6/+6
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(files): Remove unused type aliasprovokateurin2024-01-181-1/+0
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(ViewController): Regression lead to 500 on non-existent fileIdsJosh Richards2023-12-211-6/+10
| | | | | Fixes #42418 Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* fix(files): Adjust ID for skip content buttonsFerdinand Thiessen2023-12-211-1/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-235-24/+25
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat: allow external drop and add dropzoneJohn Molakvoæ2023-10-101-3/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: redirect to proper directory if file not foundJohn Molakvoæ (skjnldsv)2023-10-041-1/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix(files): disallow illegal charactersJohn Molakvoæ (skjnldsv)2023-10-041-0/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #40502 from nextcloud/fix/openapi/single-status-descriptionsKate2023-09-273-6/+6
|\ | | | | Add single status code descriptions for OpenAPI
| * Add single status code descriptions for OpenAPIjld31032023-09-273-6/+6
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | fix(files): do not include scripts for merge-indexMax2023-09-261-3/+2
|/ | | | Signed-off-by: Max <max@nextcloud.com>
* Merge pull request #40551 from nextcloud/fix/init-scriptJohn Molakvoæ2023-09-211-0/+1
|\
| * fix: avoid side-effect importsJohn Molakvoæ (skjnldsv)2023-09-211-0/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-17/+9
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(files): trashbin redirect and default fileid Sidebar openJohn Molakvoæ2023-08-171-37/+99
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): service workerJohn Molakvoæ2023-08-172-9/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(files): add Headers, remove legacy methods and cleanupJohn Molakvoæ2023-08-171-55/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Migrate parts of files app away from depecrated Iloggerfenn-cs2023-08-131-27/+31
| | | | | | | - Migrate some backgrounds jobs, `TransferOwnership` & `DeleteOrphanedItems` - Migrate `DirectEditingController` Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* files: Add OpenAPI specjld31032023-07-127-9/+137
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* chore: remove old favorites viewJohn Molakvoæ2023-07-052-43/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): favoritesJohn Molakvoæ2023-07-051-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): Don't throw an error when guests access the controllerJoas Schilling2023-04-191-14/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(files): add view config service to store user-config per viewJohn Molakvoæ2023-04-182-49/+32
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): implement sorting per viewJohn Molakvoæ2023-04-062-16/+23
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): sortingJohn Molakvoæ2023-04-062-1/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* perf(files): fetch previews faster and cache properlyJohn Molakvoæ2023-04-061-0/+20
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-081-0/+1
| | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* feat(directediting): Allow opening by file idJulius Härtl2023-02-201-3/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>