summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
AgeCommit message (Collapse)Author
2018-01-09luci-base: adjust translationsJo-Philipp Wich
- Modify labels for mesh forwarding and 802.11b rate options - Synchronize translations - Complete german base translation Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-08fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-06fixed and updated russian translationVladimir
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-06i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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>
2018-01-03luci-base: fix luci.sys.wifi.getiwinfo() on radio namesJo-Philipp Wich
Fall back to using a phy-wide iwinfo handle if the vif query yields no result. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-02luci-base: reorder private functionsJo-Philipp Wich
The _wifi_sid_by_ifname() function depends on _wifi_state_by_ifname() so reorder the private helper functions accordingly to avoid nil value call attempts. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-02luci-base: rework wireless state handling (#1179)Jo-Philipp Wich
- fix mapping of ubus wireless state to uci declared vifs - fix leaking foreign vif info into per-phy iwinfo stats Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-01luci-base: require current libuci-luaJo-Philipp Wich
Upcoming changes will require libuci-lua features not present in versions prior to version 2018-01-01. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-12-28typo: fileystem --> filesystemHannu Nyman
fix typo: sed -i "s/fileystem/filesystem/" Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-11-11timezone data: update to 2017cHannu Nyman
Update timezone data to 2017c http://mm.icann.org/pipermail/tz-announce/2017-October/000047.html Briefly: Northern Cyprus switches from +03 to +02/+03 on 2017-10-29. Fiji ends DST 2018-01-14, not 2018-01-21. Namibia switches from +01/+02 to +02 on 2018-04-01. Sudan switches from +03 to +02 on 2017-11-01. Tonga likely switches from +13/+14 to +13 on 2017-11-05. Turks & Caicos switches from -04 to -05/-04 on 2018-11-04. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-11-11i18n: Sync translationsINAGAKI Hiroshi
Synchronized translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-10-29Merge pull request #1418 from yangfl/masterHannu Nyman
i18n: Update Chinese translation
2017-10-29i18n: Update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-29Fix typos in luci-base/luasrc/http/protocol.luaFelix Yan
2017-10-28i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-10-25luci-base: fix client side "host" datatype validatorJo-Philipp Wich
Fixes #1413. Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-20Fix syntax errors in swedish translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-20luci-base: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-10-18luci-base: Massive Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2017-10-18luci-mod-admin-full: tone down KRACK countermeasure descriptionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17i18n: update translationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17i18n: synchronize and fix translation filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-17luci-base: gracefully handle broken firewall forwarding sectionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-10-11luci-base: fix PKG_HASH field nameHannu Nyman
Use PKG_HASH instead of PKG_MD5SUM Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-09-24luci-proto-vpnc: fix typoHannu Nyman
fix: 'enaled' --> 'enabled' Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-09-23luci-base: Fixes for Italian TranslationBubu83
Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-17luci-base: Fixes for Italian TranslationBubu83
Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-08luci-base: Updated Catalan translationRoger Pueyo Centelles
Add missing translations and fix a few typos. Signed-off-by; Roger Pueyo Centelles <roger.pueyo@guifi.net>
2017-09-05luci-base: Updated Italian TranslationBubu83
Updated Italian Translation Signed-off-by: Alessio Casagrande bubu83@gmail.com
2017-09-02http: add random security headersJo-Philipp Wich
Fixes #1343. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-22luci-base: datatypes: add cidr, ipnet validator typeYousong Zhou
- Rewrite ipmask to use these subtypes - Add ip{4,6}prefix validators to cbi.js Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-13luci-base: improve language detectionJo-Philipp Wich
Properly deal with client accept languages containing a culture identifier such as "zh-CN" or "pt-BR". Fixes #1226. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-13Merge pull request #1235 from aa65535/luci-baseJo-Philipp Wich
luci-base: add missing conffiles
2017-08-06luci-base: add missing conffilesJian Chang
Signed-off-by: Jian Chang <aa65535@live.com>
2017-08-06luci-base: Some fix of Simplified Chinese translationkuoruan
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-08-02Merge pull request #1245 from danweller18/feature_js_headersJo-Philipp Wich
luci-base: Remove request headers that are set automatically by browser
2017-07-28luci-base: cbi.js: fix handling of inverse-depends, combobox validationJo-Philipp Wich
- Properly handle logic for evaluating inverted dependencies means when depending on another field *not* having a given value - Perform datatype validation *after* populating combobox choices to avoid triggering a false-positive when validating an .rmempty = false combobox during form instantiation Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28luci-base: let luci.sys.net.devices() return all netdevsJo-Philipp Wich
The previous implementation of the function only returned ethernet interfaces because it relied on the AF_PACKET family entries returned by getifaddrs(). Change the function to simply collect all interface names it sees in order to avoid missing tunnel interfaces. Fixes FS#917. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28luci-base: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-27i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-07-24Merge pull request #1239 from kuoruan/zh-cn-trHannu Nyman
Add some translate strings & Update Simplified Chinese translation
2017-07-23Merge pull request #1242 from yousong/shadowsocks-libevHannu Nyman
luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2
2017-07-23Merge pull request #1221 from Cye3s/masterHannu Nyman
luci_base: Update zh_CN base.po, translate fix
2017-07-23luci-base: Update Simplified Chinese translationkuoruan
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
2017-07-22remove request headers that are set automatically by browserDaniel W
2017-07-21luci-base: fix loading fold.gif for filebrowserYousong Zhou
cbi_init() needs to be called at the end of the page to initialize cbi_strings with "[data-strings]" while cbi_browser_init() happened before that. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-11luci-base: properly handle authentication without authenticatorJo-Philipp Wich
Some controller actions like the ones in "servicectl" require authentication but are not meant to provide an authenticator because they're only invoked by scripts. Rework the dispatcher logic to handle this situation and only bail out if an authenticator name other than "htmlauth" is set. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci-base: use rpcd-mod-rrdns for reverse DNS lookupsJo-Philipp Wich
Drop the individual calls to nixio.getnameinfo() in luci.sys.net and rely on the "network.rrdns.lookup" ubus call instead to fetch domain information within a guaranteed timeout. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-11luci-base: drop unused functions in luci.sysJo-Philipp Wich
Drop a number of redundant functions from luci.sys to shrink the code a bit: * luci.sys.net.arptable() - replaced by luci.ip.neighbors() * luci.sys.net.routes() - replaced by luci.ip.routes() * luci.sys.net.routes6() - replaced by luci.ip.routes6() * luci.sys.net.deviceinfo() - replaced by nixio.getaddrinfo() * luci.sys.net.pingtest() - no known user Signed-off-by: Jo-Philipp Wich <jo@mein.io>