Commit graph

2213 commits

Author SHA1 Message Date
Hannu Nyman
1983dc615e
Merge pull request #2014 from dibdot/travelmate-18.06
luci-app-travelmate: backport 1.2.1 to 18.06 branch
2018-07-30 23:07:41 +03:00
Christian Schoenebeck
7f5b296e30 luci-app-ddns[18.06]: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-30 21:58:32 +02:00
Christian Schoenebeck
b0dce7a681 luci-app-radicale[18.06]: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-30 21:51:08 +02:00
Dirk Brenken
56266d0707 luci-app-travelmate: backport 1.2.1 to 18.06 branch
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-30 13:40:13 +02:00
Dirk Brenken
bf5dd58377 luci-app-adblock: backport 3.5.4 to 18.06 branch
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-30 13:27:38 +02:00
Eric Luehrsen
ad0d3f5031 luci-app-unbound: point documentation to 18.06 branch
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-07-24 23:21:00 -04:00
Olimjon
4c87b8345c luci-app-upnp: update Russian translation
Signed-off-by: Kudratov O <olimko98@gmail.com>
(cherry picked from commit c03bc0f533)
2018-07-21 14:02:08 +02:00
Olimjon
ed4f4644ee Update Russian translation
[backported from 6a151eb70e]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-21 14:01:27 +02:00
Stan Grishin
4b267cecfd luci-app-simple-adblock: remove extra controller file
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit aaddcac5b0)
2018-07-21 13:59:03 +02:00
Yurii
11e9a5503e luci-app-upnp: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
(cherry picked from commit 9a6026b3d5)
2018-07-21 13:58:24 +02:00
Yurii
18c8e1fe58 luci-app-wol: update Ukrainian translation
Corrections and additions.

Signed-off-by: Yurii yuripet@gmail.com
(cherry picked from commit 2d946363b3)
2018-07-21 13:58:20 +02:00
Jo-Philipp Wich
39401a7615 luci-app-ocserv: remove unneeded br element from template
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 985a7db408)
2018-07-20 09:11:01 +02:00
Jo-Philipp Wich
5b34fbaab7 luci-app-ocserv: update user status template
- Use cbi_update_table() helper to refresh user list
- Cleanup markup and remove uneeded CSS classes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f4ba55532f)
2018-07-20 09:08:38 +02:00
INAGAKI Hiroshi
da600939fc i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
(backported from commit 86660f92d1)
2018-07-20 08:55:45 +02:00
Stan Grishin
69a4c258f4 luci-app-simple-adblock: change style of button to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit 3471e37b3b)
2018-07-20 08:01:23 +02:00
Stan Grishin
b9166ca964 luci-app-advanced-reboot: change style of buttons to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit 4f921594bb)
2018-07-20 08:01:19 +02:00
Anton Kikin
5fc6bc7d90 luci-app-ddns: update and improve Russian translation
Update existing not quite correct translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit 628745044b)
2018-07-20 08:01:16 +02:00
Stan Grishin
984a1afcf7 luci-app-simple-adblock: new start/stop button, better integration with simple-adblock
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit 768a72597c)
2018-07-17 20:52:24 +02:00
Yurii
a7e1edf936 luci-app-upnp: update Ukrainian translation
Corrections translation.

Signed-off-by: Yurii yuripet@gmail.com
(cherry picked from commit 4f5e1c7da5)
2018-07-17 20:52:24 +02:00
Jo-Philipp Wich
fb817df836 openwrt-18.06: merge master
Due to a huge number of fixes and diverging development histories, I decided
to completely merge the current LuCI master into the 18.06 release branch to
have a common code base for upcoming maintenance releases.

Some LuCI apps have minor style glitches yet but I do not deem them to be
release critical as non-default components need to be opkg-installed anyway
and the package repositories are continuously refreshed, so we do not need
to fix everything for OpenWrt 18.06.0-rc2.

The most important changes introduced by this merge are:

1) New HTTP handling library in C

  The new library should vastly reduce the required RAM for processing
  large POST bodies while implementing some slightly more strict parsing
  logic.

2) Apply/Rollback workflow

  The ubus rpcd based apply/rollback handling will automatically revert
  config changes if access to the device is lost for a certain period
  of time, this is mainly intended for preventing issues with bad
  config settings and the like.

  The feature is not 100% error-proof yet but it successfully prevents a
  large number of issues already. For final, the handling of the firewall
  conntrack cache needs to be fixed yet as adding "lockout" firewall rules
  is not yet catched due to the open HTTP session allowed by netfilter
  conntrack

3) Template markup and theme style modifications

  A large number of changes have been made to the markup in the various
  templates, mainly to allow for responsive styling of tables.

  The only theme currently making full use of that is the non-default
  OpenWrt theme which will break table rows into disjunct boxes on
  very narrow screens.

  The changes have been tested on IE 11, MS Edge, Firefox, Chrome, an
  iPhone 5s, iPhone 6 and iPad Air.

4) Initial LuCI support for displaying virtual dynamic network interfaces

  Some protocol handlers will spawn purely dynamic sub-interfaces which
  are not present in UCI. Such interfaces have been invisible in LuCI so
  far which caused confusion especialy wrt. missing IP addresses etc.

  LuCI will now display such dynamic interfaces on the interface overview.

5) Initial LuCI support for display interface runtime error information

  LuCI will now expose interface error information stored in the ubus
  runtime information by protocol handlers.

  This is mainly useful to get notified of low level problems like
  bad SIM codes are missing APN information.

6) Various XSS and CSRF bypass fixes

  A number of code places performing inadequate markup escaping have been
  fixed and the dispatcher CSRF token enforcement rules have been reworked
  to actually catch all POST security cases.

7) Initial support for running under nginx

  Various bugs have been fixed to allow LuCI to function under nginx using
  a FastCGI wrapper.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 17:22:53 +02:00
Jo-Philipp Wich
98f4c3cf50
Merge pull request #1933 from Ansuel/hostname_upnp
luci-app-upnp: add hostname info
2018-07-13 14:50:28 +02:00
Jo-Philipp Wich
4115f8cc56 luci-app-advanced-reboot: fix translation string
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 12:47:59 +02:00
Jo-Philipp Wich
5722105007 luci-app-upnp: tweak table markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 09:37:28 +02:00
Stan Grishin
3c332e4564 luci-app-advanced-reboot: support for Linksys WRT32X
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-10 12:33:23 -07:00
Jo-Philipp Wich
994531ea26 luci-app-adblock: align blocklist markup with recent changes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
c0de036b31 treewide: always include cbi.js
Include cbi.js in the main header template like it is done for xhr.js and
remove the page specific includes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Hannu Nyman
d35be37b88
Merge pull request #1871 from felixonmars/patch-1
Fix a typo in vizdata.sh
2018-07-07 20:43:08 +03:00
Ansuel Smith
afd14fb9c7
luci-app-upnp: add hostname info
This adds the hostname info in the index page of luci.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-03 17:46:39 +02:00
Paul Traina
b0486ab5dc luci-app-mwan3: fix aliased interfaces (@wan6) 2018-07-02 16:45:10 -07:00
Yurii
1455ab6574
luci-app-firewall: update Ukrainian translation
Updated with the latest synchronization of the translation.

Signed-off-by: Yurii yuripet@gmail.com
2018-07-01 23:48:45 +03:00
Dirk Brenken
2e2dab3e56
Merge pull request #1924 from dibdot/lxc_fix
luci-app-lxc: add backingstore support
2018-07-01 21:27:36 +02:00
Dirk Brenken
1f2d40b504 luci-app-lxc: add backingstore support
* second try to enable backingstore support, untested (see #1919)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-01 19:59:52 +02:00
Hannu Nyman
3699509ed2
Merge pull request #1921 from musashino205/l10n/fw-upd-ja
luci-app-firewall: update Japanese translation
2018-07-01 19:45:28 +03:00
Dirk Brenken
1fd3a16635
Merge pull request #1920 from dibdot/lxc_fix
luci-app-lxc: small fixes & cosmetics
2018-06-30 23:08:16 +02:00
Dirk Brenken
b198de11bc luci-app-lxc: small fixes & cosmetics
* backingstore support via ubus does not work, remove it for now
* fix target mapping for linuximages.org
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-30 22:55:41 +02:00
INAGAKI Hiroshi
ad08b56577 luci-app-firewall: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-30 23:19:50 +09:00
INAGAKI Hiroshi
ca0a086a2d i18n: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-30 23:10:45 +09:00
Hannu Nyman
4ba85e3d82 luci-app-transmission: fix typo
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-06-29 18:20:09 +03:00
Hannu Nyman
1a36f0307e
Merge pull request #1902 from panda-mute/patch-1
Update 40_luci-transmission
2018-06-29 18:04:57 +03:00
Jo-Philipp Wich
485e5c930f luci-app-upnp: cleanup UPnP lease status markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-28 09:43:45 +02:00
Jo-Philipp Wich
1b01656451
Merge pull request #1906 from ldir-EDB0/typofix
luci-app-rp-pppoe: Fix typo
2018-06-25 11:19:36 +02:00
Jo-Philipp Wich
483c9d35b2
Merge pull request #1895 from jow-/master
Responsive OpenWrt theme
2018-06-25 08:49:44 +02:00
Kevin Darbyshire-Bryant
7cf8f97186 luci-app-rp-pppoe: Fix typo
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-06-23 17:14:23 +01:00
Jo-Philipp Wich
c7ee1ffcf1 luci-app-shadowsocks-libev: cleanup section add markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 18:01:43 +02:00
Jo-Philipp Wich
db4139b149 luci-app-travelmate: consolidate markup
Rework the various application view templates to properly render with the
latest responsive design changes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 18:01:43 +02:00
Jo-Philipp Wich
ce8101ae75 luci-app-upnp: rework lease status indicator
Turn the dynamic lease status table into responsive table by using the
cbi_update_table() helper in conjunction with title annotation attributes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 18:01:43 +02:00
Jo-Philipp Wich
e097d3f734 luci-app-firewall: cleanup template markup
Rework the cbi section add template markup to properly render with the
latest responsive design changes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 18:01:43 +02:00
Kevin Darbyshire-Bryant
65cfbd8f75 luci-app-bcp38: improve interface selection dropdown
Certain types of interface were excluded from bcp38's concept of
upstream wan interface e.g. pppoa-wan

Shamelessly copies the interface list generation from luci-app-sqm which
solved exactly the same problem and gives additional clues by displaying
the firewall zone (typically wan/lan etc)

Run-tested-on: DGN3500

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-06-23 08:52:14 +01:00
Jo-Philipp Wich
5142e40f9e luci-app-firewall: update cbi models
- allow multiple src/dest ips for rules (#1637)
 - restrict ICMP type list to ICMP protocol
 - add section title callbacks
 - remove size annotations
 - fix validation error with aliased zone fields (#1882)

Fixes #1637, #1882.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-22 11:15:39 +02:00
panda-mute
d024d73da7
Update 40_luci-transmission
Fix typo
2018-06-22 06:53:20 +08:00
Yurii
1dcf85b78d
luci-app-firewall: update Ukrainian translation
Updated with the latest synchronization of the translation.
2018-06-18 20:25:43 +03:00
Hannu Nyman
6cc547fdc6
Merge pull request #1891 from YuriPet/master
Correcting native name Ukrainian language & update Ukrainian translation
2018-06-18 19:52:01 +03:00
INAGAKI Hiroshi
88f03a6142 luci-app-firewall: update Japanese translation
Updated japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-18 16:57:08 +09:00
INAGAKI Hiroshi
7001e8f3b1 luci-app-firewall: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-18 15:57:22 +09:00
Yurii
83dc5e075e
luci-app-firewall: update Ukrainian translation 2018-06-17 23:37:21 +03:00
Yurii
de62263f73
luci-app-upnp: update Ukrainian translation 2018-06-17 23:35:49 +03:00
INAGAKI Hiroshi
fe591dd1cc i18n: fix syntax errors in Ukrainian po
"Content-Type: text/plain; charset=UTF-8" was wrote twice in each
of base.po and firewall.po, and one was an incorrect place which
was the cause of the errors.

And, The escape in abbr HTML tag was incorrect, so I fixed it.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-16 23:36:18 +09:00
Zheng Qian
934e954a76 luci-app-firewall: zh_CN: change better translation for offloading
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-12 12:07:33 +08: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
9abf409a34
Merge pull request #1877 from Ansuel/ddnsipkg
luci-app-ddns: use standard pkg info function
2018-06-11 22:08:04 +03:00
Ansuel Smith
492d4d91b9
luci-app-ddns: use standard pkg info function
DDns script call another sh script to check ddns-scripts version. We can use the quicker IPKG.info function instead of execute another slow command.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-11 17:13:31 +02:00
Kristian Evensen
d3aa12b8ed luci-app-firewall: Fix typo in forwards redirect
When creating a forwarding rule with protocol set to other, a user is
forwarded to the configuration page. The URL for the configuration page
contained a typo - the user was forwarded to
admin/network/firewall/redirect/cfg... and not
admin/network/firewall/forwards/cfg..., leading to a 404.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2018-06-11 07:10:48 +02:00
Hannu Nyman
8363d0ad6c
Merge pull request #1875 from YuriPet/master
luci-base & luci-app-firewall: update Ukrainian translation
2018-06-10 18:04:32 +03:00
Tom Hodder
658d11e751 luci-app-firewall: disable port fields when protocol is not TCP or UDP
It's currently possible to generate nonsensical firewall rules by inputting
combinations which include:

i) protocols other than UDP/TCP
ii) source and destination ports.

There is some discussion of the issue on the forum here and the issue is
here; #1850.

This patch makes fields like src_port and dest_port depend on protocol being
tcp, udp or "tcp udp" in the input, forwarding and source NAT forms.

Signed-off-by: Tom Hodder <tom@limepepper.co.uk>
[reword commit message, squash commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-10 16:24:07 +02:00
Yurii
cebe38dcfe
luci-app-firewall: update Ukrainian translation
Updated Ukrainian translations.

Signed-off-by: Yurii yuripet@gmail.com
2018-06-10 17:16:01 +03:00
Hannu Nyman
fad02ac8d7
Merge pull request #1868 from sotux/master-zh_CN
Update Simplified Chinese translation
2018-06-09 17:53:27 +03:00
Zheng Qian
966e86cd06 luci-app-adblock: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09 22:50:49 +08:00
Zheng Qian
bfcf2189f1 luci-app-mwan3: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09 22:49:04 +08: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
Felix Yan
434d8baff7
Fix a typo in vizdata.sh 2018-06-09 03:05:03 +08:00
Jo-Philipp Wich
2eb4015e18 luci-app-firewall: recognize egress rules in rule overview
Along with 74be6f397
("treewide: switch firewall zone, network and iface lists to dropdown code"),
this change allows luci-app-firewall to recognize OUTPUT rules.

Fixes #1457.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08 17:09:18 +02:00
Jo-Philipp Wich
0e0ee2fed5 luci-mod-admin-full: git rid of embedded newlines in translation strings
Also switch one usage of raw '<%_ ... %>' interpolation to '<%: ... %>' in
order to avoid issues with translations using apostrophes.

Globally resnyc translations after the fix.

Fixes #1866.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08 13:50:14 +02:00
Dirk Brenken
81c66069c8
Merge pull request #1867 from dibdot/adblock
luci-app-adblock: partly revert last commit
2018-06-08 09:45:57 +02:00
Dirk Brenken
45c2059c15 luci-app-adblock: partly revert last commit
* use now CSS for non breaking spaces in div table header

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-08 09:34:47 +02:00
Jo-Philipp Wich
74be6f3974 treewide: switch firewall zone, network and iface lists to dropdown code
Also switch the weekday and monthday lists in the firewall rule details to
cbi dropdowns, vastly uncluttering the form.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08 08:19:20 +02:00
Dirk Brenken
501f1a9008
Merge pull request #1863 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.3
2018-06-08 07:05:05 +02:00
Ansuel Smith
b46e8c5a69
luci-app-ddns: fix div conversion
This fix some error from conversion of #1854

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-07 21:54:21 +02:00
Dirk Brenken
a561d3045c luci-app-adblock: sync with adblock 3.5.3
* small fixes & cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-07 21:14:06 +02:00
jollaman999
2d410379c1 luci-app-ddns: Convert HTML tables to div 2018-06-05 10:09:44 +09:00
Hannu Nyman
4cd08258bb
Merge pull request #1835 from Ansuel/ddns-optional
luci-app-ddns: make param opt, optional
2018-06-04 12:07:43 +03:00
Ansuel Smith
09c3a8385e
luci-app-ddns: make param opt, optional, add myself as maintainer
Currently these params should be optional but in the current script then are required for any configuration to save. We add an "optional" boolean value to the validate function so that we can make this pram optional as it should be. Also adds me as maintainer

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-04 09:37:05 +02:00
Dirk Brenken
1ce88dced6
Merge pull request #1851 from dibdot/lxc_fix
luci-app-lxc: made container creation more reliable
2018-06-04 09:07:45 +02:00
Dirk Brenken
2b43ebe92f luci-app-lxc: made container creation more reliable
* wait/lock "create" button until the real end of container creation,
  this includes download time plus tar/gz processing time
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-03 22:30:59 +02:00
Hannu Nyman
660e4f5504
Merge pull request #1819 from Ansuel/ddns-performance
luci-app-ddns: improve performance
2018-06-02 21:11:51 +03:00
Ansuel Smith
299121fc84
luci-app-ddns: improve performance
Every request directed to the ddns app call ddns tools module.
Ddns tools module have lots of global variable that call slow os.execute function. This adds 10 second to every ddns request even if the function that is requested doesn't need that global variable. This commit introduce env_info function that execute os.execute command by executing what is actually requested and not process all the variables. Also remove 2 unecessary module that are not used. More researh find that major slowdown was caused by the calling of ddns script for the version check. Now we check if opkg is present and use it to check ddns-scripts version.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-02 18:52:22 +02:00
Dirk Brenken
c4559052c8
Merge pull request #1847 from dibdot/lxc_fix
luci-app-lxc: bugfix
2018-06-01 18:41:50 +02:00
Dirk Brenken
babcc14c79 luci-app-lxc: bugfix
* fix remaining javascript errors in Chrome

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-01 18:33:05 +02:00
Dirk Brenken
5452cc214e
Merge pull request #1845 from dibdot/lxc_fix
luci-app-lxc: fix "plain-vanilla" integration, part 3
2018-05-31 08:50:07 +02:00
Dirk Brenken
d8f2f24a5b luci-app-lxc: fix "plain-vanilla" integration, part 3
* migrate JS generated HTML tables to divs
* remove (most of) the inline styles
* various markup cleanups

That's the final part ... hopefully it's now in a  more usable &
maintainable state.

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-31 07:28:51 +02:00
Eric Luehrsen
d0757f1f47 luci-app-unbound: add root zone file cache option
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-05-29 00:14:00 -04: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
Eric Luehrsen
60ea5dc53f luci-app-unbound: provide transparent defaults with documentation
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-05-28 23:59:17 -04:00
Jo-Philipp Wich
067d7dc9f7 treewide: convert HTML tables to div
Mostly convert HTML tables to div based markup to allow for easier styling
in the future. Also change JS accessor code accordingly.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28 15:18:45 +02:00
Zheng Qian
c69bbd194d luci-app-firewall: zh_CN: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-05-28 12:41:23 +08: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
Yousong Zhou
402ad57e55 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:13:15 +08:00
Dirk Brenken
31dfa80d4f
Merge pull request #1828 from dibdot/lxc_fix
luci-app-lxc: fix "plain-vanilla" integration, part 2
2018-05-27 20:52:31 +02:00
Dirk Brenken
d9b6c5dd78 luci-app-lxc: fix "plain-vanilla" integration, part 2
I've tried to get the lxc app in a more usable state. Tested with mips
and amd64 targets.

* check /etc/config/lxc in controller, not in cbi
* more controller cleanups
* remove unused 'fork_exec' function
* check path before container creation
* check space requirements before container creation
  * support new uci options 'min_space' and 'min_temp',
    default for both is 100000 KB
  * both options are configurable via LuCI CBI template
* write messages to log in case of an error
* validate the container name during creation,
  automatically remove invalid chars
* inform the user that only a stopped container can be destroyed
* add experimental ssl support (untested, disabled by default)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-27 20:46:13 +02: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
INAGAKI Hiroshi
a3be234992 luci-app-firewall: update Japanese translation
Added Japanese translations for offloading options.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27 21:27:32 +09:00
INAGAKI Hiroshi
b4d484e372 luci-app-firewall: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27 21:07:07 +09:00
Hannu Nyman
aadc1f79c1
Merge pull request #1826 from hnyman/offload
luci-app-firewall: expose flow offloading options
2018-05-27 09:55:55 +03:00
INAGAKI Hiroshi
e050337c51 luci-app-mwan3: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27 03:12:24 +09:00
Hannu Nyman
177224c14a 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>
2018-05-26 20:31:23 +03:00
Jo-Philipp Wich
c181699bf7
Merge pull request #1481 from TDT-AG/luci-app-openvpn-fixes
luci-app-openvpn: several fixes
2018-05-25 07:22:27 +02:00
Dirk Brenken
59d91d8a72
Merge pull request #1818 from dibdot/lxc_fix
luci-app-lxc: remove wrong leftover from last commit
2018-05-24 00:26:42 +02:00
Dirk Brenken
e9fa69df18
luci-app-lxc: remove wrong leftover from last commit
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-24 00:25:36 +02:00
Dirk Brenken
77d957c390
Merge pull request #1817 from dibdot/travelmate
luci-app-travelmate: fix url ampersand encoding
2018-05-23 23:52:03 +02:00
Dirk Brenken
85342e2c03
luci-app-travelmate: fix url ampersand encoding
* fix ampersand encoding in wireless stations overview

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-23 23:48:47 +02:00
Dirk Brenken
1b2cd8d1c4
Merge pull request #1808 from dibdot/lxc_fix
luci-app-lxc: fix "plain-vanilla" integration
2018-05-23 22:22:44 +02:00
Dirk Brenken
fa4dc6be91 luci-app-lxc: fix "plain-vanilla" integration
I've tried to get the lxc app in a more usable state. Tested with mips
and amd64 targets.

* fix missing tar/xz dependency,
  only if LXC_BUSYBOX_OPTIONS is not selected
* mute needless gpg validation warning
* tidy up controller a little bit
* fix multiple possible dispatcher errors
* fix compatibility with XHTML standard theme (looks still horrible ;-)
* inform the user about custom kernel prerequisites
* inform the user about the template download
* inform the user if no template was found

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-23 22:21:46 +02:00
INAGAKI Hiroshi
af19588b9e luci-app-travelmate: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-21 23:55:39 +09:00
INAGAKI Hiroshi
d3c1951cbb luci-app-adblock: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-21 23:11:24 +09:00
Hannu Nyman
b2a247a1e9 i18n: sync tranlations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-20 19:45:33 +03:00
INAGAKI Hiroshi
b1fd056fa5 i18n: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-21 01:04:53 +09:00
Dirk Brenken
72fe5dd703
Merge pull request #1801 from dibdot/adblock
luci-app-adblock: respect SimpleForm size limit
2018-05-18 18:31:07 +02:00
Dirk Brenken
840f45ecc5 luci-app-adblock: respect SimpleForm size limit
* respect SimpleForm size limit of 100KB for advanced online editing

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-18 18:19:41 +02:00
Jo-Philipp Wich
828202ef52
Merge pull request #1769 from jow-/master
UCI apply/rollback workflow
2018-05-18 16:44:33 +02: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
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
Hannu Nyman
7b684361cc
Merge pull request #1793 from TDT-AG/pr/20180514-luci-app-ddns-fix-output
luci-app-ddns: fix HTML page rendering in globals section
2018-05-16 09:28:08 +03:00
Helge Mader
7a9957e727 luci-app-ddns: fix HTML page rendering in globals section
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2018-05-16 06:45:04 +02:00
Florian Eckert
9a93359d42 luci-app-mwan3: add quality check options
Add new quality_check feature

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-15 11:11:38 +02:00
Florian Eckert
2c6faaecd1 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>
2018-05-15 11:11:34 +02: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
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
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
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
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
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