summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-06-10Merge pull request #1874 from Rixerx/masterHannu Nyman
luci-base: update Polish translation
2018-06-10luci-base: update Polish translationKrystian Kozak
Updated Polish translations. Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-06-09Merge pull request #1868 from sotux/master-zh_CNHannu Nyman
Update Simplified Chinese translation
2018-06-09luci-app-adblock: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09luci-app-mwan3: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-08luci-app-firewall: recognize egress rules in rule overviewJo-Philipp Wich
Along with 74be6f397 ("treewide: switch firewall zone, network and iface lists to dropdown code"), this change allows luci-app-firewall to recognize OUTPUT rules. Fixes #1457. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08luci-mod-admin-full: add suggested italian translationsJo-Philipp Wich
Merge two italian translations suggested in #1870 and add back two missing dots accidentially removed from the translations in a previous commit. Fixes: 588c8618b ("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>
2018-06-08luci-mod-admin-full: fix translation interpolation in JS confirm() callsJo-Philipp Wich
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>
2018-06-08luci-mod-admin-full: git rid of embedded newlines in translation stringsJo-Philipp Wich
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>
2018-06-08luci-base: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-08Merge pull request #1867 from dibdot/adblockDirk Brenken
luci-app-adblock: partly revert last commit
2018-06-08luci-app-adblock: partly revert last commitDirk Brenken
* use now CSS for non breaking spaces in div table header Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-08treewide: switch firewall zone, network and iface lists to dropdown codeJo-Philipp Wich
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>
2018-06-08luci-base: add markup, JS and CSS for new dropdownJo-Philipp Wich
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>
2018-06-08luci-base: support option aliases in luci.cbiJo-Philipp Wich
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>
2018-06-08Merge pull request #1863 from dibdot/adblockDirk Brenken
luci-app-adblock: sync with adblock 3.5.3
2018-06-07Merge pull request #1864 from Ansuel/masterDirk Brenken
luci-app-ddns: fix div conversion
2018-06-07luci-app-ddns: fix div conversionAnsuel Smith
This fix some error from conversion of #1854 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-07Merge pull request #1854 from jollaman999/masterHannu Nyman
luci-app-ddns: Convert HTML tables to div
2018-06-07luci-app-adblock: sync with adblock 3.5.3Dirk Brenken
* small fixes & cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-06luci-base: fix some minor luci.model.uci issuesJo-Philipp Wich
- 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>
2018-06-05luci-app-ddns: Convert HTML tables to divjollaman999
2018-06-04Merge pull request #1835 from Ansuel/ddns-optionalHannu Nyman
luci-app-ddns: make param opt, optional
2018-06-04luci-app-ddns: make param opt, optional, add myself as maintainerAnsuel Smith
Currently these params should be optional but in the current script then are required for any configuration to save. We add an "optional" boolean value to the validate function so that we can make this pram optional as it should be. Also adds me as maintainer Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-04Merge pull request #1851 from dibdot/lxc_fixDirk Brenken
luci-app-lxc: made container creation more reliable
2018-06-03luci-app-lxc: made container creation more reliableDirk Brenken
* wait/lock "create" button until the real end of container creation, this includes download time plus tar/gz processing time * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-03luci-base: cbi: atomically reorder uci sectionsJo-Philipp Wich
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>
2018-06-02Merge pull request #1819 from Ansuel/ddns-performanceHannu Nyman
luci-app-ddns: improve performance
2018-06-02luci-app-ddns: improve performanceAnsuel Smith
Every request directed to the ddns app call ddns tools module. Ddns tools module have lots of global variable that call slow os.execute function. This adds 10 second to every ddns request even if the function that is requested doesn't need that global variable. This commit introduce env_info function that execute os.execute command by executing what is actually requested and not process all the variables. Also remove 2 unecessary module that are not used. More researh find that major slowdown was caused by the calling of ddns script for the version check. Now we check if opkg is present and use it to check ddns-scripts version. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-01Merge pull request #1846 from musashino205/l10n/base-upd-jaHannu Nyman
luci-base: update Japanese translation
2018-06-01Merge pull request #1847 from dibdot/lxc_fixDirk Brenken
luci-app-lxc: bugfix
2018-06-01luci-app-lxc: bugfixDirk Brenken
* fix remaining javascript errors in Chrome Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-01luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-01luci-base: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-31themes: drop errorbox stylesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31luci-mod-freifunk: use common alert message markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31luci-base: use common alert message markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31luci-mod-admin-full: use common alert message markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31themes: unify no-password / no-javascript alert boxesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31luci-base: update coxpcall() implementation, fix runtime error reportingJo-Philipp Wich
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>
2018-05-31themes: adjust CSS for reworked apply widgetJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31luci-base: add full page overlay during applyJo-Philipp Wich
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>
2018-05-31Merge pull request #1845 from dibdot/lxc_fixDirk Brenken
luci-app-lxc: fix "plain-vanilla" integration, part 3
2018-05-31luci-mod-admin-full: fix status page render glitch on ChromeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31luci-app-lxc: fix "plain-vanilla" integration, part 3Dirk Brenken
* migrate JS generated HTML tables to divs * remove (most of) the inline styles * various markup cleanups That's the final part ... hopefully it's now in a more usable & maintainable state. Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-30luci-base: cbi.js: remove unused serialize functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30luci-base: cbi.js: fix cbi_row_swap() after recent table markup changesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30luci-mod-admin-full: rework network and wifi status displaysJo-Philipp Wich
Use a more compact flex layout instead of the tabular display. Also rename "WAN status" to "Upstream" to avoid future confusion about wan interfaces vs. defaultroute interfaces. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30luci-theme-material: add new style classesJo-Philipp Wich
Add new style classes required for status page changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30luci-theme-bootstrap: add new style classesJo-Philipp Wich
Add new style classes required for status page changes, also drop old Internet Explorer compatibility script and vendor prefixed properties. Signed-off-by: Jo-Philipp Wich <jo@mein.io>