summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add an error counterCôme Chilliet2023-05-091-20/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Only show error stack trace on very verbose levelCôme Chilliet2023-05-091-6/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Do not stop at the first PHP error/warning in files:scanCôme Chilliet2023-05-091-11/+15
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(files): Don't throw an error when guests access the controllerJoas Schilling2023-04-202-15/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix: Always create user directory when transfering files to new usersJulius Härtl2023-04-111-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #37057 from nextcloud/backport/36904/stable26Arthur Schiwon2023-03-091-9/+6
|\ | | | | [stable26] fix(files): Fix controller setup for guests
| * fix(files): Fix controller setup for guestsJoas Schilling2023-03-091-9/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-082-1/+2
|/ | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* Implement file reference wigetJulius Härtl2023-03-022-0/+42
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-211-62/+0
|
* feat(directediting): Allow opening by file idJulius Härtl2023-02-202-5/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not set up filesystem on every callAnna Larch2023-02-171-0/+62
| | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* Revert the token scope to not end up with storing the user used in the sessionJulius Härtl2023-02-171-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* remove explicit setup when getting storage infoRobin Appelman2023-02-081-5/+0
| | | | | | | | the implicit setup gets enough data without having to do a full setup. Saves having to do a full fs setup for the files webui template Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #35935 from EWouters/patch-1Simon L2023-01-231-1/+2
|\ | | | | [Fix]: scan-app-data conversion
| * [Fix]: scan-app-data conversionEWouters2023-01-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Adapted from sugestions by @Hiyoal in #34283 and @st3iny in #35935. See https://github.com/nextcloud/server/issues/34283#issuecomment-1288075064 and https://github.com/nextcloud/server/pull/35935#discussion_r1059905594. Closes #34283. Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
* | feat(files): Quota in navigationJohn Molakvoæ2023-01-173-70/+25
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Fix favourite openingJohn Molakvoæ2023-01-042-6/+6
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Fixing testsJohn Molakvoæ2023-01-043-14/+13
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Add component testingJohn Molakvoæ2023-01-042-6/+7
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Port settings to ModalJohn Molakvoæ2023-01-044-53/+212
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Port Files navigation to vueJohn Molakvoæ2023-01-043-32/+32
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Do not setup a session when not required on WebDAV requestsJulius Härtl2022-12-211-0/+1
| | | | | | | | | | If basic auth is used on WebDAV endpoints, we will not setup a session by default but instead set a test cookie. Clients which handle session cookies properly will send back the cookie then on the second request and a session will be initialized which can be resued for authentication. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subjectCôme Chilliet2022-12-193-41/+12
|\ | | | | Compute notification parsed subject from rich subject when possible
| * Get rid of all useless calls to setParsedSubject now that setRichSubject is ↵Côme Chilliet2022-11-293-41/+12
| | | | | | | | | | | | able to do it Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use TimedJob from OCP instead of OCCôme Chilliet2022-12-053-11/+18
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Cast to int #32837Markus Zeller2022-11-071-1/+1
| | | | Signed-off-by: Markus Zeller <git@markuszeller.com>
* Also throttle on expirationJoas Schilling2022-10-121-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix psalm error on migrationJoas Schilling2022-10-121-6/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a background job to delete expired tokensJoas Schilling2022-10-122-0/+70
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also remove token when we successfully validatedJoas Schilling2022-10-111-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Require a token for "Edit locally"Joas Schilling2022-10-114-0/+326
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow scanning for metadata with occ scan:file --generate-metadataCarl Schwan2022-10-111-16/+33
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me>
* Url encode the web dav url for copyingAnna Larch2022-10-021-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix typos in apps/ subdirectoryluz paz2022-09-053-3/+3
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecatedCarl Schwan2022-08-231-12/+11
|\ | | | | Deprecated ILogger from IJob
| * Port existing server code to new interfaceCarl Schwan2022-08-081-12/+11
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Use user name cache in activity providersJoas Schilling2022-08-191-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Remove redundant eventsVincent Petry2022-08-151-0/+3
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Show usage percenteage in the tooltipDaniel Calviño Sánchez2022-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The tooltip of the initial quota display showed the usage percenteage and the total available space. However, the total available space was redundant, as it was shown just below. The tooltip of the updated quota display showed the usage percenteage, but based on the quota rather than the total available space, so there was a mismatch between the tooltip and the bar below. Now the tooltip of the initial and the updated quota display both show just the usage percenteage based on the total available space. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Use total available space rather than quota when updating the displayDaniel Calviño Sánchez2022-08-101-0/+1
|/ | | | | | | | | The initial quota display uses the total available space rather than the quota. Moreover, the relative usage is based on the total space rather than the quota. Due to this now the total available space is also used when updating the quota display. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #32874 from bill-mcgonigle/patch-1Simon L2022-06-171-1/+1
|\ | | | | Mention missing files subdir
| * Mention missing files subdirBill McGonigle2022-06-141-1/+1
| | | | | | | | | | Many users are getting confused by the inaccurate error message "Home storage for user $user not writable" because the storage *is* writable. The actual issue is a missing files/ subdirectory. cf. https://help.nextcloud.com/t/home-storage-for-user-not-writable/10831/7 By mentioning the possible cause in the error message, users are going to be able to rapidly solve their problem rather than bang their heads against the screen, Google, and eventually forums to find out that the error message is wrong in their case. Yes, it would be better to detect and precisely describe the fault, or fix the problem automatically, but until then, be kind to the users for the next however many years.
* | Use {$var} instead of ${var} for PHP 8.2 compatibilityCôme Chilliet2022-06-141-1/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #32059 from cld4h/patch-1Vincent Petry2022-06-101-1/+1
|\ | | | | Fix issue #31692 of occ files:scan
| * Fix issue #31692 of occ files:scancld4h2022-04-261-1/+1
| | | | | | | | | | | | occ files:scan reports error "Implicit conversion from float XXX to int loses precision" Signed-off-by: cld4h <20869428+cld4h@users.noreply.github.com>
* | Only load direct editing capabilities when requiredJulius Härtl2022-06-033-28/+56
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #32149 from nextcloud/fix-transferring-groupfoldersJohn Molakvoæ2022-05-111-1/+2
|\ \
| * | fix for transferring ownership of groupfoldersVanessa Pertsch2022-05-101-1/+2
| |/ | | | | | | Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
* / Add a public replacement for OC::$server->getCarl Schwan2022-05-102-18/+25
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>