nextcloud/apps/files_sharing/lib
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
..
Activity Update message shown when unsharing a file 2018-06-18 13:12:23 +03:00
AppInfo accept/decline group shares 2018-07-11 10:11:46 +02:00
BackgroundJob Add background job to refresh federated discovery 2018-04-18 19:20:26 +02:00
Collaboration fix sharerecipientssorter tests 2017-10-27 16:03:37 +02:00
Command Update license headers 2017-11-06 16:56:19 +01:00
Controller Add event to load additional scripts in the auth page for public shares 2018-07-24 14:04:22 +02:00
Exceptions Fix apps/ 2016-07-21 18:13:57 +02:00
External fix unit tests 2018-07-11 10:21:00 +02:00
Middleware Don't allow public share pages if link sharing is disabled 2018-06-20 08:53:37 +02:00
Migration Fix array method usages with a proper call 2018-01-25 22:20:10 +01:00
ShareBackend update unit tests 2018-07-11 10:11:48 +02:00
Cache.php delay calculating the shared cache root until it's used 2017-12-04 15:16:39 +01:00
Capabilities.php add share permissions to settings page 2018-02-27 12:29:25 +01:00
DeleteOrphanedSharesJob.php Fix apps/ 2016-07-21 18:13:57 +02:00
ExpireSharesJob.php Update license headers 2017-11-06 16:56:19 +01:00
Helper.php Remove unused static sharing helper code 2018-02-27 22:40:59 +01:00
Hooks.php accept/decline group shares 2018-07-11 10:11:46 +02:00
ISharedStorage.php Update with robin 2016-07-21 18:13:58 +02:00
MountProvider.php Update license headers 2017-11-06 16:56:19 +01:00
Scanner.php Update license headers 2017-11-06 16:56:19 +01:00
SharedMount.php Less deprecated calls to OCP\Util::writeLog 2018-04-22 20:41:49 +02:00
SharedStorage.php Update license headers 2017-11-06 16:56:19 +01:00
Updater.php Use ::class statement instead of string 2018-01-29 12:03:47 +01:00