summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-06-22luci-app-firewall: update cbi modelsJo-Philipp Wich
- allow multiple src/dest ips for rules (#1637) - restrict ICMP type list to ICMP protocol - add section title callbacks - remove size annotations - fix validation error with aliased zone fields (#1882) Fixes #1637, #1882. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-22luci-base: xhr.js: defer starting poll queueJo-Philipp Wich
Defer the start of the queue poll loop until the document has been loaded. This allows all XHR.poll() invocations on the page to register their handlers before the first batch of requests is made. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-18Merge pull request #1894 from YuriPet/patch-2Hannu Nyman
luci-app-firewall: update Ukrainian translation
2018-06-18luci-app-firewall: update Ukrainian translationYurii
Updated with the latest synchronization of the translation.
2018-06-18Merge pull request #1891 from YuriPet/masterHannu Nyman
Correcting native name Ukrainian language & update Ukrainian translation
2018-06-18Merge pull request #1892 from musashino205/l10n/fw-upd-jaHannu Nyman
luci-app-firewall: update Japanese translation
2018-06-18luci-app-firewall: update Japanese translationINAGAKI Hiroshi
Updated japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-18luci-app-firewall: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-17luci-base: update Ukrainian translationYurii
2018-06-17luci-app-firewall: update Ukrainian translationYurii
2018-06-17luci-app-upnp: update Ukrainian translationYurii
2018-06-17luci.mk: Correcting native name Ukrainian language.Yurii
2018-06-17Merge pull request #1889 from Ansuel/lucnginxHannu Nyman
luci-nginx: add nginx support file
2018-06-17luci-nginx: add nginx support fileAnsuel Smith
This adds nginx-mod-luci as a dependency of this package. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-17Merge pull request #1886 from musashino205/l10n/fix-syntax-ukHannu Nyman
i18n: fix syntax errors in Ukrainian po
2018-06-16i18n: fix syntax errors in Ukrainian poINAGAKI Hiroshi
"Content-Type: text/plain; charset=UTF-8" was wrote twice in each of base.po and firewall.po, and one was an incorrect place which was the cause of the errors. And, The escape in abbr HTML tag was incorrect, so I fixed it. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-12Merge pull request #1862 from Ansuel/lucidepHannu Nyman
luci-nginx: add nginx metapackages
2018-06-12Merge pull request #1879 from sotux/master_zh_CNHannu Nyman
luci-app-firewall: zh_CN: change better translation for offloading
2018-06-12luci-app-firewall: zh_CN: change better translation for offloadingZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-11luci-nginx: add nginx metapackagesAnsuel Smith
Create a metapackage with nginx as default webserver instead of uhttpd Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-11Merge pull request #1877 from Ansuel/ddnsipkgHannu Nyman
luci-app-ddns: use standard pkg info function
2018-06-11Merge pull request #1876 from ldir-EDB0/wgurlHannu Nyman
wireguard: update wireguard url
2018-06-11luci-app-ddns: use standard pkg info functionAnsuel Smith
DDns script call another sh script to check ddns-scripts version. We can use the quicker IPKG.info function instead of execute another slow command. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-11wireguard: update wireguard urlKevin Darbyshire-Bryant
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-06-11luci-app-firewall: Fix typo in forwards redirectKristian Evensen
When creating a forwarding rule with protocol set to other, a user is forwarded to the configuration page. The URL for the configuration page contained a typo - the user was forwarded to admin/network/firewall/redirect/cfg... and not admin/network/firewall/forwards/cfg..., leading to a 404. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2018-06-10Merge pull request #1875 from YuriPet/masterHannu Nyman
luci-base & luci-app-firewall: update Ukrainian translation
2018-06-10luci-app-firewall: disable port fields when protocol is not TCP or UDPTom Hodder
It's currently possible to generate nonsensical firewall rules by inputting combinations which include: i) protocols other than UDP/TCP ii) source and destination ports. There is some discussion of the issue on the forum here and the issue is here; #1850. This patch makes fields like src_port and dest_port depend on protocol being tcp, udp or "tcp udp" in the input, forwarding and source NAT forms. Signed-off-by: Tom Hodder <tom@limepepper.co.uk> [reword commit message, squash commits] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-10luci-app-firewall: update Ukrainian translationYurii
Updated Ukrainian translations. Signed-off-by: Yurii yuripet@gmail.com
2018-06-10luci-base: update Ukrainian translationYurii
Updated Polish translations. Signed-off-by: Yurii <yuripet@gmail.com>
2018-06-10Merge pull request #1874 from Rixerx/masterHannu Nyman
luci-base: update Polish translation
2018-06-10luci-base: update Polish translationKrystian Kozak
Updated Polish translations. Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-06-09Merge pull request #1868 from sotux/master-zh_CNHannu Nyman
Update Simplified Chinese translation
2018-06-09luci-app-adblock: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09luci-app-mwan3: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-08luci-app-firewall: recognize egress rules in rule overviewJo-Philipp Wich
Along with 74be6f397 ("treewide: switch firewall zone, network and iface lists to dropdown code"), this change allows luci-app-firewall to recognize OUTPUT rules. Fixes #1457. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08luci-mod-admin-full: add suggested italian translationsJo-Philipp Wich
Merge two italian translations suggested in #1870 and add back two missing dots accidentially removed from the translations in a previous commit. Fixes: 588c8618b ("luci-mod-admin-full: fix translation interpolation in JS confirm() calls") Suggested-by: Ansuel Smith <ansuelsmth@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08luci-mod-admin-full: fix translation interpolation in JS confirm() callsJo-Philipp Wich
Use luci.http.write_json() in conjunction with translate() to write out unescaped translation strings in a manner suitable for interpolation inside JavaScript. Fixes #1870 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08luci-mod-admin-full: git rid of embedded newlines in translation stringsJo-Philipp Wich
Also switch one usage of raw '<%_ ... %>' interpolation to '<%: ... %>' in order to avoid issues with translations using apostrophes. Globally resnyc translations after the fix. Fixes #1866. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08luci-base: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-08Merge pull request #1867 from dibdot/adblockDirk Brenken
luci-app-adblock: partly revert last commit
2018-06-08luci-app-adblock: partly revert last commitDirk Brenken
* use now CSS for non breaking spaces in div table header Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-08treewide: switch firewall zone, network and iface lists to dropdown codeJo-Philipp Wich
Also switch the weekday and monthday lists in the firewall rule details to cbi dropdowns, vastly uncluttering the form. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08luci-base: add markup, JS and CSS for new dropdownJo-Philipp Wich
This commit introduces the required code for a new, markup based dropdown widget which can be used as a styleable alternative to select boxes or radio/checkbox button groups. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08luci-base: support option aliases in luci.cbiJo-Philipp Wich
AbstractValue descendants may now specify a new optional property `alias` which refers to a uci option to read/write/remove that differs from the option name itself. This is mainly useful for widgets that are toggled based on dependencies, e.g. for alternating between SingleValue and MultiValue, but which are intented to write into the same uci option. Such a setup was previously possible already by overriding the .cfgvalue(), .write() and .remove() callbacks with custom implementations, but that required a lot of boiler plate code and was rather fragile. With the `alias` property, CBI now takes care of the details and tracks aliased fields within a section accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08Merge pull request #1863 from dibdot/adblockDirk Brenken
luci-app-adblock: sync with adblock 3.5.3
2018-06-07Merge pull request #1864 from Ansuel/masterDirk Brenken
luci-app-ddns: fix div conversion
2018-06-07luci-app-ddns: fix div conversionAnsuel Smith
This fix some error from conversion of #1854 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-07Merge pull request #1854 from jollaman999/masterHannu Nyman
luci-app-ddns: Convert HTML tables to div
2018-06-07luci-app-adblock: sync with adblock 3.5.3Dirk Brenken
* small fixes & cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-06luci-base: fix some minor luci.model.uci issuesJo-Philipp Wich
- Properly serialize option delete changelogs - Do not perform a section create if a nil value is passed to set() Signed-off-by: Jo-Philipp Wich <jo@mein.io>