Jo-Philipp Wich 94ab57f48c luci-mod-admin-full: restructure and fix backup, restore and sysuprade (#517)
Do not use standard post security checking for actions that require file upload
since reading the token value will trigger parsing of the http message body
before the file upload handler has been set, which causes LuCI to buffer the
entire request body in memory.

In order to simplify the code and logic flow, split action_flashops() into
separate handlers for reset, backup, restore and sysupgrade.

Let the backup restore and sysupgrade handlers use the new test_post_security()
method in luci.dispatcher to perform token checking *after* setting the upload
handler.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22 08:48:06 +02:00
2015-09-01 16:49:19 +02:00
2015-10-02 11:34:12 +02:00
2015-04-20 10:08:23 +02:00
2008-11-19 23:02:36 +00:00

OpenWrt luci feed

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

S
Description
LuCI - OpenWrt Configuration Interface
Readme Apache-2.0
554 MiB
Languages
JavaScript 70.4%
C 12.4%
Lua 5.8%
CSS 3.6%
UnrealScript 3%
Other 4.7%