summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-10-10Merge pull request #2197 from yangfl/masterHannu Nyman
treewide: Fix typos in comments
2018-10-10luci-mod-status: fix CDATA marker on iptables status pageJo-Philipp Wich
Fixes: f6bfac211 ("luci-mod-status: rework iptables status page") Reported-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10luci-base: move luci.sys.iptparser into separate packageJo-Philipp Wich
Since commit f6bfac211 ("luci-mod-status: rework iptables status page"), nothing in luci-base depends on the iptparser class anymore, so fold it out into a separate package and let the few apps that require it depend on the new library package. Saves about 10K uncompressed in luci-base while the iptables status rework enlarged the markup by roughly 5KB, saving roughly 5KB of size overall. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10luci-mod-status: rework iptables status pageJo-Philipp Wich
- Parse and format iptables listing in client side JS - Dynamically update packet counters Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10treewide: Fix typos in commentsyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-10luci-base: show default forwarding policy in zone forwarding listJo-Philipp Wich
The zone forwarding list widget misleadingly displays the intra-zone forwarding policy as default policy action when no forwardings exist instead of the appropriate global defaults forwarding policy which is the one applied to inter-zone forwarded traffic. Fix the issue by displaying the defaults policy and not the per-zone policy to match what the firewall implementation is actually doing. Fixes: #2213 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10luci-base: validate name in firewall zone selector widgetJo-Philipp Wich
When creating a new zone through the firewall zone selector widget, validate the given name before creating new items. Depends on commit 0b6ae96f2 ("luci-base: cbi.js: recognize invalid input in dropdown create field"). Fixes: #2211 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10luci-base: cbi.js: recognize invalid input in dropdown create fieldJo-Philipp Wich
This is required to allow for validating the create field values in later commits. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10Merge pull request #2216 from yangfl/ifacelistJo-Philipp Wich
luci-mod-network: show bridges in ifacelist when the interface itself is not a bridge
2018-10-10luci-mod-network: show bridges in ifacelist when the interface itself is not ↵yangfl
a bridge It's completely OK to select a bridge as the underlying interface of other interfaces, say a tunnel or PPPoE. The only case which should be forbidden is bridge over bridge. Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-09timezone data: update to 2018eHannu Nyman
Update timezone data to 2018e http://mm.icann.org/pipermail/tz-announce/2018-May/000050.html North Korea switches back to +09 on 2018-05-05. The main format uses negative DST again, for Ireland Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-10-09Merge pull request #2200 from pmelange/freifunk_profiles_nameserverJo-Philipp Wich
freifunk profiles: add nameserver 80.67.169.40
2018-10-08Merge pull request #2208 from remakeelectric/snmp-agentxJo-Philipp Wich
luci-app-snmpd: Allow turning off agentx
2018-10-08luci-app-snmpd: Allow turning off agentxKarl Palsson
AgentX support doesn't actually require TCP, it also works over unix domain sockets, and UDS is the only method that's compiled in by default. Remove that misleading text, and make the section add/removable so that you can remove it to disable agentx support. Behaviour with multiple sections is undefined. (don't do that!) This matches the current behaviour of the snmpd init script, which will enable agentx with the compile time default settings if the agentx socket config is blank/missing. Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-10-05Merge pull request #2202 from dibdot/travelmateDirk Brenken
luci-app-travelmate: sync with update 1.2.4
2018-10-05Merge pull request #2195 from dibdot/wg-qrcodeDirk Brenken
luci-app-wireguard: add QR Code support plus fixes
2018-10-05luci-app-travelmate: sync with update 1.2.4Dirk Brenken
* with the config option 'trm_radio' you can now restrict travelmate to a single radio (e.g. 'radio1') or change the overall scanning order (e.g. 'radio1 radio2 radio0') * LuCI: show QR codes now inline on the overview page (collapsed by default) Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-04freifunk profiles: add nameserver 80.67.169.40 from www.fdn.fr/actions/dnspmelange
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-10-03luci-base: reword rollback notification dialogJo-Philipp Wich
Rename "Apply unchecked" to "Apply anyway" for better clarity and update the base translation files accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-02luci-app-nlbwmon: fix nil value concatJo-Philipp Wich
Do not concatenate the yet undefined mtime variable to avoid a controller error with backtrace. Fixes: b3642f476 ("luci-app-nlbwmon: add proper file names for json and csv exports.") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-02Merge pull request #2198 from TDT-AG/pr/20181002-luci-app-mwan3Hannu Nyman
luci-app-mwan3: fix i18n traceback
2018-10-02luci-app-mwan3: fix i18n tracebackFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-01Merge pull request #2191 from Ansuel/zramJo-Philipp Wich
luci-mod-system: add zram options
2018-10-01luci-mod-system: add zram optionsAnsuel Smith
This adds option to configure zram size and compression algo Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-10-01luci-app-wireguard: add QR Code support plus fixesDirk Brenken
* add optional QR Code support to status page (per wg Interface), submitted information via QR code are: - [Interface] (list of) Address / PrivateKey - [Peer] Endpoint / PublicKey / (list of) AllowedIPs - support multiple interfaces and peers * fix XHTML rendering errors with OpenWrt standard theme * fix logical glitch with empty descriptions, remove needless variables * left align the output for better viewing esp. with material theme * freshen up design a little bit * switch space indentation to tabs Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-01Merge pull request #2194 from yangfl/masterJo-Philipp Wich
i18n: update Chinese translation
2018-10-01Merge pull request #2192 from Ansuel/wifiJo-Philipp Wich
luci-app-network: add rekey option
2018-10-01i18n: update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-09-30luci-proto-pppossh: move pppossh to own packageFlorian Eckert
This is a special proto which should go into a separate package. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-30luci-proto-hnet: move hnet to own packageFlorian Eckert
This is a special proto which should go into a separate package. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-29luci-app-network: add rekey option and inactivity tweakAnsuel Smith
This option is usefull to solve some problems with ath10k-ct and random client disconnect. This also adds some extra option to tune inactivity settings Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-29luci-app-nlbwmon: the default CSV delimiter should be a commaAmeer Dawood
Suggested-by: Ameer Dawood <ameer1234567890@gmail.com> [slightly reword commit subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-app-nlbwmon: add proper file names for json and csv exports.Ameer Dawood
Currently, the json and csv exports are just named `data` which is not intuitive. This adds proper file name extensions using the Content-disposition HTTP header. Suggested-by: Ameer Dawood <ameer1234567890@gmail.com> [slightly reword commit message, squash commits] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-base: fix misleading warning message when adding SSH keysDirk Brenken
Prevent an incorrect / misleading "There are no changes to apply" message from popping up when adding a new SSH key to the text box. Fixes #2048. Signed-off-by: Dirk Brenken <dev@brenken.org> [reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-base: corrections to Russian translationJo-Philipp Wich
Add grammar corrections suggested in PRs #2114 and #2190. Suggested-by: Roman <x.wserfer@gmail.com> [squash #2114 and #2190, reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29applications: add Chinese translationsDavid Yang
Signed-off-by: David Yang <mmyangfl@gmail.com> [slightly reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-app-wireguard: add descriptionsrwalli
Add description fields to luci-app-wireguard similar to those in luci-proto-wireguard. Ref: https://github.com/openwrt/luci/commit/140f41b4 Suggested-by: "rwalli" <rwalli@gmx.net> [squash commits, reword commit message, remove semicolons, remove trailing white space] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-theme-bootstrap: enforce minimum width for IPv4 DHCP lease columnJo-Philipp Wich
Fixes #2132. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29themes: add data-page attribute to body elementsJo-Philipp Wich
This is useful to write page specific CSS rules. Also fix a missing space in the body CSS class name in the bootstrap theme while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-mod-system: correct table cell rendering without umount buttonJo-Philipp Wich
Fixes #2173. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-base: cbi.lua: fix TypedSection.parse()Darius
It's not necessary to execute all code if section already exists. Signed-off-by: Darius Joksas <jok.darius@gmail.com> [reword commit message, squash commits, remove stray semicolon] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-app-firewall: remove unused codeDarius
- unused requirements removed - unused variable and foreach loop removed Signed-off-by: Darius <darius.joksas@teltonika.lt> [slightly reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27Merge pull request #2184 from kyle30312/logout-cookie-fixJo-Philipp Wich
luci-base: fix sysauth cookie not removed on logout
2018-09-27luci-theme-bootstrap: fix typo in admin node lookupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27luci-theme-material: do not double escape menu titlesJo-Philipp Wich
Fixes #1410. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27luci-theme-bootstrap: do not double escape menu titlesJo-Philipp Wich
Fixes #1410. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27restored nixio tls providersSophana KOK
Signed-off-by: Sophana KOK <ml-github@worldspot.net>
2018-09-27luci-base: fix sysauth cookie not removed on logoutKyle Rogers
Signed-off-by: Kyle Rogers <7157021+kyle30312@users.noreply.github.com>
2018-09-27Merge pull request #2185 from TDT-AG/pr/20180927-luci-app-mwan3Jo-Philipp Wich
luci-app-mwan3: start adding german translation a new max_ttl option
2018-09-27Merge pull request #2186 from TDT-AG/pr/20180927-base-fix-german-translationJo-Philipp Wich
luci-base: fix german translations