aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * minor fixes for get/putRobin Appelman2023-05-092-6/+19
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add command to write a fileRobin Appelman2023-05-043-2/+84
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * move get/delete commands to files namespace, make get take the output as ↵Robin Appelman2023-05-042-0/+196
| | | | | | | | | | | | argument instead of option Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add an error counterCôme Chilliet2023-05-041-20/+17
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Only show error stack trace on very verbose levelCôme Chilliet2023-05-021-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-04-271-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-192-16/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(files): add view config service to store user-config per viewJohn Molakvoæ2023-04-184-49/+218
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #37625 from nextcloud/bugfix/noid/transfer-file-new-userJulius Härtl2023-04-111-0/+3
|\ | | | | fix: Always create user directory when transfering files to new users
| * fix: Always create user directory when transfering files to new usersJulius Härtl2023-04-061-0/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add type hints for mappersjld31032023-04-072-0/+6
|/ | | | Signed-off-by: jld3103 <jld3103yt@gmail.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>
* better error messages if the users home is not writable during scanningRobin Appelman2023-04-051-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add SHARE_TYPE_SCIENCEMESHMichiel de Jong2023-03-082-1/+2
| | | | Signed-off-by: Michiel de Jong <michiel@unhosted.org>
* Merge pull request #36904 from ↵Joas Schilling2023-03-061-9/+6
|\ | | | | | | | | nextcloud/bugfix/noid/fix-controller-setup-for-guests fix(files): Fix controller setup for guests
| * fix(files): Fix controller setup for guestsJoas Schilling2023-02-281-9/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | 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>