summaryrefslogtreecommitdiffstats
path: root/core/templates/publicshareauth.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #32683 from nextcloud/backport/32371/stable24blizzz2022-06-111-1/+1
|\ | | | | [stable24] More meaningfull message when a public authenticated share's password is wrong or has expired.
| * More meaningfull message when a public authenticated share's password is ↵Cyrille Bollu2022-06-011-1/+1
| | | | | | | | | | | | wrong or has expired Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* | Various improvements related to the recent implementation of temporary passwordsCyrille Bollu2022-06-081-9/+6
|/ | | | | | | | | | | | | | | for mail shares: 1- Changes style of "forgot password?" and "Back" button 2- Adds information about share password's expiration time in the emails sent. 3- Shows password expiration time in the Share menu 4- Fixes an issue when the message "Password expires..." would be shown for non email share types (which don't have temporary passswords) 5- At share's creation, password should only be sent when it's a permanent one See also https://github.com/nextcloud/server/issues/31952 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-2/+57
| | | | | | | | | | | | | | | | | | shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* Fix "misplaced variables" warning of Psalm in PHPDoc statementsMorris Jobke2020-08-171-2/+2
| | | | | | Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add event to load additional scripts in the auth page for public sharesDaniel Calviño Sánchez2018-07-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | Before the public share authentication page is rendered now an event to load additional scripts is dispatched. Thanks to this any app can load its own scripts that, when run on the browser, adjust as needed the page generated by the server. Note, however, that during the handling of the event apps are only able to add scripts or styles to be loaded; they can not render arbitrary content on the page, or change how the content is rendered by the original template; all those changes have to be done by the scripts at run-time. This implies that the scripts of the apps can use only those parameters, like the token of the share, added to the page when it is generated by the "publicshareauth" template. Due to this, and given that the event is being introduced to be used by Talk to inject the UI needed to request the password for a share, the token of the share is now provided in the generated page, just like done in the public share page. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Move public auth page overRoeland Jago Douma2018-06-201-0/+27
Now this is in core so the basics (that 99% of the app will want to use) looks always the same. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>