summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-upnp
AgeCommit message (Collapse)Author
2018-07-13luci-app-upnp: tweak table markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-30i18n: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-28luci-app-upnp: cleanup UPnP lease status markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-app-upnp: rework lease status indicatorJo-Philipp Wich
Turn the dynamic lease status table into responsive table by using the cbi_update_table() helper in conjunction with title annotation attributes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-17luci-app-upnp: update Ukrainian translationYurii
2018-05-28treewide: convert HTML tables to divJo-Philipp Wich
Mostly convert HTML tables to div based markup to allow for easier styling in the future. Also change JS accessor code accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-09luci-app-upnp: change leasefile location hintKevin Darbyshire-Bryant
Change default leasefile hint from /var/log/upnp.leases to /var/run/miniupnpd.leases Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-05-05luci-app-upnp: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-02luci-app-upnp: support igdv1 run time flagKevin Darbyshire-Bryant
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-04-05treewide: filter shell arguments through shellquote() where applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-20luci-app-upnp: zh_CN: Update Simplified Chinese translationQian Zheng
Signed-off-by: Qian Zheng <sotux82@gmail.com>
2018-01-30i18n-ru: fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-20i18n-ru: Edits on the general pattern of Russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-14added project info, were reviewed in graphical mode, ready for a stable releaseVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-11Correction by script i18n-sync.sh with editing of Russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-11fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-08fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-03fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru> [renamed swedish advanced-reboot.po as well, fixed a syntax error, filtered updated files through ./build/i18n-sync.sh] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-12-28i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-11-11luci-app-upnp: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-11-11i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-11-10Merge pull request #980 from NvrBst/pull-request-upnp_descriptionJo-Philipp Wich
luci-app-upnp: Adding and displaying "Description" to upnp data
2017-10-20luci-app-upnp: Update Chinese translationAngus Ding
Fix Chinese translations. Signed-off-by: Angus Ding <angus.ding@gmail.com>
2017-04-15luci-app-upnp: fix setting ucitrack init optionYousong Zhou
Fixes FS#693 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-02-23luci-minuupnpd: use enable flagKevin Darbyshire-Bryant
Add a 'master' miniupnpd service enable flag rather than just relying on rcS.d script existence. This allows the service to be disabled across sysupgrade, similar to minidlna. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2017-02-11luci-app-miniupnpd: restore missing luci install fileKevin Darbyshire-Bryant
Restore luci indexcache handling incorrect removed in https://github.com/openwrt/luci/commit/387a06bb73462312c075e53ce9e6002d4af09e92 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
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-03i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-24luci-app-upnp: Update Japanese translationINAGAKI Hiroshi
Added some translations and fixed mistranslated string. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2015-12-20i18n: sync translationsHannu Nyman
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-18luci-app-upnp: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-10-28fix string "UPNP" -> "UPnP"Oliver Middleton
Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-10-21luci-app-upnp: protect lease delete call with csrf tokenJo-Philipp Wich
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-06-22Delete luci-upnpkdarbyshirebryant
Stop sys upgrade automatically disabling miniupnpd on first boot after upgrade. I spent a lot of time tracking this behaviour down which only occurs if you have luci-app-upnp installed.
2015-02-28luci-app-upnp: supress stderr when listing MINIUPNPD chainJo-Philipp Wich
Current OpenWrt trunk now relays uhttpd stderr to syslog, so don't spam it with "iptables: No chain/target/match by that name." when miniupnpd is not configured but its status is queried by an overview page applet. 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-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>