project/luci.git
6 years agoluci-mod-admin-full: improve reboot page
Ansuel Smith [Tue, 5 Jun 2018 20:12:19 +0000 (22:12 +0200)]
luci-mod-admin-full: improve reboot page

This fix problem with empty controller, the check function will never stop to
check if the device finish to reboot and we set more tries to wait the router
for a longer times.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[reworked markup, simplified logic, removed superfluous alert]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoRevert "luci-lib-json: depend on luci-base"
Jo-Philipp Wich [Tue, 3 Jul 2018 10:30:44 +0000 (12:30 +0200)]
Revert "luci-lib-json: depend on luci-base"

This reverts commit 8ca29efec862350d8d621235999947c329dfaba7.

6 years agoluci-lib-json: depend on luci-base
Jo-Philipp Wich [Tue, 3 Jul 2018 09:07:31 +0000 (11:07 +0200)]
luci-lib-json: depend on luci-base

Fixes #506
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: improve Y-axis scaling in bandwidth graph
Jo-Philipp Wich [Tue, 3 Jul 2018 08:56:50 +0000 (10:56 +0200)]
luci-mod-admin-full: improve Y-axis scaling in bandwidth graph

Calculate a peak that causes the vertical scale to use even values.

Fixes #1424.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1929 from pleasantone/mwan3_interface_aliases
Jo-Philipp Wich [Tue, 3 Jul 2018 06:07:32 +0000 (08:07 +0200)]
Merge pull request #1929 from pleasantone/mwan3_interface_aliases

luci-app-mwan3: fix aliased interfaces (@wan6)

6 years agoluci-app-mwan3: fix aliased interfaces (@wan6) 1929/head
Paul Traina [Mon, 2 Jul 2018 23:45:10 +0000 (16:45 -0700)]
luci-app-mwan3: fix aliased interfaces (@wan6)

6 years agoMerge pull request #1925 from YuriPet/master
Hannu Nyman [Mon, 2 Jul 2018 15:35:04 +0000 (18:35 +0300)]
Merge pull request #1925 from YuriPet/master

luci-app-firewall & luci-base: update Ukrainian translation

6 years agoluci-mod-admin-full: fix uci revert success message
Jo-Philipp Wich [Mon, 2 Jul 2018 07:43:05 +0000 (09:43 +0200)]
luci-mod-admin-full: fix uci revert success message

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-openwrt: minor mobile style fixes
Jo-Philipp Wich [Mon, 2 Jul 2018 07:23:56 +0000 (09:23 +0200)]
luci-theme-openwrt: minor mobile style fixes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-openwrt: add further style tweaks
Jo-Philipp Wich [Mon, 2 Jul 2018 06:45:25 +0000 (08:45 +0200)]
luci-theme-openwrt: add further style tweaks

 - slightly increase button color saturation
 - unify margins and paddings

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: cleanup markup on flashops page
Jo-Philipp Wich [Mon, 2 Jul 2018 06:45:02 +0000 (08:45 +0200)]
luci-mod-admin-full: cleanup markup on flashops page

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: rework wireless network status indicator
Jo-Philipp Wich [Fri, 29 Jun 2018 15:48:31 +0000 (17:48 +0200)]
luci-mod-admin-full: rework wireless network status indicator

Rework markup and logic of the wireless network status indicator to match
that of the interface status widget.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: rework "in request" flagging logic for menu nodes
Jo-Philipp Wich [Fri, 29 Jun 2018 15:46:56 +0000 (17:46 +0200)]
luci-base: rework "in request" flagging logic for menu nodes

The previous implementation failed to mark active nodes under some
circumstances.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: update Ukrainian translation 1925/head
Yurii [Sun, 1 Jul 2018 20:51:38 +0000 (23:51 +0300)]
luci-base: update Ukrainian translation

Updated with the latest synchronization of the translation.

Signed-off-by: Yurii yuripet@gmail.com
6 years agoluci-app-firewall: update Ukrainian translation
Yurii [Sun, 1 Jul 2018 20:48:45 +0000 (23:48 +0300)]
luci-app-firewall: update Ukrainian translation

Updated with the latest synchronization of the translation.

Signed-off-by: Yurii yuripet@gmail.com
6 years agoMerge pull request #1924 from dibdot/lxc_fix
Dirk Brenken [Sun, 1 Jul 2018 19:27:36 +0000 (21:27 +0200)]
Merge pull request #1924 from dibdot/lxc_fix

luci-app-lxc: add backingstore support

6 years agoluci-app-lxc: add backingstore support 1924/head
Dirk Brenken [Sun, 1 Jul 2018 17:59:52 +0000 (19:59 +0200)]
luci-app-lxc: add backingstore support

* second try to enable backingstore support, untested (see #1919)

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #1921 from musashino205/l10n/fw-upd-ja
Hannu Nyman [Sun, 1 Jul 2018 16:45:28 +0000 (19:45 +0300)]
Merge pull request #1921 from musashino205/l10n/fw-upd-ja

luci-app-firewall: update Japanese translation

6 years agoMerge pull request #1920 from dibdot/lxc_fix
Dirk Brenken [Sat, 30 Jun 2018 21:08:16 +0000 (23:08 +0200)]
Merge pull request #1920 from dibdot/lxc_fix

luci-app-lxc: small fixes & cosmetics

6 years agoluci-app-lxc: small fixes & cosmetics 1920/head
Dirk Brenken [Sat, 30 Jun 2018 10:55:39 +0000 (12:55 +0200)]
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>
6 years agoluci-app-firewall: update Japanese translation 1921/head
INAGAKI Hiroshi [Sat, 30 Jun 2018 14:19:50 +0000 (23:19 +0900)]
luci-app-firewall: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoi18n: sync translations
INAGAKI Hiroshi [Sat, 30 Jun 2018 14:10:45 +0000 (23:10 +0900)]
i18n: sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoMerge pull request #1902 from panda-mute/patch-1
Hannu Nyman [Fri, 29 Jun 2018 15:04:57 +0000 (18:04 +0300)]
Merge pull request #1902 from panda-mute/patch-1

Update 40_luci-transmission

6 years agoluci-theme-bootstrap: fix input width in table cells
Jo-Philipp Wich [Fri, 29 Jun 2018 06:57:22 +0000 (08:57 +0200)]
luci-theme-bootstrap: fix input width in table cells

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-app-upnp: cleanup UPnP lease status markup
Jo-Philipp Wich [Thu, 28 Jun 2018 07:43:45 +0000 (09:43 +0200)]
luci-app-upnp: cleanup UPnP lease status markup

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: unify DHCP lease status code
Jo-Philipp Wich [Thu, 28 Jun 2018 07:39:34 +0000 (09:39 +0200)]
luci-mod-admin-full: unify DHCP lease status code

Merge the DHCP lease status code of the status overview and DHCP/DNS pages
into a single shared partial template.

Also remove some redundant markup on the index page and wireless assoc list
templates.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: luci.tools.status: add host_hints to DHCPv6 leases
Jo-Philipp Wich [Thu, 28 Jun 2018 07:32:16 +0000 (09:32 +0200)]
luci-base: luci.tools.status: add host_hints to DHCPv6 leases

Attempt to derive a MAC from the DHCPv6 lease DUID and use it to look up
a host hint. If a hint is found, add it to the lease information.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1915 from Ansuel/upgrade
Jo-Philipp Wich [Wed, 27 Jun 2018 14:43:36 +0000 (16:43 +0200)]
Merge pull request #1915 from Ansuel/upgrade

luci-base: update luasrcdiet

6 years agoluci-base: update luasrcdiet 1915/head
Ansuel Smith [Wed, 27 Jun 2018 14:14:12 +0000 (16:14 +0200)]
luci-base: update luasrcdiet

Tested and works with no problem.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoluci-theme-material: fix switch status display
Jo-Philipp Wich [Tue, 26 Jun 2018 20:00:01 +0000 (22:00 +0200)]
luci-theme-material: fix switch status display

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: properly remap ports in switch status display
Jo-Philipp Wich [Tue, 26 Jun 2018 17:49:42 +0000 (19:49 +0200)]
luci-mod-admin-full: properly remap ports in switch status display

Fixes: 60c5d15e9 ("luci-mod-admin-full: fix possible switch status layout bug")
Fixes: bbf096c79 ("luci-mod-admin-full: cleanup markup")
Reported-at: https://forum.lede-project.org/t/x/15897/19
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: fix possible switch status layout bug
Jo-Philipp Wich [Tue, 26 Jun 2018 13:24:16 +0000 (15:24 +0200)]
luci-mod-admin-full: fix possible switch status layout bug

In some cases we might get status information for more ports than which are
actually usable, prevent overflowing the port status row in this case.

Reported-at: https://forum.lede-project.org/t/x/15897/14
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-openwrt: add some compatibility styles
Jo-Philipp Wich [Tue, 26 Jun 2018 12:59:24 +0000 (14:59 +0200)]
luci-theme-openwrt: add some compatibility styles

Add a few CSS rules and general tweaks improving the look of legacy markup.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1912 from Ansuel/fixassoci
Jo-Philipp Wich [Tue, 26 Jun 2018 12:34:58 +0000 (14:34 +0200)]
Merge pull request #1912 from Ansuel/fixassoci

luci-mod-admin-full: fix missing wifi_assoclist

6 years agoluci-theme-freifunk-generic: fix & modernize
Jo-Philipp Wich [Tue, 26 Jun 2018 12:31:39 +0000 (14:31 +0200)]
luci-theme-freifunk-generic: fix & modernize

Align theme with current markup, port missing CSS directives from OpenWrt
theme and drop a few outdated resources.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: fix missing wifi_assoclist 1912/head
Ansuel Smith [Tue, 26 Jun 2018 12:30:36 +0000 (14:30 +0200)]
luci-mod-admin-full: fix missing wifi_assoclist

With #e5ba594d77eed77d31d4b9b8c0e86026eb5a5fac the list of the connected device broke up. This fix this problem by creating a proper request link.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoMerge pull request #1881 from TDT-AG/pr/20180614-luci-mod-admin-full-fix-ssh-key...
Jo-Philipp Wich [Mon, 25 Jun 2018 09:41:41 +0000 (11:41 +0200)]
Merge pull request #1881 from TDT-AG/pr/20180614-luci-mod-admin-full-fix-ssh-key-textarea

luci-mod-admin-full: fix empty SSH-Keys textarea issue

6 years agoluci-mod-admin-full: report SNR unit as dB, not dBm
zjw [Wed, 13 Jun 2018 14:30:25 +0000 (10:30 -0400)]
luci-mod-admin-full: report SNR unit as dB, not dBm

Fixes: #1880
Reported-by: "zjw"
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1906 from ldir-EDB0/typofix
Jo-Philipp Wich [Mon, 25 Jun 2018 09:19:36 +0000 (11:19 +0200)]
Merge pull request #1906 from ldir-EDB0/typofix

luci-app-rp-pppoe: Fix typo

6 years agoluci-base: add "Name" label to autogenerated title column
Jo-Philipp Wich [Mon, 25 Jun 2018 09:12:25 +0000 (11:12 +0200)]
luci-base: add "Name" label to autogenerated title column

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-bootstrap: render tblsection row titles
Jo-Philipp Wich [Mon, 25 Jun 2018 07:52:29 +0000 (09:52 +0200)]
luci-theme-bootstrap: render tblsection row titles

The Bootstrap theme lacked appropriate CSS yet to render section title
attributes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: annotate tblsection description row as well
Jo-Philipp Wich [Mon, 25 Jun 2018 07:51:18 +0000 (09:51 +0200)]
luci-base: annotate tblsection description row as well

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-bootstrap: remove unused styles
Jo-Philipp Wich [Mon, 25 Jun 2018 07:42:10 +0000 (09:42 +0200)]
luci-theme-bootstrap: remove unused styles

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: fix average traffic calculation in realtime bandwidth
Jo-Philipp Wich [Mon, 25 Jun 2018 07:33:07 +0000 (09:33 +0200)]
luci-mod-admin-full: fix average traffic calculation in realtime bandwidth

Fixes #1908.
Suggested-by: "mgalyean"
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: fix initializing realtime graphs
Jo-Philipp Wich [Mon, 25 Jun 2018 07:19:59 +0000 (09:19 +0200)]
luci-mod-admin-full: fix initializing realtime graphs

Commit 69782ccbc ("luci-base: xhr.js: defer starting poll queue") changed
the way XHR poll queues are started which broke the timing on the realtime
graph pages.

Fix the problem by manually starting the poller after registering the request
handlers.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base, luci-mod-admin-full: unify wifi assoclist code
Jo-Philipp Wich [Mon, 25 Jun 2018 07:01:33 +0000 (09:01 +0200)]
luci-base, luci-mod-admin-full: unify wifi assoclist code

Merge the assoclist code of the status overview and wireless overview pages
into a single shared partial template.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: replace status page legend tags with h3 (#1907)
Jo-Philipp Wich [Mon, 25 Jun 2018 06:58:34 +0000 (08:58 +0200)]
luci-mod-admin-full: replace status page legend tags with h3 (#1907)

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1895 from jow-/master
Jo-Philipp Wich [Mon, 25 Jun 2018 06:49:44 +0000 (08:49 +0200)]
Merge pull request #1895 from jow-/master

Responsive OpenWrt theme

6 years agoluci-app-rp-pppoe: Fix typo 1906/head
Kevin Darbyshire-Bryant [Sat, 23 Jun 2018 16:13:38 +0000 (17:13 +0100)]
luci-app-rp-pppoe: Fix typo

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
6 years agoluci-app-shadowsocks-libev: cleanup section add markup 1895/head
Jo-Philipp Wich [Wed, 20 Jun 2018 12:00:00 +0000 (14:00 +0200)]
luci-app-shadowsocks-libev: cleanup section add markup

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-admin-full: packages: display available packages by default
Jo-Philipp Wich [Tue, 19 Jun 2018 15:57:08 +0000 (17:57 +0200)]
luci-mod-admin-full: packages: display available packages by default

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-app-travelmate: consolidate markup
Jo-Philipp Wich [Tue, 19 Jun 2018 15:18:36 +0000 (17:18 +0200)]
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>
6 years agoluci-app-upnp: rework lease status indicator
Jo-Philipp Wich [Tue, 19 Jun 2018 15:18:02 +0000 (17:18 +0200)]
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>
6 years agoluci-app-firewall: cleanup template markup
Jo-Philipp Wich [Tue, 19 Jun 2018 14:58:39 +0000 (16:58 +0200)]
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>
6 years agoluci-mod-admin-full: cleanup markup
Jo-Philipp Wich [Tue, 19 Jun 2018 15:17:04 +0000 (17:17 +0200)]
luci-mod-admin-full: cleanup markup

Globally cleanup template markup to support responsive design changes in
OpenWrt theme.

Rework handling of dynamic status tables, consolidate hand-written markup,
fix small render bugs in various places and annotate tables where needed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-material: align CSS with markup changes
Jo-Philipp Wich [Tue, 19 Jun 2018 15:20:45 +0000 (17:20 +0200)]
luci-theme-material: align CSS with markup changes

Add the bare minimum of changes to make the theme render correctly with the
latest markup, requires further refinement and tuning in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-bootstrap: align CSS with markup changes
Jo-Philipp Wich [Tue, 19 Jun 2018 15:21:00 +0000 (17:21 +0200)]
luci-theme-bootstrap: align CSS with markup changes

Add changes to make the theme render correctly with the latest markup,
requires further refinement and tuning in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-openwrt: rework and polish OpenWrt theme
Jo-Philipp Wich [Tue, 19 Jun 2018 15:01:22 +0000 (17:01 +0200)]
luci-theme-openwrt: rework and polish OpenWrt theme

 - polish styling
 - move main menu to the left for large resolutions and collapse into
   dropdown header bar for small mobile resolutions
 - make tables responsive by utilizing extra attributes to turn rows
   into wrappable flexboxes for low resolutions
 - mostly get rid of button icon references and use a uniform color
   scheme for action-, positive, negative and neutral buttons

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: globally cleanup markup
Jo-Philipp Wich [Tue, 19 Jun 2018 15:10:38 +0000 (17:10 +0200)]
luci-base: globally cleanup markup

 - add responsive attributes to partial cbi templates
 - unify and fix button style classes
 - fix styling of sysauth dialog
 - rework firewall_zoneforwards widget

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1905 from ldir-EDB0/bcp38
Jo-Philipp Wich [Sat, 23 Jun 2018 08:01:42 +0000 (10:01 +0200)]
Merge pull request #1905 from ldir-EDB0/bcp38

luci-app=bcp38: improve interface selection dropdown

6 years agoluci-app-bcp38: improve interface selection dropdown 1905/head
Kevin Darbyshire-Bryant [Sat, 23 Jun 2018 07:43:00 +0000 (08:43 +0100)]
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>
6 years agoluci-base: cbi.js: add tooltip handling and responsive table helper code
Jo-Philipp Wich [Tue, 19 Jun 2018 15:09:36 +0000 (17:09 +0200)]
luci-base: cbi.js: add tooltip handling and responsive table helper code

 - make findParent() globally available
 - add code for initializing rich cbi tooltips
 - introduce cbi_update_table() helper to auto-assign responsive attributes
   to table markup

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-app-firewall: update cbi models
Jo-Philipp Wich [Tue, 19 Jun 2018 15:53:20 +0000 (17:53 +0200)]
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>
6 years agoluci-base: xhr.js: defer starting poll queue
Jo-Philipp Wich [Fri, 22 Jun 2018 07:39:30 +0000 (09:39 +0200)]
luci-base: xhr.js: defer starting poll queue

Defer the start of the queue poll loop until the document has been loaded.

This allows all XHR.poll() invocations on the page to register their
handlers before the first batch of requests is made.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoUpdate 40_luci-transmission 1902/head
panda-mute [Thu, 21 Jun 2018 22:53:20 +0000 (06:53 +0800)]
Update 40_luci-transmission

Fix typo

6 years agoMerge pull request #1894 from YuriPet/patch-2
Hannu Nyman [Mon, 18 Jun 2018 17:29:39 +0000 (20:29 +0300)]
Merge pull request #1894 from YuriPet/patch-2

luci-app-firewall: update Ukrainian translation

6 years agoluci-app-firewall: update Ukrainian translation 1894/head
Yurii [Mon, 18 Jun 2018 17:25:43 +0000 (20:25 +0300)]
luci-app-firewall: update Ukrainian translation

Updated with the latest synchronization of the translation.

6 years agoMerge pull request #1891 from YuriPet/master
Hannu Nyman [Mon, 18 Jun 2018 16:52:01 +0000 (19:52 +0300)]
Merge pull request #1891 from YuriPet/master

Correcting native name Ukrainian language & update Ukrainian translation

6 years agoMerge pull request #1892 from musashino205/l10n/fw-upd-ja
Hannu Nyman [Mon, 18 Jun 2018 15:39:33 +0000 (18:39 +0300)]
Merge pull request #1892 from musashino205/l10n/fw-upd-ja

luci-app-firewall: update Japanese translation

6 years agoluci-app-firewall: update Japanese translation 1892/head
INAGAKI Hiroshi [Mon, 18 Jun 2018 07:57:08 +0000 (16:57 +0900)]
luci-app-firewall: update Japanese translation

Updated japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-app-firewall: sync translations
INAGAKI Hiroshi [Mon, 18 Jun 2018 06:57:22 +0000 (15:57 +0900)]
luci-app-firewall: sync translations

Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-base: update Ukrainian translation 1891/head
Yurii [Sun, 17 Jun 2018 20:38:38 +0000 (23:38 +0300)]
luci-base: update Ukrainian translation

6 years agoluci-app-firewall: update Ukrainian translation
Yurii [Sun, 17 Jun 2018 20:37:21 +0000 (23:37 +0300)]
luci-app-firewall: update Ukrainian translation

6 years agoluci-app-upnp: update Ukrainian translation
Yurii [Sun, 17 Jun 2018 20:35:49 +0000 (23:35 +0300)]
luci-app-upnp: update Ukrainian translation

6 years agoluci.mk: Correcting native name Ukrainian language.
Yurii [Sun, 17 Jun 2018 20:33:35 +0000 (23:33 +0300)]
luci.mk: Correcting native name Ukrainian language.

6 years agoMerge pull request #1889 from Ansuel/lucnginx
Hannu Nyman [Sun, 17 Jun 2018 13:19:48 +0000 (16:19 +0300)]
Merge pull request #1889 from Ansuel/lucnginx

luci-nginx: add nginx support file

6 years agoluci-nginx: add nginx support file 1889/head
Ansuel Smith [Sun, 17 Jun 2018 12:52:11 +0000 (14:52 +0200)]
luci-nginx: add nginx support file

This adds nginx-mod-luci as a dependency of this package.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoMerge pull request #1886 from musashino205/l10n/fix-syntax-uk
Hannu Nyman [Sun, 17 Jun 2018 09:47:13 +0000 (12:47 +0300)]
Merge pull request #1886 from musashino205/l10n/fix-syntax-uk

i18n: fix syntax errors in Ukrainian po

6 years agoi18n: fix syntax errors in Ukrainian po 1886/head
INAGAKI Hiroshi [Sat, 16 Jun 2018 14:25:54 +0000 (23:25 +0900)]
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>
6 years agoluci-mod-admin-full: fix empty SSH-Keys issue 1881/head
Florian Eckert [Thu, 14 Jun 2018 09:13:08 +0000 (11:13 +0200)]
luci-mod-admin-full: fix empty SSH-Keys issue

If you delete all ssh keys in the textarea then LuCI will rais an error.
So if you added one ssh-key to the textarea and then you want to delete them
again that is not possbile in LuCI.
To fix this remove "rmempty" attribute and add a remove function which will
called if the textarea is empty.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #1862 from Ansuel/lucidep
Hannu Nyman [Tue, 12 Jun 2018 16:57:22 +0000 (19:57 +0300)]
Merge pull request #1862 from Ansuel/lucidep

luci-nginx: add nginx metapackages

6 years agoMerge pull request #1879 from sotux/master_zh_CN
Hannu Nyman [Tue, 12 Jun 2018 16:56:26 +0000 (19:56 +0300)]
Merge pull request #1879 from sotux/master_zh_CN

luci-app-firewall: zh_CN: change better translation for offloading

6 years agoluci-app-firewall: zh_CN: change better translation for offloading 1879/head
Zheng Qian [Tue, 12 Jun 2018 04:06:34 +0000 (12:06 +0800)]
luci-app-firewall: zh_CN: change better translation for offloading

Signed-off-by: Zheng Qian <sotux82@gmail.com>
6 years agoluci-nginx: add nginx metapackages 1862/head
Ansuel Smith [Thu, 7 Jun 2018 16:42:02 +0000 (18:42 +0200)]
luci-nginx: add nginx metapackages

Create a metapackage with nginx as default webserver instead of uhttpd

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoMerge pull request #1877 from Ansuel/ddnsipkg
Hannu Nyman [Mon, 11 Jun 2018 19:08:04 +0000 (22:08 +0300)]
Merge pull request #1877 from Ansuel/ddnsipkg

luci-app-ddns: use standard pkg info function

6 years agoMerge pull request #1876 from ldir-EDB0/wgurl
Hannu Nyman [Mon, 11 Jun 2018 19:06:51 +0000 (22:06 +0300)]
Merge pull request #1876 from ldir-EDB0/wgurl

wireguard: update wireguard url

6 years agoluci-app-ddns: use standard pkg info function 1877/head
Ansuel Smith [Mon, 11 Jun 2018 15:13:31 +0000 (17:13 +0200)]
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>
6 years agowireguard: update wireguard url 1876/head
Kevin Darbyshire-Bryant [Mon, 11 Jun 2018 10:43:00 +0000 (11:43 +0100)]
wireguard: update wireguard url

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
6 years agoluci-app-firewall: Fix typo in forwards redirect
Kristian Evensen [Tue, 29 May 2018 20:27:06 +0000 (22:27 +0200)]
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>
6 years agoMerge pull request #1875 from YuriPet/master
Hannu Nyman [Sun, 10 Jun 2018 15:04:32 +0000 (18:04 +0300)]
Merge pull request #1875 from YuriPet/master

luci-base & luci-app-firewall: update Ukrainian translation

6 years agoluci-app-firewall: disable port fields when protocol is not TCP or UDP
Tom Hodder [Mon, 4 Jun 2018 16:11:12 +0000 (17:11 +0100)]
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>
6 years agoluci-app-firewall: update Ukrainian translation 1875/head
Yurii [Sun, 10 Jun 2018 14:16:01 +0000 (17:16 +0300)]
luci-app-firewall: update Ukrainian translation

Updated Ukrainian translations.

Signed-off-by: Yurii yuripet@gmail.com
6 years agoluci-base: update Ukrainian translation
Yurii [Sun, 10 Jun 2018 13:56:13 +0000 (16:56 +0300)]
luci-base: update Ukrainian translation

Updated Polish translations.

Signed-off-by: Yurii <yuripet@gmail.com>
6 years agoMerge pull request #1874 from Rixerx/master
Hannu Nyman [Sun, 10 Jun 2018 09:33:08 +0000 (12:33 +0300)]
Merge pull request #1874 from Rixerx/master

luci-base: update Polish translation

6 years agoluci-base: update Polish translation 1874/head
Krystian Kozak [Sat, 9 Jun 2018 20:29:06 +0000 (22:29 +0200)]
luci-base: update Polish translation

Updated Polish translations.

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
6 years agoMerge pull request #1868 from sotux/master-zh_CN
Hannu Nyman [Sat, 9 Jun 2018 14:53:27 +0000 (17:53 +0300)]
Merge pull request #1868 from sotux/master-zh_CN

Update Simplified Chinese translation

6 years agoluci-app-adblock: update Simplified Chinese translation 1868/head
Zheng Qian [Fri, 8 Jun 2018 09:19:43 +0000 (17:19 +0800)]
luci-app-adblock: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
6 years agoluci-app-mwan3: update Simplified Chinese translation
Zheng Qian [Fri, 8 Jun 2018 09:44:18 +0000 (17:44 +0800)]
luci-app-mwan3: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
6 years agoluci-app-firewall: recognize egress rules in rule overview
Jo-Philipp Wich [Fri, 8 Jun 2018 15:09:18 +0000 (17:09 +0200)]
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>
6 years agoluci-mod-admin-full: add suggested italian translations
Jo-Philipp Wich [Fri, 8 Jun 2018 13:26:38 +0000 (15:26 +0200)]
luci-mod-admin-full: add suggested italian translations

Merge two italian translations suggested in #1870 and add back two missing
dots accidentially removed from the translations in a previous commit.

Fixes: 588c8618b ("luci-mod-admin-full: fix translation interpolation in JS confirm() calls")
Suggested-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>