From 463845c548bff6b75d49cb410108818a8bf30de1 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 3 Apr 2008 13:11:48 +0000 Subject: Renamed functions by removing _ sign in functionnames. git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@905 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openvpn-client_config-html.lsp | 70 --------------------------------------- openvpn-clientconfig-html.lsp | 70 +++++++++++++++++++++++++++++++++++++++ openvpn-controller.lua | 10 +++--- openvpn-pem_info-html.lsp | 40 ----------------------- openvpn-peminfo-html.lsp | 40 +++++++++++++++++++++++ openvpn-server_config-html.lsp | 72 ----------------------------------------- openvpn-serverconfig-html.lsp | 72 +++++++++++++++++++++++++++++++++++++++++ openvpn-status_info-html.lsp | 30 ----------------- openvpn-statusinfo-html.lsp | 30 +++++++++++++++++ openvpn-unknown_config-html.lsp | 29 ----------------- openvpn-unknownconfig-html.lsp | 29 +++++++++++++++++ 11 files changed, 246 insertions(+), 246 deletions(-) delete mode 100644 openvpn-client_config-html.lsp create mode 100644 openvpn-clientconfig-html.lsp delete mode 100644 openvpn-pem_info-html.lsp create mode 100644 openvpn-peminfo-html.lsp delete mode 100644 openvpn-server_config-html.lsp create mode 100644 openvpn-serverconfig-html.lsp delete mode 100644 openvpn-status_info-html.lsp create mode 100644 openvpn-statusinfo-html.lsp delete mode 100644 openvpn-unknown_config-html.lsp create mode 100644 openvpn-unknownconfig-html.lsp diff --git a/openvpn-client_config-html.lsp b/openvpn-client_config-html.lsp deleted file mode 100644 index 3130f9f..0000000 --- a/openvpn-client_config-html.lsp +++ /dev/null @@ -1,70 +0,0 @@ - - - -

Client config ''

- -

Client settings

- -
Mode
-
client
- -
User device
-
- -
Remote server
-
: ()
- -
Logfile
-
Syslog (Verbosity level: )
- -
View/Modify configfile
-
- - -

Client properties

- -
Common name
-
xxx
- -
Virtual address
-
xxx.xxx.xxx.xxx
- -
Real address
-
xxx.xxx.xxx.xxx:xxxx
- - - -

Startup options

- -
Process running
-
>
- -

Certificate files

- - -
CA Certificate
-
- - - -
Client Certificate
-
- - - -
Client Private Key
-
- - - -
TLS Authentication
-
- - - -
CRL Verify File
-
(client side)
- - - - diff --git a/openvpn-clientconfig-html.lsp b/openvpn-clientconfig-html.lsp new file mode 100644 index 0000000..3130f9f --- /dev/null +++ b/openvpn-clientconfig-html.lsp @@ -0,0 +1,70 @@ + + + +

Client config ''

+ +

Client settings

+ +
Mode
+
client
+ +
User device
+
+ +
Remote server
+
: ()
+ +
Logfile
+
Syslog (Verbosity level: )
+ +
View/Modify configfile
+
+ + +

Client properties

+ +
Common name
+
xxx
+ +
Virtual address
+
xxx.xxx.xxx.xxx
+ +
Real address
+
xxx.xxx.xxx.xxx:xxxx
+ + + +

Startup options

+ +
Process running
+
>
+ +

Certificate files

+ + +
CA Certificate
+
+ + + +
Client Certificate
+
+ + + +
Client Private Key
+
+ + + +
TLS Authentication
+
+ + + +
CRL Verify File
+
(client side)
+ + + + diff --git a/openvpn-controller.lua b/openvpn-controller.lua index cf38b26..7f0d571 100644 --- a/openvpn-controller.lua +++ b/openvpn-controller.lua @@ -27,25 +27,25 @@ status = function (self) end -server_config = function (self) +serverconfig = function (self) local configname = self.clientdata.name or "" return ( {config = self.model:get_config(configname), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) end -client_config = function (self) +clientconfig = function (self) local configname = self.clientdata.name or "" return ( {config = self.model:get_config(configname), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) end -pem_info = function (self) +peminfo = function (self) end -status_info = function (self) +statusinfo = function (self) local configname = self.clientdata.name or "" return ( {clientlist = self.model:clientlist(configname), url = ENV["SCRIPT_NAME"] .. self.conf.prefix .. self.conf.controller} ) end -unknown_config = function (self) +unknownconfig = function (self) local filename = self.clientdata.name or "" local filecontent = self.clientdata.modifications or "" diff --git a/openvpn-pem_info-html.lsp b/openvpn-pem_info-html.lsp deleted file mode 100644 index 5f048b4..0000000 --- a/openvpn-pem_info-html.lsp +++ /dev/null @@ -1,40 +0,0 @@ - - - -

Certificate Info 'xxx.conf'

-

General

- -
Serial
-
xxx
- -
Common name
-
xxx
- -
Country
-
xxx
- -
State or Province
-
xxx
- -
City
-
xxx
- -
Company
-
xxx
- -
Departement II
-
xxx
- -
e-mail
-
xxx
- -
Status
-
xxx
- -

Certificate Details

- - - - - - diff --git a/openvpn-peminfo-html.lsp b/openvpn-peminfo-html.lsp new file mode 100644 index 0000000..5f048b4 --- /dev/null +++ b/openvpn-peminfo-html.lsp @@ -0,0 +1,40 @@ + + + +

Certificate Info 'xxx.conf'

+

General

+ +
Serial
+
xxx
+ +
Common name
+
xxx
+ +
Country
+
xxx
+ +
State or Province
+
xxx
+ +
City
+
xxx
+ +
Company
+
xxx
+ +
Departement II
+
xxx
+ +
e-mail
+
xxx
+ +
Status
+
xxx
+ +

Certificate Details

+ + + + + + diff --git a/openvpn-server_config-html.lsp b/openvpn-server_config-html.lsp deleted file mode 100644 index 6b4b215..0000000 --- a/openvpn-server_config-html.lsp +++ /dev/null @@ -1,72 +0,0 @@ - - - -

Server config ''

- -

Server settings

- -
Mode
-
server
- -
User device
-
- -
Listens on
-
: ()
- -
Logfile
-
Syslog (Verbosity level: )
- -
View/Modify configfile
-
- -

Connected clients status

- -
Last status was recorded
-
(This was ago)
- -
Maximum clients
-
- -
Connected clients
-
0 ) then ?>
- -

Startup options

- -
Process running
-
>
- -

Certificate files

- - -
DH
-
- - - -
CA Certificate
-
- - - -
Server Certificate
-
- - - -
Server Private Key
-
- - - -
TLS Authentication
-
- - - -
CRL Verify File
-
- - - - diff --git a/openvpn-serverconfig-html.lsp b/openvpn-serverconfig-html.lsp new file mode 100644 index 0000000..6b4b215 --- /dev/null +++ b/openvpn-serverconfig-html.lsp @@ -0,0 +1,72 @@ + + + +

Server config ''

+ +

Server settings

+ +
Mode
+
server
+ +
User device
+
+ +
Listens on
+
: ()
+ +
Logfile
+
Syslog (Verbosity level: )
+ +
View/Modify configfile
+
+ +

Connected clients status

+ +
Last status was recorded
+
(This was ago)
+ +
Maximum clients
+
+ +
Connected clients
+
0 ) then ?>
+ +

Startup options

+ +
Process running
+
>
+ +

Certificate files

+ + +
DH
+
+ + + +
CA Certificate
+
+ + + +
Server Certificate
+
+ + + +
Server Private Key
+
+ + + +
TLS Authentication
+
+ + + +
CRL Verify File
+
+ + + + diff --git a/openvpn-status_info-html.lsp b/openvpn-status_info-html.lsp deleted file mode 100644 index 2c28d05..0000000 --- a/openvpn-status_info-html.lsp +++ /dev/null @@ -1,30 +0,0 @@ - - - -

Status

-

Connected clients

- - - - - - - - - - - - - - - - - - - - - - -
Common Name
Connected at
Virtual AddressReal AddressBytes
Received
Bytes
Sent
- - diff --git a/openvpn-statusinfo-html.lsp b/openvpn-statusinfo-html.lsp new file mode 100644 index 0000000..2c28d05 --- /dev/null +++ b/openvpn-statusinfo-html.lsp @@ -0,0 +1,30 @@ + + + +

Status

+

Connected clients

+ + + + + + + + + + + + + + + + + + + + + + +
Common Name
Connected at
Virtual AddressReal AddressBytes
Received
Bytes
Sent
+ + diff --git a/openvpn-unknown_config-html.lsp b/openvpn-unknown_config-html.lsp deleted file mode 100644 index fe8aa1f..0000000 --- a/openvpn-unknown_config-html.lsp +++ /dev/null @@ -1,29 +0,0 @@ - - - -

Configuration file ''

- -

Details

- -
File name
-
- -
File size
-
- -
Last modified
-
- -
This config looks like a
-
config
- -

Content

- -
- - - -
- - - diff --git a/openvpn-unknownconfig-html.lsp b/openvpn-unknownconfig-html.lsp new file mode 100644 index 0000000..fe8aa1f --- /dev/null +++ b/openvpn-unknownconfig-html.lsp @@ -0,0 +1,29 @@ + + + +

Configuration file ''

+ +

Details

+ +
File name
+
+ +
File size
+
+ +
Last modified
+
+ +
This config looks like a
+
config
+ +

Content

+ +
+ + + +
+ + + -- cgit v1.2.3