Commit graph

8345 commits

Author SHA1 Message Date
Jo-Philipp Wich
ca75550267 luci-mod-admin-full: admin: change password in Map.parse()
Move the password setting into the .parse() callback to ensure that it is
updated regardless of whether "Save" or "Save & Apply" has been pressed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26 00:21:19 +01:00
Jo-Philipp Wich
1640d14191 luci-mod-admin-full: support configuring usbport LED triggers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26 00:08:43 +01:00
Jo-Philipp Wich
ae7c6f48df luci-base: mvalue: fix column wrapping
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26 00:07:26 +01:00
Jo-Philipp Wich
b5db545077 luci-mod-admin-full: reload wifi settings page after changing countey code
Reloading the page ensures that the allowed tx power values and channel select
lists are properly populated with the new effective values.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-25 23:37:40 +01:00
Rafał Miłecki
dbbb3c7497 luci-mod-admin-full: allow unset txpower value
Sometimes txpower is not set so we should have an option with empty
value to let it stay unset.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-01-25 23:21:30 +01:00
Jo-Philipp Wich
ec9942925c luci-base: datatypes.lua: add missing parentheses in conditional
The missing parens lead to a wrong expression precedence, causing a runtime
error when attempting to compare nil with a number.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-24 13:51:27 +01:00
Hannu Nyman
b6c1ac3bb0 Merge pull request #972 from musashino205/stat-upd-ja
luci-app-statistics: Update Japanese translation
2017-01-24 08:19:56 +02:00
INAGAKI Hiroshi
8f4339d09e luci-app-statistics: Update Japanese translation
Added some Japanese translations and fixed some mistranslations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-24 15:08:48 +09:00
INAGAKI Hiroshi
66e3d0c9e7 luci-app-statistics: Sync translations
Synchronized translation of each language po file and po templates
with Lua source.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-24 14:46:30 +09:00
Hannu Nyman
e7aa7b7d69 Merge pull request #959 from EricLuehrsen/unbound_odhcpd
unbound: update UCI for odhcpd and hostname
2017-01-24 07:35:48 +02:00
Eric Luehrsen
54aa4b5799 unbound: update UCI for odhcpd and hostname
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-01-24 00:06:49 -05:00
Hannu Nyman
eaafb4508c luci-app-statistics: add advice about data directory permissions
Add advice about the permissions needed for the data directory:

  Pages are rendered as user 'nobody', so the *.rrd files,
  data directory and all its parent directories need to be
  world readable.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-23 19:31:40 +02:00
Jo-Philipp Wich
c7939d3feb luci-app-firewall: use new ipmask validation types when applicable
This allows for address specifications like "fdca🔢0123::abcd/::ffff:ffff:ffff:ffff"
which only match the last 64 bits of an address. This syntax is legal and already supported
by iptables and firewall3.

Fixes https://bugs.lede-project.org/index.php?do=details&task_id=417

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23 16:18:20 +01:00
Jo-Philipp Wich
e4b1bb3156 luci-base: ipmask, ipmask4 and ipmask6 validators
These validators accept IP address specifications in the form

 - address
 - address/bits
 - address/netmask

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23 16:15:22 +01:00
Jo-Philipp Wich
937f4fbbdf luci-base: datatypes.lua: cleanup white space
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23 16:10:07 +01:00
Cody R. Brown
0f35de886c luci-base: luci.tools.status: properly parse infinite dnsmasq leases
The expiry time in a dnsmasq lease file line may be 0 (i.e.
expiry date = 01/01/1970 00:00:00 GMT) to denote an infinite
lease time, so adjust the code to properly support that.

The expiry attribute of the lease object will be set to "false"
in case of an infinite lease. This is to mimic the odhcp code below.
If the expiry date is not equal to 0, then just do exactly what was
done before (return the os.diff of current time and ts).

Signed-off-by: Cody R. Brown <dev@codybrown.ca>
2017-01-23 09:37:10 +02:00
Hannu Nyman
3b46d84fa8 Merge pull request #967 from musashino205/cmd-upd-ja
luci-app-commands: Update Japanese translation
2017-01-22 07:49:19 +02:00
INAGAKI Hiroshi
668e691d5c luci-app-commands: Update Japanese translation
Added some Japanese translations of recently added strings.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-21 18:24:22 +09:00
INAGAKI Hiroshi
2c502a8fe3 luci-app-commands: Sync translations
Synchronized translation of each languate and po templates with Lua
sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-21 18:21:55 +09:00
Daniel Dickinson
e1edb1025c Merge pull request #768 from t123yh/app_commands_nodownload
luci-app-commands: allow executing without downloading on public links
2017-01-20 18:00:42 -05:00
Daniel Dickinson
9b7a5a477a Merge pull request #954 from musashino205/dynpnt-add-ja
luci-app-dynapoint: Add Japanese translation
2017-01-16 22:47:18 -05:00
INAGAKI Hiroshi
f86210504e luci-app-dynapoint: Add Japanese translation
Added Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-17 03:23:38 +09:00
Daniel Dickinson
f00a1ac2d9 Merge pull request #953 from musashino205/mount-fix-disp
luci-mod-admin-full: Fix display problems of mount
2017-01-16 10:45:20 -05:00
Daniel Dickinson
be28190838 Merge pull request #947 from danrl/proto-wireguard
luci-proto-wireguard: enable addressing for tunnel interfaces
2017-01-16 09:39:55 -05:00
Daniel Dickinson
348a6fde90 Merge pull request #817 from ascob/luci-app-dynapoint
luci-app-dynapoint: new package
2017-01-16 09:28:26 -05:00
Daniel Dickinson
859bac61fc Merge pull request #917 from aa65535/master
luci-base:adjust the code order
2017-01-16 09:26:42 -05:00
Daniel Dickinson
a85807d375 Merge pull request #946 from chloe-jeong/trunk-ko
Updates korean languages.
2017-01-16 02:07:36 -05:00
Daniel Dickinson
2cb780c8cc Merge pull request #861 from ynezz/master
luci-mod-admin-full: Store system time into RTC also
2017-01-16 01:49:21 -05:00
Daniel Dickinson
98d1a09b57 Merge pull request #859 from feckert/realtime_wlan
luci-mod-admin-full: show realtime wlan graph only if iw command is installed
2017-01-16 01:42:00 -05:00
INAGAKI Hiroshi
bc8f58a2ef luci-base: sync translations
Recently a string to be translated were added to Lua source, so
I synchronized po templates and po file of each language with Lua
source.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-16 13:01:17 +09:00
INAGAKI Hiroshi
9b56b0709f luci-mod-admin-full: Fix display problems of mount
Fixed some display problems where the UUID label of the drop down
list does not exist and the positions of other labels are misplaced
in mount settings page.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-16 12:52:06 +09:00
t123yh
077ac32635 luci-app-commands: Allow executing without downloading on public links
Signed-off-by: t123yh <t123yh@outlook.com>
2017-01-15 23:13:10 +08:00
ascob
cd8096b0ce luci-app-dynapoint: new package
Add luci-app-dynapoint to repo
LuCI Support for DynaPoint
Dynapoint allows dynamic access point creation
and deletion depending on changes of certain network conditions.
More information: https://github.com/thuehn/dynapoint

Signed-off-by: Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
2017-01-15 14:18:08 +01:00
Daniel Dickinson
d732836063 Merge pull request #948 from musashino205/wifi-fix-disp
luci-mod-admin-full: Fix display problem of wifi_add
2017-01-14 16:06:36 -05:00
INAGAKI Hiroshi
35f68fb7ea luci-mod-admin-full: Fix display problem of wifi_add
Fixed an issue where the network name is displayed as "%q" on wlan
connection destination network settings page.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-15 02:16:33 +09:00
danrl
77ea7c8c7e luci-proto-wireguard: enable addressing for tunnel interfaces
Enable static addresses on WireGuard tunnel interfaces without requiring
an static address interface.

This removes the requirement to use a static address interface on top of a
WireGuard tunnel interface in the majority of cases. In the past, users have
been confused by the current approach and asked for a simpler way to configure
WireGuard interfaces.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-01-14 17:12:36 +01:00
Weongyo Jeong
752a6df19f luci-app-firewall: Updates korean language.
Initial korean language support for luci-app-firewall.

Signed-off-by: Weongyo Jeong <weongyo@gmail.com>
2017-01-14 21:13:48 +09:00
Weongyo Jeong
fe7fd0e230 luci-base: Updates korean language.
Signed-off-by: Weongyo Jeong <weongyo@gmail.com>
2017-01-14 21:12:53 +09:00
Daniel Dickinson
75c9670bf8 Merge pull request #942 from musashino205/tmate-upd-ja
luci-app-travelmate: Update Japanese translation
2017-01-14 01:57:34 -05:00
Daniel Dickinson
ef38306a47 Merge pull request #943 from SvenRoederer/patch-1
freifunk-common: bump version as of recent changes
2017-01-14 01:56:08 -05:00
Sven Roederer
12e82a3425 freifunk-common: bump version as of recent changes
the updates for olsr-0.9.5 compatibility should have changed the release-number

Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2017-01-13 23:28:42 +01:00
INAGAKI Hiroshi
f005a173ae luci-app-travelmate: Update Japanese translation
Added some translations of recently added strings.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-14 03:36:55 +09:00
INAGAKI Hiroshi
5116754a6c luci-app-travelmate: sync translations
Recently several strings to be translated ware added to Lua source, so I updated po templates and japanese po file.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-14 03:06:08 +09:00
Hannu Nyman
de4bda67e0 Merge pull request #939 from dibdot/master
luci-app-travelmate: update gui elements
2017-01-12 22:36:10 +02:00
Daniel Dickinson
6a7eaeb486 Merge pull request #938 from cshore-firmware/pull-request-statistics-df
app-statistics: df: Don't separate disk usage types
2017-01-12 10:19:37 -05:00
Dirk Brenken
34810889a6 luci-app-travelmate: update gui elements
* update gui elements to reflect changes in travelmate 0.3.x

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-01-12 15:55:55 +01:00
Hannu Nyman
61fa65f2f9 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-11 15:50:46 +02:00
Hannu Nyman
44b56f71bd luci-mod-admin-full: fix help text for wifi join options
Clarify the help text in the wifi join dialog.
Reference to #793, #876, #897

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-11 15:31:54 +02:00
Hannu Nyman
12d861f417 Merge pull request #933 from musashino205/wifischd-upd-ja
luci-app-wifischedule: Update Japanese translation
2017-01-11 10:14:55 +02:00
INAGAKI Hiroshi
7e53e57e68 luci-app-wifischedule: Update Japanese translation
Added a Japanese translation of recently added string.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-01-11 17:11:25 +09:00