summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-11-20luci-mod-system: restructure administration pagesJo-Philipp Wich
Split password, dropbear and SSH key configuration into separate pages in order to improve the form layout and to simplify the code. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-20Merge pull request #2308 from YuriPet/masterJo-Philipp Wich
opkg.po: update Ukrainian translation
2018-11-20opkg.po: update Ukrainian translationYurii
Signed-off-by: Yurii yuripet@gmail.com
2018-11-19Merge pull request #2304 from ryu0/masterDirk Brenken
luci-app-lxc: add i686 to target map
2018-11-19luci-app-lxc: add i686 to target mapJames Buren
Add i686 to target map so i386 container templates are usable. Signed-off-by: James Buren <ryuo@ryuo.xyz>
2018-11-19luci-base: further hash calculation signedness bugfixesJo-Philipp Wich
- cbi.js: make sure to treat single bytes as signed char when handling end cases - template_lmo.c: make sure to treat single bytes as signed char when handling end cases, avoids hash miscalculations on ARM Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-19luci-base: cbi.js: fix sfh() signedness bug for strings with 3 trailing bytesJo-Philipp Wich
Replace a sign-propagating right shift by a zero-filling right shift to avoid calculating a wrong hash code in the three-trailing-bytes case. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-19luci-base: cbi.js: fix sfh() hash calculation over multibyte sequencesJo-Philipp Wich
The C side implementation of the hash operates on bytes while the JS variant operated on UTF-16 codepoints, leading to miscalculations on input strings containing multibyte sequences. Recode the given string to an internal UTF-8 byte representation and calculate the hash over that. Fixes client side mapping of translation strings containing non-ASCII characters. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-19luci-app-opkg: accesibility fixesJo-Philipp Wich
- Use semantic button markup for buttons - Add ARIA labels to page forward/backward buttons Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-19Merge pull request #2306 from yglb/masterJo-Philipp Wich
luci-theme-rosy: Repair form bug
2018-11-19luci-theme-luci: Match css to implement related stylesYanlan Shen
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-19luci-theme-rosy: Modifying the form does not fully display the bug of the ↵Yanlan Shen
dropdown box Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-17Merge pull request #2299 from dibdot/banipDirk Brenken
luci-app-banip: sync with update 0.0.6
2018-11-17luci-mod-status: fix average calculationsJo-Philipp Wich
Calculate the average over the actual data and not over the entire timeframe. Fixes #2301 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-16Merge pull request #2298 from YuriPet/masterHannu Nyman
luci-base: update Ukrainian translation
2018-11-16Merge pull request #2297 from tano-systems/fix-fstab-mount-tableJo-Philipp Wich
luci-mod-system: fstab: fix table cell rendering without unmount button
2018-11-16luci-mod-system: fstab: fix table cell rendering without unmount buttonAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-11-16luci-base: xhr.js: rework class, handle expired sessionJo-Philipp Wich
Drop very old IE compat code, restructure class, align code style with other files and properly handle JSON mimetypes with charset trailer. Also detect session related 403 errors and show a modal prompting to re-login. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-16luci-base: dispatcher: add login indication on 403 errorsJo-Philipp Wich
Send a custom LuCI X-Header to indicate that a login is required to access the requested resource. This is mainly intended for xhr.js to be able to intercept such responses and popup an authentication dialog. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-16luci-theme-bootstrap: remove redundant rulesJo-Philipp Wich
Drop rules specific to the old status page progress bars and rework the cbi element rules to work independently of a parent form tag. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-16luci-app-banip: sync with update 0.0.6Dirk Brenken
* add a manual interface selection to support multiple WAN interfaces in iptables rules Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-16luci-base: update Ukrainian translationYurii
Signed-off-by: Yurii yuripet@gmail.com
2018-11-16Merge pull request #2296 from tano-systems/luci-base-upd-rus-i18nHannu Nyman
luci-base: update Russian translation
2018-11-16luci-base: update Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-11-16Merge pull request #2293 from musashino205/l10n/opkg-upd-jaHannu Nyman
luci-app-opkg: update Japanese translation
2018-11-16Merge pull request #2295 from musashino205/l10n/base-upd-jaJo-Philipp Wich
luci-base: update Japanese translation
2018-11-16luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-16luci-app-opkg: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-16Merge pull request #2292 from dibdot/banipDirk Brenken
luci-app-banip: adapt latest css changes
2018-11-16Merge pull request #2291 from dibdot/adblockDirk Brenken
luci-app-adblock: adapt latest css changes
2018-11-16Merge pull request #2290 from dibdot/travelmateDirk Brenken
luci-app-travelmate: adapt latest css changes
2018-11-16luci-app-travelmate: adapt latest css changesDirk Brenken
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-16luci-app-adblock: adapt latest css changesDirk Brenken
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-16luci-app-banip: adapt latest css changesDirk Brenken
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-15luci-theme-openwrt: modal display fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15luci-base: rename "Design" to "Theme" in translation filesAngus Ding
Signed-off-by: Angus Ding <angus.ding@gmail.com> [squash commits, reword commit message, rebase, msgmerge] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15luci-mod-system: rename "Design" to "Theme"Angus Ding
This provides a more accurate description for the theme selection. Signed-off-by: Angus Ding <angus.ding@gmail.com> [reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15treewide: resync translation filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15luci-mod-network: function name mismatch fixedDarius
Signed-off-by: Darius <jok.darius@gmail.com>
2018-11-15luci-app-vpnbypass: add german translationMatthias84
Submitted-by: Matthias Meißer <Matthias84@users.noreply.github.com> [slightly reword subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15luci-app-wireguard: add german translationMatthias84
Submitted-by: Matthias84 <Matthias84@users.noreply.github.com> [reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15luci-base: support disconnecting (deauthenticating) wireless clientsWang805447391
Add a button to each row in the wireless assoclist table to allow disconnecting clients using the ubus del_client method if the underlying radio interface supports it. Ref: https://github.com/openwrt/luci/pull/2271 Submitted-by: Wang805447391 <805447391@qq.com> [move deauth function to luci-base next to the existing assoclist function, require post security, fix parameter check condition, hide button if not supported by the radio, disable button after call, squash commits, fix whitespace, reword subject, add commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15luci-app-https_dns_proxy: fix datatype of subnet address optionalphakk
The datatype ip4prefix only accept numbers from 0 to 32, not subnet/mask (i.e. 192.168.1.0/24), this affects option "-e". https://github.com/openwrt/luci/wiki/Datatypes#ip4prefix the description is wrong, according to src http://luci.subsignal.org/trac/browser/luci/branches/luci-0.10/libs/web/luasrc/cbi/datatypes.lua#L76 Submitted-by: alphakk <kkspaces@mail.com> [slightly reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15luci-proto-vpnc: expose defaultroute option in proto_vpnc.luaWhitronic
Sometimes people only want the VPN connection to be a route to a specific network, not the default gateway for all traffic. I've tested this on my router and works fine! Submitted-by: Whitronic <joao.f.vieira@gmail.com> [reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15Merge pull request #2286 from kevinoid/fix_statistics_filename_quotingJo-Philipp Wich
luci-app-statistics: quote : in filenames for DEF
2018-11-14luci-app-statistics: quote : in filenames for DEFKevin Locke
: is used to delimit fields in DEF: rrd instructions, so when it appears in a filename it must be escaped using \.[1] This commit adds the escaping. I discovered the issue after configuring collectd-mod-ping to monitor an IPv6 host (2001:19f0:5:727:5b56:205d:ff55:2208). Accessing https://192.168.0.1/cgi-bin/luci/admin/statistics/graph/ping would cause the following messages to be logged: Wed Nov 14 23:04:33 2018 daemon.err uhttpd[30261]: ERROR: can't parse DEF '2ping_avg_raw=/tmp/rrd/openwrthost/ping/ping-2001:19f0:5:727:5b56:205d:ff55:2208.rrd:value:AVERAGE' -2 Wed Nov 14 23:04:33 2018 daemon.err uhttpd[30261]: ERROR: can't parse DEF '2ping_droprate_avg_raw=/tmp/rrd/openwrthost/ping/ping_droprate-2001:19f0:5:727:5b56:205d:ff55:2208.rrd:value:AVERAGE' -2 and the graphs would not display. After applying this commit, the graphs display correctly and no messages are logged. 1. https://oss.oetiker.ch/rrdtool/doc/rrdgraph_data.en.html#IDEF Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2018-11-14luci-base: fix some long standing german mistranslationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-mod-network: require unique MACs for DHCP leasesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: datatypes: add "unique" dummy validatorJo-Philipp Wich
Add a dummy validator for the server side so that we can start using unique in client side JS code. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14Merge pull request #2259 from pmelange/luci-app-olsr-new-json-libJo-Philipp Wich
update luci-app-olsr to the new jsoninfo library