Vincent Petry
f1ab964819
Add share attributes + prevent download permission
...
Makes it possible to store download permission
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03 13:24:13 +02:00
Pytal
6dd941aba0
Merge pull request #33125 from nextcloud/backport/32993/stable24
...
[stable24] Fixes for quota text in navigation bar
2022-07-06 12:32:28 -07:00
Daniel Calviño Sánchez
14f3029fe5
Fix quota text not updated after copying or moving a file
...
Note that the quota may change too when files are moved if the file is
moved, for example, to or from a folder shared by other user.
Besides the quota the storage statistics are also updated, similar to
what is done when a file is deleted.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-07-05 20:25:44 +00:00
Daniel Calviño Sánchez
79542cf70c
Fix quota text shown escaped
...
"t()" escapes and sanitizes the returned text by default, so strings
like "<" are converted to "<". However, the "jQuery.text()" parameter
does not need to be escaped, as "<" is shown literally as "<"
rather than "<". Now "jQuery.html()" is used instead, which "unescapes"
the given text and sets it as a new text node (as the text in the
parameter does not contain markup for elements, only text).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-07-05 20:25:44 +00:00
Christopher Ng
e29c7061e2
Fix translation of home breadcrumb
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-05 18:36:29 +00:00
Julien Veyssier
bbe3b03aed
add missing GET param to getstoragestats url
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
(cherry picked from commit ca6a724503 )
2022-07-05 16:39:48 +02:00
Carl Schwan
43efbcff74
Fix 404 when using index.php in the url
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit ee793572cb )
2022-07-05 16:39:39 +02:00
Carl Schwan
93aa618e80
Remove .php from url
...
Probably here for legacy reasons, but it is a bit weird to call an .php
endpoint that doesn't correspond to a .php file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit c7931086cc )
2022-07-05 16:39:24 +02:00
Daniel Calviño Sánchez
f4949f0fed
Fix default toast message for failed uploads with HTTP/2
...
When an upload fails a toast is shown with either a specific message or
just the textual part of the HTTP error code (which comes from the
upload failure handler and set by "jQuery.ajax()". However, if there
is neither a message nor an error then the toast will show the default
message from the Toastify-js library, which is an undescriptive "Hi
there!".
When HTTP/2 is used Chromium does not provide the textual part of the
HTTP error code, so when an upload fails the toast can receive an empty
message and thus just show "Hi there!". Now an explicit message is
provided as a fallback to prevent that.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-06-15 19:39:45 +00:00
Simon L
e8f1ad060e
Revert "Show the child folders in the breadcrumb menu when on a parent entry."
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-29 13:51:56 +00:00
Robin Appelman
6c04076a85
fix filelist not loading after refresh in firefox
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-07 17:37:19 +02:00
Louis Chemineau
4763a1263f
Explicitly close div element
...
Fix : #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-04 17:52:44 +00:00
szaimen
6d7a0fae38
try to fix broken tooltip
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-14 15:14:28 +01:00
Louis
49959bc929
Merge pull request #30925 from paierlep/feature/breadcrumb_menu_parent_folder_visible
...
Show the child folders in the breadcrumb menu when on a parent entry.
2022-02-08 14:52:10 +01:00
Carl Schwan
ebec0a6b3e
Fix bugs with incorrect currentFileList in the favorite and share by you
...
view
This was causing bugs when trying to create new template in this views
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-03 20:08:08 +01:00
Christian Paier
0942aed8db
Show the parent folders in the breadcrumb menu when on a child entry.
...
Previously, clicking on an menu item in the breadcrumb menu removed the
parent entries of the path, i.e.:
Clicking on the "to" entry in "/path/to/some/folder" changed the
breadcrumb menu to show only the "/path/to" entries.
With this change the breadcrumb menu changes this behaviour as the full
path is still visible (and usable) but with the "to" entry beeing
highlighted.
Signed-off-by: Christian Paier <hallo+git@cpaier.com>
2022-02-02 21:19:23 +01:00
Vincent Petry
11c7e100ae
Properly hide progress bar after error
...
Whenever an error occurs, also hide the progress bar.
The logic was also adjusted to properly detect uploads that are pending
deletion, in which case the progress bar can already be hidden.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-12 20:21:12 +01:00
Vincent Petry
6c4d4d8bc4
Properly abort uploads
...
Add a new approach for flagging an upload as aborted because we can't
rely on the browser fully cancelling the request as we now seem to
receive an error response from the server instead of a jQuery "abort"
message.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-12 20:21:12 +01:00
Louis
2e1491771e
Merge pull request #30572 from nextcloud/fix/lint_warnings
...
Fix lint warnings
2022-01-12 15:48:36 +01:00
Vincent Petry
809e305444
Trigger "changeDirectory" even on URL change
...
When using the browser back button or clicking on sections on the left
sidebar (like favorites), the "changeDirectory" jQuery event did not get
called, so apps like recommendations would not notice the directory
change.
This fixes the issue by also setting changeUrl to true when the file
list's directory got changed as a result from a URL change.
Added optional changedThroughUrl argument to make sure the event
recipient knows if the change was done through a URL change and make it
possible prevent a loop in the onDirectoryChange handler that actually
changes the URL when the origin was already from a URL change.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-11 17:48:03 +01:00
Louis Chemineau
9fc6cc9634
Add generic type and description when its missing
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
Louis Chemineau
d92cbf5149
Typing corrections
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
John Molakvoæ (skjnldsv)
85bc851355
Delete outdated bundles
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:13:13 +01:00
dependabot[bot]
b0345e2a16
Bump core-js from 3.20.0 to 3.20.1
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.20.0 to 3.20.1.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.20.0...v3.20.1 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-01 19:01:12 +00:00
Julien Veyssier
4d32f11ad0
fix template picker for file actions using the fileInfoModel
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-30 10:09:33 +00:00
dependabot[bot]
712f3e1311
Bump core-js from 3.19.3 to 3.20.0
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.19.3 to 3.20.0.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.3...v3.20.0 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-18 15:42:58 +00:00
dependabot[bot]
78343d66d6
Bump core-js from 3.19.2 to 3.19.3
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.19.2 to 3.19.3.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.2...v3.19.3 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-12 16:49:34 +00:00
dependabot[bot]
007758a525
Bump @nextcloud/vue from 4.2.0 to 4.3.0
...
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases )
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v4.2.0...v4.3.0 )
---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-11 15:14:50 +00:00
Julius Härtl
a1d68c0fd6
Merge pull request #30141 from nextcloud/fix/filelist-reload
2021-12-08 12:36:30 +01:00
Carl Schwan
170ca81760
Reload page on 401 since there is an authentification problem
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-07 17:48:28 +01:00
Carl Schwan
50d256f959
Stop reloading file list when getting 401 error on root dir
...
When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-07 17:24:11 +01:00
Julien Veyssier
f170229976
do not trigger events when setting active view in gotoplugin
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-12-07 14:34:48 +01:00
dependabot[bot]
195a9a37d3
Bump core-js from 3.19.1 to 3.19.2
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.19.1 to 3.19.2.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.1...v3.19.2 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-05 19:12:04 +01:00
John Molakvoæ (skjnldsv)
a325141545
Remove isIE and associated legacy scripts
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-30 13:03:08 +01:00
dependabot[bot]
2b9282a7fd
Bump @nextcloud/axios from 1.7.0 to 1.8.0
...
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios ) from 1.7.0 to 1.8.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/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: "@nextcloud/axios"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-27 14:47:02 +00:00
dependabot[bot]
1c1c7d974b
Bump jquery from 3.5.1 to 3.6.0
...
Bumps [jquery](https://github.com/jquery/jquery ) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases )
- [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0 )
---
updated-dependencies:
- dependency-name: jquery
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-27 13:52:53 +00:00
Vincent Petry
49e35ff2cc
Fix mainfileinfodetailsview appending
...
Since the jquery update to 3.5.0, it seems Handlebars doesn't correctly
render self-closed elements. This fixes mainfileinfodetailsview template
to not use self-closed elements and fixes the JS unit tests.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-19 13:42:40 +00:00
Vincent Petry
ba8b55f4d6
Fix action share icon markup
...
Expanded the empty span tag to resolve issue with wrong appending done
by either handlebars or jquery.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-18 15:41:26 +01:00
dependabot[bot]
18e32104ce
Merge pull request #29574 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.1
2021-11-08 17:39:44 +00:00
John Molakvoæ
c208981349
Merge pull request #29572 from nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-2.1.1
...
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-08 16:32:39 +00:00
Julien Veyssier
742703c92f
refs #11864 handle empty dir drop in Files UI
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-11-08 12:22:57 +01:00
dependabot[bot]
073007bfdd
Bump @nextcloud/initial-state from 1.2.0 to 1.2.1
...
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state ) from 1.2.0 to 1.2.1.
- [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.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: "@nextcloud/initial-state"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-06 12:19:32 +00:00
dependabot[bot]
1894e5cef3
Bump core-js from 3.18.3 to 3.19.0
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.18.3 to 3.19.0.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.3...v3.19.0 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-30 16:46:17 +00:00
Julius Härtl
9c937a63bf
Move to combined files entrypoint
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-25 16:51:37 +02:00
dependabot[bot]
f1915a837e
Bump core-js from 3.18.2 to 3.18.3
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.18.2 to 3.18.3.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.2...v3.18.3 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-17 16:25:41 +02:00
Louis
ed533bd128
Merge pull request #28250 from pjft/patch-3
...
Fix bug introduced on drag and drop external files
2021-10-14 10:59:45 +02:00
Pytal
ddf0a2cf1f
Merge pull request #29101 from nextcloud/enh/noid/fileaction-in-single-filename
2021-10-12 14:58:56 -07:00
dependabot[bot]
7793064eac
Bump core-js from 3.18.1 to 3.18.2
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.18.1 to 3.18.2.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.1...v3.18.2 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-10 16:46:58 +00:00
Maxence Lange
9e78b01f3a
adding action.filename to FileActions
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-10-08 08:28:05 -01:00
Louis Chemineau
870ce7d3cc
Fix container element for newFileMenu tooltip
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-06 12:23:06 +02:00