aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* 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>
* 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-041-6/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fixing testsJohn Molakvoæ2023-01-042-8/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add component testingJohn Molakvoæ2023-01-041-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Port settings to ModalJohn Molakvoæ2023-01-042-52/+67
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Port Files navigation to vueJohn Molakvoæ2023-01-042-31/+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>
* Also throttle on expirationJoas Schilling2022-10-121-1/+3
| | | | 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-111-0/+135
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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-051-1/+1
| | | | | | | 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>
* Remove redundant eventsVincent Petry2022-08-151-0/+3
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* fix for transferring ownership of groupfoldersVanessa Pertsch2022-05-101-1/+2
| | | | Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
* 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>
* 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>
* [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>
* 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-081-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-301-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move to combined files entrypointJulius Härtl2021-10-251-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix typoLouis2021-07-281-1/+1
| | | Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
* Set openfile params when following internal linksLouis Chemineau2021-07-271-3/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix variabable override in file viewLouis Chemineau2021-07-261-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Trigger click event when scrollTo is setLouis Chemineau2021-06-091-1/+54
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-047-15/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix more psalm warningsRoeland Jago Douma2021-05-211-8/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add proper PHPDoc tags to files ApiControllerMorris Jobke2021-05-211-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-211-2/+7
|\ | | | | Add option to exclude groups from creating link shares
| * load share settings from the share manager in more placesRobin Appelman2021-05-121-2/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | optimize getting share types for recent filesRobin Appelman2021-04-211-33/+49
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #25676 from nextcloud/drop/utl-is-ieMorris Jobke2021-03-171-1/+1
|\ | | | | Drop \OCP\Util::isIe
| * Drop \OCP\Util::isIeChristoph Wurst2021-03-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix default missing initial state for templatesJohn Molakvoæ (skjnldsv)2021-03-151-1/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move TemplateProvider registration to boot context and make template type ↵Julius Härtl2021-01-281-1/+1
| | | | | | registration lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Skip template picker if none availableJohn Molakvoæ (skjnldsv)2021-01-282-7/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add template pickerJohn Molakvoæ (skjnldsv)2021-01-282-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* files: Create files from template APIJulius Härtl2021-01-282-1/+89
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #25055 from nina-py/18439-add-crop-image-previews-settingJulius Härtl2021-01-152-0/+16
|\ | | | | Add "Crop image previews" setting to files
| * Add "Crop image previews" setting to filesNina Pypchenko2021-01-142-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new user setting that toggles cropping on image previews in grid view. True (default value): crops each image to a square. False: keep original aspect ratio. Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com> Closes #18439. Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-1/+1
|/ | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-162-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>