nextcloud/core/templates
Daniel Calviño Sánchez 96108ab858 Add event to load additional scripts in the auth page for public shares
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>
2018-07-24 14:04:22 +02:00
..
filetemplates Fix #24655 2016-05-17 20:43:02 +02:00
loginflow Improve login flow 2018-04-08 13:42:36 +02:00
lostpassword Adjust style of new password form to default 2017-11-16 21:18:15 +01:00
403.php Fix 403 and 404 redirect 2017-07-26 16:30:09 +02:00
404.php Fix 403 and 404 redirect 2017-07-26 16:30:09 +02:00
error.php Improve design of various error messages 2017-08-12 18:48:48 +02:00
exception.php Use array in t() calls in exception template 2018-02-23 11:18:29 +01:00
filepicker.html show empty folder message in filepicker 2016-10-21 16:35:55 +02:00
installation.php Fix more templates 2018-02-21 20:30:44 +01:00
layout.base.php Acceptance and mobile navigation fixes 2018-07-24 11:01:11 +02:00
layout.guest.php Add locale to templates 2018-07-06 09:23:01 +02:00
layout.noscript.warning.php Prevent XSS in links which open a new browser window 2017-10-19 12:16:04 +02:00
layout.public.php Acceptance and mobile navigation fixes 2018-07-24 11:01:11 +02:00
layout.user.php Cleanup structure 2018-07-20 23:35:21 +02:00
login.php Fix form labels and main landmark on log in page 2018-04-18 16:14:09 +02:00
message.html Remove uninterpreted PHP 2016-08-19 14:24:26 +02:00
publicshareauth.php Add event to load additional scripts in the auth page for public shares 2018-07-24 14:04:22 +02:00
tags.html addressing #14982 self-closing tags ending slash doesn't have a purpose & should be removed 2015-03-17 23:57:23 +01:00
twofactorselectchallenge.php Make 2FA providers stateful 2018-06-20 08:30:26 +02:00
twofactorshowchallenge.php Properly allow \OCP\Authentication\IApacheBackend to specify logout URL 2017-08-18 12:22:44 +02:00
untrustedDomain.php Show a link to the docs instead of a button on the untrusted domain page 2018-04-17 17:47:11 +02:00
update.admin.php reduce info on update screens, introduce button to refresh 2016-08-04 12:48:25 +02:00
update.use-cli.php Prevent XSS in links which open a new browser window 2017-10-19 12:16:04 +02:00
update.user.php addressing #14982 self-closing tags ending slash doesn't have a purpose & should be removed 2015-03-17 23:57:23 +01:00