Open mmeeks opened 1 month ago
Other bits we might need: users have a habit of corrupting their settings (somehow) - so a "restore defaults" - which just deletes all settings would be useful in the Nextcloud settings.
@pedropintosilva and @juliushaertl - you'd be interested in this perhaps :-)
We would like a new API extension to WOPI that lets us serialize configuration data; essentially a two layer system and then user set of settings. Discussed with @elzody
CheckFileInfo -> we want two directory listings: [ each with a file-name, and an opaque to us string etag (- did it change? -) ] -> one directory per system ... -> one directory per user ...
=> similar to the fonts end-point ? ... => could re-use the JSON there ? ...
=> implementation should use AppData
URLs -> to find this stuff ...
Fun code in: lib/Controller/DocumentController.php lib/Controller/WopiController.php
Links to other things in the WopiController.php response
We would need an end-point:
to up-load over existing files ...
create new files [!?] ...
richdocuments/appinfo/routes.php -> defines the end-points.
Suggest we use eg. 'SettingJSON' = '{ foo }' in the CheckFileInfo ... and have URLs in there.
would use access_token for authentication for the fetch & up-load.