now uses JSON.stringify instead of creating pseudo JSON data via
`'{' + variable + '}'`
also simplify uci naming
Signed-off-by: Paul Spooren <paul@spooren.de>
as reported [here][1] the board_name is not everywhere unified yet. to
solve this problem, the model name is transported as well and used as a
fallback identifier
[1]: https://github.com/aparcar/gsoc17-attended-sysupgrade/issues/26
Signed-off-by: Paul Spooren <paul@spooren.de>
add a keep-settings checkbox to the webview
this PR depends on [this][1] PR in openwrt/packages
[1]: https://github.com/openwrt/packages/pull/4689
Signed-off-by: Paul Spooren <paul@spooren.de>
A forum.lede-project.org member had trouble understanding how to configure Samba.
This is help text for Shared Directories.
Signed-off-by: Bob Meizlik <bobmseagithub@squakmt.com>
[whitespace fixed]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
When there is no ss_rules section, the "Redir Rules" tab will have empty
form in the generated page. This is especialy the case when the
shadowsocks-libev config is from an earlier version before 3.0.6-2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
since the update server now checks packages for updates the web view
will show all changed package versions. this PR is also important to
support future package transformations of the server
Signed-off-by: Paul Spooren <paul@spooren.de>
uhttpd-mod-ubus is missing on some devices where rpcd is installed.
the luci app fundamentally depends on /ubus
Signed-off-by: Paul Spooren <paul@spooren.de>
the slash leads to // redirecting to /. The redirecting causes problems
with CORS [1].
[1]: http://enable-cors.org/
Signed-off-by: Paul Spooren <paul@spooren.de>
Add a simple luci view in system tab to perform a sysupgrade
with no hassle.
Asks an external update server for upgrades, downloads and
flashes the upgrade.
This packge is the frontend for my current GSoC project:
https://summerofcode.withgoogle.com/projects/#5684958571003904
More code is found here:
https://github.com/aparcar/gsoc17-attended-sysupgrade
Signed-off-by: Paul Spooren <paul@spooren.de>
[jo@mein.io: squash commits, remove PKGARCH from Makefile]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
When displaying the most current accounting period, pass an empty timestamp
to the backend in order to query the current in-memory data instead of the
latest committed values.
This ensures that the dashboard always renders the most current data in its
default view.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* rework wireless station re-ordering code, now complete uci index
based, therefore no longer tied to a definite order of wifi-iface
sections
Signed-off-by: Dirk Brenken <dev@brenken.org>