summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full
AgeCommit message (Collapse)Author
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-18luci-mod-admin-full: interface status page / clarify address displayHannu Nyman
Copy the changes made by f8d0ba00b2ff27dc9e2f10712bc343ae655fbdf9 also to the interface details pages in order to clarify display of multiple addresses. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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-08luci-mod-admin-full: update IPv4/IPv6 list viewsAlexander Logger
For better view of 'Interface Overview' IPv4/IPv6 addresses for interfaces should be displayed as lists, but not as comma separated strings. Signed-off-by: Alexander Logger <intagger@gmail.com>
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-21luci-mod-admin-full: fix script regression after ↵Jo-Philipp Wich
152ba9ab228ad4ea4c1748f29fe4ffa5f8f74ac6 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-19luci-mod-admin-full: revert accidential button type change in ↵Jo-Philipp Wich
20fdac1ac4a126ceebde13fb627a9f88bba0e2b3 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17luci-mod-admin-full: allow empty mac in interface statusJo-Philipp Wich
Also adjust for changed IP address format emitted by iface_status call. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17luci-mod-admin-full: use :ipaddrs() and :ip6addrs() helper for iface_statusJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-16luci-mod-admin-full: prevent submit with interface delete button (#549)Jo-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-10-27Move libubus-lua dependency to luci-baseJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22luci-mod-admin-full: fix invalid markup in packages.htm (#518)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22luci-mod-admin-full: restructure and fix backup, restore and sysuprade (#517)Jo-Philipp Wich
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-21luci-mod-admin-full: do not access dispatcher.context.urltoken in logoutJo-Philipp Wich
The urltoken table is going to be removed. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20luci-mod-admin-full: protect iptables counter reset and restart with tokenJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20luci-mod-admin-full: protect network post actions with csrf tokensJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20luci-mod-admin-full: protect clock, flash and opkg ops with submit tokenJo-Philipp Wich
* 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-07Globally replace luci.dispatcher.build_url(...) with url(...) invocationsJo-Philipp Wich
Also concat multiple string arguments into one while we're at it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07luci-mod-admin-full: switch to POST action for rebootJo-Philipp Wich
Also rework the reboot tmeplate a little bit. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-mod-admin-full: switch to POST actions for UCI changesJo-Philipp Wich
Switches UCI apply/revert/save to CSRF token protected POST actions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06Globally convert headline anchors into name attributes.Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-mod-admin-full: status: survive broken DSL status outputJo-Philipp Wich
Only attempt to call "dsl_func" if the dsl_control lucistat output could be successfully evaluated. Works around https://dev.openwrt.org/ticket/20607 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
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-16Luci opkg/packages: Show package size in list of available packagesHannu Nyman
Add package *.ipk size information to package listing in Luci, as opkg was today extended to support listing also the size information. Visible fields are now: name, version, size, description That will help users considering installation of a certain package to assess its size impact on flash. Note: Opkg data includes the size of the .ipk file, not the expanded size. 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-27Fix: A disabled wireless network may be shown as enabled, when multiple ↵Georgi Valkov
networks are defined on the same radio.
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-07-03luci-mod-admin-full: restart the firewall instead of reloading itJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-27Merge pull request #358 from freifunk-leipzig/masterJo-Philipp Wich
luci-mod-admin-full: change adress to an ipv6-enabled host
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-15luci-mod-admin-full: switch to a ipv6 enabled hostFreifunkUFO
change hostname to dev.openwrt.org.. that is available via ipv4 AND ipv6
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-09Avoid setting duplicate cookiesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
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>