summaryrefslogtreecommitdiffstats
path: root/core/js/sharetemplates.js
Commit message (Collapse)AuthorAgeFilesLines
* Move oauth admin settings to initialstateRoeland Jago Douma2019-09-281-278/+278
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Remove input id on login formJohn Molakvoæ (skjnldsv)2019-09-281-39/+39
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix updating the password of a link share when passwords are enforcedDaniel Calviño Sánchez2019-01-291-38/+33
| | | | | | | | | | The password input was shown in the popup menu when passwords were not enforced, or when they were enforced but no password was set, which prevented updating/changing the password once set. As the password input should be shown too when password are enforced and a password is set no condition is needed, so now the password input is always shown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Better identification of the public link sharesJohn Molakvoæ (skjnldsv)2018-11-261-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Compile handlebarsRoeland Jago Douma2018-11-201-37/+33
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix share link password inputJohn Molakvoæ (skjnldsv)2018-11-201-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add focus on pending popover openingJohn Molakvoæ (skjnldsv)2018-11-061-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix password enforce on public share linksJohn Molakvoæ (skjnldsv)2018-11-051-1/+3
| | | | 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-12/+22
|\ | | | | Shares are displayed to users with resharing rights
| * Use property to check if a share entry is shared with the current userJulius Härtl2018-11-021-10/+14
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Show share settings for owner and reshare owners onlyJulius Härtl2018-11-021-7/+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-8/+21
|/ | | | | | | | | | | | | | | | | | | | | | | 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>
* Password policy fix and menu open on first shareJohn Molakvoæ (skjnldsv)2018-11-011-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix wording, sort 'Add another link' to bottom so it does not confuseJan-Christoph Borchardt2018-11-011-26/+26
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix password enforcementJohn Molakvoæ (skjnldsv)2018-11-011-49/+55
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix enforce dateJohn Molakvoæ (skjnldsv)2018-11-011-9/+17
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix note displayJohn Molakvoæ (skjnldsv)2018-11-011-5/+11
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Copy link outside menuJohn Molakvoæ (skjnldsv)2018-11-011-11/+11
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Migrate link shares to arrayJohn Molakvoæ (skjnldsv)2018-11-011-25/+32
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add "Hide download" to the menu of link sharesDaniel Calviño Sánchez2018-10-301-20/+33
| | | | | | | | | | 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>
* Extract translated strings of compiled handlebarsRoeland Jago Douma2018-10-051-3/+3
| | | | | | Follow up to #11615 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove leftover 'Roeland Jago Douma2018-10-041-5/+4
| | | | | | Followup to #11583 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move OC.Share to compiled handlebarsRoeland Jago Douma2018-10-041-0/+629
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>