summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/model
AgeCommit message (Collapse)Author
2016-03-25luci-mod-admin-full: Add DNSSEC dnsmasq optionDaniel Dickinson
If dnsmasq with DNSSEC support is enabled, display options to enable DNSSEC. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
2016-03-19luci-mod-admin-full: Fix dhcpv6 ra_management option stateless valueHannu Nyman
Fix dhcpv6 ra_management option's handling of "stateless" value. Default value for the option is 1, so trying to store "" instead of "0" for stateless is not working. This fixes #676 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-03-17luci-mod-admin-full: allow writing empty crontab configFlorian Eckert
Write an empty crontab file to remove all content from file /etc/crontabs/root Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-03-07luci-mod-admin-full: add dsl configurationHauke Mehrtens
This makes it possible to configure the DSL line from luci. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-02-26luci-mod-admin-full: host-specific dhcp lease time option for static hostsHannu Nyman
Enable setting a host-specific lease time for static hosts. Format is similar as for the default lease time: e.g. 2m, 12h, 3d, infinite Default lease time is used for all hosts without host-specific definition. Support for the option was added to Openwrt trunk by r48801: https://dev.openwrt.org/changeset/48801 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-01Identity field is required for EAP-TLS, too.matthewreeve
This patch enables editing the Identity field in EAP-TLS so that EAP-TLS configuration via LuCI works.
2016-01-25luci-mod-admin-full: only offer VHT rates which are actually supported by ↵Jo-Philipp Wich
the driver Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20luci-mod-admin-full: fx crash in interface modelJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-19Merge pull request #626 from dangowrt/improve-wpa-eapJo-Philipp Wich
luci-admin-full: improve WPA(2)-Enterprise client support
2016-01-19luci-admin-full: improve WPA(2)-Enterprise client supportDaniel Golle
* add more WPA-EAP phase2 authentication methods. * client cert, client key and key password are only relevant for WPA EAP-TLS, change dependency accordingly. * add support for certificates and key for EAP-TLS phase2 auth. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-01-17luci-mod-admin-full: prevent crash if channel of sta is unknown (#624)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-15luci-mod-admin-full: avoid indexing iw.hwmodelist directlyJo-Philipp Wich
Prevent a nil field access when hwmodelist is undefined. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-15validation: Add option ipv4only option to host and hostport datatypesDaniel Dickinson
Some applications only support ipv4 so add ipv4only option to host and hostport datatypes so that for thos applications that when an IP address is specified only and ipv4 ip address gets accepted.
2015-12-02luci-mod-admin-full: fstab: Add ability to redo the detection of block devicesDaniel Dickinson
Adds a button that does block detect and write the new configuration to /etc/config/fstab.
2015-12-02luci-mod-admin-full: fstab: Add ability to set global options like anonymous ↵Daniel Dickinson
mounts Previously the global configuration options were missing the the LuCI configuration, however these options are useful, so make them available to the UI.
2015-12-02luci-mod-admin-full: Don't show jail bind mountsDaniel Dickinson
The user is unlikely to care about the plethora of jail bind mounts when using jails, so don't display them in this app.
2015-12-02luci-mod-admin-full: fstab: Add ability to unmount non-system mountsDaniel Dickinson
Add an unmount button for non-system mounts which will unmount the corresponding file system.
2015-11-26luci-mod-admin-full: limit SSID to 32 characters (#558)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-20luci-mod-admin-full: make mirror port settings depend on mirror enableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-06fix a typo error in command script shown to usersRan Bao
Signed-off-by: Ran Bao <worksev@gmail.com>
2015-11-05luci-mod-admin-full: limit interface name length to 15 charsHannu Nyman
Limit the name of a new interface to 15 characters. Add a note about the maximum length and the automatic protocol/bridge prefixes (br-, 6in4-, pppoe- etc.). Reference to: https://dev.openwrt.org/ticket/20380 https://github.com/openwrt/luci/issues/507 There is a 15 character limit to the "real" interface name, enforced both in the firewall and dnsmasq. The real interface name includes the possible prefix "br-", "6in4-" etc. Example of an error: interface name `br-lan_protected' must be shorter than IFNAMSIZ (15) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-28luci-mod-admin-full: fix dnsmasq no-hosts/addn-hosts optionsOliver Middleton
no-hosts does not disable addn-hosts. Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-09-18luci-mod-admin-full: opkg config / prevent word-wrapHannu Nyman
Prevent word-wrap on the config input areas. Especially the feed definition lines can be long, and automatic word-wrap can decrease clarity. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-15luci-mod-admin-full: restore opkg feed config capabilityHannu Nyman
opkg config was recently changed by https://dev.openwrt.org/changeset/46491/ Existing /etc/opkg.conf was split to three: /etc/opkg.conf -> base opkg configuration /etc/opkg/distfeeds.conf -> default Openwrt package feeds /etc/opkg/customfeeds.conf -> custom package feeds Since then, the actual feed definitions have not been visible/configurable, as only /etc/opkg.conf has been visible in Luci. This patch restores the capability to see and edit package feed definitions. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-07-27When editing an AP wireless network in LuCI, if one or more STA networks are ↵Georgi Valkov
also present on the same radio, then the channel is locked and cannot be changed for the AP. The case when all STA networks are disabled is not considered. This patch fixes the issue. Disabled networks no longer apply a lock on the channel.
2015-07-14Add luci support for dnsmasq option '--servers-file'Lars Kruse
Signed-off-by: Lars Kruse <lists@sumpfralle.de>
2015-04-25luci-mod-admin-full: mount points SWAP fixAndrija Vucinic
SWAP section was showing an error. Fixed it to display the devices/size properly.
2015-04-17luci-mod-admin-full: handle missing size for block devicesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-12luci-mod-admin-full: simply fstab configurationJo-Philipp Wich
Simplify fstab setup by offering hints for uuid/label and device node options. Fix rootfs handling logic by removing obsolete references to the "is_rootfs" option and offering "/" and "/overlay" choices for the mountpoint instead. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-03-02/etc/config/dhcp江海客
config dhcp null
2015-02-14wifi.lua: add "Back to Overview" buttonChristian Schoenebeck
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-08admin_network: interface details, implement back to overviewChristian Schoenebeck
Implements "Back to Overview" on interface details page Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-22luci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-mod-admin-full: switch to luci.ip route functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Update my email addresses in the license headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Globally reduce copyright headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: remove useless "bit" requiresJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: switch to nixio.fsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>