summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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>
2018-05-26luci-app-firewall: expose flow offloading optionsHannu Nyman
Expose options related to routing/NAT flow offloading feature in firewall3. Offloading is available in kernel 4.14+ Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-25i18n: one more fix for Polish translationHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-25i18n: sync, fix and cleanup translationsHannu Nyman
* sync translations (aiccu removal) * remove some other old strings * fix Polish translation Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-25Merge pull request #1821 from TDT-AG/pr/20180521-protocols-remove-aiccuHannu Nyman
luci-proto-ipv6: remove outdated aiccu proto support
2018-05-25luci-proto-ipv6: remove outdated aiccu proto supportFlorian Eckert
Remove outdated package for luci proto section. See commit: https://github.com/openwrt/packages/commit/441f8a3ed1da96f6236988d672011bff11057d6b Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-25Merge pull request #1481 from TDT-AG/luci-app-openvpn-fixesJo-Philipp Wich
luci-app-openvpn: several fixes
2018-05-24Merge pull request #1818 from dibdot/lxc_fixDirk Brenken
luci-app-lxc: remove wrong leftover from last commit
2018-05-24luci-app-lxc: remove wrong leftover from last commitDirk Brenken
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-23Merge pull request #1817 from dibdot/travelmateDirk Brenken
luci-app-travelmate: fix url ampersand encoding
2018-05-23luci-app-travelmate: fix url ampersand encodingDirk Brenken
* fix ampersand encoding in wireless stations overview Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-23Merge pull request #1808 from dibdot/lxc_fixDirk Brenken
luci-app-lxc: fix "plain-vanilla" integration
2018-05-23luci-app-lxc: fix "plain-vanilla" integrationDirk Brenken
I've tried to get the lxc app in a more usable state. Tested with mips and amd64 targets. * fix missing tar/xz dependency, only if LXC_BUSYBOX_OPTIONS is not selected * mute needless gpg validation warning * tidy up controller a little bit * fix multiple possible dispatcher errors * fix compatibility with XHTML standard theme (looks still horrible ;-) * inform the user about custom kernel prerequisites * inform the user about the template download * inform the user if no template was found Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-23Merge pull request #1814 from Ansuel/lua-interpreterJo-Philipp Wich
luci-base: fix dispacher fail
2018-05-23luci-base: fix dispacher failAnsuel Smith
http.getenv("SCRIPT_NAME") fail if it's not provided. This can happen in the login screen when we don't have any script to load. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-05-21Merge pull request #1810 from musashino205/l10n/tmate-upd-jaHannu Nyman
luci-app-travelmate: update Japanese translation
2018-05-21luci-app-travelmate: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-21Merge pull request #1809 from musashino205/l10n/adblk-upd-jaHannu Nyman
luci-app-adblock: update Japanese translation
2018-05-21luci-app-adblock: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-20Merge pull request #1805 from musashino205/l10n/base-upd-jaHannu Nyman
luci-base: update Japanese translation
2018-05-21luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-21i18n: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-19luci-mod-admin-full: fix crash on wireless when no networks are declaredJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-19luci-mod-admin-full: do not override iface section in wireless cbi mapJo-Philipp Wich
Do override the iface section id upon commit to avoid clobbering the resulting configuration. The manual config sync is not needed anymore after switching to uncached ubus uci operations. Fixes #1770. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-19luci-base: handle potential crash in luci.model.network.interface.get_i18n()Jo-Philipp Wich
Should prevent the crash mentioned in #1779. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-19luci-base: break circular luci.config <> luci.model.uci dependencyJo-Philipp Wich
On certain environments, mainly with the embedded uhttpd interpreter, the luci.config class cannot be loaded due to a circular dependency with the luci.model.uci class. Break up the dependency by deferring the loading of luci.config in luci.model.uci until it is actually needed. Fixes #1803, FS#1553. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-18Merge pull request #1801 from dibdot/adblockDirk Brenken
luci-app-adblock: respect SimpleForm size limit
2018-05-18luci-app-adblock: respect SimpleForm size limitDirk Brenken
* respect SimpleForm size limit of 100KB for advanced online editing Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-18luci-lib-json: support serializing userdataJo-Philipp Wich
Fixes the following error when attempting to serialize userdata objects: .../json.lua:81: attempt to call local 'parser' (a nil value) Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-18luci-mod-rpc: fix unresolved controller reference in rpc_auth()Jo-Philipp Wich
Fixes the following error: .../rpc.lua:85: attempt to index global 'ctrl' (a nil value) Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-18Merge pull request #1769 from jow-/masterJo-Philipp Wich
UCI apply/rollback workflow
2018-05-18luci-base: raise maximum POST value size to 100KBJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-18lucihttp: update to latest HEADJo-Philipp Wich
6ddea4c utils: fix crash with zero length input string in lh_header_attribute() cb119de lib: add support for setting the maximum allowed data size Fixes #1784. Signed-off-by: Jo-Philipp Wich <jo@mein.io>