Commit graph

9096 commits

Author SHA1 Message Date
Hannu Nyman
916595d157
Merge pull request #1499 from yousong/shadowsocks-libev
shadowsocks-libev: sync with packages repo
2018-01-06 09:33:18 +02:00
Hannu Nyman
7fd4f84aa9
Merge pull request #1502 from dibdot/adblock
luci-app-adblock: sync with adblock 3.4.1
2018-01-05 22:31:09 +02:00
Hannu Nyman
d3d94dc364
Merge pull request #1501 from user7887/master
fixed russian translation
2018-01-05 20:51:22 +02:00
Vladimir
b9bb8649ba fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-05 21:42:52 +03:00
Dirk Brenken
931531310e luci-app-adblock: sync with adblock 3.4.1
* refine logfile search term
* textarea 'autoscroll down' in logfile view
* left-align blocklist source table plus a more compact design

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-05 18:56:39 +01:00
Hannu Nyman
3ea73cc728
Merge pull request #1500 from user7887/master
fixed and updated russian translation
2018-01-05 17:17:38 +02:00
Vladimir
e7adf1c1bb fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-05 18:08:00 +03:00
Yousong Zhou
f1862ced41 luci-app-shadowsocks-libev: remove option manager_address
It's an option that is supposed to be fed by ss-manager.  It can be
in the form of host:port or path to unix dgram socket.  Drop it now with
the assumption that it has no real user at the moment

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:47:27 +08:00
Yousong Zhou
1ad37267ab luci-app-shadowsocks-libev: support option no_delay
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:46:30 +08:00
Yousong Zhou
611c14bff1 luci-app-shadowsocks-libev: display disabled state of remote server
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:40:09 +08:00
Jo-Philipp Wich
dac0cce6b9 luci-mod-admin-full: remove unused button cbi model
Remove the unused admin_system/buttons cbi model. It has been broken,
was not exposed in the controller and the corresponding support code
which only ever was available for the ath25 target has been dropped in
with https://git.lede-project.org/0a3d721in June 2016.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-03 23:25:35 +01:00
Vladimir
76b12b242a fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
[renamed swedish advanced-reboot.po as well, fixed a syntax error,
 filtered updated files through ./build/i18n-sync.sh]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-03 21:44:55 +01:00
Jo-Philipp Wich
75e9338b87 luci-base: fix luci.sys.wifi.getiwinfo() on radio names
Fall back to using a phy-wide iwinfo handle if the vif query yields no result.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-03 21:27:49 +01:00
Hannu Nyman
b121f95862
Merge pull request #1495 from dibdot/travelmate
luci-app-travelmate: sync with 1.0.1
2018-01-03 10:59:40 +02:00
Dirk Brenken
a4e05483b1 luci-app-travelmate: sync with 1.0.1
* LuCI: BSSID will be ignored by default in 'wireless add' dialog
* LuCI: Textarea 'autoscroll down' in logfile view
* LuCI: refine logfile search term

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-03 09:19:46 +01:00
Jo-Philipp Wich
dbb694c699 luci-mod-admin-full: allow a wider range of DSL SNR margins
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-02 18:26:16 +01:00
Jo-Philipp Wich
c8b48f9524 luci-base: reorder private functions
The _wifi_sid_by_ifname() function depends on _wifi_state_by_ifname()
so reorder the private helper functions accordingly to avoid nil value
call attempts.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-02 00:30:53 +01:00
Jo-Philipp Wich
f9b8d7ff7b luci-base: rework wireless state handling (#1179)
- fix mapping of ubus wireless state to uci declared vifs
 - fix leaking foreign vif info into per-phy iwinfo stats

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-02 00:24:10 +01:00
Jo-Philipp Wich
f2162a9a66 luci-base: require current libuci-lua
Upcoming changes will require libuci-lua features not present in
versions prior to version 2018-01-01.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-01 17:10:31 +01:00
Jo-Philipp Wich
06bb427dd9 luci.mk: allow specifying EXTRA_DEPENDS
Support a new varable LUCI_EXTRA_DEPENDS which can be used to pass
OpenWrt EXTRA_DEPENDS to buildroot.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-01 17:10:31 +01:00
Hannu Nyman
4f644d9254
Merge pull request #1490 from dibdot/adblock
luci-app-adblock: sync with adblock 3.4.0
2017-12-28 19:23:37 +02:00
Hannu Nyman
463c72a798 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-12-28 14:22:49 +02:00
Hannu Nyman
878a64f538 typo: fileystem --> filesystem
fix typo:
sed -i "s/fileystem/filesystem/"

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-12-28 14:15:16 +02:00
Dirk Brenken
033e903097 luci-app-adblock: sync with adblock 3.4.0
* add new extra options (disabled by default):
  - Flush DNS Cache
  - Email Notification
  - Email Notification Count

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-27 17:41:28 +01:00
Paul Spooren
6638e4cdd5 luci-app-attendedsysupgrade: remove outdated checks
the upgrade server used to store a md5 checksum and the image filesize,
due to complexity this was removed.

Instead a sha256sums file is created by the IB with additional
signature. The firmware filesize can be retrived by requesting
Content-Length data.sysupgrade_url.

As the deeper layers (rpcd) currently do not offer an easy way to to
perform a sha256sum check & verify a usign sig these features will be
re-added once supported.

Until then the security of the sysupgrades depend on TLS and so the
luci-app is meant as a demonstration only.

Signed-off-by: Paul Spooren <paul@spooren.de>
2017-12-27 03:26:21 +01:00
Paul Spooren
99fea16179 luci-app-attendedsysupgrade: separate js from html
also use hide(), show() and $() like jquery

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2017-12-27 03:26:21 +01:00
Hannu Nyman
902b292609
Merge pull request #1486 from stangri/luci-app-advanced-reboot
luci-app-advanced-reboot: 2 new routers + error reporting
2017-12-26 19:36:40 +02:00
Stan Grishin
e045f4d8a4 luci-app-advanced-reboot: 2 new routers + error reporting
Added support for: Linksys EA3500 and ZyXEL NBG6817
Added error reporting to both system log and WebUI on errors

Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-12-25 23:35:53 -08:00
Hannu Nyman
a2a1c35786
Merge pull request #1478 from musashino205/l10n/tmate-upd-ja
luci-app-travelmate: Update Japanese translation
2017-12-17 17:15:37 +02:00
INAGAKI Hiroshi
63efc28d48 luci-app-travelmate: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-12-17 22:28:27 +09:00
INAGAKI Hiroshi
2ef216a80d luci-app-travelmate: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-12-17 14:26:24 +09:00
Hannu Nyman
68cfa21274
Merge pull request #1476 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 1.0.0
2017-12-15 23:53:14 +02:00
Dirk Brenken
8f5604ee9e luci-app-travelmate: sync with travelmate 1.0.0
* Various cleanups & small enhancements

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-15 19:17:07 +01:00
Hannu Nyman
2f41783c9c
Merge pull request #1473 from dibdot/travelmate
luci-app-travelmate: enhance wireless security connection settings
2017-12-13 22:00:36 +02:00
Dirk Brenken
c67066ebbf luci-app-travelmate: enhance wireless security connection settings
* fix wpa enterprise options
* add various wpa / wep options

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-13 20:26:02 +01:00
Hannu Nyman
8e6b1a6d86
Merge pull request #1468 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 0.9.6
2017-12-09 09:39:47 +02:00
Dirk Brenken
c7b39ae08f luci-app-travelmate: sync with travelmate 0.9.6
* Turris omnia compability fixes
* OpenWrt theme fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-09 08:23:31 +01:00
Hannu Nyman
6d086bfb94
Merge pull request #1466 from musashino205/l10n/tmate-upd-ja
luci-app-travelmate: Update Japanese translation
2017-12-08 16:45:18 +02:00
INAGAKI Hiroshi
6d4d17be72 luci-app-travelmate: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-12-08 15:24:20 +09:00
INAGAKI Hiroshi
9399cfd461 luci-app-travelmate: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-12-08 14:40:12 +09:00
Hannu Nyman
b7906fc7c2
Merge pull request #1454 from kubco2/mwan3-fix-member-metric
luci-app-mwan3: fix member metric allowed values
2017-12-07 21:20:32 +02:00
Jo-Philipp Wich
a41215581d
Merge pull request #1452 from mkresin/master
fix DHCPv6 hostname display
2017-12-07 14:03:54 +01:00
Hannu Nyman
78ebfba390
Merge pull request #1465 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 0.9.5
2017-12-06 18:58:25 +02:00
Dirk Brenken
2474cdd049 luci-app-travelmate: sync with travelmate 0.9.5
* add support for hidden uplinks
* add support for wpa enterprise uplinks
* various small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-06 17:05:40 +01:00
Hannu Nyman
de4c4b8063
Merge pull request #1463 from dibdot/adblock
luci-app-adblock: fix minor visual issue
2017-12-05 16:15:18 +02:00
Dirk Brenken
dce8ae85ff luci-app-adblock: fix minor visual issue
* fix visual issue in runtime section (originally provided by @ansuel)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-04 22:26:18 +01:00
Jo-Philipp Wich
d2bbfa5077
Merge pull request #1459 from brianjmurrell/patch-1
Fix bad argument #1 to 'tonumber'
2017-12-04 15:03:42 +01:00
Brian J. Murrell
2c2e7f5cbb
Fix bad argument #1 to 'tonumber'
Fixes [FS#1118](https://bugs.lede-project.org/index.php?do=details&task_id=1118)

Luci chokes on devices that do not have _iptables_ installed with:

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute firstchild dispatcher target for entry '/admin'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/admin/status'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/admin/status/overview'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'.
A runtime error occured: [string "/usr/lib/lua/luci/view/admin_status/index.h..."]:34: bad argument #1 to 'tonumber' (string expected, got nil)
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 </usr/lib/lua/luci/dispatcher.lua:140>

The code should be more defensive.
2017-12-04 08:44:00 -05:00
Jakub Janco
890a2fc828 luci-app-mwan3: fix member metric allowed values
mwan3 accepts only 1-256 metric of member, if it is more, member is ignored.
This patch fix translations and allowed values of member metric input.

Signed-off-by: Jakub Janco <kubco2@gmail.com>
2017-11-29 00:30:53 +01:00
Paul Spooren
802d5b6bec luci-app-attendedsysupgrade: use rpc-sys pkglist
The bash package rpcd-mod-packagelist is no longer required as it has
been ported to rpc-sys by @dangowrt. The luci app now uses that feature.

The packagelist.acls is no longer required and has been removed.

luci-app-attendedsysupgrade: follow new server api

a new api uses more status codes and headers instead of genric 400 code
with json payload.

show error message when ubus call fail

fix typo

more info here
https://github.com/aparcar/attendedsysupgrade-server#response-status-codes

luci-app-attendedsysupgrade: refactoring

luci-app-attendedsysupgrade: use checksum

now compares cgi-io md5 checksum with md5 of server
as well checks if enough free memory is available to store image

Added needed ACL to let Luci request "system info"

rename "image" to "firmware" in output strings. This was requested as
"unification"

rpcd-mod-packelist used to return a variable called "packagelist", the
new "rpc-sys packagelist" returns a variable called "packages". This has
been adapted.

Signed-off-by: Paul Spooren <paul@spooren.de>
2017-11-24 02:10:31 +01:00