Commit graph

10088 commits

Author SHA1 Message Date
Chizhong Jin
2d1830422b pp-statistics: add support for cUrl
Add collectd-mod-curl plugin support. Which can do some complex track,
such as grab stock, but by now, only response time are supported.

Signed-off-by: Chizhong Jin <pjincz@gmail.com>
2018-10-14 02:34:49 +08:00
Jo-Philipp Wich
4f9e23f2b6
Merge pull request #2208 from remakeelectric/snmp-agentx
luci-app-snmpd: Allow turning off agentx
2018-10-08 13:34:07 +02:00
Karl Palsson
8f96cd8e36 luci-app-snmpd: Allow turning off agentx
AgentX support doesn't actually require TCP, it also works over unix
domain sockets, and UDS is the only method that's compiled in by
default.  Remove that misleading text, and make the section
add/removable so that you can remove it to disable agentx support.
Behaviour with multiple sections is undefined. (don't do that!)

This matches the current behaviour of the snmpd init script, which will
enable agentx with the compile time default settings if the agentx
socket config is blank/missing.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-10-08 11:27:53 +00:00
Dirk Brenken
a0cc0769d8
Merge pull request #2202 from dibdot/travelmate
luci-app-travelmate: sync with update 1.2.4
2018-10-05 12:30:23 +02:00
Dirk Brenken
bc974aab96
Merge pull request #2195 from dibdot/wg-qrcode
luci-app-wireguard: add QR Code support plus fixes
2018-10-05 12:30:02 +02:00
Dirk Brenken
8a1fe2ad6d luci-app-travelmate: sync with update 1.2.4
* with the config option 'trm_radio' you can now restrict travelmate
  to a single radio (e.g. 'radio1') or change the overall
  scanning order (e.g. 'radio1 radio2 radio0')
* LuCI: show QR codes now inline on the overview page
  (collapsed by default)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-05 10:27:36 +02:00
Jo-Philipp Wich
280dd33980 luci-base: reword rollback notification dialog
Rename "Apply unchecked" to "Apply anyway" for better clarity and update
the base translation files accordingly.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-03 13:25:46 +02:00
Jo-Philipp Wich
fb859e602b luci-app-nlbwmon: fix nil value concat
Do not concatenate the yet undefined mtime variable to avoid a controller
error with backtrace.

Fixes: b3642f476 ("luci-app-nlbwmon: add proper file names for json and csv exports.")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-02 19:20:53 +02:00
Hannu Nyman
a90001419e
Merge pull request #2198 from TDT-AG/pr/20181002-luci-app-mwan3
luci-app-mwan3: fix i18n traceback
2018-10-02 18:00:26 +03:00
Florian Eckert
ea59480e4e luci-app-mwan3: fix i18n traceback
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-02 11:47:33 +02:00
Jo-Philipp Wich
229c002272
Merge pull request #2191 from Ansuel/zram
luci-mod-system: add zram options
2018-10-01 14:27:15 +02:00
Ansuel Smith
ff5f68d868
luci-mod-system: add zram options
This adds option to configure zram size and compression algo

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-10-01 14:04:18 +02:00
Dirk Brenken
ca76ead1ba luci-app-wireguard: add QR Code support plus fixes
* add optional QR Code support to status page (per wg Interface),
  submitted information via QR code are:
  - [Interface] (list of) Address / PrivateKey
  - [Peer] Endpoint / PublicKey / (list of) AllowedIPs
  - support multiple interfaces and peers
* fix XHTML rendering errors with OpenWrt standard theme
* fix logical glitch with empty descriptions, remove needless variables
* left align the output for better viewing esp. with material theme
* freshen up design a little bit
* switch space indentation to tabs

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-01 11:57:38 +02:00
Jo-Philipp Wich
af96d94ad1
Merge pull request #2194 from yangfl/master
i18n: update Chinese translation
2018-10-01 10:53:35 +02:00
Jo-Philipp Wich
e24c897b88
Merge pull request #2192 from Ansuel/wifi
luci-app-network: add rekey option
2018-10-01 10:52:32 +02:00
yangfl
dc1c69ce4e i18n: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-01 11:39:57 +08:00
Florian Eckert
24cf28b5ec luci-proto-pppossh: move pppossh to own package
This is a special proto which should go into a separate package.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-30 17:49:09 +08:00
Florian Eckert
cd1bce5017 luci-proto-hnet: move hnet to own package
This is a special proto which should go into a separate package.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-30 17:49:09 +08:00
Ansuel Smith
7d09ee81a0
luci-app-network: add rekey option and inactivity tweak
This option is usefull to solve some problems with ath10k-ct and random client disconnect. This also adds some extra option to tune inactivity settings

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-29 22:10:57 +02:00
Ameer Dawood
15fc6bf48d luci-app-nlbwmon: the default CSV delimiter should be a comma
Suggested-by: Ameer Dawood <ameer1234567890@gmail.com>
[slightly reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 15:01:57 +02:00
Ameer Dawood
b3642f4762 luci-app-nlbwmon: add proper file names for json and csv exports.
Currently, the json and csv exports are just named `data` which is not
intuitive. This adds proper file name extensions using the
Content-disposition HTTP header.

Suggested-by: Ameer Dawood <ameer1234567890@gmail.com>
[slightly reword commit message, squash commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:59:42 +02:00
Dirk Brenken
32ee1873ac luci-base: fix misleading warning message when adding SSH keys
Prevent an incorrect / misleading "There are no changes to apply" message
from popping up when adding a new SSH key to the text box.

Fixes #2048.
Signed-off-by: Dirk Brenken <dev@brenken.org>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:53:29 +02:00
Jo-Philipp Wich
c3f5c01d6a luci-base: corrections to Russian translation
Add grammar corrections suggested in PRs #2114 and #2190.

Suggested-by: Roman <x.wserfer@gmail.com>
[squash #2114 and #2190, reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:38:51 +02:00
David Yang
3ed5dc0f62 applications: add Chinese translations
Signed-off-by: David Yang <mmyangfl@gmail.com>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:34:27 +02:00
rwalli
0fe2e72f78 luci-app-wireguard: add descriptions
Add description fields to luci-app-wireguard similar to those in
luci-proto-wireguard.

Ref: https://github.com/openwrt/luci/commit/140f41b4
Suggested-by: "rwalli" <rwalli@gmx.net>
[squash commits, reword commit message, remove semicolons,
 remove trailing white space]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:32:18 +02:00
Jo-Philipp Wich
c79a2bbab7 luci-theme-bootstrap: enforce minimum width for IPv4 DHCP lease column
Fixes #2132.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:23:43 +02:00
Jo-Philipp Wich
82dea9ca30 themes: add data-page attribute to body elements
This is useful to write page specific CSS rules.

Also fix a missing space in the body CSS class name in the bootstrap theme
while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:21:28 +02:00
Jo-Philipp Wich
d79d9874d7 luci-mod-system: correct table cell rendering without umount button
Fixes #2173.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:09:43 +02:00
Darius
e5071c88f0 luci-base: cbi.lua: fix TypedSection.parse()
It's not necessary to execute all code if section already exists.

Signed-off-by: Darius Joksas <jok.darius@gmail.com>
[reword commit message, squash commits, remove stray semicolon]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:01:49 +02:00
Darius
f0141773ac luci-app-firewall: remove unused code
- unused requirements removed
 - unused variable and foreach loop removed

Signed-off-by: Darius <darius.joksas@teltonika.lt>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 13:55:53 +02:00
Jo-Philipp Wich
a291a999a7
Merge pull request #2184 from kyle30312/logout-cookie-fix
luci-base: fix sysauth cookie not removed on logout
2018-09-27 21:22:32 +02:00
Jo-Philipp Wich
58d7ee8ab3 luci-theme-bootstrap: fix typo in admin node lookup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27 21:19:03 +02:00
Jo-Philipp Wich
72d4b62d25 luci-theme-material: do not double escape menu titles
Fixes #1410.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27 21:17:08 +02:00
Jo-Philipp Wich
ce46437b30 luci-theme-bootstrap: do not double escape menu titles
Fixes #1410.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27 21:17:07 +02:00
Sophana KOK
f405d23990 restored nixio tls providers
Signed-off-by: Sophana KOK <ml-github@worldspot.net>
2018-09-27 21:12:40 +02:00
Kyle Rogers
c9e4085c64 luci-base: fix sysauth cookie not removed on logout
Signed-off-by: Kyle Rogers <7157021+kyle30312@users.noreply.github.com>
2018-09-27 10:04:57 -04:00
Jo-Philipp Wich
874faa9223
Merge pull request #2185 from TDT-AG/pr/20180927-luci-app-mwan3
luci-app-mwan3: start adding german translation a new max_ttl option
2018-09-27 10:52:01 +02:00
Jo-Philipp Wich
20fc7c4c21
Merge pull request #2186 from TDT-AG/pr/20180927-base-fix-german-translation
luci-base: fix german translations
2018-09-27 10:50:15 +02:00
Martin Schiller
72fb7e39ef luci-base: fix german translations
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-09-27 09:24:45 +02:00
Florian Eckert
5d8b64f414 luci-app-mwan3: add new max_ttl option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27 08:50:31 +02:00
Florian Eckert
4032c335e0 luci-app-mwan3: add german translation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27 08:50:31 +02:00
Jo-Philipp Wich
c70c5cc3a1
Merge pull request #2181 from TDT-AG/pr/20180925-luci-theme-material
luci-theme-material: fixes and add openwrt logo brand
2018-09-26 17:44:04 +02:00
Florian Eckert
8a8c3ae57b luci-theme-material: fix partly hidden logout navbar item
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
2018-09-26 15:32:06 +02:00
Florian Eckert
fa0658da5e luci-theme-material: add logo brand
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
2018-09-26 15:31:34 +02:00
Florian Eckert
6f33e73e29 luci-theme-material: fix whitspaces and change mode
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-25 11:40:04 +02:00
Jo-Philipp Wich
136fba752c
Merge pull request #2177 from TDT-AG/pr/20180924-luci-mod-network
luci-mod-network: disable wifi config on new wifi-iface add
2018-09-25 07:32:50 +02:00
Jo-Philipp Wich
b6306b1f49
Merge pull request #2179 from remakeelectric/mos-path-vs-file
luci-app-mosquitto: validate paths as path, not file
2018-09-24 18:08:46 +02:00
Karl Palsson
8fdb5f64f2 luci-app-mosquitto: validate paths as path, not file
luci has separate validation for directories and files, make sure to
use the right one.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-09-24 16:02:24 +00:00
Jo-Philipp Wich
e722ac1807
Merge pull request #2178 from booo/fix/profile_berlin-mesh_network
community-profiles: change subnet of mesh_network option for Berlin
2018-09-24 14:12:23 +02:00
Philipp Borgers
eab986432d 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-09-24 13:57:31 +02:00