aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
...
* Clarify wording to 'Leave this share', fix #18622Jan C. Borchardt2020-08-231-1/+1
| | | | Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
* Remove outdated legacy search scriptsJohn Molakvoæ (skjnldsv)2020-08-043-191/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add @nextcloud/event-bus to babel transpileJohn Molakvoæ (skjnldsv)2020-07-312-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use `babel-loader-exclude-node-modules-except`John Molakvoæ (skjnldsv)2020-07-316-6/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump compiled filesJohn Molakvoæ (skjnldsv)2020-07-316-6/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/vue from 2.2.1 to 2.3.0Georg Ehrke2020-07-234-4/+4
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Recompile JS assetsGeorg Ehrke2020-07-226-6/+6
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Bump @nextcloud/axios from 1.3.2 to 1.3.3dependabot-preview[bot]2020-07-206-6/+6
| | | | | | | | | | Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.3.2 to 1.3.3. - [Release notes](https://github.com/nextcloud/nextcloud-axios/releases) - [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.3.2...v1.3.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-206-7/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* provide feedback about minimum length needed to trigger searchRobin Appelman2020-07-151-1/+6
| | | | | | instead of telling users that there are no results, tell them that search hasn't been triggered yet Signed-off-by: Robin Appelman <robin@icewind.nl>
* Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4dependabot-preview[bot]2020-07-154-4/+4
| | | | | | | | | | Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.1 to 7.10.4. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-plugin-proposal-class-properties) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Compile assetsnpmbuildbot[bot]2020-07-146-6/+9
| | | | Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* lower minimum search length to 2 charactersRobin Appelman2020-07-091-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Bump bundlesJulius Härtl2020-07-073-558/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Bump @nextcloud/router from 1.0.2 to 1.1.0dependabot-preview[bot]2020-07-036-31/+31
| | | | | | | | | | Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.0.2 to 1.1.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/auth from 1.2.3 to 1.3.0dependabot-preview[bot]2020-06-074-4/+4
| | | | | | | | | | Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 1.2.3 to 1.3.0. - [Release notes](https://github.com/nextcloud/nextcloud-auth/releases) - [Changelog](https://github.com/nextcloud/nextcloud-auth/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-auth/compare/v1.2.3...v1.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move humanFileSize and OC.getCanonicalLocale to npm packagesChristoph Wurst2020-06-055-19/+19
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump @nextcloud/dialogs from 1.3.0 to 1.3.1dependabot-preview[bot]2020-05-312-3/+3
| | | | | | | | | | Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.3.0 to 1.3.1. - [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases) - [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v1.3.0...v1.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump jQuery to v2.2Christoph Wurst2020-05-142-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump @nextcloud/dialogs from 1.2.2 to 1.3.0dependabot-preview[bot]2020-05-116-28/+28
| | | | | | | | | | Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.2.2 to 1.3.0. - [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases) - [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v1.2.2...v1.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump vue-loader from 15.9.1 to 15.9.2dependabot-preview[bot]2020-05-116-6/+6
| | | | | | | | | | Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.1 to 15.9.2. - [Release notes](https://github.com/vuejs/vue-loader/releases) - [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.1...v15.9.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.42.1 to 4.43.0dependabot-preview[bot]2020-04-292-2/+2
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.42.1 to 4.43.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.42.1...v4.43.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix workflow UIJoas Schilling2020-04-232-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #20595 from nextcloud/fix/ie11-fallback-uploadJohn Molakvoæ2020-04-221-2/+26
|\ | | | | Fix IE11 upload fallback methods
| * Fix IE11 upload fallback methodsJohn Molakvoæ (skjnldsv)2020-04-221-2/+26
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Set fileInfo correctly for LegacyTabsChristoph Seitz2020-04-192-2/+2
|/ | | | | | | | | Watch for changes of the fileInfo prop and propagate it to, the underlying component. Fixes #20106. Signed-off-by: Christoph Seitz <christoph.seitz@posteo.de>
* Bump @nextcloud/paths from 1.1.1 to 1.1.2dependabot-preview[bot]2020-04-136-31/+31
| | | | | | | Bumps @nextcloud/paths from 1.1.1 to 1.1.2. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump css-loader from 3.4.1 to 3.5.2dependabot-preview[bot]2020-04-134-4/+4
| | | | | | | | | | Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.1 to 3.5.2. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.4.1...v3.5.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Merge pull request #20185 from azul/open-new_tabJohn Molakvoæ2020-04-113-20/+55
|\ | | | | Modify do_action so default ctrl-click opens tab
| * Allow opening files for editing in new tabsAzul2020-04-092-9/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a file list files with a default action have an href that will trigger the action. This way ctrl-click and middle button click open the default action in a new tab. In order to achieve this a new param `openfile` was introduced to the files app. It will make the files app trigger the default action for the file in question. This also allows linking to file content rather than just the details display. Introduce fileList.getDefaultActionUrl() to create a link with that param set. It's overwritten in the trashbin fileList so that anchors continue to have `#` as a href. Fix the link generation for subfolders of public shares: 58a87d0 was the last commit that touched the linkTo function in public.js. It included the params as arguments to the generateUrl function. Turns out this completely ignores the dir parameter now. The inclusion was reverted in other places so revert it here as well. Also change `dir` to `path` in the param as that is respected when following the link. Add Test for the new link url for files with default action. Remove test for multiple selects with ctrl-click as that is not what we are doing anymore. Signed-off-by: Azul <azul@riseup.net>
| * refactor: fileActions.getCurrentDefaultFileAction()Azul2020-04-083-12/+18
| | | | | | | | | | | | | | | | | | | | fileActions.getCurrentDefaultFileAction() returns the default file action for the currently selected file. There were a number of places querying for the mime, type and permissions of that file first to then query for the default action. Signed-off-by: Azul <azul@riseup.net>
* | Bump core-js from 1.4.1 to 1.5.0John Molakvoæ (skjnldsv)2020-04-106-37/+35
|/ | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Inline usages of OCP.Toast in bundled filesChristoph Wurst2020-04-064-13/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use external Toast implementation and deprecate the OCP APIChristoph Wurst2020-04-066-25/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump @nextcloud/l10n from 1.1.1 to 1.2.2dependabot-preview[bot]2020-04-065-13/+13
| | | | | | | | | | Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.1.1 to 1.2.2. - [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases) - [Changelog](https://github.com/nextcloud/nextcloud-l10n/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-l10n/compare/v1.1.1...v1.2.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump regenerator-runtime from 0.13.3 to 0.13.5dependabot-preview[bot]2020-04-032-2/+2
| | | | | | | | | Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.3 to 0.13.5. - [Release notes](https://github.com/facebook/regenerator/releases) - [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.3...regenerator-runtime@0.13.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.42.0 to 4.42.1dependabot-preview[bot]2020-03-304-7/+7
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.42.0 to 4.42.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.42.0...v4.42.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Update eslint and switch to @nextcloud packagesChristoph Wurst2020-03-252-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump @nextcloud/paths from 1.1.0 to 1.1.1dependabot-preview[bot]2020-03-236-27/+27
| | | | | | | Bumps @nextcloud/paths from 1.1.0 to 1.1.1. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump @nextcloud/logger from 1.1.1 to 1.1.2, @nextcloud/router from 1.0.0 to ↵dependabot-preview[bot]2020-03-236-29/+29
| | | | | | 1.0.2, @nextcloud/axios from 1.3.1 to 1.3.2 and @babel/core from 7.8.7 to 7.9.0 Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add OCA.Files.Settings for Files SettingsGary Kim2020-03-226-19/+95
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Bump marked from 0.7.0 to 0.8.1John Molakvoæ (skjnldsv)2020-03-214-52/+36
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Only do regular polling of storage statistics if session_keepalive is enabledJulius Härtl2020-03-161-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Bump @nextcloud/vue from 1.3.1 to 1.4.0dependabot-preview[bot]2020-03-104-31/+31
| | | | | | | | | Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 1.3.1 to 1.4.0. - [Release notes](https://github.com/nextcloud/nextcloud-vue/releases) - [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v1.3.1...v1.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix default action for deleted sharesGretaD2020-03-091-1/+20
| | | | | Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Remove deprecated global variablesChristoph Wurst2020-03-092-7/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* l10n: Fixed typorakekniven2020-03-092-3/+3
| | | | | Signed-off-by: rakekniven <mark.ziegler@rakekniven.de> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump clipboard from 2.0.4 to 2.0.6dependabot-preview[bot]2020-03-082-4/+4
| | | | | | | | | Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.4 to 2.0.6. - [Release notes](https://github.com/zenorocha/clipboard.js/releases) - [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.4...v2.0.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Bump webpack from 4.41.6 to 4.42.0dependabot-preview[bot]2020-03-084-10/+10
| | | | | | | | | Bumps [webpack](https://github.com/webpack/webpack) from 4.41.6 to 4.42.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.41.6...v4.42.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Merge pull request #19764 from nextcloud/fix/transfer-ownerhip-owner-checkRoeland Jago Douma2020-03-032-3/+3
|\ | | | | Do not allow transfer ownership when the user isn't the owner