Commit graph

7829 commits

Author SHA1 Message Date
Hannu Nyman
527ad73866 Merge pull request #489 from hnyman/remove-bno-theme
themes: remove freifunk-bno theme
2015-10-04 18:57:45 +03:00
Jo-Philipp Wich
03a90f161a luci-mod-admin-full: status: survive broken DSL status output
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-03 16:11:14 +02:00
Jo-Philipp Wich
c10a7380bf luci-app-statistics: improve diagram generation, add missing title
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03 15:30:59 +02:00
Jo-Philipp Wich
96b031bbad luci-app-statistics: rework graph label handling
Remove leftover unused translation code and properly escape colons in line
labels.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03 15:29:28 +02:00
Jo-Philipp Wich
59d2f60a42 luci-app-statistics: only render index view for more than one instance
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-03 11:40:12 +02:00
Steven Barth
ecd460f79f proto_map: fix ealen range
Signed-off-by: Steven Barth <steven@midlink.org>
2015-10-02 11:34:12 +02:00
Hannu Nyman
8030cc6f4b Merge pull request #496 from neheb/master
Use ZopfliPNG to save 5.4 KB
2015-09-29 21:10:43 +03:00
Mangix
2cbe5d2af3 resources/icons: Use ZopfliPNG to save 5.4 KB
Signed-off by: Rosen Penev <rosenp@gmail.com>
2015-09-29 10:41:43 -07:00
Hannu Nyman
b6fe9a70e6 luci-base: change index.html to be more like current themes
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-29 11:44:53 +03:00
Hannu Nyman
60e2148d70 themes: remove freifunk-bno theme
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-29 11:44:16 +03:00
Hannu Nyman
e759b495b2 Merge pull request #497 from cshore/asterisk-update
applications/asterisk: Remove incorrect dependency
2015-09-29 11:31:42 +03:00
Hannu Nyman
0e2c555c30 CONTRIBUTING.md: Add advice on pull requests
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-29 11:25:09 +03:00
Daniel Dickinson
91220dac08 applications/asterisk: Remove incorrect dependency
ahcpd dependency appears to have come from a cut-n-paste from
luci-app-ahcpd.
2015-09-29 03:47:31 -04:00
Hannu Nyman
9e3d73f789 Merge pull request #495 from openwrt-es/dump1090-next
applications/luci-dump1090: update config to latest version
2015-09-29 09:53:04 +03:00
Álvaro Fernández Rojas
8d7a8ce5a4 applications/luci-dump1090: update config to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-09-29 00:07:22 +02:00
Hannu Nyman
d73db0d0ba Merge pull request #491 from hnyman/reorganise-stats-menu
luci-app-statistics: reorganise menu items
2015-09-28 18:29:58 +03:00
Hannu Nyman
db6e228250 Merge pull request #492 from ollie27/nohosts
luci-mod-admin-full: fix dnsmasq no-hosts/addn-hosts options
2015-09-28 12:01:56 +03:00
Oliver Middleton
0857aaa28b luci-mod-admin-full: fix dnsmasq no-hosts/addn-hosts options
no-hosts does not disable addn-hosts.

Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-09-28 01:12:15 +01:00
Hannu Nyman
da5b25187b luci-app-statistics: reorganise menu items
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-27 16:41:53 +03:00
Hannu Nyman
64bfe908e3 Merge pull request #487 from jorgifumi/patch-1
Update multiwan.po
2015-09-26 19:37:30 +03:00
Jorge Lucena
7a04dc2f63 Update multiwan.po
Little fix in translation msgid "WAN Uplink"

Signed-off-by: Jorge Lucena <jorgifumi@gmail.com>
2015-09-26 18:22:40 +02:00
Hannu Nyman
990c2e23e7 Merge pull request #484 from LuttyYang/master
luci-theme-material: add button select and input theme
2015-09-26 18:29:12 +03:00
Jo-Philipp Wich
a60184d6bd Merge pull request #485 from dwmw2/master
luci/statistics: Fix nut UPS graphs
2015-09-22 22:18:16 +02:00
David Woodhouse
41ec4c68ad luci/statistics: Fix nut UPS graphs
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-22 21:15:50 +01:00
Lutty Yang
5a0c3bbfa9 luci-theme-material: add button select input theme
add button select input theme

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-20 12:08:44 +08:00
Christian Schoenebeck
13f3ad9635 Merge pull request #482 from LuttyYang/master
luci-theme-material: add some new features and fix some bugs
2015-09-19 13:17:24 +02:00
Lutty Yang
fea55f75c7 luci-theme-material: add some new features and fix some bugs
add footer and loading animation and auto focus switches
compact Fonts

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-19 17:22:54 +08:00
Hannu Nyman
1209ab6ba6 luci-base: set default mediaurlbase to bootstrap (current default theme)
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 55ab4e4ce2

After 55ab4e4ce2 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-18 16:00:06 +03:00
Hannu Nyman
43b22213f0 Merge pull request #481 from LuttyYang/master
luci-theme-material: fix some bug
2015-09-18 11:52:32 +03:00
Lutty Yang
cf0623f4f5 luci-theme-material: fix font size bug
fix "textarea font-size too big in firefox"

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18 16:22:39 +08:00
Hannu Nyman
c91a5eb2c4 luci-mod-admin-full: opkg config / prevent word-wrap
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-18 10:24:58 +03:00
Lutty Yang
e04e263adf luci-theme-material: fix Polish text longer bug
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18 13:51:15 +08:00
Lutty Yang
2237aab76b luci-theme-material: fix some bug
fixed "logout" text theme error and "unsaved changes" page dislocation.

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18 11:32:44 +08:00
Hannu Nyman
e82a9da502 Merge pull request #480 from obsy/master
Cosmetic changes for the Polish language
2015-09-17 19:31:00 +03:00
Cezary Jackiewicz
b699b559e6 i18n/polish/base: changing form of the word 2015-09-17 18:23:26 +02:00
Cezary Jackiewicz
4e2f87ef03 i18n/polish/base: truncate strings to better fit in view 2015-09-17 18:20:25 +02:00
Cezary Jackiewicz
dd8778363d i18n/polish/firewall: typo 2015-09-17 18:18:38 +02:00
Hannu Nyman
4b69adf77d Merge pull request #479 from LuttyYang/master
fix luci-theme-material bug
2015-09-17 16:07:13 +03:00
Lutty Yang
6c1a2e3483 luci-theme-material: fix no password set, Luci displays information is illegible.
Fixed the visibility of "no password set" warning.

Signed-off-by: Lutty Yang<lutty@wcan.in>
2015-09-17 21:03:01 +08:00
Hannu Nyman
7ead90bb26 Merge pull request #470 from thesabbir/patch-01
merged 
modules/luci-mod-rpc: fix #466 #427 attempt to index global 'luci' (a nil value)
2015-09-17 11:47:54 +03:00
Hannu Nyman
892dd7383a Merge pull request #473 from ekaitz-zarraga/fix-luci-failsafe
modules/luci-mod-failsafe: Fix nil file descriptor error
2015-09-17 11:43:05 +03:00
Hannu Nyman
c207016774 Merge pull request #478 from LuttyYang/master
Merge new theme 'material' / luci-theme-material

Material is a clean HTML5 theme for LuCI. 
It is based on luci-theme-bootstrap and MUI.
2015-09-17 11:36:43 +03:00
Lutty Yang
c332c66031 Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-17 16:19:48 +08:00
Hannu Nyman
edc58332f0 luci-app-firewall: use maxlength datatype instead of validate function
Switch the zonename validation to use
a compound datatype "and(uciname,maxlength(14))"
instead of a separate 'validate' function.

Remove the unnecessary function that was introduced by 34e875b

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-17 11:02:13 +03:00
Hannu Nyman
f3f0de3e5e documentation: delete obsoleted file that has a troublesome name
Remove SubmitPatchesHowTo:.md that contains obsolete advise about svn and
submitting patches via trac. The filename also contains ":", which causes
trouble for some git clients (e.g. TortoiseGit).

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-16 17:55:07 +03:00
Lutty Yang
cdf3122db2 fix path error 2015-09-16 22:02:21 +08:00
Lutty Yang
97d3497c46 fix path error 2015-09-16 21:30:50 +08:00
Lutty Yang
b825a140fd init Material Design theme 2015-09-16 19:59:17 +08:00
Hannu Nyman
3288fe76ab Luci opkg/packages: Show package size in list of available packages
Add package *.ipk size information to package listing in Luci,
as opkg was today extended to support listing also the size information.
Visible fields are now: name, version, size, description

That will help users considering installation of a certain package
to assess its size impact on flash.

Note: Opkg data includes the size of the .ipk file, not the expanded size.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-16 12:47:48 +03:00
Hannu Nyman
7347cf00cb Merge pull request #475 from hnyman/opkg-feed-config
luci-mod-admin-full: restore opkg feed config capability
2015-09-15 15:05:09 +03:00