aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* feat: Add new forbidden filename options to CapabilitiesFerdinand Thiessen2024-07-111-9/+12
| | | | | | | | | Allow clients to access the new filename validation options and make frontend name validation possible. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #46059 from nextcloud/perf/remove_useless_sessionBenjamin Gaussorgues2024-06-271-3/+0
|\
| * 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>
* | feat(notifications): Migrate server INotifiers to new exceptionsJoas Schilling2024-06-251-4/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.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-142-29/+34
| | | | | | | | | | | | | 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>
* feat(files): Use receiving users language for the ownership transfer target ↵Ferdinand Thiessen2024-05-291-8/+13
| | | | | | folder Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2967-1372/+160
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): Fix ownership transfer encrypted files detectionCôme Chilliet2024-04-301-1/+1
| | | | | | Discovered by psalm update Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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(files): Also restore shares after ownership transfer for object storageFerdinand Thiessen2024-04-181-38/+73
| | | | | | | | | | When a file is moved between different storages then the file id is not (always) preserved. This means the file id has to be adjusted for all shares. So in case the file id does not exist anymore we try to find the new file id based on the target path of the transfer and the path suffix of the share. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: cleanup filecache_extended items by defaultRobin Appelman2024-04-151-2/+2
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat: remove orphaned entries from filecache_extendedDaniel Kesselberg2024-04-151-1/+37
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-025-10/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add iconSvgInline to TemplateFileCreatorChristopher Ng2024-03-201-0/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #41973 from nextcloud/files-scan-path-optionJohn Molakvoæ2024-03-151-1/+1
|\
| * use correct mode constant of files:scan's --path optionRobin Appelman2024-02-241-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(files): Do not require files_trashbin in live photo sync listenerLouis Chemineau2024-03-143-134/+70
| | | | | | | | | | | | Fix https://github.com/nextcloud/server/issues/43299 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | feat(files): copy live photosMaxence Lange2024-03-082-17/+65
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | feat(files): add search plugin to search in specified folder exclusivelyfenn-cs2024-03-074-0/+75
| | | | | | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* | perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-046-29/+23
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: Also expose forbidden filename character in the capabilitiesFerdinand Thiessen2024-02-281-2/+3
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | feat(search): allows to search files by pathBenjamin Gaussorgues2024-02-271-0/+3
|/ | | | | | | Use `GET search/providers/files/search?path=<path>` with beginning of the path Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #39215 from shdehnavi/replace_substr_calls_in_files_appJohn Molakvoæ2024-02-231-2/+2
|\
| * Merge branch 'master' into replace_substr_calls_in_files_appHamid Dehnavi2023-10-302-1/+28
| |\ | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
| * | Refactor "substr" calls to improve code readabilityHamid Dehnavi2023-09-271-2/+2
| | | | | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* | | fix: replace `Account name` by `Login`John Molakvoæ2024-02-131-2/+2
| | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | feat: rename users to account or personVincent Petry2024-02-131-2/+2
| | | | | | | | | | | | | | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | fix(files): Remove dead code from files controllersFerdinand Thiessen2024-02-121-20/+0
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some appsCôme Chilliet2024-02-051-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-302-0/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix(files): Consistent sorting for folders before files (user configurable)Ferdinand Thiessen2024-01-271-0/+6
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | fix(files): Make sure to add the `fileid` on favorite folders navigation entriesFerdinand Thiessen2024-01-252-25/+50
| | | | | | | | | | | | 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-182-16/+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>
* | | fix renameMaxence Lange2023-12-111-30/+17
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Add comment in SyncLivePhotosListenerLouis Chemineau2023-11-301-93/+131
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Synchronize operation on live photo filesLouis Chemineau2023-11-292-0/+261
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2330-111/+106
| | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | add named metadata eventMaxence Lange2023-11-201-6/+14
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | fix(files): avoid sending thumbnail URL for directory as none existsBenjamin Gaussorgues2023-11-171-4/+10
| | | | | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | feat(files): Allow advanced search for filesBenjamin Gaussorgues2023-11-101-17/+88
| | | | | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-081-7/+0
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | IFilesMetadataMaxence Lange2023-11-071-3/+12
| |/ |/| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | feat(files): add grid toggle buttonJohn Molakvoæ2023-10-171-0/+6
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>