Roeland Jago Douma
68dadc01af
Consider read permission in sharing tab
...
When updating a share we should make sure to use all the old permissions
(and only change what we actually changed). So the READ permission in
this case should also be fetched instead of always granted.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 15:10:51 +02:00
Vincent Petry
af61486aea
Separate settings for remote share expiration
...
Added separate settings for default and enforced expiration date for
remote shares.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:06:09 +02:00
Vincent Petry
8680bafc5c
Implement expiration date for federated shares
...
Add expiration date field in UI.
Save expiration date when creating or updating federated share.
Read expiration date from DB in federated share provider.
Applies to both federated user and group shares.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:02:00 +02:00
John Molakvoæ (skjnldsv)
4b9991a4f2
Fix undefined error on add-share
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-13 06:21:48 +00:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
John Molakvoæ (skjnldsv)
a100186e5e
Sharing link & mail parity
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:50:45 +01:00
John Molakvoæ (skjnldsv)
5e519fe17a
Clear the input after adding a new share
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:41:33 +01:00
John Molakvoæ (skjnldsv)
c47e79fc67
Handle enforced password for mail shares in the WebUI
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:40:43 +01:00
John Molakvoæ (skjnldsv)
c8e0809d43
Extract GeneratePassword function to its own file
...
This is needed to be able to use the function from other components.
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:40:41 +01:00
John Molakvoæ (skjnldsv)
100d5d9a47
Add labels to mail shares
...
Now the email is shown on a second line if a label is set.
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:34:09 +01:00
John Molakvoæ (skjnldsv)
5d9bb5e247
Lint fix
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +01:00
John Molakvoæ (skjnldsv)
31ddfb0294
Fix SharingInput Multiselect
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-11 12:30:15 +01:00
Vincent Petry
3462444def
Only clear share password model when actually saved
...
Instead of always clearing the password in the share model, now only do
it when it was actually saved.
Fixes an issue where saving another field would clear the password too
early and prevent it to be saved when the dropdown closed.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-11 09:07:30 +01:00
Vincent Petry
77401e8c1c
Hide expiration date field for remote shares
...
Remote shares currently do not support expiration date.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-09 10:40:14 +01:00
Julius Härtl
69c2864aca
Add appconfig to always show the unique label of a sharee
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-04 09:25:45 +01:00
Vincent Petry
c541094be0
Clear multiselect after selection in share panel
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-03 11:38:00 +01:00
Julius Härtl
9073c09c62
Avoid creating two share links when password is enforced
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-19 11:16:38 +00:00
Dan VerWeire
1f47ae7c1b
Use ownerDisplayName for SharingEntry Tooltip
...
Some NC installations may use a LDAP UUID for the username. If that
is the case, then the tooltip for who a file/folder was shared by may say something
like `Shared with Steve McQueen (smqueen@yada.com ) by FKDJ39-38D794JG-4398GJODF9H3G-4534`.
This commit changes the value showed for the owner to the full display name.
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-12 07:32:26 +00:00
Roeland Jago Douma
983f7f3e49
Merge pull request #25493 from Worteks/fix-filessharing-debug
...
fix(log): remove debug log in _formatRemoteShare, suggested by @maxbes
2021-02-08 21:40:05 +01:00
Vincent Petry
50004bc4a5
Sharing dropdown now opens below
...
Fixes an issue where the dropdown list was not visible on small screens
as it would appear above the field and be hidden behind the container
border.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-05 14:47:01 +01:00
Samuel
73338a061b
fix(debug): remove debug log in _formatRemoteShare, suggested by @maxbes
...
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-05 10:45:44 +01:00
Julius Härtl
f69a6c675c
Show the actual error on share requests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-18 15:37:02 +01:00
Daniel Calviño Sánchez
fb19d4afe2
Fix clearing the label of a share
...
When the label is being edited its value is stored in "newLabel", and
the original label is shown only if "newLabel" is not set. However, as
it was checked against any falsy value instead of only undefined when
the label was cleared and thus it has an empty value the original label
was shown instead.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-01-08 09:27:28 +00:00
Julius Härtl
9f5ada5d45
Also include external share results in recommendations
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-30 10:33:52 +01:00
Arthur Schiwon
d8ad4ef6b5
use a consistent default value for sharing.maxAutocompleteResults
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-12-15 11:53:39 +01:00
Julius Härtl
102402bfcb
Show unique displayname context in the user share list entries
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-14 11:14:59 +01:00
Julius Härtl
131fcac91e
Show unique displayname context in the sharing input
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-14 11:14:59 +01:00
Julius Härtl
a86746ea08
Make share results distinguishable if there are more than one with the exact same display name
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-14 11:14:58 +01:00
Julius Härtl
0c7cc95b4e
Show email address for shares that were created by other users
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-10 15:15:20 +00:00
Julius Härtl
49a997bc87
Indicate deck shares as shared in the file list
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:25 +01:00
Julius Härtl
8131965b74
Allow share results to have a detailed description and share entries to have a link
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:24 +01:00
Julius Härtl
f1a54cb6aa
Add share type deck to search results
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:24 +01:00
Julius Härtl
e906138d8d
Let sharees endpoint properly handle deck shares
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:23 +01:00
Morris Jobke
def53f4c64
Use correct l10n source in files_sharing JS code
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-30 16:18:47 +00:00
Arthur Schiwon
f3f819b542
formatting remote sharer should take protocol, path into account
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-26 12:49:16 +01:00
Julius Härtl
5b3558861d
Properly encode path when fetching inherited shares
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-26 09:25:17 +01:00
Julius Härtl
7dc52c9ac0
Fix contacts menu position and show uid as a tooltip
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-24 11:28:39 +01:00
John Molakvoæ (skjnldsv)
bd70dd739e
Fix default internal expiration date enforce
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-11-12 08:14:33 +01:00
Daniel Calviño Sánchez
a1d79b2b2b
Disable share input for a received share if resharing is not allowed
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-11 01:35:10 +01:00
Daniel Calviño Sánchez
9218dfb975
Do not show "Can reshare" in the menu if resharing is not allowed
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-10 22:30:37 +01:00
John Molakvoæ (skjnldsv)
53e56b4d56
Fix js search in undefined ocs response
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-09 12:30:43 +01:00
Gary Kim
25d260838b
Fix link share label placeholder not showing
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-11-07 20:27:29 -05:00
John Molakvoæ
404785dd2b
Merge pull request #23347 from st3iny/enhancement/19526/new-share-pending-confirm-button
2020-11-06 08:04:07 +01:00
Vincent Petry
5474c299d9
Make link share avatar icon blue again
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-05 17:14:29 +01:00
Vincent Petry
88d019e696
Fix link share avatar icon
...
Use "icon-class" instead of "class" as this is how to tell the component
that we don't want initials displayed.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-05 16:43:48 +01:00
Richard Steinmetz
a46c329734
Add confirm button in new link share pending expire/password menu
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-11-05 15:55:39 +01:00
Valdnet
bb38fd8fd5
l10n: Name with a capital letter: SharingInput.vue
2020-10-28 21:14:11 +01:00
John Molakvoæ (skjnldsv)
f0c47bfb6d
Fix sharing input placeholder for emails
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-23 11:48:23 +00:00
John Molakvoæ (skjnldsv)
4de6e80771
Upgrade lifecycle and vue parent context
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-07 09:40:59 +02:00
John Molakvoæ (skjnldsv)
843d799a2e
Move Files Sidebar to proper javascript standard
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-07 09:40:58 +02:00