aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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>
* don't force a full setup for getting storage statsRobin Appelman2022-04-061-1/+0
| | | | | | the auto-setup is good enough Signed-off-by: Robin Appelman <robin@icewind.nl>
* Adapt more code to migration to LoggerInterfaceCôme Chilliet2022-03-243-13/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Don't redirect when loading files index pageCarl Schwan2022-02-171-1/+1
| | | | | | | | | | | | | | | | Currently we are redirecting from ?dir=/&fileid=2 to ?dir=/. This is an issue because we then need to load two pages with full file system setup and authentification instead of one and the assets won't start loading until the second page is delivered to the user. Additionally when loading ?dir=/, we then change the url back to ?dir=/&fileid=2 (without reload) so that the next time we load the page again we do the same thing again. Depending on the speed of the server and internet connection we can save 100ms to 400ms, improving the user experience. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #30953 from ↵Vincent Petry2022-02-101-7/+6
|\ | | | | | | | | nextcloud/feat/init-storage-when-transferring-ownership Init user's file system if not existing on ownership transfer
| * Init user's file system if not existing on ownership transferCarl Schwan2022-02-011-7/+6
| | | | | | | | | | | | | | | | This makes it a bit easier to transfer ownership when the new user hasn't already logged in. This still doesn't support encrypted storages because the keys are not generated yet. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #31097 from ↵Vincent Petry2022-02-101-1/+5
|\ \ | | | | | | | | | | | | nextcloud/bugfix/31096/fix-shares-transfer-guest-to-nonguest Fix path handling when transferring incoming shares
| * | Fix path handling when transferring incoming sharesVincent Petry2022-02-101-1/+5
| |/ | | | | | | | | | | | | | | | | When transferring incoming shares from a guest user without specifying a path, the $path is empty. The fix properly handles that situation to avoid looking for shares in a path with doubled slashes which failed to find shares to transfer. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* / Don't provide favorite activity settingsJoas Schilling2022-02-091-2/+10
|/ | | | | | | | | Since mails and notifications are only available for actions of other users it does not make sense to allow changing this. It also prevents the common misunderstanding with "file was changed inside a favorited folder" Signed-off-by: Joas Schilling <coding@schilljs.com>
* [files] new internal link GET param to avoid setting 'openfile' on redirectJulien Veyssier2022-01-141-2/+2
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Merge pull request #30530 from nextcloud/fix/search-urlJohn Molakvoæ2022-01-141-6/+5
|\
| * Fix wrong unified search link to folderJohn Molakvoæ2022-01-131-6/+5
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Split common vendor chunkJohn Molakvoæ (skjnldsv)2022-01-081-4/+2
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Move bundles to /distJohn Molakvoæ (skjnldsv)2022-01-082-2/+4
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Limit more contact searchesJoas Schilling2021-12-081-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix testsRobin Appelman2021-12-021-4/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* stop background scan early if a users still has unscanned files after ↵Robin Appelman2021-12-021-1/+7
| | | | | | background scan Signed-off-by: Robin Appelman <robin@icewind.nl>