Commit graph

8333 commits

Author SHA1 Message Date
Jo-Philipp Wich
5f80115b2c luci-mod-admin-full: fixes for usbport LED triggers
The previous commit erroneously used "ports" instead of "port" as name for the
option widget, causing wrong uci values to be written.

Also work around some cbi idiosyncrasies regarding MultiValue widgets which
prevented rendering the correct initial selection state.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-02 00:40:43 +01:00
Jo-Philipp Wich
46fd88ec6c luci-base: fix logic errors in ipmask4 and ipmask6 datatype validators
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-30 19:14:54 +01:00
Jo-Philipp Wich
472dc4b9e2 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:39:38 +01:00
Jo-Philipp Wich
af2c7d9ebe luci-mod-admin-full: support configuring usbport LED triggers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26 00:39:38 +01:00
Jo-Philipp Wich
0a6507d760 luci-base: mvalue: fix column wrapping
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-26 00:39:38 +01:00
Jo-Philipp Wich
6e412cc78c 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-26 00:39:38 +01:00
Rafał Miłecki
1cd096d291 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-26 00:39:38 +01:00
Jo-Philipp Wich
7cd9ecff00 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:52:12 +01:00
Jo-Philipp Wich
33a917f9c4 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:19:26 +01:00
Jo-Philipp Wich
8297be5485 luci-base: add 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:19:23 +01:00
Jo-Philipp Wich
07ceede1be luci-base: datatypes.lua: cleanup white space
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-23 16:18:56 +01: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
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
Daniel Dickinson
6c13339ad3 Merge pull request #930 from cshore-firmware/pull-request-fix-webadmin
base: webadmin: Don't take substring of nil variable
2017-01-10 17:19:55 -05:00
Hannu Nyman
8703653eb8 Merge pull request #929 from bittorf/master
luci-app-olsr: adapt to changed behavior of new OLSRd v0.9.5
2017-01-10 18:28:18 +02:00
Bastian Bittorf
bae82052e0 luci-app-olsr: adapt to changed behavior of new OLSRd v0.9.5
controller/olsr.lua:
drop HTTP-headers which are now emitted, we do not need them

status-olsr/neighbors.htm:
olsr ETX value now without muliplication 1024x

Signed-off-by: Bastian Bittorf <bb@npl.de>
Signed-off-by: Freifunk UFO <ufo@rund.freifunk.net>
2017-01-10 17:23:36 +01:00
Hannu Nyman
cf5d266dff luci-ssl-openssl: update note about px5g's SSL library usage
px5g still requires libmbedtls (in LEDE) or libpolarssl (in Openwrt).

In LEDE it is also possible to replace px5g with openssl-util and
achieve "openssl-only" build without libmbedtls, as uhttpd can also
generate keys with openssl commandline tools if px5g is not present.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-09 17:54:05 +02:00
Hannu Nyman
92c537bb5e Merge pull request #919 from kuoruan/luci-app-wifischedule
Luci app wifischedule: minor changes
2017-01-09 15:05:31 +02:00
Hannu Nyman
d830231e38 Merge pull request #927 from jp-bennett/master
[luci-app-fwknopd] Remove usage of dynamic tag.
2017-01-09 10:54:37 +02:00
Jonathan Bennett
846bdf4d80 [luci-app-fwknopd] Remove usage of dynamic tag.
Also adds NAT-DNS as a default setting, and enables a QR-code per access.conf entry
Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
2017-01-09 01:55:19 -06:00
Hsing-Wang Liao
ddfe7c4374 luci-app-wifischedule: minor changes
* Formatting codes.
* Move to services sub menu.
* Update Simplified Chinese translation.
* And some other small changes.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-01-08 11:30:00 +08:00
Hannu Nyman
95d3f26691 Merge pull request #923 from kuoruan/i18n-zh-cn
Update Simplified Chinese translation
2017-01-07 17:04:32 +02:00
Hsing-Wang Liao
a3066aa0bb luci-app-privoxy: Update Simplified Chinese translation
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-01-07 21:51:13 +08:00
Hsing-Wang Liao
70b725991e luci-base: Update Simplified Chinese translation
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-01-07 21:50:21 +08:00
Hannu Nyman
9dbfb9d388 luci-base: update LuaSrcDiet download location
Update the googlecode download address to the current one.

Change hash to SHA256 at the same time.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-01-05 23:34:54 +02:00