Commit graph

220 commits

Author SHA1 Message Date
Dirk Brenken
f73da9ca82
system-wide: fix escaping of magic chars
* fix escaping of magic lua chars (#2800)
* fix redundant second gsub line in shellstartsqescape function
* fix return value of shellstartsqescape function

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-06-29 19:26:07 +02:00
Florian Eckert
121e7fea66 luci-app-*: use default poll interval
Replace all XHR poll time number with -1 so they will use the default
poll interval time value from "/etc/config/luci". If this is not set then
5 seconds as default is used.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-20 10:20:23 +01: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
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
Raymond Tau
ee87dd1daa luci-app-ocserv: match default value of compression
Modify the default setting of compression to match the default
value of the package ocserv.

Signed-off-by: Raymond Tau <raymondtau@gmail.com>
2018-03-13 02:15:22 +08:00
Nikos Mavrogiannopoulos
14b510e4a1 ocserv: added proxy arp option
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-11-01 11:38:49 +01:00
Nikos Mavrogiannopoulos
64c026cb64 luci-app-ocserv: removed unecessary option
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-11-01 00:29:27 +01:00
Jo-Philipp Wich
0f1f5140e3 luci-app-ocserv: protect disconnect action with csrf token
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21 00:00:55 +02:00
Jo-Philipp Wich
281d2f6178 Globally replace luci.dispatcher.build_url(...) with url(...) invocations
Also concat multiple string arguments into one while we're at it.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07 19:07:36 +02:00
Nikos Mavrogiannopoulos
1c57ea5d22 luci-app-ocserv: list users with no group
This was marked as "(none)" which was not caught by the regex.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-05-24 16:52:32 +02:00
Jo-Philipp Wich
dd2b05289b Merge pull request #304 from nmav/ocserv-crypt
luci-app-ocserv: uclibc's crypt() doesn't support sha2crypt
2015-03-10 18:55:46 +01:00
Jo-Philipp Wich
cd24ad05a4 Merge pull request #305 from nmav/compression
luci-app-ocserv: Added option to enable compression
2015-02-08 19:13:39 +01:00
Nikos Mavrogiannopoulos
d0759af923 luci-app-ocserv: Added option to enable compression 2015-01-20 22:21:20 +01:00
Nikos Mavrogiannopoulos
7a792ee564 luci-app-ocserv: uclibc's crypt() doesn't support sha2crypt
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-20 22:19:11 +01:00
Jo-Philipp Wich
0d541a4cbd Merge pull request #299 from nmav/ocserv-match
luci-app-ocserv: modified match to apply to newer versions of occtl
2015-01-19 18:39:10 +01:00
Nikos Mavrogiannopoulos
d3104487b4 luci-app-ocserv: express PKID in a way that is acceptable by openconnect
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-19 18:24:54 +01:00
Nikos Mavrogiannopoulos
f5da9b53e1 ocserv: modified match to apply to newer versions of occtl
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-18 22:49:06 +01:00
Jo-Philipp Wich
7a3493b1f7 Globally reduce copyright headers
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:38:38 +01:00
Jo-Philipp Wich
1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00