Commit graph

2254 commits

Author SHA1 Message Date
Jo-Philipp Wich
1b6e3bc5ae
Merge pull request #2160 from remakeelectric/app-mosq
luci-app-mosquitto: import new application
2018-09-18 18:07:27 +02:00
Karl Palsson
7552fce8cc luci-app-mosquitto: import new application
Originally developed and maintained at https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luci-app-mosquitto

Vs the original, this version has been converted to use the luci.mk
style, and has dropped the now obsolete ucitrack entries.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-09-18 15:44:52 +00:00
Ansuel Smith
013a8187ed
luci-app-unbound: add cache_dump tab
This adds in the State tab a new option to dump cache from unbound-control application

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-18 17:31:25 +02:00
Dirk Brenken
c2656a7220 luci-app-openvpn: remove obsolete config options
* remove obsolete config options according to
  openwrt/openwrt@89b8ba9, fix for #2135
* whitespace/intendation fixes
* replace fieldset leftover with div
* fix finally recipe options transfer to regular config with "Add"

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-17 14:22:14 +02:00
Dirk Brenken
5cb6c1c698
Merge pull request #2149 from dibdot/openvpn-fix
luci-app-openvpn: fix template based config creation
2018-09-16 08:42:21 +02:00
Eric Luehrsen
f4818d414a luci-app-unbound: add protocol=ip4_local option support
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-09-16 00:00:41 -04:00
Dirk Brenken
1eb3f734c7 luci-app-openvpn: fix template based config creation
* minimal fix to bring back openvpn config creation based on
openvpn_recipes template, fix for #2146

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-14 08:57:06 +02:00
Martin Schiller
5f7c695848 i18n: sync translations
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-09-12 11:17:30 +02:00
Dirk Brenken
9727f552fe
Merge pull request #2071 from Andy2244/luci-app-samba4-timemachine
luci-app-samba4: add macOS and Apple Timemachine support
2018-09-11 10:26:48 +02:00
Andy Walsh
2593bc61a7 luci-app-samba4: add macOS compatibility option and Apple Timemachine support
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-09-11 09:57:57 +02:00
Dirk Brenken
fb27334aef
Merge pull request #2136 from aft90/luci-app-adblock-query-box-placeholder
luci-app-adblock: use placeholder in query tool
2018-09-08 20:23:15 +02:00
INAGAKI Hiroshi
19fa506eff luci-app-adblock: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-09 02:40:08 +09:00
Andrei Troie
ddaac101a5 luci-app-adblock: use placeholder in query tool
Use the placeholder property on the textbox in the query tool so it's more convenient.

Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
2018-09-07 23:59:20 +01:00
Hannu Nyman
18b4483fe7
Merge pull request #2131 from tano-systems/firewall-fix-russian-translation
luci-app-firewall: fix and update Russian translation
2018-09-07 16:35:34 +03:00
Anton Kikin
299988e9cd luci-app-firewall: fix and update Russian translation
Add missing translations and update existing not quite correct translations.
Removed redundant <br> tags from translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-06 19:49:28 +03:00
Dirk Brenken
f6dd8761fc
Merge pull request #2110 from stangri/luci-app-https_dns_proxy
luci-app-https_dns_proxy: initial commit
2018-09-04 16:49:43 +02:00
Dirk Brenken
0208b957a7
Merge pull request #2120 from TDT-AG/pr/20180830-luci-app-mwan3-fixes
luci-app-mwan3:  fixes and improvements
2018-09-03 16:31:41 +02:00
Stan Grishin
89110b1757 luci-app-https_dns_proxy: initial commit
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-09-02 18:49:54 -07:00
Ansuel Smith
e2d0f6104d
luci-app-ddns: various fix
Rework overview page, sync with new style and simplify the code by removing unnecessary check.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-02 14:04:31 +02:00
Dirk Brenken
e3b060b3a6
Merge pull request #2125 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.5
2018-09-01 17:10:37 +02:00
Dirk Brenken
4e56083833 luci-app-adblock: sync with adblock 3.5.5
* fix cornercase issues in runtime information/json parsing

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-01 08:42:00 +02:00
INAGAKI Hiroshi
7cafad8b31 i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-01 02:23:25 +09:00
Florian Eckert
1b3f9b1f7e luci-app-mwan3: translate missing text in diagnostic page
Translate missing text.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:58 +02:00
Florian Eckert
21de87a1d6 luci-app-mwan3: diagnostic fix physical device lookup
Use diffrent function to get the physical interface name.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:58 +02:00
Florian Eckert
665e062061 luci-app-mwan3: change interface enabled option to use flag cbi class
Make mwan3 interface enable config option use cbi flag.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:34 +02:00
Florian Eckert
8d0cccdb43 luci-app-mwan3: add command to diag_command output view
Add executed command to diagnostic output.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:31:29 +02:00
Daniel Dickinson
fb262ad268 luci-app-nut: Add support for NUT configuration
Adds app to configure NUT (Network UPS Tools), including
nut-server, nut-monitor, and nut-cgi.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 01:03:17 -04:00
Ameer Dawood
71581c80b1
luci-app-unbound: Colons removed from input headers
Most OpenWrt applications do not have a colon in input headers.
This has been explained in #1566 as well.
This commit removes the said colons.

Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
2018-08-19 13:42:49 +05:00
Ameer Dawood
808153fd9d
luci-app-minidlna: Colons removed
Colons have been removed as asked in #1566
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
2018-08-15 22:13:59 +05:00
Jo-Philipp Wich
809d3b9371
Merge pull request #2040 from yangfl/master
luci-app: update Chinese translation
2018-08-13 15:23:27 +02:00
Jo-Philipp Wich
24f1364f5e
Merge pull request #2058 from EricLuehrsen/unbound_20180810
luci-app-unbound: add zone-details combined tab
2018-08-13 15:21:01 +02:00
Jo-Philipp Wich
bf123fb7c4 luci-app-firewall: allow "open ports" when no wan zone exists
Arguably this makes little if no wan zone exists but prefer consistency
over heuristics and always render the "open port" shortcut.

Fixes #2056
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-13 09:23:26 +02:00
Eric Luehrsen
dec88df41c luci-app-unbound: add zone-details combined tab
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-08-12 20:06:15 -04:00
yangfl
9711120e06 luci-app: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-08-11 15:46:07 +08:00
INAGAKI Hiroshi
41a385d026 luci-app-samba4: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-08-06 05:18:10 +09:00
yangfl
d81c8d0e6b luci-app-ddns: fix huge typo in luasrc/tools/ddns.lua
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-08-02 10:52:34 +08:00
Hannu Nyman
f4af069865
Merge pull request #2017 from chris5560/master-ddns
luci-app-ddns: remove myself as PKG_MAINTAINER
2018-08-01 19:44:24 +03:00
Hannu Nyman
b8dbbaee45
Merge pull request #2015 from chris5560/master
luci-app-radicale: remove myself as PKG_MAINTAINER
2018-08-01 19:44:00 +03:00
Dirk Brenken
c1b999461e
Merge pull request #2021 from dibdot/travelmate
luci-app-travelmate: "final" fixes
2018-07-31 11:27:11 +02:00
Dirk Brenken
9217240b04
Merge pull request #2019 from dibdot/adblock
luci-app-adblock: "final" fixes
2018-07-31 11:26:43 +02:00
Dirk Brenken
af25cf4879 luci-app-travelmate: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:

* re-add accidently removed "apply_on_parse" attribute in overview cbi
* fixed a corner case where the "Restart" button not works correctly
* Removed leftovers from last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-31 09:36:27 +02:00
Dirk Brenken
b8f8394681 luci-app-adblock: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:

* remove needless hook & include from overview page
* fix possible JS error in Runtime Information
* Align CSS color with "LuCI standard"

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-31 09:21:44 +02:00
Christian Schoenebeck
80534132aa luci-app-ddns: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-30 21:55:08 +02:00
Christian Schoenebeck
7b67538224 luci-app-radicale: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-30 21:47:04 +02:00
Eric Luehrsen
394658a114 luci-app-unbound: add LuCI for forward stub and auth zone clauses
With growing interest, DNS over TLS can be setup in Unbounds foward-zone:
clause. New section 'zone' is available for forward-, stub-, and auth-
zone cluses. This LuCI application will show the 'zone' section and
permit changing 'enabled' and 'fallback' options. Detailed changes to
'zone' secitons will need to use the Edit:UCI tab (text editor).

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-07-29 23:20:35 -04:00
Dirk Brenken
0ca5e4db0e
Merge pull request #2009 from dibdot/travelmate
luci-app-travelmate: remove needless backup file
2018-07-29 21:55:24 +02:00
Dirk Brenken
16d58c2503 luci-app-travelmate: remove needless backup file
* remove needless development file from last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-29 21:50:28 +02:00
Dirk Brenken
af961f84ef
Merge pull request #2007 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 1.2.1
2018-07-29 21:30:26 +02:00
Dirk Brenken
11cd64e08e luci-app-travelmate: sync with travelmate 1.2.1
* Runtime Information, Logview and Station Overview are now dynamically
updated via XHR poll
* New runtime information for "Faulty Stations" (Travelmate backend will
no longer rename faulty uplinks)
* Add a new "Restart" button to reset "Faulty Stations" information and
trigger a Travelmate restart
* In Stations overview the currently used uplink is emphasized in blue,
faulty uplinks in red
* Numerous cleanups (e.g. space=>tab indentation) and other small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-28 19:02:35 +02:00
Dirk Brenken
4a85973a9a
Merge pull request #2006 from dibdot/adblock
luci-app-adblock: small fixes
2018-07-28 18:23:47 +02:00
Dirk Brenken
b7ed444cbb luci-app-adblock: small fixes
* fix possible controller error during json parsing
* remaining code cleanup

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-28 17:30:18 +02:00
Jo-Philipp Wich
9a489da90f
Merge pull request #1946 from korzhyk/web_home
luci-app-transmission: Allow user to define custom web interface
2018-07-26 20:19:02 +02:00
Jo-Philipp Wich
2519d7ee8b
Merge pull request #1985 from Andy2244/master
luci-app-samba4: add new application
2018-07-26 20:17:40 +02:00
Dirk Brenken
69257be152
Merge pull request #1997 from dibdot/adblock
luci-app-adblock: small visual fixes
2018-07-25 21:46:20 +02:00
Dirk Brenken
771672ff7a luci-app-adblock: small visual fixes
* made readonly textarea (logview) scrollable again (bootstrap theme)
* align "Query" input button

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-25 21:39:22 +02:00
Andy Walsh
5c5dc02441 luci-app-samba4: add new application
* updated version for the samba4 package

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-07-24 13:18:25 +02:00
Jo-Philipp Wich
1961ce6df3
Merge pull request #1986 from dibdot/adblock
luci-app-adblock: fix translations
2018-07-22 22:37:01 +02:00
Dirk Brenken
8d7ebf0572 luci-app-adblock: fix translations
* fix runtime & button translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-22 22:28:26 +02:00
Jo-Philipp Wich
83c86d2934
Merge pull request #1983 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.4
2018-07-22 17:46:04 +02:00
Dirk Brenken
5db2b76497 luci-app-adblock: sync with adblock 3.5.4
backend:
* add low priority mode (nice level 10), disabled by default
* enhance 'Force DNS' to redirect ports 53, 853 and 5353

frontend:
* switch to dynamic XHR polling for runtime information and logfile
viewing
* add new 'Refresh' button to reload blocklists
* various cleanups & small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-22 08:58:33 +02:00
Jo-Philipp Wich
66bdb07431
Merge pull request #1975 from Olim98/patch-2
luci-app-upnp: update Russian translation
2018-07-21 10:13:53 +02:00
Jo-Philipp Wich
422b04c2e0
Merge pull request #1974 from Olim98/patch-1
luci-app-adblock: fix and update Russian translation
2018-07-21 10:13:17 +02:00
Stan Grishin
aaddcac5b0 luci-app-simple-adblock: remove extra controller file
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-20 16:50:08 -07:00
Olimjon
c03bc0f533
luci-app-upnp: update Russian translation
Signed-off-by: Kudratov O <olimko98@gmail.com>
2018-07-21 02:34:25 +05:00
Olimjon
6a151eb70e
Update Russian translation 2018-07-21 02:10:51 +05:00
Yurii
9a6026b3d5
luci-app-upnp: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
2018-07-20 21:28:19 +03:00
Yurii
2d946363b3
luci-app-wol: update Ukrainian translation
Corrections and additions.

Signed-off-by: Yurii yuripet@gmail.com
2018-07-20 21:24:30 +03:00
Jo-Philipp Wich
985a7db408 luci-app-ocserv: remove unneeded br element from template
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-20 09:10:45 +02:00
Jo-Philipp Wich
f4ba55532f 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>
2018-07-20 09:08:15 +02:00
INAGAKI Hiroshi
86660f92d1 i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-07-20 15:33:18 +09:00
Jo-Philipp Wich
5c6ddd4a98
Merge pull request #1970 from tano-systems/luci-app-ddns-improve-russian-translation
luci-app-ddns: update and improve Russian translation
2018-07-20 07:31:05 +02:00
Jo-Philipp Wich
7cf295de2c
Merge pull request #1969 from stangri/luci-app-simple-adblock
luci-app-simple-adblock: change style of button to important
2018-07-20 07:30:35 +02:00
Anton Kikin
628745044b luci-app-ddns: update and improve Russian translation
Update existing not quite correct translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-07-20 06:11:49 +03:00
Stan Grishin
3471e37b3b luci-app-simple-adblock: change style of button to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-19 19:34:49 -07:00
Stan Grishin
4f921594bb luci-app-advanced-reboot: change style of buttons to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-19 19:31:16 -07:00
Stan Grishin
768a72597c luci-app-simple-adblock: new start/stop button, better integration with simple-adblock
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-16 17:43:16 -07:00
Yurii
4f5e1c7da5
luci-app-upnp: update Ukrainian translation
Corrections translation.

Signed-off-by: Yurii yuripet@gmail.com
2018-07-16 16:19:27 +03: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
Andrii Korzh
2fd794dbc3 luci-app-transmission: Allow user to define custom web interface
There are exists several custom web ui for transmission. Such as:
https://github.com/ronggang/transmission-web-control
https://github.com/Secretmapper/combustion
https://github.com/fcsonline/react-transmission
But for now there are no way to use custom ui without editing `init.d` script.
2018-07-11 13:34:14 +03: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
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
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
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
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
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