luci-base: use cgi-io and rpcd-mod-file to handle file upload and browsing
authorJo-Philipp Wich <jo@mein.io>
Tue, 3 Sep 2019 17:34:33 +0000 (19:34 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Sep 2019 13:28:16 +0000 (15:28 +0200)
commit3f93650901caf9e4094aeaee6a47d68efafeac97
treed47615a249b781bc8b1508a9f1b3fc8120371c25
parent1fcf34510a6c7994df3ca95e2e754db19870ce4b
luci-base: use cgi-io and rpcd-mod-file to handle file upload and browsing

Remove the old server side support for file browsing and file uploading
and switch to a client side widget instead which uses XMLHTTPRequests to
upload files via cgi-io and RPC calls for file listing and status queries.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/Makefile
modules/luci-base/htdocs/luci-static/resources/cbi.js
modules/luci-base/htdocs/luci-static/resources/form.js
modules/luci-base/htdocs/luci-static/resources/ui.js
modules/luci-base/luasrc/view/cbi/filebrowser.htm [deleted file]
modules/luci-base/luasrc/view/cbi/upload.htm
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
modules/luci-mod-admin-full/luasrc/controller/admin/filebrowser.lua [deleted file]