Jo-Philipp Wich
6d7b293692
Merge pull request #637 from matthewreeve/patch-1
...
luci-mod-admin-full: Identity field is required for EAP-TLS, too.
2016-02-02 09:39:35 +01:00
Jo-Philipp Wich
2e92c0718a
luci-app-firewall: drop_invalid is default on in OpenWrt now
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-29 18:50:24 +01:00
Jo-Philipp Wich
8eaac4b637
Use numeric prefixes for uci-defaults scripts
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-27 16:50:19 +01:00
Jo-Philipp Wich
445ae20db8
luci-mod-admin-full: only offer VHT rates which are actually supported by the driver
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-25 18:16:37 +01:00
Jo-Philipp Wich
02a93bca50
luci-mod-admin-full: map DHCPv6 DUIDs to MACs
...
Map DUIDs to their corresponding MAC addresses in order to correlate them with
IPv4 information. This is useful to e.g. identify IPv6 hosts which do not send
a name.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-25 17:54:44 +01:00
Jo-Philipp Wich
4f47a18bb1
luci-mod-admin-full: fix displaying of VHT rates ( #533 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-25 17:07:40 +01:00
Jo-Philipp Wich
61239741d8
luci-base: fix initialization of MultiValue options
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-23 17:34:53 +01:00
Jo-Philipp Wich
8d451c77c1
Merge pull request #629 from chris5560/master
...
sys.lua _nethints(): read location of dhcp.lease file from uci
2016-01-23 17:09:27 +01:00
Jo-Philipp Wich
63d70daae1
luci-mod-admin-full: align assoclist in wifi overview with status index page
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-20 17:29:40 +01:00
Jo-Philipp Wich
df7ab69eba
luci-base: luci.sys.net: use luci.ip.neighbors() instead of /proc/net/arp
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-20 17:27:51 +01:00
Jo-Philipp Wich
258836441b
luci-mod-admin-full: show more information in assoc list ( #540 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-20 16:59:31 +01:00
Jo-Philipp Wich
c1f7cb36b8
luci-theme-bootstrap: add new utility class for table valign, minor tweaks
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-20 16:59:06 +01:00
Jo-Philipp Wich
c23885f6a7
luci-base: add luci.sys.net.host_hints() and regenerate documentation
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-20 16:56:25 +01:00
Jo-Philipp Wich
e0988b089b
luci-mod-admin-full: fix device selection in wireless and bandwidth realtime stats
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-20 13:45:27 +01:00
Jo-Philipp Wich
e03f2b780a
luci-mod-admin-full: fx crash in interface model
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-20 10:52:37 +01:00
Jo-Philipp Wich
8630a1dbfb
Merge pull request #626 from dangowrt/improve-wpa-eap
...
luci-admin-full: improve WPA(2)-Enterprise client support
2016-01-19 11:08:46 +01:00
Jo-Philipp Wich
c57d60e3e6
luci-theme-bootstrap: css fix for map level tabs
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-19 11:00:15 +01:00
Jo-Philipp Wich
7b7783f0ee
luci-base: cbi: optimize tab hide logic
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-19 10:36:54 +01:00
Jo-Philipp Wich
6f688a3265
luci-base: cbi: fix event binding js
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-19 10:36:54 +01:00
Jo-Philipp Wich
3f5fae2223
luci-base: add missing Lua side changes for new dependency code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-19 08:07:28 +01:00
Jo-Philipp Wich
2bd428ad8a
luci-base: cbi: prevent unintended focus on combobox init
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-18 20:14:47 +01:00
Jo-Philipp Wich
5eaf4cc489
luci-base: cbi: refactor event handling js
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-18 19:34:02 +01:00
Jo-Philipp Wich
808c1b77f9
luci-base: cbi: fix reverse field order after dependency change
...
When fields got removed and readded due to unsatisfied dependencies, they
got inserted in reverse order into the dom.
Fix this issue by properly passing the element index.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-18 18:59:19 +01:00
Jo-Philipp Wich
b50471787f
luci-base: refactor cbi dependency handling code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-18 17:05:36 +01:00
Jo-Philipp Wich
be8dba57a9
luci-base: improve tab hide logic
...
Do not rely on explicit child counts but inspect the code instead to decide
when to hide tabs or not.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-18 11:23:11 +01:00
Jo-Philipp Wich
1600b600dd
luci-theme-bootstrap: style fixes for map level tabs and disabled buttons
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-18 11:06:35 +01:00
Jo-Philipp Wich
aa12e53333
luci-base: add extra css class for map level tabs, don't track tab child count
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-18 11:04:15 +01:00
Jo-Philipp Wich
879804f1d4
luci-base: do not render section description tag when description is empty
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-18 11:00:57 +01:00
Jo-Philipp Wich
718466ea76
luci-mod-admin-full: prevent crash if channel of sta is unknown ( #624 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-17 19:04:02 +01:00
Jo-Philipp Wich
b3c69b123a
luci-theme-bootstrap: fix menu url generation ( #625 )
...
Also untangle Lua code and markup for better readability, use tabs for
indentation and build_url() to construct paths instead of concatenating
them manually.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-17 18:02:32 +01:00
Jo-Philipp Wich
a5e43323e7
Merge pull request #593 from Umeaboy/patch-12
...
luci-app-splash: Edited Swedish translation
2016-01-15 19:23:53 +01:00
Jo-Philipp Wich
1bf268de06
luci-base: add basic support for CBI map level tabbing
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-15 17:42:40 +01:00
Jo-Philipp Wich
27281dca56
luci-base: prevent CBI map save on invalid values ( #618 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-15 17:04:28 +01:00
Jo-Philipp Wich
eaf961fa70
luci-base: initialize CBI optionals on initial Map render ( #618 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-15 16:39:15 +01:00
Jo-Philipp Wich
ad064f0b03
Merge pull request #563 from cshore/pull-request-app-uhttpd
...
Pull request app uhttpd
2016-01-15 15:20:41 +01:00
Jo-Philipp Wich
1a7b0b22a8
Merge pull request #613 from tsl0922/tsl0922-patch-1
...
luci-theme-material: set default font-size to 13px
2016-01-15 15:17:42 +01:00
Jo-Philipp Wich
12ec21d744
luci-mod-admin-full: avoid indexing iw.hwmodelist directly
...
Prevent a nil field access when hwmodelist is undefined.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-15 14:13:44 +01:00
Jo-Philipp Wich
81e80c4b87
luci-base: properly handle ubus connections for non-root ( #570 , #571 )
...
Instead of relying on the connect-before-setuid hack, ship a proper
acl definition file whitelisting the procedures that LuCI requires
on its non-root pages.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-11 15:21:46 +01:00
Jo-Philipp Wich
6619e66fc9
luci-proto-ipv6: allow hostnames for dslite peer addresses ( #621 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-01-10 13:19:34 +01:00
Jo-Philipp Wich
967bb1f36f
Merge pull request #464 from remakeelectric/pulls/list-operations
...
get/set list operations and documentation
2015-12-17 02:39:23 +01:00
Jo-Philipp Wich
0dcb549841
Merge pull request #579 from cshore/pull-request-protocol-vpnc
...
protocols: vpnc: Add vpnc as a network protocol
2015-12-17 02:38:41 +01:00
Jo-Philipp Wich
23df4ffaf7
Merge pull request #437 from fkooman/issue-436
...
introduce tls_version_min and tls_version_max, add key_direction and …
2015-12-17 02:37:55 +01:00
Jo-Philipp Wich
e19098d062
Merge pull request #462 from jplitza/jsonc-sink
...
luci-lib-jsonc: Add ltn12-compatible sink factory
2015-12-17 02:36:45 +01:00
Jo-Philipp Wich
31816e92f1
Merge pull request #577 from cshore/pull-request-safe-file-upload
...
luci-base: Make default for FileUpload 'safe'
2015-12-17 02:32:47 +01:00
Jo-Philipp Wich
3dfa111db8
Merge pull request #578 from cshore/pull-request-validator-rework
...
Pull request validator rework
2015-12-17 02:32:10 +01:00
Jo-Philipp Wich
cfd2b5d2a4
Merge pull request #581 from Umeaboy/patch-2
...
luci-app-wshaper: Edited Swedish translation
2015-12-17 02:31:48 +01:00
Jo-Philipp Wich
d01c4c7ae6
Merge pull request #580 from Umeaboy/patch-3
...
luci-app-ahcp: Edited Swedish translation
2015-12-17 02:25:08 +01:00
Jo-Philipp Wich
f25c4e07bc
Merge pull request #564 from cshore/pull-request-app-firewall-timedate
...
Pull request app firewall timedate
2015-12-15 23:08:17 +01:00
Jo-Philipp Wich
19b85c34fc
Merge pull request #562 from cshore/pull-request-upload-dir
...
modules/luci-base: Move LuCI FileUpload directory to /etc/luci-upload…
2015-12-15 22:56:47 +01:00
Jo-Philipp Wich
63155e9932
luci-app-olsr: use public interface of luci.model.network.wifinet ( #569 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-12-09 16:51:48 +01:00
Jo-Philipp Wich
397294ab06
luci-base: rewrite luci.sys.net.conntrack()
...
The new function is twice as fast as the old implementation and properly
summarizes outgoing and incoming byte and packet counters.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-12-09 15:54:43 +01:00
Jo-Philipp Wich
3bae3c7f5e
Merge pull request #461 from marcel-sch/patch-1
...
package/community-profiles: add freifunk cottbus profile
2015-12-04 20:04:55 +01:00
Jo-Philipp Wich
3a58ef46c2
Merge pull request #559 from Arnie97/add-openvpn-proto
...
luci-app-openvpn: Add udp6 and tcp6 to proto
2015-12-03 16:42:58 +01:00
Jo-Philipp Wich
e8465b3e4f
Merge pull request #565 from yousong/l2tp-server
...
Allow host:port value for l2tp `server` option
2015-12-02 13:57:05 +01:00
Jo-Philipp Wich
9b30357454
luci-base: add hostport and ipaddrport validation types
...
Add two new types 'hostport' and 'ipaddrport' to validate strings in the form
'sub.example.org:1234' and '0.0.0.0:80'. The 'hostport' accepts hostnames or
IP addresses followed by a colon and a port number while the 'ipaddrport' type
accepts numeric IP addresses only, followed by a colon and a port.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-12-02 11:13:39 +01:00
Jo-Philipp Wich
ea9f25b63e
Merge pull request #561 from cshore/pull-request-fstab-improvements
...
Pull request fstab improvements
2015-12-02 10:44:10 +01:00
Jo-Philipp Wich
9c9118566c
luci-app-openvpn: add route_nopull ( #560 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-30 07:58:34 +01:00
Jo-Philipp Wich
c123fa86b0
Merge pull request #534 from yousong/add-luci-proto-pppossh
...
Add luci proto pppossh
2015-11-26 23:23:15 +01:00
Jo-Philipp Wich
ce04adb383
luci-mod-admin-full: limit SSID to 32 characters ( #558 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-26 12:30:53 +01:00
Jo-Philipp Wich
c478101ca4
luci-mod-admin-full: fix script regression after 152ba9ab22
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-21 13:53:43 +01:00
Jo-Philipp Wich
55f458326d
luci-base: use board.json to infer switch netdev
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-21 00:31:06 +01:00
Jo-Philipp Wich
fbfa62627f
luci-base: switch to luci-lib-jsonc
...
Add dependency on luci-lib-jsonc and use it to
reimplement luci.util.serialize_json().
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-21 00:29:55 +01:00
Jo-Philipp Wich
9b5046259f
luci-mod-admin-full: make mirror port settings depend on mirror enable
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-20 23:44:55 +01:00
Jo-Philipp Wich
f16405df91
luci-mod-admin-full: revert accidential button type change in 20fdac1ac4
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-19 10:02:41 +01:00
Jo-Philipp Wich
20fdac1ac4
luci-mod-admin-full: allow empty mac in interface status
...
Also adjust for changed IP address format emitted by iface_status call.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-17 17:42:22 +01:00
Jo-Philipp Wich
152ba9ab22
luci-mod-admin-full: use :ipaddrs() and :ip6addrs() helper for iface_status
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-17 17:36:00 +01:00
Jo-Philipp Wich
e626599c26
luci-base: eliminate use of uci state vars in luci.model.network
...
Also implement :ipaddrs() and :ip6addrs() helper for network instances.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-17 17:35:02 +01:00
Jo-Philipp Wich
9b176c8d7b
luci-mod-admin-full: prevent submit with interface delete button ( #549 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-16 14:30:13 +01:00
Jo-Philipp Wich
092d2143bd
luci-base: fix uci documentation issue ( #538 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-11-16 12:37:23 +01:00
Jo-Philipp Wich
1cb3adb619
Merge pull request #396 from fanthos/master
...
luci-app-qos: Add custom QOS classes to luci dropdown list
2015-11-11 10:15:33 +01:00
Jo-Philipp Wich
2258d3de25
Merge pull request #535 from saik0/redirect-root-if-empty-signed
...
Redirect to root on empty path (signed off)
2015-11-11 10:14:34 +01:00
Jo-Philipp Wich
927dc1aff9
luci-base: eliminiate use of uci state vars in luci.sys
...
Rewrite `luci.sys.wifi.getiwinfo()` to use the ubus wireless state instead of
depreacated uci state vars in order to map abstract network notation to
wireless ifnames.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-27 14:13:05 +01:00
Jo-Philipp Wich
57ba1922b7
Add link to API reference
2015-10-27 13:24:09 +01:00
Jo-Philipp Wich
6d368a4033
Move libubus-lua dependency to luci-base
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-27 13:09:21 +01:00
Jo-Philipp Wich
f9e590aa47
luci-theme-material: do not infer login state from url ( #520 )
...
Checking for `;` in the url is no good indicator whether a user is logged in,
instead query the dispatcher and set a `logged-in` CSS class on the `<body>`
element if a session exists.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-22 21:08:22 +02:00
Jo-Philipp Wich
6c4341ee01
luci-mod-admin-full: fix invalid markup in packages.htm ( #518 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-22 12:20:20 +02:00
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
Jo-Philipp Wich
d32c685039
luci-base: dispatcher expose test_post_security()
...
Allows external code to perform POST and token checking manually.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-22 08:30:29 +02:00
Jo-Philipp Wich
79383f5a74
luci-base: ensure that base url is emitted with trailing slash
...
Now that we don't have an url token anymore, '/cgi-bin/luci' becomes a valid
url while cookies are restricted to only '/cgi-bin/luci/' and below.
In order to ensure that the first request after login refers to a path
covered by the authentication cookie, change build_url() to always append
a trailing slash if we're referring to the base url.
This should fix the login problems mentioned in #516 .
While we're touching the dispatcher, also remove remaining url token code.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 16:48:25 +02:00
Jo-Philipp Wich
b4d62d3fd7
luci-mod-admin-full: do not access dispatcher.context.urltoken in logout
...
The urltoken table is going to be removed.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 16:43:07 +02:00
Jo-Philipp Wich
86326e0def
luci-base: remove security token from urls
...
Now that sensitive urls require post requests and only accept them if a valid
security token is sent along the request, we can drop the global random url
token to improve LuCI usability.
The main improvement is the ability to use multiple tabs with the same login
session, but also deep linking to specific urls without the need for another
login becomes feasible, e.g. for documentation purposes.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 00:31:27 +02:00
Jo-Philipp Wich
f23f7b8751
luci-app-upnp: protect lease delete call with csrf token
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 00:11:28 +02:00
Jo-Philipp Wich
c1278f967e
luci-app-splash: protect admin status call with csrf token
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 00:09:55 +02:00
Jo-Philipp Wich
ac34dfa0bc
luci-app-radicale: protect start/stop actions with csrf token
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 00:03:56 +02:00
Jo-Philipp Wich
ae9fb03e74
luci-app-privoxy: protect start/stop actions with csrf token
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 00:03:03 +02:00
Jo-Philipp Wich
0f1f5140e3
luci-app-ocserv: protect disconnect action with csrf token
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-21 00:00:55 +02:00
Jo-Philipp Wich
b9ed03c5a9
luci-app-ddns: protect start/stop actions with csrf token
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-20 23:58:01 +02:00
Jo-Philipp Wich
d4666757b7
luci-mod-admin-full: protect iptables counter reset and restart with token
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-20 22:27:39 +02:00
Jo-Philipp Wich
8bb749ecc3
luci-mod-admin-full: protect network post actions with csrf tokens
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-20 22:17:23 +02:00
Jo-Philipp Wich
6b3f804956
luci-base: filter invalid opkg status lines
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-20 21:04:46 +02:00
Jo-Philipp Wich
b5826f1ffb
luci-mod-admin-full: protect clock, flash and opkg ops with submit token
...
* Use post_on() target to require csrf token verification for modifying actions
* Ensure that package and flash operation handlers guard modifying operations
with parameter check
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-20 21:04:46 +02:00
Jo-Philipp Wich
562c47e5fd
luci-base: generalize post security token handling
...
* Add a generic helper function to check need for post / csrf token validation
* Remove custom token verification in cbi targets
* Support requiring post security depending on specific submit parameters,
usable through post_on() action
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-20 21:04:46 +02:00
Jo-Philipp Wich
d1da53512e
luci-app-ddns: fix typo in previous commit
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-12 11:14:01 +02:00
Jo-Philipp Wich
49a7c5bd03
luci-app-ddns: remove title <a> hacks
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-12 09:14:49 +02:00
Jo-Philipp Wich
222284578b
Merge pull request #505 from roger-/dump1090-latlon
...
dump1090: lat/lon should be floats
2015-10-08 02:06:08 +02:00
Jo-Philipp Wich
bd504f552d
luci-base: prevent UCI changes in CBI if form is not in submit state
...
Only process submitted data if the "cbi.submit" parameter is present as the
dispatcher will verify the integrity of the CSRF token in this case.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-08 00:30:14 +02:00
Jo-Philipp Wich
281d2f6178
Globally replace luci.dispatcher.build_url(...) with url(...) invocations
...
Also concat multiple string arguments into one while we're at it.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-07 19:07:36 +02:00
Jo-Philipp Wich
49a2cb5ad1
luci-base: expose luci.dispatcher.build_url() as url() in templates
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-07 13:03:42 +02:00
Jo-Philipp Wich
3f29078fb9
luci-base: protect simpleforms with CSRF tokens
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-07 12:24:58 +02:00
Jo-Philipp Wich
38a9993bd1
luci-mod-admin-full: switch to POST action for reboot
...
Also rework the reboot tmeplate a little bit.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2015-10-07 01:54:56 +02:00