summaryrefslogtreecommitdiffstats
path: root/core/js/shareitemmodel.js
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup sharing leftoversJohn Molakvoæ (skjnldsv)2019-11-051-945/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Comply to eslintJohn Molakvoæ (skjnldsv)2019-10-011-276/+273
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #12105 from nextcloud/using-resharing-right-to-display-sharesRoeland Jago Douma2018-11-041-0/+13
|\ | | | | Shares are displayed to users with resharing rights
| * Show share settings for owner and reshare owners onlyJulius Härtl2018-11-021-0/+13
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add "Password protect by Talk" to the menu of link sharesDaniel Calviño Sánchez2018-11-021-1/+4
|/ | | | | | | | | | | | | | | | | | | | | | | When Talk is enabled the menu for link shares now shows a checkbox to protect the password by Talk (that is, to show the "Request password by Talk" UI in the authentication page for the link share). Although in e-mail shares protecting the share with a password and protecting the password by Talk are mutually exclusive actions (as when the password is set it is sent to the sharee, so it must be set again when protecting it by Talk to be able to verify the identity of the sharee), in the case of link shares protecting the password by Talk is an additional step to protecting the share with a password (as just setting the password does not disclose it to anyone). As such, the checkbox is shown only when there is a password set for the link share (even if the field itself for the password is not shown, like when they are enforced in the settings). Note that the icon set for the field, "icon-passwordtalk", does not currently exist; it is the same used for e-mail shares, and it is needed simply to get the right padding in the menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #11844 from nextcloud/multiple-link-sharesMorris Jobke2018-11-011-34/+25
|\ | | | | allow to create multiple link shares via share api
| * Migrate link shares to arrayJohn Molakvoæ (skjnldsv)2018-11-011-34/+25
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Do not set indeterminate state for file sharesJulius Härtl2018-10-311-0/+6
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add "Hide download" to the menu of link sharesDaniel Calviño Sánchez2018-10-301-0/+5
| | | | | | | | | | Hiding the download does not depend on other settings and it does not affect other settings either (for example, it would be possible to hide the downloads yet make the share editable), so a simple checkbox was added to the menu. However, note that this option is only available for files, but not for folders. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Adjust some jsdocsJulius Härtl2018-10-241-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Take base permissions from DAV, fixes #10516Arthur Schiwon2018-08-151-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Tests fixes and design bumpJohn Molakvoæ (skjnldsv)2018-07-211-0/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Popovermenu migrationJohn Molakvoæ (skjnldsv)2018-07-211-0/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* SharedWithDisplayName + SharedWithAvatarMaxence Lange2018-05-211-0/+15
| | | | | Signed-off-by: Maxence Lange <maxence@nextcloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add share permissions to settings pageBjoern Schiessle2018-02-271-8/+9
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add indeterminate state to 'can edit' share permission checkbox, see #8371Maximilian Wende2018-02-151-6/+20
| | | | Signed-off-by: Maximilian Wende <dasisdormax@secure.mailbox.org>
* Make files drop more permanentRoeland Jago Douma2017-05-041-0/+18
| | | | | | Implement the suggestions from #2207 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix share indicator handlingVincent Petry2017-04-261-0/+14
| | | | | Properly update the fileInfoModel with the updated share types, which also updates the file list row indicator properly
* Merge pull request #4462 from danxuliu/fix-sharing-password-protected-linkRoeland Jago Douma2017-04-251-32/+28
|\ | | | | Fix sharing a password protected link
| * Extract common ajax call for addShare and updateShareDaniel Calviño Sánchez2017-04-241-36/+17
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Document options parameter in saveLinkShareDaniel Calviño Sánchez2017-04-241-1/+8
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add "complete" callback support for addShareDaniel Calviño Sánchez2017-04-241-0/+4
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add "complete" callback support for updateShareDaniel Calviño Sánchez2017-04-241-0/+4
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix link password toggleRoeland Jago Douma2017-04-241-1/+1
|/ | | | | | | We took the wrong field from the share api response. So the password was never shown as set. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Show 'shared via' in share list for resharesRoeland Jago Douma2017-04-111-0/+27
| | | | | | | | | | | | Fixes #1330 userA shares a file to userB userB shares that file to userC userA can see both userB and userC. Now they can also see that userB shared it to user C Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* set expire date for all share typesBjoern Schiessle2017-04-031-0/+14
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add secure drop functionallity to mail sharesBjoern Schiessle2017-04-031-0/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add new password column to the share table in order to set passwords for ↵Bjoern Schiessle2017-04-031-1/+1
| | | | | | share by mails Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow editing single files shared as public linkBjoern Schiessle2017-01-241-0/+16
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Use group display name in sharing API + UIVincent Petry2016-12-221-0/+8
|
* disable checkboxes during save op to avoid race conditionsArthur Schiwon2016-12-081-1/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix some coding style and stricter comparisons, makes scrutinizer happierArthur Schiwon2016-12-081-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* flicker-free permission change in share dialogArthur Schiwon2016-12-081-0/+20
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove 'send mail notification' option from sharing, replaced by ↵Bjoern Schiessle2016-11-021-43/+0
| | | | | | send-by-mail feature Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Remove notify recipient optionRoeland Jago Douma2016-10-261-29/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Display link resharesRoeland Jago Douma2016-10-101-1/+1
| | | | | | | * No longer filterout all other link shares * Display link shares in shareelist (below normal shares) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Group incoming shares for resharing in JSVincent Petry2016-08-031-1/+28
|
* Merge branch 'master' into sync-masterMorris Jobke2016-07-071-1/+19
|\
| * add hide file list optionBjoern Schiessle2016-06-091-1/+19
| |
* | better detect errors in fed sharing responseRobin Appelman2016-06-241-1/+1
|/
* always share with same default permissions, no special handling for remote ↵Björn Schießle2016-04-201-15/+11
| | | | shares
* bring back CRUDS permissions for federated sharesBjoern Schiessle2016-04-181-6/+0
|
* Provide proper feedback when creating a share in the webUIRoeland Jago Douma2016-02-121-5/+3
| | | | | | | Fixes #22304 Creating a share is not instant (especially not for federated shares) so we should show that something is happening in the webUI properly.
* Only show link shares for the current userRoeland Jago Douma2016-02-101-0/+9
| | | | | | | Currently we have no way to display multiple links in the UI. So just display the link share for the current user. Fixes #22275
* Properly forward error messages in share dialogVincent Petry2016-01-281-7/+46
|
* Share dialog use OCS APIVincent Petry2016-01-281-192/+141
|
* Ensure the password is only hashed in case it's changed on the client - ↵Thomas Müller2015-10-221-2/+9
| | | | fixes #19950
* Fix share email sending feedbackVincent Petry2015-10-081-1/+7
| | | | Redisplay email address after failure
* Show loading spinner for first fetch of sharesVincent Petry2015-09-281-0/+2
| | | | | Whenever the sidebar first loads shares, show a spinner instead of an empty content
* Merge pull request #19305 from owncloud/share-hasusersharesThomas Müller2015-09-241-2/+15
|\ | | | | Fix ShareItemModel.hasUserShares to only check shares of current item