summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-10-07luci-base: protect simpleforms with CSRF tokensJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07luci-mod-admin-full: switch to POST action for rebootJo-Philipp Wich
Also rework the reboot tmeplate a little bit. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-base: switch to POST action for service reloadJo-Philipp Wich
Switches the service reload calls to CSRF token protected POST action. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-mod-admin-full: switch to POST actions for UCI changesJo-Philipp Wich
Switches UCI apply/revert/save to CSRF token protected POST actions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-theme-bootstrap: add redir parameter to uci change menuJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-theme-material: add redir parameter to uci change menuJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-base: protect CBI forms with CSRF tokensJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-base: add support for POST-only actions with CSRF token checkJo-Philipp Wich
Add the dispatcher infrastructure to restrict certain routes to POST requests only in conjunction with verification of CSRF tokens. This is the first step to get rid of the CSRF token in the url in favor to tokens embedded in forms. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06Merge pull request #503 from LuttyYang/masterHannu Nyman
luci-theme-material: fix some style bug in LUCI newest version
2015-10-06luci-theme-material: fix some style bug in LUCI newest versionLutty Yang
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-06Globally convert headline anchors into name attributes.Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05Merge pull request #501 from LuttyYang/masterJo-Philipp Wich
luci-theme-material: PR from version 0.2.6
2015-10-05luci-app-statistics: reorder interface, netlink and openvpn datasourcesJo-Philipp Wich
This aligns the order and grouping of RX and TX network datasources. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: add support for sorting RRD data sourcesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-app-statistics: add initial support for collectd-mod-openvpnJo-Philipp Wich
This changeset covers compression and traffic stats, not every combination has been tested yet. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-05luci-theme-material: PR from version 0.2.6Lutty Yang
PR from version 0.2.6 Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-05luci-app-statistics: add initial support for collect-mod-sensorsJo-Philipp Wich
Due to a lack of a test environment this support only covers thermal graphs so far. Please send the output of "rrdtool info /tmp/rrd/*/sensors-*/*.rrd" if your system happens to support voltage, power or fanspeed sensors. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-04Merge pull request #488 from hnyman/black-flashHannu Nyman
luci-base: change index.html to be more like current themes
2015-10-04Merge pull request #489 from hnyman/remove-bno-themeHannu Nyman
themes: remove freifunk-bno theme
2015-10-03luci-mod-admin-full: status: survive broken DSL status outputJo-Philipp Wich
Only attempt to call "dsl_func" if the dsl_control lucistat output could be successfully evaluated. Works around https://dev.openwrt.org/ticket/20607 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: improve diagram generation, add missing titleJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: rework graph label handlingJo-Philipp Wich
Remove leftover unused translation code and properly escape colons in line labels. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-app-statistics: only render index view for more than one instanceJo-Philipp Wich
If a plugin produces only one instance, e.g. netlink with just one interface configured, then the controller will register no detail views which would normally show all graphs but the index pacage of a given plugin will still display the collapsed view without any possibility to reach the full listing. Fix the problem by only rendering a linked index view when more than one instance is present. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-02proto_map: fix ealen rangeSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2015-09-29Merge pull request #496 from neheb/masterHannu Nyman
Use ZopfliPNG to save 5.4 KB
2015-09-29resources/icons: Use ZopfliPNG to save 5.4 KBMangix
Signed-off by: Rosen Penev <rosenp@gmail.com>
2015-09-29luci-base: change index.html to be more like current themesHannu Nyman
Change index.html that is visible for a second when entering Luci: * Black text on white background (instead of white on black) * Specify font as Arial/Helvetica Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-29themes: remove freifunk-bno themeHannu Nyman
Remove the freifunk-bno theme as the bno profile itself was removed. Discussion in https://github.com/openwrt/luci/pull/471 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-29Merge pull request #497 from cshore/asterisk-updateHannu Nyman
applications/asterisk: Remove incorrect dependency
2015-09-29CONTRIBUTING.md: Add advice on pull requestsHannu Nyman
Add advice on pull requests and best practices in working with Github. Minor corrections & updates. Adjust to Github 'markdown' syntax. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-29applications/asterisk: Remove incorrect dependencyDaniel Dickinson
ahcpd dependency appears to have come from a cut-n-paste from luci-app-ahcpd.
2015-09-29Merge pull request #495 from openwrt-es/dump1090-nextHannu Nyman
applications/luci-dump1090: update config to latest version
2015-09-29applications/luci-dump1090: update config to latest versionÁlvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-09-28Merge pull request #491 from hnyman/reorganise-stats-menuHannu Nyman
luci-app-statistics: reorganise menu items
2015-09-28Merge pull request #492 from ollie27/nohostsHannu Nyman
luci-mod-admin-full: fix dnsmasq no-hosts/addn-hosts options
2015-09-28luci-mod-admin-full: fix dnsmasq no-hosts/addn-hosts optionsOliver Middleton
no-hosts does not disable addn-hosts. Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-09-27luci-app-statistics: reorganise menu itemsHannu Nyman
Reorganise the menu items of the Luci statistics module: * Re-label "Collectd" to "Setup" and place it after the "Graphs" items. - "Graphs" is used much more frequently so it should be first. - Change "Collectd" menu item to "Setup" to clarify things. * Re-label "System plugins" to "General plugins" to change sorting. "Network / Output / System" changes to "General / Network / Output" that is more logical order for the items. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-26Merge pull request #487 from jorgifumi/patch-1Hannu Nyman
Update multiwan.po
2015-09-26Update multiwan.poJorge Lucena
Little fix in translation msgid "WAN Uplink" Signed-off-by: Jorge Lucena <jorgifumi@gmail.com>
2015-09-26Merge pull request #484 from LuttyYang/masterHannu Nyman
luci-theme-material: add button select and input theme
2015-09-22Merge pull request #485 from dwmw2/masterJo-Philipp Wich
luci/statistics: Fix nut UPS graphs
2015-09-22luci/statistics: Fix nut UPS graphsDavid Woodhouse
At some point since I last checked, the nut plugin for collectd changed the names of the timeleft and percent datasets. Update the luci module to match so that those graphs are generated correctly again. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2015-09-20luci-theme-material: add button select input themeLutty Yang
add button select input theme Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-19Merge pull request #482 from LuttyYang/masterChristian Schoenebeck
luci-theme-material: add some new features and fix some bugs
2015-09-19luci-theme-material: add some new features and fix some bugsLutty Yang
add footer and loading animation and auto focus switches compact Fonts Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18luci-base: set default mediaurlbase to bootstrap (current default theme)Hannu Nyman
The mediaurlbase option in the default /etc/config/luci still points to the old openwrt.org theme that is not installed by default. The discrepancy was noted in the commit message for 55ab4e4ce22 After 55ab4e4ce22 the installed theme's uci-defaults script will correct the setting at first boot, but we should not have a deprecated theme as the default value. Set the default value to the default theme 'bootstrap'. Related old discussion at #302 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-18Merge pull request #481 from LuttyYang/masterHannu Nyman
luci-theme-material: fix some bug
2015-09-18luci-theme-material: fix font size bugLutty Yang
fix "textarea font-size too big in firefox" Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18luci-mod-admin-full: opkg config / prevent word-wrapHannu Nyman
Prevent word-wrap on the config input areas. Especially the feed definition lines can be long, and automatic word-wrap can decrease clarity. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-18luci-theme-material: fix Polish text longer bugLutty Yang
Signed-off-by: Lutty Yang <lutty@wcan.in>