Commit graph

7704 commits

Author SHA1 Message Date
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
Hannu Nyman
a42c0bb618 luci-mod-admin-full: restore opkg feed config capability
opkg config was recently changed by https://dev.openwrt.org/changeset/46491/

Existing /etc/opkg.conf was split to three:
   /etc/opkg.conf -> base opkg configuration
   /etc/opkg/distfeeds.conf -> default Openwrt package feeds
   /etc/opkg/customfeeds.conf -> custom package feeds

Since then, the actual feed definitions have not been visible/configurable,
as only /etc/opkg.conf has been visible in Luci.

This patch restores the capability to see and edit package feed definitions.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-15 13:01:03 +03:00
Ekaitz Zárraga
a16654b121 modules/luci-mod-failsafe: Fix nil file descriptor error
Signed-off-by: Ekaitz Zárraga <ekaitz.zarraga@fon.com>
2015-09-14 14:05:02 +02:00
Manuel Munz
428d97e3e2 Merge pull request #471 from freifunk-berlin/remove_bno
community-profiles: remove bno profile
2015-09-12 19:00:17 +02:00
Philipp Borgers
6e1a089b5c community-profiles: remove bno profile
The Berlin Nord-Ost community profile is not up-to-date and as far as I know the
community does not exist anymore.
2015-09-12 17:03:20 +02:00
Sabbir Ahmed
fff7c6c518 modules/luci-mod-rpc: fix attempt to index global 'luci' (a nil value) 2015-09-12 15:11:18 +06:00
Hannu Nyman
f0083abed1 statistics: fix typo
sed -i "s/collected date/collected data/"

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-02 15:40:56 +03:00
Jo-Philipp Wich
5735cdee86 contrib: remove obsolete luasrcdiet packaging, its built as part of luci-base now
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02 09:46:05 +02:00
Jo-Philipp Wich
ac65bb291a contrib: remove obsolete uhttpd packaging
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02 09:41:35 +02:00
Jo-Philipp Wich
62b203d0ea contrib: remove obsolete host uci configurations
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02 09:41:14 +02:00
Jo-Philipp Wich
16b63cb471 Remove obsolete toplevel Makefile
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02 09:39:24 +02:00
Jo-Philipp Wich
6c72dec7e5 build/makedocs.sh: handle relative output directories
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02 09:39:24 +02:00
Hannu Nyman
b96d223642 Merge pull request #463 from hnyman/max-len-version
Luci opkg/packages: Limit version string display to 26 chars
2015-09-02 08:50:58 +03:00
Hannu Nyman
ca75918ff3 Luci opkg/packages: Limit version string display to 26 chars
Many packages currently include a git commit hash in version string.
That makes versions string very long and the version column takes much space
when listing available/installed packages in Luci.

Longest version string is 58 characters (micropython).
85 packages have at least 50 chars and 150 packages at least 40 chars.

Adjust Luci to display max. 26 characters (= luci's own version string).

Longer version strings are cut to: "first 21c" + ".." + "last 3c"

The last 3 chars are used to preserve the possible PKG_REVISION string.
E.g. 'opkg' has only hash+PKG_REVISION, so using only start of the string
might not be optimal.

Examples:

1.3.10-20150302-f2a889564b3a215902622b040a1247af38cb8203-1
1.3.10-20150302-f2a88..3-1

0.1-20150302-654c7d288603f7dae09eb09b57fb67b38c7ac6c3-1
0.1-20150302-654c7d28..3-1

9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
9c97d5ecd795709c8584e..d-7

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-01 22:45:17 +03:00
Jo-Philipp Wich
daeb2016d6 luci-lib-ip: fix documentation issue
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01 16:49:19 +02:00
Jo-Philipp Wich
3d0e8deede Regenerate api documentation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01 16:44:59 +02:00
Jo-Philipp Wich
00e2b03927 Move doc/ to documentation/api/
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01 16:44:03 +02:00
Jo-Philipp Wich
ed1a641696 Fix module lines in several luadoc files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01 16:43:19 +02:00