Commit graph

1582 commits

Author SHA1 Message Date
Daniel Calviño Sánchez
2a15573905 Fix total upload size overwritten by next upload
The upload progress is based on the "totalToUpload" variable. However,
as the variable is set when an upload is submitted, if another upload is
submitted before the previous one finished the upload progress only took
into account the size of the new upload (although the upload itself
worked fine; the files of the new submitted upload are added to the
active one). Now "totalToUpload" is either increased or set depending on
whether an upload is active or not.

Note that although "data.total" holds the total size of the files being
uploaded "totalToUpload" needs to be used in "fileuploadprogressall"
instead; "totalToUpload" is calculated when the upload is submitted, but
since 7c4c5fe6ae the actual upload of the files, and thus updating the
value of "data.total", may be deferred until the parent folders were
created.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-28 12:27:30 +01:00
Roeland Jago Douma
b9ae79189e Respect default share permissions
Else we'll always create new shares with the max permissions.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-29 20:47:16 +00:00
Robin Appelman
141eaab9c4
add mount point to quota warning message
makes it more clear to the user what the quota applies to

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-12 20:26:11 +01:00
Vincent Petry
1def9a096c Bring back the restore share button
Fix disabled default file action to still use an anchor element, as this
is used in many other places (and potentially apps).

Adjusted anchor style to not look like it's clickable and added extras
to make sure everything inside still looks clickable as before.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-22 19:03:34 +00:00
Roeland Jago Douma
07c188e7e3
Merge pull request #22443 from nextcloud/backport/22421/stable18
[stable18] show better quota warning for group folders and external storage
2020-10-01 15:11:16 +02:00
Robin Appelman
dd1dbc2f3d
show better quota warning for group folders and external storage
instead of showing the generic 'Your storage is full' message, better explain that it's the group folder/external storage that is full

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-29 15:26:06 +02:00
Joas Schilling
525dfc7ae4 Better error message when blocked by access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 13:53:25 +00:00
Robin Appelman
9847b98c53 lower minimum search length to 2 characters
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 20:28:57 +00:00
John Molakvoæ (skjnldsv)
366ee97fbd Init fileinfo for all tabs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-08 11:03:49 +00:00
Morris Jobke
4bcbeffeb6
Merge pull request #20588 from nextcloud/backport/20564/stable18
[stable18] Set fileInfo correctly for LegacyTabs
2020-04-23 14:37:08 +02:00
John Molakvoæ (skjnldsv)
42e30b577f Fix IE11 upload fallback methods
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-22 20:09:06 +00:00
Christoph Seitz
185f867bf8 Set fileInfo correctly for LegacyTabs
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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-21 13:04:07 +00:00
Joas Schilling
2c1de970bb
Merge pull request #19999 from nextcloud/backport/19987/stable18
[stable18] Only do regular polling of storage statistics if session_keepalive is enabled
2020-03-18 12:49:40 +01:00
Julius Härtl
dca0f7e760 Only do regular polling of storage statistics if session_keepalive is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-17 14:08:22 +00:00
GretaD
045314990e 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-16 13:33:29 +00:00
Gary Kim
00dd295c09
Do not allow transfer ownership when the user isn't the owner
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-04 14:05:58 +08:00
Daniel Kesselberg
bdb92df479 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 12:38:15 +00:00
Julius Härtl
535b60bfed Show proper file name when fetching details fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-12 19:27:26 +00:00
Roeland Jago Douma
9fd015353c
Merge pull request #19089 from nextcloud/backport/18929/enh/sidebar/promise
[stable18] Allow to await the sidebar
2020-02-05 21:08:32 +01:00
John Molakvoæ (skjnldsv)
b074be1b1d Close handling
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-05 19:12:27 +00:00
Julius Härtl
f0aca462c6
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-04 09:41:37 +01:00
John Molakvoæ (skjnldsv)
4cfb5eac02
Fix legacy tabs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-30 10:32:32 +01:00
Julius Härtl
77797b4910 Adjust filelist color handling to new dark theme value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-24 12:11:50 +00:00
Gary Kim
b2b7587f54
Prevent duplicate entries in file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-17 02:29:17 +01:00
John Molakvoæ (skjnldsv)
3b6a1254cf
Close after click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-15 17:51:25 +01:00
Julius Härtl
fac588297d
Do not show sidebar on rename (fixes #18613)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15 17:47:53 +01:00
Julius Härtl
940b73280d
Properly set current file info when switching the details view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15 17:47:53 +01:00
Roeland Jago Douma
dda212a48e
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>
2020-01-15 10:53:08 +01:00
dependabot-preview[bot]
fd243ff5c4 Bump @nextcloud/auth from 1.1.0 to 1.2.1
Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 1.1.0 to 1.2.1.
- [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.1.0...v1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-12 13:13:33 +00:00
dependabot-preview[bot]
0271f5e95c Bump @nextcloud/initial-state from 1.0.0 to 1.1.0
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-11 09:24:05 +00:00
dependabot-preview[bot]
c2ff14bcf1 Bump handlebars from 4.5.3 to 4.6.0
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.6.0.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-10 18:39:06 +00:00
Roeland Jago Douma
dc95fc25e2
Merge pull request #18796 from nextcloud/backport/18783/stable18
[stable18] Init OCA.Files.Sidebar right away
2020-01-10 09:44:47 +01:00
John Molakvoæ (skjnldsv)
b219d5b68d 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-10 06:54:17 +00:00
Gary Kim
4f8e3cfced
Add more padding in transfer ownership
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-10 12:03:46 +08:00
Christoph Wurst
15665616f4 Combine exact and other matches for transfer ownership
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-09 10:08:22 +00:00
Roeland Jago Douma
e046ed3527
Merge pull request #18753 from nextcloud/bugfix/noid/select-menu-hide
Do not rerender the selection menu on show
2020-01-08 19:21:18 +01:00
Christoph Wurst
0fe35d06bc
Make the transfer ownership input a bit wider
Fixes #18625

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-08 16:54:14 +01:00
Julius Härtl
c03122fc34
Do not rerender the selection menu on show
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 16:09:53 +01:00
Gary Kim
abb45e2f72
Use @nextcloud/paths for file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-08 21:44:43 +08:00
Gary Kim
409d25ebf3
Encode URI for file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-08 00:08:45 +08:00
dependabot-preview[bot]
c282435c42
Bump css-loader from 3.4.0 to 3.4.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.0 to 3.4.1.
- [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.0...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-05 14:52:35 +01:00
dependabot-preview[bot]
d8a8d363de
Bump @nextcloud/logger from 0.1.0 to 1.0.0
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 0.1.0 to 1.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-logger/releases)
- [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v0.1.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-02 10:21:04 +01:00
dependabot-preview[bot]
12bf1a6e70
Bump @nextcloud/dialogs from 0.1.1 to 1.0.0
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 0.1.1 to 1.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v0.1.1...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-02 09:30:02 +01:00
dependabot-preview[bot]
55de6a12d5
Bump css-loader from 3.3.2 to 3.4.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.0.
- [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.3.2...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-30 16:40:17 +01:00
dependabot-preview[bot]
c828c50c22
Bump @babel/preset-env from 7.7.6 to 7.7.7
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [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.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 14:41:15 +01:00
dependabot-preview[bot]
c773c3c0e9 Bump nextcloud-vue from 0.12.7 to 0.12.8
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.7 to 0.12.8.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.7...v0.12.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-23 09:57:01 +00:00
dependabot-preview[bot]
1ed4633b79 Bump @nextcloud/event-bus from 0.2.1 to 1.0.0
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 0.2.1 to 1.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v0.2.1...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-23 08:54:17 +00:00
dependabot-preview[bot]
8a7042a624 Bump @nextcloud/axios from 0.5.0 to 1.1.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 0.5.0 to 1.1.0.
- [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/v0.5.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-23 07:20:08 +00:00
dependabot-preview[bot]
0fb3569a65 Bump @nextcloud/auth from 0.3.1 to 1.1.0
Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 0.3.1 to 1.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-auth/releases)
- [Commits](https://github.com/nextcloud/nextcloud-auth/compare/v0.3.1...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-22 19:48:34 +00:00
dependabot-preview[bot]
aca1aa59e4 Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/vue) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.6.10 to 2.6.11
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/compare/v2.6.10...v2.6.11)

Updates `vue-template-compiler` from 2.6.10 to 2.6.11
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/compare/v2.6.10...v2.6.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-22 13:52:24 +00:00