Jo-Philipp Wich
75b462fe46
luci-app-firewall: capitalize weekday names ( #691 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-03-31 14:27:29 +02:00
Jo-Philipp Wich
362db10f88
luci-mod-admin-full: add sleep before sysupgrade
...
- Under some conditions the system will shutdown
uhttpd before the page will be delivered to
the client. Waiting one second should eleminate
this behaviour.
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com >
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-03-17 15:55:23 +01:00
Jo-Philipp Wich
516689a646
Merge pull request #655 from hnyman/nat6
...
Add support for showing ipv6 NAT table in Luci
2016-03-17 15:32:26 +01:00
Jo-Philipp Wich
ecb9ee8e5d
Merge pull request #669 from hnyman/git-branch
...
LuCI: Display the proper LuCI git branch in GUI
2016-03-11 12:23:37 +01:00
Jo-Philipp Wich
ac9b31ca46
Merge pull request #665 from hauke/lantiq-dsl
...
add configuration for the DSL line
2016-03-08 11:02:02 +01:00
Jo-Philipp Wich
ddc893ccc2
Merge pull request #659 from NeoRaider/default-language
...
modules/base: dispatcher: use default language if automatic choice fails
2016-03-01 17:54:49 +01:00
Jo-Philipp Wich
55597da3a8
luci-base: cbi: fix misplaced ID in nullsection template
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-24 17:40:53 +01:00
Jo-Philipp Wich
e78759ad5a
luci-base: cbi: also initialize JS if pageactions are disabled
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-24 17:40:01 +01:00
Jo-Philipp Wich
385a49277a
luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox widgets
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-23 09:27:25 +01:00
Jo-Philipp Wich
4323935a1e
luci-base: luci.sys: canonicalize src and dest addrs in luci.sys.net.conntrack()
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-20 22:14:47 +01:00
Jo-Philipp Wich
3b86fd1d1b
luci-base: cbi: fix button handling for dynamic lists
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-19 17:21:06 +01:00
Jo-Philipp Wich
99f5d4e902
luci-base: cbi.js: properly round down numbers for %u and %d patterns
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-17 16:33:34 +01:00
Jo-Philipp Wich
a860de860a
luci-base: cbi.js: string formatting fixes
...
* Fix left and right justify/padding in formats
* Do not emit decimal numbers for small values in %m format
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-15 12:45:42 +01:00
Jo-Philipp Wich
5cfad4338f
luci-app-firewall: rely on auto-serialization for combobox choices
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 19:38:44 +01:00
Jo-Philipp Wich
5b09d39e9c
luci-base: cbi: rely on auto-serialization for combobox choices
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 19:36:37 +01:00
Jo-Philipp Wich
afdc349ab4
luci-base: cbi: rework ListValue and MultiValue templates
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 19:33:01 +01:00
Jo-Philipp Wich
8f409a45ab
luci-base: dispatcher: let attr() automatically serialize JSON
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 19:31:10 +01:00
Jo-Philipp Wich
9ce798abd4
luci-base: cbi: properly handle dependant elements without parent
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 19:29:34 +01:00
Jo-Philipp Wich
58e2f557da
luci-base: cbi: only spawn dynlist sub-comboboxes if choices are available
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 18:23:39 +01:00
Jo-Philipp Wich
f33695d456
luci-app-firewall: align custom cbi teplates with new code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 18:13:53 +01:00
Jo-Philipp Wich
6d126649f0
luci-base: cbi: further refactoring
...
Eliminate more inline scripts in favor to global initialization, use a global
object for sharing fixed strings instead of passing them to each invocation.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 18:11:49 +01:00
Jo-Philipp Wich
4990ec831c
luci-mod-admin-full: fix direct package install
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 13:42:56 +01:00
Jo-Philipp Wich
5e113afdd7
luci-theme-openwrt: untangle & refactor header.htm code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 13:41:06 +01:00
Jo-Philipp Wich
76041e7f99
luci-theme-openwrt: add some style fixes for interface badges
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-10 00:47:37 +01:00
Jo-Philipp Wich
cd85ef388c
luci-base: fix dependency handling of optionals ( #645 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-09 16:12:02 +01:00
Jo-Philipp Wich
84de513a79
luci-base: cbi: remove duplicate id from template
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-09 16:12:02 +01:00
Jo-Philipp Wich
d65235f64a
luci-base: fix parsing of non-TCP streams in conntrack table
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org >
2016-02-02 11:52:51 +01:00
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