summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-01-28luci-app-upnp: Adding and displaying "Description" to upnp dataCody R. Brown
Getting the Description data from upnp_lease_file. This data often displays the Application Name which made the upnp call. If the upnp_lease_file doesn't exist, it'll just return a blank entry under "Description". upnp_lease_file order example: TCP:33333:192.168.0.100:33333:1485578298:NAT-PMP 33333 tcp As an optimisation, since the upnp_lease_file has only active leases and is ordered by epoch timestamp (5th column above), and since "iptables --line-numbers -t nat -xnvL MINIUPNPD" has active leases and is also displayed in order of rule applied (time). This means the order of these two sources will be the same. This prevents us from "searching" the upnp_lease_file for every rule, and instead for the n'th rule, look at the n'th upnp_lease_file line. As a result we only need to read in one line at a time. For a safety, the upnp_lease_file description is always checked to see if it matches the rule it's being assigned to. If it doesn't match it'll return blank. This means we'll never put an incorrect description to a upnp rule, even if someone messes with the upnp_lease_file. This is the case on my system, more testing may be necessary? If this is false we'll need to loop over the upnp_lease_file for every rule, or read in the whole upnp_lease_file once for the iptables loop. The Description column is added to the upnp_status, and the "Delete Redirect" renamed to "Delete" to make more horizontal space in the table. Signed-off-by: Cody R. Brown <dev@codybrown.ca>
2017-01-27Merge pull request #979 from musashino205/wol-upd-jaHannu Nyman
luci-app-wol: Update Japanese translation
2017-01-27Merge pull request #977 from stangri/luci-app-vpnbypassHannu Nyman
luci-app-vpnbypass: initial commit of companion app to vpnbypass package
2017-01-27luci-app-wol: Update Japanese translationINAGAKI Hiroshi
Added one Japanese translation of recently added string. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-27luci-app-wol: Sync translationsINAGAKI Hiroshi
Synchronized translations with Lua sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-27luci-app-wol: add ability to send packet to broadcast addressHannu Nyman
Add the ability to send the WOL packet to the broadcast address, if etherwake is used as the wol tool. Modified from the original idea in #975 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-27luci-app-wol: move to services menuHannu Nyman
Move the wake-on-lan app from the network menu to services menu, where other similar apps are located. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-26luci-app-vpnbypass: initial commit of companion app to vpnbypass packageStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-01-26Merge pull request #974 from musashino205/base-upd-jaHannu Nyman
luci-base: Update Japanese translation
2017-01-26luci-base: Update Japanese translationINAGAKI Hiroshi
Added and modified some translations for Japanese. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-26Merge pull request #973 from musashino205/sync-transHannu Nyman
i18n: Sync translations
2017-01-26i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations with Lua sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-26luci-mod-admin-full: admin: change password in Map.parse()Jo-Philipp Wich
Move the password setting into the .parse() callback to ensure that it is updated regardless of whether "Save" or "Save & Apply" has been pressed. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26luci-mod-admin-full: support configuring usbport LED triggersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26luci-base: mvalue: fix column wrappingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-25luci-mod-admin-full: reload wifi settings page after changing countey codeJo-Philipp Wich
Reloading the page ensures that the allowed tx power values and channel select lists are properly populated with the new effective values. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-25luci-mod-admin-full: allow unset txpower valueRafał Miłecki
Sometimes txpower is not set so we should have an option with empty value to let it stay unset. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-01-24luci-base: datatypes.lua: add missing parentheses in conditionalJo-Philipp Wich
The missing parens lead to a wrong expression precedence, causing a runtime error when attempting to compare nil with a number. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-24Merge pull request #972 from musashino205/stat-upd-jaHannu Nyman
luci-app-statistics: Update Japanese translation
2017-01-24luci-app-statistics: Update Japanese translationINAGAKI Hiroshi
Added some Japanese translations and fixed some mistranslations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-24luci-app-statistics: Sync translationsINAGAKI Hiroshi
Synchronized translation of each language po file and po templates with Lua source. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-24Merge pull request #959 from EricLuehrsen/unbound_odhcpdHannu Nyman
unbound: update UCI for odhcpd and hostname
2017-01-24unbound: update UCI for odhcpd and hostnameEric Luehrsen
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-01-23luci-app-statistics: add advice about data directory permissionsHannu Nyman
Add advice about the permissions needed for the data directory: Pages are rendered as user 'nobody', so the *.rrd files, data directory and all its parent directories need to be world readable. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-23luci-app-firewall: use new ipmask validation types when applicableJo-Philipp Wich
This allows for address specifications like "fdca:1234:0123::abcd/::ffff:ffff:ffff:ffff" which only match the last 64 bits of an address. This syntax is legal and already supported by iptables and firewall3. Fixes https://bugs.lede-project.org/index.php?do=details&task_id=417 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23luci-base: ipmask, ipmask4 and ipmask6 validatorsJo-Philipp Wich
These validators accept IP address specifications in the form - address - address/bits - address/netmask Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23luci-base: datatypes.lua: cleanup white spaceJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23luci-base: luci.tools.status: properly parse infinite dnsmasq leasesCody R. Brown
The expiry time in a dnsmasq lease file line may be 0 (i.e. expiry date = 01/01/1970 00:00:00 GMT) to denote an infinite lease time, so adjust the code to properly support that. The expiry attribute of the lease object will be set to "false" in case of an infinite lease. This is to mimic the odhcp code below. If the expiry date is not equal to 0, then just do exactly what was done before (return the os.diff of current time and ts). Signed-off-by: Cody R. Brown <dev@codybrown.ca>
2017-01-22Merge pull request #967 from musashino205/cmd-upd-jaHannu Nyman
luci-app-commands: Update Japanese translation
2017-01-21luci-app-commands: Update Japanese translationINAGAKI Hiroshi
Added some Japanese translations of recently added strings. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-21luci-app-commands: Sync translationsINAGAKI Hiroshi
Synchronized translation of each languate and po templates with Lua sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-20Merge pull request #768 from t123yh/app_commands_nodownloadDaniel Dickinson
luci-app-commands: allow executing without downloading on public links
2017-01-16Merge pull request #954 from musashino205/dynpnt-add-jaDaniel Dickinson
luci-app-dynapoint: Add Japanese translation
2017-01-17luci-app-dynapoint: Add Japanese translationINAGAKI Hiroshi
Added Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-16Merge pull request #953 from musashino205/mount-fix-dispDaniel Dickinson
luci-mod-admin-full: Fix display problems of mount
2017-01-16Merge pull request #947 from danrl/proto-wireguardDaniel Dickinson
luci-proto-wireguard: enable addressing for tunnel interfaces
2017-01-16Merge pull request #817 from ascob/luci-app-dynapointDaniel Dickinson
luci-app-dynapoint: new package
2017-01-16Merge pull request #917 from aa65535/masterDaniel Dickinson
luci-base:adjust the code order
2017-01-16Merge pull request #946 from chloe-jeong/trunk-koDaniel Dickinson
Updates korean languages.
2017-01-16Merge pull request #861 from ynezz/masterDaniel Dickinson
luci-mod-admin-full: Store system time into RTC also
2017-01-16Merge pull request #859 from feckert/realtime_wlanDaniel Dickinson
luci-mod-admin-full: show realtime wlan graph only if iw command is installed
2017-01-16luci-base: sync translationsINAGAKI Hiroshi
Recently a string to be translated were added to Lua source, so I synchronized po templates and po file of each language with Lua source. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-16luci-mod-admin-full: Fix display problems of mountINAGAKI Hiroshi
Fixed some display problems where the UUID label of the drop down list does not exist and the positions of other labels are misplaced in mount settings page. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-15luci-app-commands: Allow executing without downloading on public linkst123yh
Signed-off-by: t123yh <t123yh@outlook.com>
2017-01-15luci-app-dynapoint: new packageascob
Add luci-app-dynapoint to repo LuCI Support for DynaPoint Dynapoint allows dynamic access point creation and deletion depending on changes of certain network conditions. More information: https://github.com/thuehn/dynapoint Signed-off-by: Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
2017-01-14Merge pull request #948 from musashino205/wifi-fix-dispDaniel Dickinson
luci-mod-admin-full: Fix display problem of wifi_add
2017-01-15luci-mod-admin-full: Fix display problem of wifi_addINAGAKI Hiroshi
Fixed an issue where the network name is displayed as "%q" on wlan connection destination network settings page. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-14luci-proto-wireguard: enable addressing for tunnel interfacesdanrl
Enable static addresses on WireGuard tunnel interfaces without requiring an static address interface. This removes the requirement to use a static address interface on top of a WireGuard tunnel interface in the majority of cases. In the past, users have been confused by the current approach and asked for a simpler way to configure WireGuard interfaces. Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-01-14luci-app-firewall: Updates korean language.Weongyo Jeong
Initial korean language support for luci-app-firewall. Signed-off-by: Weongyo Jeong <weongyo@gmail.com>
2017-01-14luci-base: Updates korean language.Weongyo Jeong
Signed-off-by: Weongyo Jeong <weongyo@gmail.com>