summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialoglinkshareview.js
Commit message (Collapse)AuthorAgeFilesLines
* Remove the char because it breaks the export from transifexJoas Schilling2017-06-121-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* rename secure drop back to files drop because of name collision with ↵Bjoern Schiessle2017-05-181-1/+1
| | | | | | securedrop.org Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix event firingRoeland Jago Douma2017-05-041-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add radio class to read/write sharing options and 1px left adjustmentFelix A. Epp2017-05-041-3/+3
| | | | Signed-off-by: Felix A. Epp <work@felixepp.de>
* Fix read-only label idFelix A. Epp2017-05-041-1/+1
| | | | Signed-off-by: Felix A. Epp <work@felixepp.de>
* Make files drop more permanentRoeland Jago Douma2017-05-041-59/+47
| | | | | | Implement the suggestions from #2207 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix "Copied" message for public linksMorris Jobke2017-05-011-3/+0
| | | | | | | | | * share a file/fodler by public link and click the copy to clipboard icon and watch the tooltip * before: it said "Copy" * after: it now says "Copied" after clicking the button Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4462 from danxuliu/fix-sharing-password-protected-linkRoeland Jago Douma2017-04-251-1/+3
|\ | | | | Fix sharing a password protected link
| * Use "complete" callback in onPasswordEnteredDaniel Calviño Sánchez2017-04-241-2/+1
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Fix working icon not hidden when successfully setting a passwordDaniel Calviño Sánchez2017-04-241-0/+3
| | | | | | | | | | | | | | | | | | When a request to set the password of a shared link is sent a working icon is shown. However, as there was no "success" callback, the icon was never hidden again after successfully setting the password (it worked fine if there was an error, though). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix working icon placement on password saveDaniel Calviño Sánchez2017-04-241-2/+2
|/ | | | | | | | | | | | | Before, the icon appeared below the text input for the password. Now, it appears inside the text input, to the right end. The CSS was adjusted based on other icons shown in that position for other text inputs in the Share tab view, like the information icon or the clipboard icon. Fixes #4135 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Allow social sharing to specify if a new window is openedRoeland Jago Douma2017-04-201-7/+13
| | | | | | | For example mail shares should not open a new window because it looks weird. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix translationsJoas Schilling2017-04-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #4093 from nextcloud/endorse-password-protectionRoeland Jago Douma2017-04-041-4/+22
|\ | | | | Endorse password protection
| * let the user set an empty password for share linkTimo Benk2017-04-031-3/+21
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * endorseLinkPassword changed to enableLinkPasswordByDefaultTimo Benk2017-04-031-1/+1
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * feature endorse password for share linksTimo Benk2017-04-031-1/+1
| | | | | | | | | | | | | | | | works like "enforce password protection", but let the user optionally remove the password protection after the password is set. Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Do not show social menu when there is no link shareRoeland Jago Douma2017-03-311-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Rename File drop to Secure dropOlivier Paroz2017-03-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove auto-focus on certain input fieldsFelix Heidecke2017-03-231-1/+3
| | | | | | | | * remove autofocus on input certain input fields if browser is msie * Update sharedialoglinkshareview.js * Update sharedialogview.js Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix layout of sharing buttonsMorris Jobke2017-03-141-13/+18
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make sure copy tooltip remains when we have no social providersRoeland Jago Douma2017-03-031-5/+22
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move social buttons to menuRoeland Jago Douma2017-03-031-8/+95
| | | | | | | | | * If there are social sharing buttons move them and the copy action to a menu * If there are no social sharing buttons just leave the copy action where it is directly Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow editing single files shared as public linkBjoern Schiessle2017-01-241-1/+38
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix wording of File drop, ref #2207Jan-Christoph Borchardt2016-11-221-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix tooltips - they now properly change on clickMorris Jobke2016-11-161-13/+20
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adds copy tooltip to clipboardsRoeland Jago Douma2016-11-151-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove 'send mail notification' option from sharing, replaced by ↵Bjoern Schiessle2016-11-021-1/+0
| | | | | | send-by-mail feature Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Link 'Allow editing' => 'Allow upload and editing'Roeland Jago Douma2016-08-281-1/+1
| | | | Fixes #146
* Fix some jshint issues in core/js/share*Roeland Jago Douma2016-08-191-3/+5
|
* Add clipboard button to public share linkThomas Müller2016-07-201-0/+35
|
* Don't need update permissions on hidden filesJoas Schilling2016-07-141-1/+1
|
* Add delete permissions to the default (new in oc9.1)Joas Schilling2016-07-141-1/+1
|
* Merge remote-tracking branch 'upstream/master' into master-sync-upstreamLukas Reschke2016-06-271-1/+1
|\
| * Add explicit delete permission to link sharesVincent Petry2016-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Link shares always allowed deletion, however internally the permissions were stored as 7 which lacked delete permissions. This created an inconsistency in the Webdav permissions. This fix makes sure we include delete permissions in the share permissions, which now become 15. In case a client is still passing 7 for legacy reasons, it gets converted automatically to 15.
* | smaller files drop fixesArthur Schiwon2016-06-111-2/+2
| | | | | | | | | | | | * fix infinite spinner on blacklisted files * move HTML to template * indentation
* | Fix indentationLukas Reschke2016-06-091-16/+16
| |
* | add hide file list optionBjoern Schiessle2016-06-091-4/+41
|/
* Reordered share link settingsVincent Chan2016-05-021-9/+9
| | | | closes #24122
* extract mail view for sending share invitationsChristoph Wurst2016-04-191-69/+0
| | | | fixes #22947
* Update error text for link passwordsMorris Jobke2016-03-041-0/+2
| | | | | | * this removes the old tooltip first before showing the new one to update the text - otherwise the old text will be shown
* Only show link spinner if the share existsRoeland Jago Douma2016-02-101-1/+1
| | | | | If there is no share to delete do not set the spinner. Fixes #21726
* Share dialog use OCS APIVincent Petry2016-01-281-7/+15
|
* Fix duplicate bogus share field when link sharing is not allowedVincent Petry2015-12-071-6/+9
| | | | | | | | | Whenever link share is not allowed, it was outputting a bogus sharing field which name would conflict with the regular sharing field. This fix makes sure that the bogus sharing field with "Resharing not allowed" message only appears when triggered by removed share permissions.
* [IE9] Don't send link share password placeholderVincent Petry2015-10-261-7/+12
| | | | | | | | | When exiting the password field in the share dialog, IE9 would mistakenly think that the password has changed and would send the placeholder. This fix prevents changing the password whenever the placeholder is set as value.
* Fix share link focus on clickVincent Petry2015-10-261-2/+3
| | | | Clicking on the link share must focus and select it
* Fix spinner positions in share tabVincent Petry2015-10-161-0/+1
| | | | Also fix missing spinner when removing link share
* Fix DOM element ids in share dialogVincent Petry2015-10-161-46/+57
| | | | | | | | - Rely on class names instead of global ids - When global ids are needed for label+checkbox, append the view id (cid) to the element's id This fixes the checkboxes when multiple sidebars exist in the DOM.
* Fix share email sending feedbackVincent Petry2015-10-081-2/+8
| | | | Redisplay email address after failure
* Do not remove linkshare if there is noneRoeland Jago Douma2015-10-051-1/+5
| | | | | | | | If the password is enforced we can't create a link share right away but just show the password field. Untoggling the link sharing should not try to remove the share. * Added unit test