Commit graph

9533 commits

Author SHA1 Message Date
Hannu Nyman
c379f00e86
Merge pull request #1878 from sotux/openwrt-18.06_zh_CN
luci-app-firewall: zh_CN: change better translation for offloading
2018-06-12 19:56:38 +03:00
Zheng Qian
21a1cc9d9b luci-app-firewall: zh_CN: change better translation for offloading
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-12 12:06:34 +08:00
Hannu Nyman
ef35d85971
Merge pull request #1873 from sotux/openwrt-18.06
update Openwrt 18.06 Simplified Chinese translation
2018-06-09 16:43:55 +03:00
Zheng Qian
d1c436df3f luci-app-upnp: zh_CN: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09 21:38:17 +08:00
Zheng Qian
987a3a0a82 luci-app-firewall: zh_CN: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09 21:38:01 +08:00
Zheng Qian
4e9271d5e8 luci-base: zh_CN: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09 21:38:01 +08:00
Hannu Nyman
29b4c7146b
Merge pull request #1840 from EricLuehrsen/openwrt-18.06
[openwrt-18.06] luci-app-unbound: provide transparent defaults with documentation
2018-05-29 11:29:28 +03:00
Eric Luehrsen
452c95cdc7 luci-app-unbound: provide transparent defaults with documentation
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-05-29 00:01:07 -04:00
Yousong Zhou
485f411b4e shadowsocks-libev: fix enumerating server and ss_redir sections
The issue existed since the first revision of the rewrite and was
exposed by commit 4024d4f (luci-base: switch to ubus uci operations)

A quick scan of the current repo indicates that these are the only sites
of wrong call pattern

Fixes openwrt/packages#6113

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-28 11:21:56 +08:00
Ansuel Smith
e1ab470f4c luci-base: fix broken translation
Currently this translation refer to an old string, sync to the new one.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit c29ffe4dfc)
2018-05-27 22:09:05 +03:00
INAGAKI Hiroshi
f569e7fc6a luci-app-firewall: update Japanese translation
Added Japanese translations for offloading options.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
(cherry picked from commit a3be234992)
2018-05-27 19:27:40 +03:00
INAGAKI Hiroshi
2742a1efa6 luci-app-firewall: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
(cherry picked from commit b4d484e372)
2018-05-27 19:27:28 +03:00
Hannu Nyman
1a918d8fae luci-app-firewall: expose flow offloading options
Expose options related to routing/NAT flow offloading
feature in firewall3. Offloading is available in kernel 4.14+

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 177224c14a)
2018-05-27 19:26:39 +03:00
INAGAKI Hiroshi
deae048c94 luci-app-mwan3: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
(cherry picked from commit e050337c51)
2018-05-27 19:22:40 +03:00
INAGAKI Hiroshi
9699dd7d33 luci-app-adblock: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>

(cherry picked from commit d3c1951cbb
adapted for small difference betwenn master and 18.06)
2018-05-27 19:14:24 +03:00
Dirk Brenken
d843063e4a luci-app-travelmate: fix url ampersand encoding
* fix ampersand encoding in wireless stations overview

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 85342e2c03)
2018-05-27 19:07:46 +03:00
INAGAKI Hiroshi
fdb008123f luci-app-travelmate: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
(cherry picked from commit af19588b9e)
2018-05-27 19:07:35 +03:00
Hannu Nyman
1341412893 i18n: one more fix for Polish translation
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-25 17:10:04 +03:00
Hannu Nyman
c5459f52f4 i18n: sync, fix and cleanup translations
* sync translations (aiccu removal)
* remove some other old strings
* fix Polish translation

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-25 16:52:30 +03:00
Florian Eckert
690c7c71dc luci-proto-ipv6: remove outdated aiccu proto support
Remove outdated package for luci proto section.
See commit:
441f8a3ed1

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 9e3fb2c585)
2018-05-25 16:47:18 +03:00
Hannu Nyman
b2a247a1e9 i18n: sync tranlations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-20 19:45:33 +03:00
Helge Mader
7ebf84a17b luci-app-ddns: fix HTML page rendering in globals section
Signed-off-by: Helge Mader <ma@dev.tdt.de>

(cherry picked from commit 7a9957e727)
2018-05-16 16:43:04 +03:00
Rixerx
1faa9a3cb6 luci-base: update Polish translation
Signed-off-by: Rixerx <krystian.kozak20@gmail.com>
(cherry picked from commit 3782e74cf8)
2018-05-16 16:42:26 +03:00
Florian Eckert
211d7bb9e4 luci-app-mwan3: add quality check options
Add new quality_check feature

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 9a93359d42)
2018-05-16 16:41:05 +03:00
Florian Eckert
9105d78603 luci-app-mwan3: add dependecy to size option
This option is only valid if track-method is set to "ping".

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 2c6faaecd1)
2018-05-16 16:40:52 +03:00
Dirk Brenken
f3b3051236
Merge pull request #1794 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.2
2018-05-15 08:07:10 +02:00
Dirk Brenken
55f251b01f luci-app-adblock: sync with adblock 3.5.2
* archive sub-categories (shalla & ut_capitole) are now configurable
  via LuCI CBI template
* small bugfixes & enhancements

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-15 08:00:02 +02:00
Yousong Zhou
2f0f456b71 luci-base: harden cookie sysauth=
A simple scan of the code indicates that currently no code in the repo
is accessing the sysauth= cookie

Closes openwrt/luci#1555

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-13 18:30:47 +08:00
Dirk Brenken
88a1f8f407
Merge pull request #1786 from musashino205/l10n/pagekite-add-ja
luci-app-pagekitec: add Japanese translation
2018-05-12 09:36:54 +02:00
Dirk Brenken
1e39fef147
Merge pull request #1787 from TDT-AG/pr/20180509-net-mwan3-fixes
luci-app-mwan3: fixes
2018-05-11 20:26:11 +02:00
Dirk Brenken
e951a4dd90
Merge pull request #1791 from dibdot/travelmate
luci-app-travelmate: fix Interface Wizard
2018-05-11 20:15:20 +02:00
Dirk Brenken
6e4d992710 luci-app-travelmate: fix Interface Wizard
* make sure to update the nw & fw entries only once

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-11 11:00:16 +02:00
Hannu Nyman
658b6d7d21
Merge pull request #1789 from ldir-EDB0/miniupdpdtweak
luci-app-upnp: change leasefile location hint
2018-05-09 22:11:48 +03:00
Kevin Darbyshire-Bryant
ea02940c0e luci-app-upnp: change leasefile location hint
Change default leasefile hint from /var/log/upnp.leases to
/var/run/miniupnpd.leases

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-05-09 20:05:44 +01:00
Florian Eckert
ee54a9542f luci-app-mwan3: pin diag ping command to interface device
If the physical device is not set in the diag_command then the ping will
always use the route with the lowest metric from the default routing
table.
To fix this add the physical device of the logical interface to the ping
command.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-09 14:20:03 +02:00
Florian Eckert
f50de41959 luci-app-mwan3: honor dynamic interface to get gateway ip
If a logical interface setup and adds in the protocol handler a dynamic
interface then the gateway is configured in the dynamic interface and the
setting up logical interface does not have a gateway specified.
To fix this check first if a dynamic interface is present and use this
gateway ip if found and if no dynamich interface is set then check for a
gateway in the logical interface.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-09 14:19:58 +02:00
Dirk Brenken
3b709d8cdf
Merge pull request #1780 from dibdot/adblock
luci-app-adblock: support new workflow
2018-05-09 13:38:09 +02:00
Dirk Brenken
3aae6ce82e luci-app-adblock: support new workflow
* adapt Adblock to support the new cbi apply workflow
* tested successfully with old & new workflow

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-09 13:35:49 +02:00
Dirk Brenken
ffb654310e
Merge pull request #1777 from dibdot/travelmate
luci-app-travelmate: support new workflow
2018-05-09 13:19:14 +02:00
Dirk Brenken
741327dfe2
Merge pull request #1785 from EricLuehrsen/unbound_luci
luci-app-unbound: clean up tab presentation
2018-05-09 13:18:13 +02:00
Dirk Brenken
e7edcb4057 luci-app-travelmate: support new workflow & re-ordering fix
* Remove SimpleForm stuff from Interface Wizard
* adapt Travelmate to support new cbi apply workflow
* fix station re-odering
* tested successfully with old & new workflow

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-09 13:13:33 +02:00
INAGAKI Hiroshi
71ffabc11c luci-app-pagekitec: add Japanese translation
Added Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-09 16:16:26 +09:00
Eric Luehrsen
1204d2a617 luci-app-unbound: clean up tab presentation
Some of the options in the tabs were not placed in
optimal groups. Add tabs for DHCP and start triggers.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-05-08 22:57:32 -04:00
Yousong Zhou
e4f77ace8b luci-app-commands: fix link generation
Fixes openwrt/luci##824

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-07 22:28:40 +08:00
Yousong Zhou
b810d99503 luci-mod-freifunk: fix redirect url
location.hostname lacks port info

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-07 22:27:58 +08:00
Florian Eckert
c1eba6a046 luci-app-firewall: redirect to overview page on zone details save
This fixes an inconsistency because on the interface configuration if
you press Save&Apply it will go back to overview page.  It is also the
case with "Firewall - Traffic Rules" details.  On firewall zone it only
goes back to firewall zone-detail. Same behaviour on all pages is a good
user experience.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-07 21:46:38 +08:00
Yousong Zhou
c91ba4babc luci-mod-admin-full: use fs.glob instead nixio.fs.glob
It's how the module was named when "require"d and used by other code in
the same function

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-07 21:19:35 +08:00
Florian Eckert
690ae5c211 luci-mod-admin-full: no menu entry for leds if "/sys/class/leds" is empty
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-07 21:14:48 +08:00
Florian Eckert
da4fab0462 luci-mod-admin-full: change supports_reset() test for factory reset
The check "supports_reset" only covers /proc/mtd partitions. If we have
this the commands checks for names like ubi or rootfs_data. If this is
found the system is possible for a factory reset.  But on x86 the
situation is different.  We have no /proc/mtd partitions because this
system do not use a bare metall flash.

To solve this issue check if we have an overlay and if so we could do a
factory reset. This could be applied for system which uses bare metal
flash and system which uses FTL or harddisks.

Jffs2reset is the current command used for factory reset.  It will try
to find volume "rootfs_data" and if it's mounted will delete all files
under directory /overlay

luci-mod-admin-mini also has check for reset available, but we leave it
alone for now as it uses "mtd -r erase rootfs_data"

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-07 20:36:40 +08:00
Florian Eckert
428eb63f0a luci-app-openvpn: add license tag
Add missing license tag.  File headers of the application indicate so

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-07 20:06:34 +08:00