summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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>
2018-05-30luci-theme-openwrt: add new style classesJo-Philipp Wich
Add new style classes required for status page changes, also drop old Internet Explorer compatibility CSS. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30luci-mod-admin-full: fix revert pageAnsuel Smith
This fix the strange redirect link, a bug with uwsgi where the controller is empty and a bug with the revert page showing the apply content empty. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [drop unrelated revert.html template change] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-29Merge pull request #1839 from EricLuehrsen/unbound_defdocHannu Nyman
luci-app-unbound: add root zone file cache option
2018-05-29luci-app-unbound: add root zone file cache optionEric Luehrsen
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-05-28luci-app-unbound: provide transparent defaults with documentationEric Luehrsen
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-05-28luci-proto-3g: make it a self-contained packageFlorian Eckert
The follow error will appear after clicking "Switch protcol" to 3g when luci-proto-3g was not installed. Fix this by moving the relevant parts from luci-proto-ppp into luci-proto-3g and making it complete as a single protocol handler > Missing protocol extension for proto "3g" > cannot open /usr/lib/lua/luci/model/cbi/admin_network/proto_3g.lua: No such file or directory Closes openwrt/luci#1815 Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-28Merge pull request #1822 from Ansuel/luci-cpuinfoDirk Brenken
luci-admin-full: add architecture info
2018-05-28luci-admin-full: add architecture infoAnsuel Smith
Referring to this, #1698 , we add architecture info and we show Unknown instead of ?. This is usefull if someone needs to install opkg packages manually. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-05-28Merge pull request #1827 from Ansuel/luci-mapJo-Philipp Wich
luci-theme-material: upgrade jquery
2018-05-28treewide: convert HTML tables to divJo-Philipp Wich
Mostly convert HTML tables to div based markup to allow for easier styling in the future. Also change JS accessor code accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28luci-base: add element creation helper to cbi.jsJo-Philipp Wich
Add a new helper function `E()` to cbi.js which can be used to conveniently build HTML markup. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28themes: add forward-compatibility CSSJo-Philipp Wich
Subsequent changes will largely replace tables with div based markup, so add forward compatibility style rules to keep the rendering intact. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28Merge pull request #1836 from sotux/master-zh_CN-translationHannu Nyman
luci-app-firewall: zh_CN: update Simplified Chinese translation
2018-05-28luci-app-firewall: zh_CN: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-05-28shadowsocks-libev: fix enumerating server and ss_redir sectionsYousong Zhou
The issue existed since the first revision of the rewrite and was exposed by commit 4024d4f (luci-base: switch to ubus uci operations) A quick scan of the current repo indicates that these are the only sites of wrong call pattern Fixes openwrt/packages#6113 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-27Merge pull request #1834 from Ansuel/fixpoHannu Nyman
luci-base: fix broken translation
2018-05-27luci-base: fix broken translationAnsuel Smith
Currently this translation refer to an old string, sync to the new one. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-05-27Merge pull request #1828 from dibdot/lxc_fixDirk Brenken
luci-app-lxc: fix "plain-vanilla" integration, part 2
2018-05-27luci-app-lxc: fix "plain-vanilla" integration, part 2Dirk Brenken
I've tried to get the lxc app in a more usable state. Tested with mips and amd64 targets. * check /etc/config/lxc in controller, not in cbi * more controller cleanups * remove unused 'fork_exec' function * check path before container creation * check space requirements before container creation * support new uci options 'min_space' and 'min_temp', default for both is 100000 KB * both options are configurable via LuCI CBI template * write messages to log in case of an error * validate the container name during creation, automatically remove invalid chars * inform the user that only a stopped container can be destroyed * add experimental ssl support (untested, disabled by default) Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-27Merge pull request #1833 from ysoyipek/patch-3Hannu Nyman
Update base.po
2018-05-27Update base.poYusuf Soyipek
Some of the shortcomings in Turkish were added.
2018-05-27Merge pull request #1832 from musashino205/l10n/fw-upd-jaHannu Nyman
luci-app-firewall: update Japanese translation
2018-05-27luci-app-firewall: update Japanese translationINAGAKI Hiroshi
Added Japanese translations for offloading options. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27luci-app-firewall: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27Merge pull request #1826 from hnyman/offloadHannu Nyman
luci-app-firewall: expose flow offloading options
2018-05-26Merge pull request #1829 from musashino205/l10n/mwan3-upd-jaHannu Nyman
luci-app-mwan3: update Japanese translation
2018-05-27luci-app-mwan3: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>