John Molakvoæ
e5ac5c7f34
Merge pull request #20185 from azul/open-new_tab
...
Modify do_action so default ctrl-click opens tab
2020-04-11 08:23:11 +02:00
John Molakvoæ (skjnldsv)
e24818f6bb
Bump core-js from 1.4.1 to 1.5.0
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-10 12:37:20 +00:00
Azul
43f0d2a3b5
Allow opening files for editing in new tabs
...
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>
2020-04-09 16:41:09 +02:00
Azul
d2728cbdc1
refactor: fileActions.getCurrentDefaultFileAction()
...
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>
2020-04-08 18:19:58 +02:00
Christoph Wurst
8119e0b18e
Inline usages of OCP.Toast in bundled files
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-06 17:19:57 +02:00
Christoph Wurst
01a70e5d0f
Use external Toast implementation and deprecate the OCP API
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-06 17:00:58 +02:00
dependabot-preview[bot]
52f4feca92
Bump @nextcloud/l10n from 1.1.1 to 1.2.2
...
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>
2020-04-06 13:50:12 +00:00
dependabot-preview[bot]
4f8a847f59
Bump regenerator-runtime from 0.13.3 to 0.13.5
...
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>
2020-04-03 06:59:22 +00:00
dependabot-preview[bot]
548f9dcbb3
Bump webpack from 4.42.0 to 4.42.1
...
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>
2020-03-30 07:49:32 +00:00
Christoph Wurst
6af1ed8cb3
Update eslint and switch to @nextcloud packages
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 11:53:59 +01:00
dependabot-preview[bot]
ef129d6b80
Bump @nextcloud/paths from 1.1.0 to 1.1.1
...
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>
2020-03-23 20:33:19 +00:00
dependabot-preview[bot]
3bd05a8c34
Bump @nextcloud/logger from 1.1.1 to 1.1.2, @nextcloud/router from 1.0.0 to 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>
2020-03-23 09:30:04 +01:00
Gary Kim
98eeb57a04
Add OCA.Files.Settings for Files Settings
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-22 22:34:49 +08:00
John Molakvoæ (skjnldsv)
c3730c0fa0
Bump marked from 0.7.0 to 0.8.1
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-21 10:54:48 +01:00
Julius Härtl
d851d2e08b
Only do regular polling of storage statistics if session_keepalive is enabled
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-16 15:59:41 +01:00
dependabot-preview[bot]
c97ba2a1e6
Bump @nextcloud/vue from 1.3.1 to 1.4.0
...
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>
2020-03-10 18:55:16 +00:00
GretaD
b201121e62
Fix default action for deleted shares
...
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-09 20:16:38 +00:00
Christoph Wurst
bb1d8b3189
Remove deprecated global variables
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-09 13:31:50 +01:00
rakekniven
43f74894bc
l10n: Fixed typo
...
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-09 08:44:12 +00:00
dependabot-preview[bot]
923b9127d4
Bump clipboard from 2.0.4 to 2.0.6
...
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>
2020-03-08 13:19:24 +00:00
dependabot-preview[bot]
98f5f68320
Bump webpack from 4.41.6 to 4.42.0
...
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>
2020-03-08 09:59:27 +00:00
Roeland Jago Douma
65b75c8bba
Merge pull request #19764 from nextcloud/fix/transfer-ownerhip-owner-check
...
Do not allow transfer ownership when the user isn't the owner
2020-03-03 20:20:43 +01:00
Christoph Wurst
68b764bb0f
Do not allow transfer ownership when the user isn't the owner
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-03 14:48:45 +01:00
Daniel Kesselberg
c0009bdf6a
Fetch translate for Tags from files app
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-03 10:29:21 +00:00
dependabot-preview[bot]
30d6ba7201
Bump @babel/preset-env from 7.8.3 to 7.8.6
...
Bumps [@babel/preset-env](https://github.com/babel/babel ) from 7.8.3 to 7.8.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-29 10:38:28 +00:00
Joas Schilling
e05362959f
Copy isFileNameValid function, so the filepicker works without the files app
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 12:01:14 +01:00
dependabot-preview[bot]
f9177222c0
Bump vue-loader from 15.8.3 to 15.9.0
...
Bumps [vue-loader](https://github.com/vuejs/vue-loader ) from 15.8.3 to 15.9.0.
- [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.8.3...v15.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 16:12:42 +00:00
Christoph Wurst
989076dc3a
Update webpack bundles
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-22 19:41:12 +00:00
Julius Härtl
af4139ce64
Show proper file name when fetching details fails
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-12 14:14:14 +01:00
dependabot-preview[bot]
8585201b57
Bump @nextcloud/vue from 1.3.0 to 1.3.1
...
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases )
- [Commits](https://github.com/nextcloud/nextcloud-vue/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>
2020-02-09 13:38:52 +00:00
Joas Schilling
034fefa7b7
Removed nested call to beforeunload
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-06 20:35:00 +01:00
Julius Härtl
09371c0b7a
Bump bundles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-03 12:01:01 +01:00
John Molakvoæ (skjnldsv)
b476659ac8
Fix legacy tabs
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-29 16:44:53 +01:00
Julius Härtl
cd6a193793
Bump @nextcloud/vue
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-29 16:44:53 +01:00
John Molakvoæ (skjnldsv)
414544f528
Merge multiple dependabots updates
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-27 20:52:29 +01:00
dependabot-preview[bot]
68e90813f7
Bump @nextcloud/vue from 1.2.5 to 1.2.7
...
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue ) from 1.2.5 to 1.2.7.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases )
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v1.2.5...V1.2.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-26 19:11:15 +00:00
Julius Härtl
bfaf28452b
Adjust filelist color handling to new dark theme value
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-24 10:31:18 +01:00
John Molakvoæ (skjnldsv)
05742c083c
Migrate to @nextcloud/vue 1.x.x
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-22 17:33:49 +01:00
John Molakvoæ (skjnldsv)
2e52bdda21
Close handling
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-22 09:45:57 +00:00
John Molakvoæ (skjnldsv)
53516032f7
Compile templates
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-21 16:26:05 +01:00
dependabot-preview[bot]
840b077060
Bump @nextcloud/paths from 1.0.0 to 1.1.0
...
Bumps @nextcloud/paths from 1.0.0 to 1.1.0.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-20 14:08:07 +00:00
Gary Kim
d8881faa8e
Prevent duplicate entries in file sidebar
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-17 07:51:34 +08:00
John Molakvoæ (skjnldsv)
1c984645f7
Close after click
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-15 11:04:53 +01:00
Julius Härtl
ad1aec3085
Only show tag selector if tags are set
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-15 11:00:31 +01:00
Julius Härtl
8a5632d3a1
Do not show sidebar on rename ( fixes #18613 )
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15 11:00:07 +01:00
Julius Härtl
f7b267a61b
Properly set current file info when switching the details view
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15 11:00:07 +01:00
Roeland Jago Douma
17256781a6
Proper text previews
...
Fixes #17828
* Modified the preview provider to provider smaller fonts for the
previes (so it is not so screaming)
* Modified the sidebar to show plain text and markdown files full size.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-14 22:38:04 +00:00
dependabot-preview[bot]
fe83d5990d
Bump @nextcloud/axios from 1.1.0 to 1.3.1
...
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios ) from 1.1.0 to 1.3.1.
- [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.1.0...v1.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-14 09:21:47 +00:00
Roeland Jago Douma
e886ce7218
Merge pull request #18783 from nextcloud/fix/sidebar/do-not-wait-domcontentloaded-for-init
...
Init OCA.Files.Sidebar right away
2020-01-10 07:53:27 +01:00
John Molakvoæ (skjnldsv)
2261629fe5
Init OCA.Files.Sidebar right away
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-09 15:46:52 +00:00