- Dec 26, 2018
-
-
Gyrotron authored
Fixes #1092 Signed-off-by:
Simmar Kalsi <simmarkalsi@gmail.com> [reword commit message subject] Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
- Dec 20, 2018
-
-
Florian Eckert authored
Replace all XHR poll time number with -1 so they will use the default poll interval time value from "/etc/config/luci". If this is not set then 5 seconds as default is used. Signed-off-by:
Florian Eckert <fe@dev.tdt.de>
-
Florian Eckert authored
Make poll interval configurable. Use option from ---- config core 'main' option pollinterval '5' --- This will only be used if the interval option is less or equal zero. If the poll interval is not configured then a default value of 5 seconds is used. Signed-off-by:
Florian Eckert <fe@dev.tdt.de>
-
- Dec 19, 2018
-
-
INAGAKI Hiroshi authored
Updated Japanese translations. Signed-off-by:
INAGAKI Hiroshi <musashino.open@gmail.com>
-
INAGAKI Hiroshi authored
Signed-off-by:
INAGAKI Hiroshi <musashino.open@gmail.com>
-
- Dec 14, 2018
-
-
Zheng Qian authored
Signed-off-by:
Zheng Qian <sotux82@gmail.com>
-
- Dec 13, 2018
-
-
Jo-Philipp Wich authored
Fixes: b33192a0 ("luci-base: support cidr list notation for option ipaddr and ip6addr") Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
When an interface configuration specifies both "option ipaddr 1.2.3.4/24" and "option netmask", then netifd will ignore the netmask in favor to the prefix encoded in the cidr string. Support this variant as well by treating a sole cidr string value as singöe-item cidr list. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Dec 12, 2018
-
-
Anton Kikin authored
Signed-off-by:
Anton Kikin <a.kikin@tano-systems.com>
-
- Dec 11, 2018
-
-
Jo-Philipp Wich authored
Fixes #2366. Fixes: 76e9c030 ("luci-base: rework ui tabbing code") Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Dec 10, 2018
-
-
Jo-Philipp Wich authored
- Instantiate tab menus on the client side - Simplify server side markup generation - Show error indicators in cbi tabs Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
The new `tooltip-open` and `tooltip-close` events allow other code to hook into the tooltip div rendering, e.g. to populate it with custom markup. Also ignore tooltip events originating from descendant elements while we're at it. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Dec 02, 2018
-
-
Jo-Philipp Wich authored
The showTooltip() and hideTooltip() functions have been moved to luci.js Reported-by:
brv phoenix <feixuekaka1@gmail.com> Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Nov 27, 2018
-
-
Jo-Philipp Wich authored
Use the same ordering logic for building the dispatch tree and for querying the children of a given node. Fixes #2338. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
This feature was never used, is hardly documented and appears to be designed to fiddle with the internal dispatch tree state. Given that, simply drop the related code to simplify the dispatcher class somewhat. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Nov 23, 2018
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Nov 22, 2018
-
-
Jo-Philipp Wich authored
Ref: https://github.com/openwrt/luci/issues/2327 Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Yurii authored
Signed-off-by:
Yurii <yuripet@gmail.com>
-
Jo-Philipp Wich authored
Introduce a new luci.dom class which groups the DOM manipulation helpers such as E(), findParent(), matchesElem() etc. Provide wrappers for the old functions to ease the transition to the new functions. Also add a new widget helper function L.itemlist() which consolidates the item enumeration formatting code found on various pages. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Introduce a new script file luci.js which is included by default and intended to be the common location of functions currently scattered in cbi.js and xhr.js. The luci.js file provides a LuCI() class which - among other things - implements helpers to construct URL paths and making HTTP requests. A singleton instance of the class is instantiated as window.L upon load and preset with the necessary environment information. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
INAGAKI Hiroshi authored
Updated Japanese translations. Signed-off-by:
INAGAKI Hiroshi <musashino.open@gmail.com>
-
- Nov 21, 2018
-
-
Anton Kikin authored
Signed-off-by:
Anton Kikin <a.kikin@tano-systems.com>
-
Zheng Qian authored
Signed-off-by:
Zheng Qian <sotux82@gmail.com>
-
- Nov 20, 2018
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Commit 94d8c9a7 accidentally overwrite the rewording of strings made in an earlier commit. Fixes: 94d8c9a7 ("luci-base: simplify apply widget code") Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Nov 19, 2018
-
-
Jo-Philipp Wich authored
- 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>
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
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>
-
- Nov 16, 2018
-
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
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>
-
Yurii authored
Signed-off-by:
Yurii <yuripet@gmail.com>
-
Anton Kikin authored
Signed-off-by:
Anton Kikin <a.kikin@tano-systems.com>
-
INAGAKI Hiroshi authored
Updated Japanese translations. Signed-off-by:
INAGAKI Hiroshi <musashino.open@gmail.com>
-