learnweb / moodle-repository_owncloud

[ARCHIVE] Starting Moodle 3.6, our plugin ships with Moodle! :tada: Use this:
https://docs.moodle.org/en/Nextcloud_repository
GNU General Public License v3.0
8 stars 8 forks source link

Make use of OCS link names #9

Open Dagefoerde opened 7 years ago

Dagefoerde commented 7 years ago

In ownCloud / OCS, public links can be described using a name. That does not (seem to) affect the link, but provides the owner with a description in the list of public shares. We should make use of it, because it explains to file owners why there is a link that they have not created explicitly.

Dagefoerde commented 7 years ago

I don't know the OCS api, but assume it would go into $ocsquery in lib.php:get_link().