Commit graph

9970 commits

Author SHA1 Message Date
Hannu Nyman
a0ae6c97f3
Merge pull request #2504 from aparcar/openwrt-18.06
luci-app-attendedsysupgrade: fixup error_box
2019-02-03 11:46:02 +02:00
Paul Spooren
ac90b1bc37 luci-app-attendedsysupgrade: fixup error_box
Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-02-03 01:20:13 +01:00
Hannu Nyman
449d5ad6d5
Merge pull request #2494 from aparcar/18.06-unify
18.06: luci-app-attendedsysupgrade: new api, unify status
2019-02-02 16:09:05 +02:00
Paul Spooren
98ae788eb3 luci-app-attendedsysupgrade: new api, unify status
to distinguish between installed packages and requested packages, the
API call is now "installed" instead of "packages".

The clients now decide on their own if they want http or https,
therefore the server doesn't reply with full links, only the path.

Add missing variable declarations in JavaScript code

Fix typos in UI strings

Also unify "info_box" and "error_box" to "status_box"

Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-02-02 14:39:31 +01:00
Jo-Philipp Wich
4c45a52592 luci-mod-rpc: drop "secret" value from rpc session objects
Drop the "secret" value from RPC session objects in order to make them
compatible with ordinary web sessions used by the LuCI web interface.

That secret value was never used for anything and is the only difference
compared to normal LuCI login sessions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 766643fcf1)
2019-01-30 16:52:18 +01:00
Josef Schlehofer
43959e3abd
luci-app-lxc: add aarch64 to target map
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit f335624407)
2019-01-30 15:41:48 +01:00
James Buren
3ff3b9e860
luci-app-lxc: add i686 to target map
Add i686 to target map so i386 container templates are usable.

Signed-off-by: James Buren <ryuo@ryuo.xyz>
(cherry picked from commit 9630e7e994)
2019-01-30 15:41:21 +01:00
Anton Kikin
6f6641d97d luci-base: fix UCI changelog markup mistake
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit 43c7cb344c)
2019-01-20 12:34:55 +01:00
Jo-Philipp Wich
a11f4ac2eb treewide: rework uci change display
- Use native rpcd uci changes format instead of incompletely converting
   back and forth between the old and the new format
 - Rework uci changelog template to print the equivalent uci commands
   for the various changes
 - Rework theme headers to properly count the uncomitted changes
 - Rework theme CSS to properly style new changelog

Fixes: #2170

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 849d153851)
2019-01-20 12:28:39 +01:00
Jo-Philipp Wich
f1a5b179dd luci-base: fix cbi dropdown quirks with MS Edge
On MS Edge, the behaviour of "value" attributes on "li" elements is
unreliable, so use the "data-" prefix to circumvent the problem.

Ref: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/19320991/
Fixes: #2224
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9e6949849d)
2019-01-20 12:00:37 +01:00
Jo-Philipp Wich
1f423b1141
Merge pull request #2451 from pmelange/backport/PR2450-luci_mod-freifunk_basics
Backport 18.06: luci-mod-freifunk: fix the list of community profiles
2019-01-11 16:14:56 +01:00
Jo-Philipp Wich
8fe6f04d61
Merge pull request #2449 from pmelange/backport/PR2448-luci_mod-freifunk_get_all
Backport 18.06: luci-mod-freifunk: replace calls to get_all() with separate get() calls
2019-01-11 16:14:37 +01:00
pmelange
14456d30fb luci-mod-freifunk: fix the list of community profiles
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-01-11 14:00:15 +01:00
pmelange
fb9721244c luci-mod-freifunk: replace calls to get_all() with separate get() calls
The get_all() function has changed and how it was used before no
longer works properly.  These changes not only change to individual
get() calls, but actually adds to the readability of the code and reduces
file size.

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-01-11 13:01:42 +01:00
Hannu Nyman
04d60f2144 timezone data: update to 2018i
Update timezone data to 2018i

http://mm.icann.org/pipermail/tz-announce/2018-December/000053.html
http://mm.icann.org/pipermail/tz-announce/2018-December/000054.html

2018h:
* Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
* New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
* Metlakatla, Alaska observes PST this winter only.
* Guess Morocco will continue to adjust clocks around Ramadan.
* Add predictions for Iran from 2038 through 2090.

2018i:
* São Tomé and Príncipe switches from +01 to +00 on 2019-01-01.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit c7776c8959)
2019-01-02 21:35:08 +02:00
Jo-Philipp Wich
3dea6b5bc7
Merge pull request #2355 from pmelange/freifunk_backport_18.06
Freifunk-berlin backport 18.06 - OLSR changes and community profiles
2018-12-07 00:09:43 +01:00
pmelange
12534ad03f luci-app-olsr: reenable the "auto refresh" feature
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 21:31:56 +01:00
pmelange
a3bfc596bf luci-app-olsr change ccs style to use class "left" instead of "style=text-align: left"
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 21:31:44 +01:00
pmelange
94a1673fc5 luci-app-olsr: make cosmetic changes.
modify the status tables so that then headers and columns align, values
left justified.

Additionally, add the openwrt style interface name to the interfaces table,
change huge  ETX numbers to 'infinate', and add the german translation for
'Selected'.

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 21:31:27 +01:00
Philipp Borgers
68fb3b279a community-profiles: change subnet of mesh_network option for Berlin
The mesh_network option is used to check the user input. The wizard
checks if the input ip address is part of the mesh_network. We use
multiple /16 networks. There is no support for multiple ranges so we the
10.0.0.0/8.

For reference the ip list:

https://wiki.freifunk.net/IP-Netze

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
2018-12-06 19:14:50 +01:00
Philipp Borgers
02bd34be15 get rid of library version numbers in luci olsrd code
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
2018-12-06 19:14:23 +01:00
Martin Hübner
e98580b058 community-profiles: create profile for Fürstenwalde
New profile for Fürstenwalde. At the moment we use parts of the Berlin-
infrastructure. Thus I have not changed the ip-address-related things.

Signed-off-by: Martin Hübner <martin.hubner@web.de>
[reword and rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-06 19:13:59 +01:00
pmelange
f7e420150f luci-app-olsr: convert olsr.lua and smartgw.htm to new json plugin
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 19:06:48 +01:00
pmelange
bfad302463 luci-app-olsr: convert mid.htm to new json plugin
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 19:06:40 +01:00
pmelange
34d13c0c67 luci-app-olsr: convert interfaces.htm to new json plugin
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 19:06:23 +01:00
pmelange
2dd31c4ff2 luci-app-olsr: convert olsr.lua and overview.htm to new json plugin
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 19:06:11 +01:00
pmelange
12b0b31bb3 luci-base: network.lua add ipv6-prefix-assignment support to get_status_by_address
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 19:06:04 +01:00
pmelange
bcfd7cf05a luci-app-olsr: cbi remove library version numbers in library search results
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 19:05:39 +01:00
pmelange
63a72b3bff freifunk profiles: add nameserver 80.67.169.40 from www.fdn.fr/actions/dns
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 19:04:53 +01:00
mmouselli
60dfc7348e luci-app-olsr-services: Don't use the nameservice with a specific version.
The "Services" menu option of olsr on the top of the web interface
is not there.

A specific version of the App name was in the controller service
Removing the limitation will fix the problem

https://github.com/freifunk-berlin/firmware/issues/594

Signed-off-by: mmouselli <m.mouselli@syseleven.de>
2018-12-06 19:00:17 +01:00
Hannu Nyman
5e8708345e luci-mod-network: adapt to current 802.11r defaults
The default for 802.11r option ft_psk_generate_local
was changed a few months ago by openwrt/openwrt@3cc56a5

That change was a bit awkward, as it made hostapd to
overlook the possibly existing r0kh values by default
unless the user explicitly disables the new default.

Adapt LuCI by changing the default for ft_psk_generate_local
into 'enabled'.

But ensure that LuCI does not delete the existing key values
by not making the r0kh and r1kh fields to depend on this.

Note that this is just a quick fix for the wrong default value
causing problems, but not yet a complete fix for all the options.
In the long run it might be better to make the detail options
to depend on local generation.

Reference also to LuCI PR #2102

Adapted from commit 26e903c74 in master

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-25 09:27:05 +02:00
Jo-Philipp Wich
3787301e3f applications: drop luci-app-asterisk
This application was never useful to begin with, drop it to avoid
further confusion.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(cherry picked from commit cf36215228)
2018-11-16 19:39:40 +02:00
Hannu Nyman
44f91bb26c
Merge pull request #2278 from sotux/openwrt-18.06
i18n: update Simplified Chinese translation for openwrt-18.06
2018-11-14 16:33:03 +02:00
Zheng Qian
3dc653cd8c i18n: luci-app-uhttpd: add initial Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-11-14 10:26:55 +08:00
Zheng Qian
d6925de333 i18n: luci-base: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-11-14 10:26:55 +08:00
Zheng Qian
1fe70f3b4d i18n: luci-app-firewall: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-11-14 08:52:22 +08:00
Hannu Nyman
8e1579c557 luci-app-adblock: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-10 00:32:36 +02:00
Hannu Nyman
59383800ef luci-app-travelmate: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-09 23:58:21 +02:00
Hannu Nyman
0cfd99cb0f i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-09 23:35:09 +02:00
Martin Schiller
9f94fe3a77 i18n: luci-app-firewall: cleanup multiple definitions in uk/firewall.po
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-11-09 23:26:29 +02:00
Martin Schiller
197827ffe4 i18n: luci-app-addblock: cleanup multiple definitions in zh-cn/adblock.po
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-11-09 23:26:29 +02:00
Martin Schiller
01fe783494 i18n: fix german base.po
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-11-09 23:26:29 +02:00
Hannu Nyman
b3d4b84aaf timezone data: update to 2018g
Update timezone data to 2018g

http://mm.icann.org/pipermail/tz-announce/2018-October/000052.html

 * Morocco switches to permanent +01 on 2018-10-27.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 111ebe2f62)
2018-10-30 19:48:38 +02:00
Hannu Nyman
463fb04116 timezone data: update to 2018f
Update timezone data to 2018f

http://mm.icann.org/pipermail/tz-announce/2018-October/000051.html

   Volgograd moves from +03 to +04 on 2018-10-28.
   Fiji ends DST 2019-01-13, not 2019-01-20.
   Most of Chile changes DST dates, effective 2019-04-06.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 651937c166)
2018-10-25 18:48:33 +03:00
Dirk Brenken
55ebe88f4c
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>
(cherry picked from commit c2656a7220)
2018-10-11 13:46:37 +02:00
Dirk Brenken
b3cbe89b29
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>
(cherry picked from commit 1eb3f734c7)
2018-10-11 13:40:58 +02:00
Hannu Nyman
69325c11b5 timezone data: update to 2018e
Update timezone data to 2018e

http://mm.icann.org/pipermail/tz-announce/2018-May/000050.html

  North Korea switches back to +09 on 2018-05-05.
  The main format uses negative DST again, for Ireland

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 701f6b0819)
2018-10-09 18:25:33 +03:00
Dirk Brenken
9541751f7a
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>
(cherry picked from commit 4e56083833)
2018-09-04 21:47:22 +02:00
Jo-Philipp Wich
650375611f
Merge pull request #2109 from kagurazakakotori/openwrt-18.06
luci-app-adblock: fix chinese translation
2018-08-23 19:20:37 +02:00
Kagurazaka Kotori
4f4b28b789
luci-app-adblock: fix chinese translation
simply add a </a> tag to stop the link filling the whole page

Signed-off-by: Kagurazaka Kotori <kagurazakakotori@gmail.com>
2018-08-24 01:16:43 +08:00