luci/modules/luci-base
Daniel F. Dickinson 6ec0353201 modules: Make luci-base sufficient to use luci apps
Per the discussion in https://github.com/openwrt/luci/issues/869, make
luci-base sufficient to login, logout, and review and apply or revert
uci changes.  This allows most luci-app-xxx to work without having
luci-mod-admin-full installed.

It has been tested with some apps and not luci-mod-admin-full, as well
as with luci-mod-admin-full (to make sure the usual case doesn't break).

Instead of creating a new module namespace (e.g. 'Base') we reduce the
opportunities for breakage by having luci-base take over the 'shell' of
the 'Administration' (admin/....) namespace.

Since admin is assumed by all current building LuCI components (including
Freifunk), this doesn't introduce the 'Administration' tab into any
situation where it would not already be present (but includes it where it
was before).

We also add a "Component not installed" page to avoid fatal errors and
backtrace when e.g. luci-mod-admin-full is not installed.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-09-19 20:08:19 +02:00
..
htdocs luci-base: xhr.js: decode JSON for POST requests as well 2018-07-27 14:07:23 +02:00
luasrc modules: Make luci-base sufficient to use luci apps 2018-09-19 20:08:19 +02:00
po luci-base: update Turkish translation 2018-09-13 23:17:57 +03:00
root Merge pull request #952 from cshore-history/pull-request-fstab-avoid-block-umount-on-apply 2018-07-16 22:12:38 +02:00
src Revert "luci-base: add urldecode() and urlencode() C implementations" 2018-04-18 16:21:27 +02:00
Makefile fix compilation failure when luasrcdiet is being copied to non existing directory 2018-07-30 19:32:37 +05:30