- Jun 28, 2018
-
-
Jo-Philipp Wich authored
Merge the DHCP lease status code of the status overview and DHCP/DNS pages into a single shared partial template. Also remove some redundant markup on the index page and wireless assoc list templates. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Attempt to derive a MAC from the DHCPv6 lease DUID and use it to look up a host hint. If a hint is found, add it to the lease information. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Jun 27, 2018
-
-
Ansuel Smith authored
Tested and works with no problem. Signed-off-by:
Ansuel Smith <ansuelsmth@gmail.com>
-
- Jun 26, 2018
-
-
Jo-Philipp Wich authored
Fixes: 60c5d15e ("luci-mod-admin-full: fix possible switch status layout bug") Fixes: bbf096c7 ("luci-mod-admin-full: cleanup markup") Reported-at: https://forum.lede-project.org/t/x/15897/19 Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
In some cases we might get status information for more ports than which are actually usable, prevent overflowing the port status row in this case. Reported-at: https://forum.lede-project.org/t/x/15897/14 Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Ansuel Smith authored
With #e5ba594d the list of the connected device broke up. This fix this problem by creating a proper request link. Signed-off-by:
Ansuel Smith <ansuelsmth@gmail.com>
-
- Jun 25, 2018
-
-
zjw authored
Fixes: #1880 Reported-by: "zjw" 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
Fixes #1908. Suggested-by: "mgalyean" Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Commit 69782ccb ("luci-base: xhr.js: defer starting poll queue") changed the way XHR poll queues are started which broke the timing on the realtime graph pages. Fix the problem by manually starting the poller after registering the request handlers. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Merge the assoclist code of the status overview and wireless overview pages into a single shared partial template. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Jun 23, 2018
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Globally cleanup template markup to support responsive design changes in OpenWrt theme. Rework handling of dynamic status tables, consolidate hand-written markup, fix small render bugs in various places and annotate tables where needed. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
- add responsive attributes to partial cbi templates - unify and fix button style classes - fix styling of sysauth dialog - rework firewall_zoneforwards widget Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Jun 22, 2018
-
-
Jo-Philipp Wich authored
- make findParent() globally available - add code for initializing rich cbi tooltips - introduce cbi_update_table() helper to auto-assign responsive attributes to table markup Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
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>
-
- Jun 17, 2018
-
-
Yurii authored
-
- Jun 16, 2018
-
-
INAGAKI Hiroshi authored
"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>
-
- Jun 14, 2018
-
-
Florian Eckert authored
If you delete all ssh keys in the textarea then LuCI will rais an error. So if you added one ssh-key to the textarea and then you want to delete them again that is not possbile in LuCI. To fix this remove "rmempty" attribute and add a remove function which will called if the textarea is empty. Signed-off-by:
Florian Eckert <fe@dev.tdt.de>
-
- Jun 11, 2018
-
-
Kevin Darbyshire-Bryant authored
Signed-off-by:
Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
-
- Jun 10, 2018
-
-
Yurii authored
Updated Polish translations. Signed-off-by:
Yurii <yuripet@gmail.com>
-
Krystian Kozak authored
Updated Polish translations. Signed-off-by:
Krystian Kozak <krystian.kozak20@gmail.com>
-
- Jun 08, 2018
-
-
Jo-Philipp Wich authored
Merge two italian translations suggested in #1870 and add back two missing dots accidentially removed from the translations in a previous commit. Fixes: 588c8618 ("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>
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
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>
-
Zheng Qian authored
Signed-off-by:
Zheng Qian <sotux82@gmail.com>
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
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>
-
- Jun 06, 2018
-
-
Jo-Philipp Wich authored
- 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>
-
- Jun 03, 2018
-
-
Jo-Philipp Wich authored
Since the switch to ubus uci operations we do not have a local application- side cursor cache anymore, instead uci operations happen synchronously in the rpcd backend server. This may cause cbi section reorder operations involving multiple elements to fail, because anonymous section hashes may change due to rehashing between consecutive ubus uci reorder calls. In order to avoid that problem, use the ubus uci batch reorder extension, which allows to pass a complete (or partial) list of section ids in the desired order in one call, bypassing the volatile section id problem. Fixes #1844. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- May 31, 2018
-
-
INAGAKI Hiroshi authored
Updated Japanese translations. Signed-off-by:
INAGAKI Hiroshi <musashino.open@gmail.com>
-
INAGAKI Hiroshi authored
Synchronized translations with sources. Signed-off-by:
INAGAKI Hiroshi <musashino.open@gmail.com>
-
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
Sync our coxpcall() implementation to the newest upstream version in order to get access to the inner backtrace information and propagate these traces to the browser in luci.dispatcher.dispatch(). This should make tracking down runtime errors much easier. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
After applying uci configuration, a full map reload is required in many cases as the anonymous section identifiers might have been rehashed, causing the rendered map to go out of sync. To avoid that, add both a full page overlay preventing further page interaction and let the apply widget forcibly reload the current view once the operation is complete. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-