Commit graph

8333 commits

Author SHA1 Message Date
BuildTools
140b6d0e1d Fix some capital and add some translation
Hope this time I have done a good work
2016-08-24 12:27:01 +02:00
Hannu Nyman
74b452a83e i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-24 11:49:13 +03:00
Hannu Nyman
107b3c7def luci-mod-admin-full: tweak checksum item presentation
Simplify the sysupgrade image checksum strings in order to
avoid translating "Checksum xxx" items both for MD5 and SHA256.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-24 11:46:20 +03:00
Jo-Philipp Wich
f885853b5c Revert "Fix and update italian translation"
This reverts commit 66d5023891 since the
original change was apparently untested.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-24 10:20:43 +02:00
Jo-Philipp Wich
cf28cbd4a4 Merge pull request #781 from Ansuel/patch-1
Fix and update italian translation
2016-08-23 23:12:38 +02:00
Ansuel
66d5023891 Fix and update italian translation
I have fixed some capital letter and add some translation
2016-08-23 23:10:45 +02:00
Hannu Nyman
c0af3601fb luci-mod-admin-full: show also sha256 checksum for sysupgrade images
Show also the sha256 checksum in addition to MD5 checksum to enable
image verification also for builds with only sha256 checksums.

If the 'sha256sum' command is not present in the system, the value
remains empty.

Note: The easiest way to get the 'sha256sum' command is to compile it
into busybox.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-19 11:08:24 +03:00
Jo-Philipp Wich
19981732fc luci-mod-admin-full: properly skip over unused switch ports
Fix incomplete port status display on vlan setup page when ports in the middle
are not used, e.g. some Lantiq boards use ports 0, 1, 2 and 4 for LAN ports so
JS code should not attempt to reference an undefined status element for port 3.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-18 10:02:53 +02:00
Jo-Philipp Wich
c390a09cea luci-mod-admin-full: fallback to generic switch topology
Use a generic default topology if we cannot infer switch information from
board.json and display an error message in this case. Should fix #779 and
similar issues.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-18 09:23:32 +02:00
Jo-Philipp Wich
4a5635cafa luci-base: properly style login alert message
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-18 09:19:54 +02:00
Jo-Philipp Wich
34c2eca4fc luci-theme-bootstrap: add missing CSS class
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-18 09:18:56 +02:00
Hannu Nyman
46755e25ba i18n: privoxy/zh-cn: correct linefeeds, sync translation
Incorrect linefeeds caused the i18n-sync script to misbehave.

* Line feeds corrected (from CRLF to LF)
* Synced ok after the linefeed change.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-16 12:40:04 +03:00
Hannu Nyman
f58069a1a6 i18n: sync translations, fix sv for adblock
Sync translations.
Fix the newly added sv translation for adblock.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-16 10:07:49 +03:00
Hannu Nyman
fb821cc395 Merge pull request #778 from Umeaboy/patch-26
Created sv.po
2016-08-16 09:34:02 +03:00
Kristoffer Grundström
59dc2ef0b6 Created sv.po
Signed-off-by: Kristoffer Grundström <hamnisdude@gmail.com>
2016-08-16 02:07:50 +02:00
Jo-Philipp Wich
3ea9c85ed6 luci-mod-admin-full: use switch toplogy information for vlan setup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-15 17:57:06 +02:00
Jo-Philipp Wich
8cd6e4efe8 luci-base: support reading switch topology from /etc/board.json
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-15 17:52:28 +02:00
Daniel Dickinson
c9cd869168 luci-app-statistics: nut: Add additional stats some UPSes report
Different UPSes report differents stats; here we add graphing
of some additional statistics supports by some models.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-08-13 20:38:56 -04:00
Daniel Dickinson
1f4bda95ff luci-app-pppoe-server: Add PPPoE server configuration
Adds support for rp-pppoe-server configuration once pending
pull request for packages feed gets applied.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2016-08-13 20:36:18 -04:00
Artur Stepniewski
a21bcb5113 Fix missing title in df graphs
It used data source instance name instead of plugin instance name.

Signed-off-by: Artur Stepniewski <artur.stepniewski+openwrt@gmail.com>
2016-08-11 01:07:16 +02:00
Jo-Philipp Wich
6a11f71758 luci-base: cbi.js: handle undefined arguments in formatting
Fix the JavaScript String.format() to not trigger an exception if the argument
for an escaped format like %h or %q is undefined.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
bd4534496a luci-mod-admin-full: status page formatting fix
Display a question mark for undefined SSID and BSSID strings.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
123f14b55d luci-base: fix handling of monitor ifaces
Wireless monitor interfaces usually have no SSID set in their config and
various network model utility functions did not handle this case properly,
mainly while trying to incorperate the SSID string into various description
labels.

Fall back to the internal network id (radioX.networkY) in cases where neither
the SSID nor the BSSID are available.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
240b8c4b6e luci-base: improve string format error reporting
In mod metamethod, execute string format under pcall() and rethrow error in
caller context to report caller of function in errors and not the meta
method itself.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
1367f7b624 luci-mod-admin-full: fix net diagnostics with missing config
Gracefully handle a missing diag section in /etc/config/luci when rendering
the network diagnostics tool page.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-31 16:00:09 +02:00
Jo-Philipp Wich
f9e5d11d62 Merge pull request #766 from feckert/config_diag_url
luci-mod-admin-full: make diagnostics url customizable
2016-07-29 15:28:28 +02:00
Florian Eckert
8b07a65117 luci-mod-admin-full: make diagnostics url customizable
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-07-29 08:21:23 +02:00
Christian Schoenebeck
936d771613 Merge pull request #764 from chris5560/master
luci-app-privoxy: change to tabbed display
2016-07-24 20:29:27 +02:00
Christian Schoenebeck
9549cb6ca2 luci-app-privoxy: change to tabbed display
- changed to tabbed display
- modified version detection
- adaption to new function version_compare() in ipkg.lua
- adaption to fixed Flag.parse() in cbi.lua
- add support new option "system.boot_delay"
- also fix #763

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-07-24 10:59:21 +02:00
Jo-Philipp Wich
6be690473b Merge pull request #743 from HenryGiraldo/master
Closes #741: Can't delete disabled wireless networks
2016-07-08 15:18:21 +02:00
Jo-Philipp Wich
22945a028d Merge pull request #754 from dalmago/translation
luci-app-ddns: adding pt-br translation
2016-07-08 15:16:28 +02:00
Manuel Munz
ca6a8f5b78 Merge pull request #753 from platschi/master
contrib/community_profiles: Add LibreTulum
2016-07-05 20:36:24 +02:00
platschi
ef6dd443af Update LibreTulum Profile 2016-07-05 12:41:49 -05:00
Matheus Dal Mago
23fa83dc7f luci-app-ddns: adding pt-br translation
Signed-off-by: Matheus Dal Mago <matheusdalmago10@gmail.com>
2016-07-02 17:57:39 -03:00
platschi
e430129b99 Add LibreTulum
Adding Profile for LibreTulum
2016-07-01 23:34:23 -05:00
John Crispin
ce3eb113f4 luci-mod-admin-full: add log_file and log_proto support
Signed-off-by: John Crispin <john@phrozen.org>
[Jo-Philipp Wich: remove file datatype constraint]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-30 11:54:53 +02:00
Juan Manuel M
d4176328df luci-proto-vpnc: further typo fixes 2016-06-28 16:43:42 +02:00
Vladimir Ulrich
52de960bb5 luci-app-openvpn: various fixes and optimizations
Closes #628 as suggestion was implemented and tested.
Added PID handling function (Fixes https://dev.openwrt.org/ticket/21506).

Signed-off-by: Vladimir Ulrich <admin@evl.su>
2016-06-28 16:40:23 +02:00
Jo-Philipp Wich
af9d1b02a9 Merge pull request #749 from TaiSHiNet/master
Fixed luci-proto-vpnc typos which rendered it unusable
2016-06-28 16:04:07 +02:00
Juan Manuel M
3a6c2872c6 Fixed luci-proto-vpnc typos which rendered it unusable 2016-06-28 11:01:41 -03:00
Hannu Nyman
65c7610b05 Merge pull request #744 from chris5560/master
luci-app-ddns: fix handling of parameter "is_glue" and "dns_seerver"
2016-06-19 19:56:15 +03:00
Christian Schoenebeck
c37eb36207 luci-app-ddns: - fix handling of parameter "is_glue" and "dns_seerver"
- fix handling of parameter "is_glue" and "dns_seerver"
- depends on https://github.com/openwrt/packages/pull/2875

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-06-18 21:58:02 +02:00
Enrique Giraldo
5e1f2a1b58 Closes #741: Can't delete disabled wireless networks
When a wireless network is disabled it can't be removed. From
wifi_overview.htm the delete call is generated as wlan0, wlan1 or
whatever. This wlan is not working because it is disabled, then LuCI
deletes the virtual radio which really is named as wlan0.
2016-06-16 15:08:36 +02:00
Hannu Nyman
cd50f27956 luci-app-adblock: adjust to adblock 1.2.0
* more status info
* change in default nullipv addresses
* two uhttpd instances (for ports 80/443)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-12 21:14:54 +03:00
Hannu Nyman
e52406936e Merge pull request #740 from mkresin/master
luci-app-ddns: pass the is_glue option value to the helper
2016-06-12 13:58:58 +03:00
Mathias Kresin
59d391b5bd luci-app-ddns: pass the is_glue option value to the helper
Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-06-12 12:41:17 +02:00
Hannu Nyman
d014234195 Merge pull request #739 from LipkeGu/patch-1
luci-mod-freifunk: Fix "Undefined reference to net.iwdata"
2016-06-11 10:30:33 +03:00
Guido L
1e7466bbda luci-mod-freifunk: Fix "Undefined reference to net.iwdata"
This PR fixes an Internal Server Error when requesting the Wireless Informations in luci-mod-freifunk. 
It checks an unindexed value "net.iwdata".

```
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/freifunk/status'. The called action terminated with an exception: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'freifunk/public_status'. 

A runtime error occured: [string "/usr/lib/lua/luci/view/freifunk/public_stat..."]:116: attempt to index field 'iwdata' (a nil value) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:141: in function...
```

signed-off.by: Guido Lipke <lipkegu@gmail.com>
2016-06-10 01:55:33 +02:00
Hannu Nyman
0b8bfed7c2 luci-app-firewall: cleanup translations
Cleanup the .po files by removing the archived old translation strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09 20:26:18 +03:00
Hannu Nyman
3d08224b2e luci-base: cleanup translations
Cleanup the .po files by removing the archived old translation strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09 12:51:21 +03:00