Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
8044cf9b
Commit
8044cf9b
authored
4 months ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Add max concurrent connections edit box to web cfg dialog
parent
065ed30e
No related branches found
No related tags found
No related merge requests found
Pipeline
#7304
passed
4 months ago
Stage: build
Stage: test
Stage: cleanup
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/ctrl/WebCfgDlgUnit.cpp
+2
-0
2 additions, 0 deletions
src/sbbs3/ctrl/WebCfgDlgUnit.cpp
src/sbbs3/ctrl/WebCfgDlgUnit.dfm
+218
-200
218 additions, 200 deletions
src/sbbs3/ctrl/WebCfgDlgUnit.dfm
src/sbbs3/ctrl/WebCfgDlgUnit.h
+4
-2
4 additions, 2 deletions
src/sbbs3/ctrl/WebCfgDlgUnit.h
with
224 additions
and
202 deletions
src/sbbs3/ctrl/WebCfgDlgUnit.cpp
+
2
−
0
View file @
8044cf9b
...
@@ -61,6 +61,7 @@ void __fastcall TWebCfgDlg::FormShow(TObject *Sender)
...
@@ -61,6 +61,7 @@ void __fastcall TWebCfgDlg::FormShow(TObject *Sender)
else
else
MaxClientsEdit
->
Text
=
AnsiString
((
int
)
MainForm
->
web_startup
.
max_clients
);
MaxClientsEdit
->
Text
=
AnsiString
((
int
)
MainForm
->
web_startup
.
max_clients
);
MaxInactivityEdit
->
Text
=
duration_to_str
(
MainForm
->
web_startup
.
max_inactivity
,
str
,
sizeof
str
);
MaxInactivityEdit
->
Text
=
duration_to_str
(
MainForm
->
web_startup
.
max_inactivity
,
str
,
sizeof
str
);
MaxConConEdit
->
Text
=
AnsiString
((
int
)
MainForm
->
web_startup
.
max_concurrent_connections
);
PortEdit
->
Text
=
AnsiString
((
int
)
MainForm
->
web_startup
.
port
);
PortEdit
->
Text
=
AnsiString
((
int
)
MainForm
->
web_startup
.
port
);
TlsPortEdit
->
Text
=
AnsiString
((
int
)
MainForm
->
web_startup
.
tls_port
);
TlsPortEdit
->
Text
=
AnsiString
((
int
)
MainForm
->
web_startup
.
tls_port
);
AutoStartCheckBox
->
Checked
=
MainForm
->
WebAutoStart
;
AutoStartCheckBox
->
Checked
=
MainForm
->
WebAutoStart
;
...
@@ -115,6 +116,7 @@ void __fastcall TWebCfgDlg::OKBtnClick(TObject *Sender)
...
@@ -115,6 +116,7 @@ void __fastcall TWebCfgDlg::OKBtnClick(TObject *Sender)
MainForm
->
web_startup
.
tls_interfaces
=
strListSplitCopy
(
NULL
,
TlsInterfaceEdit
->
Text
.
c_str
(),
","
);
MainForm
->
web_startup
.
tls_interfaces
=
strListSplitCopy
(
NULL
,
TlsInterfaceEdit
->
Text
.
c_str
(),
","
);
MainForm
->
web_startup
.
max_clients
=
MaxClientsEdit
->
Text
.
ToIntDef
(
10
);
MainForm
->
web_startup
.
max_clients
=
MaxClientsEdit
->
Text
.
ToIntDef
(
10
);
MainForm
->
web_startup
.
max_inactivity
=
parse_duration
(
MaxInactivityEdit
->
Text
.
c_str
());
MainForm
->
web_startup
.
max_inactivity
=
parse_duration
(
MaxInactivityEdit
->
Text
.
c_str
());
MainForm
->
web_startup
.
max_concurrent_connections
=
MaxConConEdit
->
Text
.
ToIntDef
(
0
);
MainForm
->
web_startup
.
port
=
PortEdit
->
Text
.
ToIntDef
(
IPPORT_HTTP
);
MainForm
->
web_startup
.
port
=
PortEdit
->
Text
.
ToIntDef
(
IPPORT_HTTP
);
MainForm
->
web_startup
.
tls_port
=
TlsPortEdit
->
Text
.
ToIntDef
(
IPPORT_HTTPS
);
MainForm
->
web_startup
.
tls_port
=
TlsPortEdit
->
Text
.
ToIntDef
(
IPPORT_HTTPS
);
MainForm
->
WebAutoStart
=
AutoStartCheckBox
->
Checked
;
MainForm
->
WebAutoStart
=
AutoStartCheckBox
->
Checked
;
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/WebCfgDlgUnit.dfm
+
218
−
200
View file @
8044cf9b
...
@@ -3,8 +3,8 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -3,8 +3,8 @@ object WebCfgDlg: TWebCfgDlg
Top = 332
Top = 332
BorderStyle = bsDialog
BorderStyle = bsDialog
Caption = 'Web Server Configuration'
Caption = 'Web Server Configuration'
ClientHeight = 2
45
ClientHeight = 2
83
ClientWidth =
286
ClientWidth =
330
Color = clBtnFace
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Color = clWindowText
...
@@ -16,65 +16,65 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -16,65 +16,65 @@ object WebCfgDlg: TWebCfgDlg
ShowHint = True
ShowHint = True
OnShow = FormShow
OnShow = FormShow
DesignSize = (
DesignSize = (
286
330
2
45
)
2
83
)
PixelsPerInch = 96
PixelsPerInch = 96
TextHeight = 1
3
TextHeight = 1
5
object PageControl: TPageControl
object PageControl: TPageControl
Left = 3
Left = 3
Top = 3
Top = 3
Width =
278
Width =
321
Height =
199
Height =
230
ActivePage =
Sound
TabSheet
ActivePage =
Http
TabSheet
TabIndex =
5
TabIndex =
2
TabOrder = 0
TabOrder = 0
object GeneralTabSheet: TTabSheet
object GeneralTabSheet: TTabSheet
Caption = 'General'
Caption = 'General'
object MaxClientesLabel: TLabel
object MaxClientesLabel: TLabel
Left =
7
Left =
8
Top =
88
Top =
102
Width =
78
Width =
90
Height = 1
9
Height =
2
1
AutoSize = False
AutoSize = False
Caption = 'Max Clients'
Caption = 'Max Clients'
end
end
object MaxInactivityLabel: TLabel
object MaxInactivityLabel: TLabel
Left =
7
Left =
8
Top = 1
14
Top = 1
32
Width =
78
Width =
90
Height = 1
9
Height =
2
1
AutoSize = False
AutoSize = False
Caption = 'Max Inactivity'
Caption = 'Max Inactivity'
end
end
object PortLabel: TLabel
object PortLabel: TLabel
Left =
7
Left =
8
Top =
6
2
Top =
7
2
Width =
78
Width =
90
Height = 1
9
Height =
2
1
AutoSize = False
AutoSize = False
Caption = 'Listening Port'
Caption = 'Listening Port'
end
end
object InterfaceLabel: TLabel
object InterfaceLabel: TLabel
Left =
7
Left =
8
Top =
36
Top =
42
Width =
78
Width =
90
Height = 1
9
Height =
2
1
AutoSize = False
AutoSize = False
Caption = 'Interfaces (IPs)'
Caption = 'Interfaces (IPs)'
end
end
object
AuthTypes
Label: TLabel
object
MaxConCon
Label: TLabel
Left =
7
Left =
8
Top = 1
40
Top = 1
59
Width =
7
8
Width = 8
9
Height =
19
Height =
22
AutoSize = False
AutoSize = False
Caption = '
Auth Types
'
Caption = '
Max Con-Conn
'
end
end
object AutoStartCheckBox: TCheckBox
object AutoStartCheckBox: TCheckBox
Left =
7
Left =
8
Top = 1
0
Top = 1
2
Width = 1
17
Width = 1
35
Height = 2
0
Height = 2
3
Hint = 'Automatically start Web server'
Hint = 'Automatically start Web server'
Caption = 'Auto Startup'
Caption = 'Auto Startup'
ParentShowHint = False
ParentShowHint = False
...
@@ -82,20 +82,20 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -82,20 +82,20 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 0
TabOrder = 0
end
end
object MaxClientsEdit: TEdit
object MaxClientsEdit: TEdit
Left = 8
5
Left =
9
8
Top =
88
Top =
102
Width =
39
Width =
45
Height = 2
1
Height = 2
3
Hint = 'Maximum number of simultaneous clients (0=unlimited)'
Hint = 'Maximum number of simultaneous clients (0=unlimited)'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 4
TabOrder = 4
end
end
object MaxInactivityEdit: TEdit
object MaxInactivityEdit: TEdit
Left = 8
5
Left =
9
8
Top = 1
14
Top = 1
32
Width =
39
Width =
45
Height = 2
1
Height = 2
3
Hint =
Hint =
'Maximum number of seconds of inactivity before disconnect (defau' +
'Maximum number of seconds of inactivity before disconnect (defau' +
'lt=120)'
'lt=120)'
...
@@ -104,20 +104,20 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -104,20 +104,20 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 5
TabOrder = 5
end
end
object PortEdit: TEdit
object PortEdit: TEdit
Left = 8
5
Left =
9
8
Top =
6
2
Top =
7
2
Width =
39
Width =
45
Height = 2
1
Height = 2
3
Hint = 'TCP port to use for HTTP connections (default=80)'
Hint = 'TCP port to use for HTTP connections (default=80)'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 3
TabOrder = 3
end
end
object NetworkInterfaceEdit: TEdit
object NetworkInterfaceEdit: TEdit
Left = 8
5
Left =
9
8
Top =
36
Top =
42
Width = 1
56
Width = 1
80
Height = 2
1
Height = 2
3
Hint =
Hint =
'Comma-separated list of IP addresses to accept incoming connecti' +
'Comma-separated list of IP addresses to accept incoming connecti' +
'ons'
'ons'
...
@@ -126,22 +126,22 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -126,22 +126,22 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 2
TabOrder = 2
end
end
object HostnameCheckBox: TCheckBox
object HostnameCheckBox: TCheckBox
Left = 1
48
Left = 1
71
Top = 1
0
Top = 1
2
Width = 1
19
Width = 1
37
Height = 2
0
Height = 2
3
Hint = 'Automatically lookup client'#39's hostnames via DNS'
Hint = 'Automatically lookup client'#39's hostnames via DNS'
Caption = 'Hostname Lookup'
Caption = 'Hostname Lookup'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 1
TabOrder = 1
end
end
object
AuthTypes
Edit: TEdit
object
MaxConCon
Edit: TEdit
Left = 8
5
Left =
9
8
Top = 1
40
Top = 1
59
Width =
156
Width =
45
Height = 2
1
Height = 2
3
Hint = '
Comma-separated list of default authentication types allow
ed'
Hint = '
Maximum Concurrent Connections from same IP (0=unlimit
ed
)
'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 6
TabOrder = 6
...
@@ -151,26 +151,26 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -151,26 +151,26 @@ object WebCfgDlg: TWebCfgDlg
Caption = 'TLS'
Caption = 'TLS'
ImageIndex = 5
ImageIndex = 5
object TlsInterfaceLabel: TLabel
object TlsInterfaceLabel: TLabel
Left =
7
Left =
8
Top =
36
Top =
42
Width =
78
Width =
90
Height = 1
9
Height =
2
1
AutoSize = False
AutoSize = False
Caption = 'Interfaces (IPs)'
Caption = 'Interfaces (IPs)'
end
end
object TlsPortLabel: TLabel
object TlsPortLabel: TLabel
Left =
7
Left =
8
Top =
6
2
Top =
7
2
Width =
78
Width =
90
Height = 1
9
Height =
2
1
AutoSize = False
AutoSize = False
Caption = 'Listening Port'
Caption = 'Listening Port'
end
end
object TlsEnableCheckBox: TCheckBox
object TlsEnableCheckBox: TCheckBox
Left =
7
Left =
8
Top = 1
0
Top = 1
2
Width = 1
17
Width = 1
35
Height = 2
0
Height = 2
3
Hint = 'Enables HTTPS (HTTP over TLS/SSL)'
Hint = 'Enables HTTPS (HTTP over TLS/SSL)'
Caption = 'Enabled'
Caption = 'Enabled'
ParentShowHint = False
ParentShowHint = False
...
@@ -179,9 +179,9 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -179,9 +179,9 @@ object WebCfgDlg: TWebCfgDlg
OnClick = TlsEnableCheckBoxClick
OnClick = TlsEnableCheckBoxClick
end
end
object TlsInterfaceEdit: TEdit
object TlsInterfaceEdit: TEdit
Left = 8
5
Left =
9
8
Top =
36
Top =
42
Width = 1
56
Width = 1
80
Height = 21
Height = 21
Hint =
Hint =
'Comma-separated list of IP addresses to accept incoming connecti' +
'Comma-separated list of IP addresses to accept incoming connecti' +
...
@@ -191,9 +191,9 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -191,9 +191,9 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 1
TabOrder = 1
end
end
object TlsPortEdit: TEdit
object TlsPortEdit: TEdit
Left = 8
5
Left =
9
8
Top =
6
2
Top =
7
2
Width =
39
Width =
45
Height = 21
Height = 21
Hint = 'TCP port to use for HTTPS connections (default=443)'
Hint = 'TCP port to use for HTTPS connections (default=443)'
ParentShowHint = False
ParentShowHint = False
...
@@ -201,10 +201,10 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -201,10 +201,10 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 2
TabOrder = 2
end
end
object HSTSEnableCheckBox: TCheckBox
object HSTSEnableCheckBox: TCheckBox
Left = 1
48
Left = 1
71
Top = 1
0
Top = 1
2
Width = 1
19
Width = 1
37
Height = 2
0
Height = 2
3
Hint = 'HTTP Strict Transport Security'
Hint = 'HTTP Strict Transport Security'
Caption = 'HSTS Support'
Caption = 'HSTS Support'
ParentShowHint = False
ParentShowHint = False
...
@@ -216,141 +216,159 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -216,141 +216,159 @@ object WebCfgDlg: TWebCfgDlg
Caption = 'HTTP'
Caption = 'HTTP'
ImageIndex = 3
ImageIndex = 3
object HtmlDirLabel: TLabel
object HtmlDirLabel: TLabel
Left =
7
Left =
8
Top = 1
0
Top = 1
2
Width =
78
Width =
90
Height = 2
0
Height = 2
3
AutoSize = False
AutoSize = False
Caption = 'HTML Root'
Caption = 'HTML Root'
end
end
object ErrorSubDirLabel: TLabel
object ErrorSubDirLabel: TLabel
Left =
7
Left =
8
Top =
36
Top =
42
Width =
78
Width =
90
Height = 2
0
Height = 2
3
AutoSize = False
AutoSize = False
Caption = 'Error SubDir'
Caption = 'Error SubDir'
end
end
object ServerSideJsExtLabel: TLabel
object ServerSideJsExtLabel: TLabel
Left =
7
Left =
8
Top = 1
14
Top = 1
32
Width = 1
43
Width = 1
65
Height = 2
0
Height = 2
3
AutoSize = False
AutoSize = False
Caption = 'Server-Side JS File Extension'
Caption = 'Server-Side JS File Extension'
end
end
object IndexLabel: TLabel
object IndexLabel: TLabel
Left =
7
Left =
8
Top =
6
2
Top =
7
2
Width =
78
Width =
90
Height = 2
0
Height = 2
3
AutoSize = False
AutoSize = False
Caption = 'Index Files'
Caption = 'Index Files'
end
end
object
HtmlRootEdit: TEdit
object
AuthTypesLabel: TLabel
Left = 8
5
Left = 8
Top = 10
Top = 10
2
Width =
156
Width =
90
Height = 21
Height = 21
AutoSize = False
Caption = 'Auth Types'
end
object HtmlRootEdit: TEdit
Left = 98
Top = 12
Width = 180
Height = 23
Hint = 'Root directory for HTML files (off of CTRL directory)'
Hint = 'Root directory for HTML files (off of CTRL directory)'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 0
TabOrder = 0
end
end
object ErrorSubDirEdit: TEdit
object ErrorSubDirEdit: TEdit
Left = 8
5
Left =
9
8
Top =
36
Top =
42
Width = 1
56
Width = 1
80
Height = 2
1
Height = 2
3
Hint = 'Error sub-directory (off of HTML root)'
Hint = 'Error sub-directory (off of HTML root)'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 1
TabOrder = 1
end
end
object ServerSideJsExtEdit: TEdit
object ServerSideJsExtEdit: TEdit
Left = 1
56
Left = 1
80
Top = 1
14
Top = 1
32
Width = 8
5
Width =
9
8
Height = 2
1
Height = 2
3
Hint =
Hint =
'File extension that denotes server-side JavaScript files (e.g. "' +
'File extension that denotes server-side JavaScript files (e.g. "' +
'.ssjs")'
'.ssjs")'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder =
3
TabOrder =
4
end
end
object VirtualHostsCheckBox: TCheckBox
object VirtualHostsCheckBox: TCheckBox
Left =
7
Left =
8
Top = 1
40
Top = 1
62
Width = 8
5
Width =
9
8
Height = 1
9
Height =
2
1
Hint = 'Support virtual host directories off the HTML root directory'
Hint = 'Support virtual host directories off the HTML root directory'
Caption = 'Virtual Hosts'
Caption = 'Virtual Hosts'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder =
4
TabOrder =
5
end
end
object IndexFileEdit: TEdit
object IndexFileEdit: TEdit
Left = 8
5
Left =
9
8
Top =
6
2
Top =
7
2
Width = 1
56
Width = 1
80
Height = 2
1
Height = 2
3
Hint =
Hint =
'List of filenames that will be automatically sent to client (e.g' +
'List of filenames that will be automatically sent to client (e.g' +
'. index.html)'
'. index.html)'
TabOrder = 2
TabOrder = 2
end
end
object AuthTypesEdit: TEdit
Left = 98
Top = 102
Width = 180
Height = 23
Hint = 'Comma-separated list of default authentication types allowed'
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
end
end
object CGITabSheet: TTabSheet
object CGITabSheet: TTabSheet
Caption = 'CGI'
Caption = 'CGI'
ImageIndex = 4
ImageIndex = 4
object CGIDirLabel: TLabel
object CGIDirLabel: TLabel
Left =
7
Left =
8
Top =
36
Top =
42
Width =
78
Width =
90
Height = 2
0
Height = 2
3
AutoSize = False
AutoSize = False
Caption = 'SubDirectory'
Caption = 'SubDirectory'
end
end
object CGIExtLabel: TLabel
object CGIExtLabel: TLabel
Left =
7
Left =
8
Top =
6
2
Top =
7
2
Width =
78
Width =
90
Height = 2
0
Height = 2
3
AutoSize = False
AutoSize = False
Caption = 'File Extensions'
Caption = 'File Extensions'
end
end
object CGIMaxInactivityLabel: TLabel
object CGIMaxInactivityLabel: TLabel
Left =
7
Left =
8
Top = 1
14
Top = 1
32
Width =
78
Width =
90
Height = 1
9
Height =
2
1
AutoSize = False
AutoSize = False
Caption = 'Max Inactivity'
Caption = 'Max Inactivity'
end
end
object CGIContentLabel: TLabel
object CGIContentLabel: TLabel
Left =
7
Left =
8
Top =
88
Top =
102
Width =
78
Width =
90
Height = 2
0
Height = 2
3
AutoSize = False
AutoSize = False
Caption = 'Content-Type'
Caption = 'Content-Type'
end
end
object CGIDirEdit: TEdit
object CGIDirEdit: TEdit
Left = 8
5
Left =
9
8
Top =
36
Top =
42
Width = 1
56
Width = 1
80
Height = 2
1
Height = 2
3
Hint = 'CGI sub-directory (off of HTML root)'
Hint = 'CGI sub-directory (off of HTML root)'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 1
TabOrder = 1
end
end
object CGICheckBox: TCheckBox
object CGICheckBox: TCheckBox
Left =
7
Left =
8
Top = 1
0
Top = 1
2
Width = 2
28
Width = 2
63
Height = 2
0
Height = 2
3
Hint = 'CGI support is enabled when checked'
Hint = 'CGI support is enabled when checked'
Caption = 'Enabled'
Caption = 'Enabled'
ParentShowHint = False
ParentShowHint = False
...
@@ -359,20 +377,20 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -359,20 +377,20 @@ object WebCfgDlg: TWebCfgDlg
OnClick = CGICheckBoxClick
OnClick = CGICheckBoxClick
end
end
object CGIExtEdit: TEdit
object CGIExtEdit: TEdit
Left = 8
5
Left =
9
8
Top =
6
2
Top =
7
2
Width = 1
56
Width = 1
80
Height = 2
1
Height = 2
3
Hint = 'File extensions that denote CGI executable files'
Hint = 'File extensions that denote CGI executable files'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 2
TabOrder = 2
end
end
object CGIMaxInactivityEdit: TEdit
object CGIMaxInactivityEdit: TEdit
Left = 8
5
Left =
9
8
Top = 1
14
Top = 1
32
Width =
39
Width =
45
Height = 2
1
Height = 2
3
Hint =
Hint =
'Maximum number of seconds of inactivity before disconnect (defau' +
'Maximum number of seconds of inactivity before disconnect (defau' +
'lt=120)'
'lt=120)'
...
@@ -381,29 +399,29 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -381,29 +399,29 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 4
TabOrder = 4
end
end
object CGIContentEdit: TEdit
object CGIContentEdit: TEdit
Left = 8
5
Left =
9
8
Top =
88
Top =
102
Width = 1
56
Width = 1
80
Height = 2
1
Height = 2
3
Hint = 'Default Content-Type for CGI output'
Hint = 'Default Content-Type for CGI output'
ParentShowHint = False
ParentShowHint = False
ShowHint = True
ShowHint = True
TabOrder = 3
TabOrder = 3
end
end
object CGIEnvButton: TButton
object CGIEnvButton: TButton
Left =
7
Left =
8
Top = 1
43
Top = 1
65
Width = 1
17
Width = 1
35
Height = 2
0
Height = 2
3
Caption = 'Environment Vars'
Caption = 'Environment Vars'
TabOrder = 5
TabOrder = 5
OnClick = CGIEnvButtonClick
OnClick = CGIEnvButtonClick
end
end
object WebHandlersButton: TButton
object WebHandlersButton: TButton
Left = 1
3
0
Left = 1
5
0
Top = 1
43
Top = 1
65
Width = 1
11
Width = 1
28
Height = 2
0
Height = 2
3
Caption = 'Content Handlers'
Caption = 'Content Handlers'
TabOrder = 6
TabOrder = 6
OnClick = WebHandlersButtonClick
OnClick = WebHandlersButtonClick
...
@@ -413,18 +431,18 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -413,18 +431,18 @@ object WebCfgDlg: TWebCfgDlg
Caption = 'Log'
Caption = 'Log'
ImageIndex = 1
ImageIndex = 1
object LogBaseLabel: TLabel
object LogBaseLabel: TLabel
Left =
7
Left =
8
Top =
88
Top =
102
Width =
78
Width =
90
Height = 2
0
Height = 2
3
AutoSize = False
AutoSize = False
Caption = 'Base Filename'
Caption = 'Base Filename'
end
end
object DebugTxCheckBox: TCheckBox
object DebugTxCheckBox: TCheckBox
Left =
7
Left =
8
Top = 3
4
Top = 3
9
Width = 1
56
Width = 1
80
Height = 2
0
Height = 2
3
Hint = 'Log (debug) transmitted HTTP responses'
Hint = 'Log (debug) transmitted HTTP responses'
Caption = 'Transmitted Responses'
Caption = 'Transmitted Responses'
ParentShowHint = False
ParentShowHint = False
...
@@ -432,10 +450,10 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -432,10 +450,10 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 1
TabOrder = 1
end
end
object DebugRxCheckBox: TCheckBox
object DebugRxCheckBox: TCheckBox
Left =
7
Left =
8
Top = 1
0
Top = 1
2
Width = 1
56
Width = 1
80
Height = 1
9
Height =
2
1
Hint = 'Log (debug) all received HTTP requests'
Hint = 'Log (debug) all received HTTP requests'
Caption = 'Received Requests'
Caption = 'Received Requests'
ParentShowHint = False
ParentShowHint = False
...
@@ -443,10 +461,10 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -443,10 +461,10 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 0
TabOrder = 0
end
end
object AccessLogCheckBox: TCheckBox
object AccessLogCheckBox: TCheckBox
Left =
7
Left =
8
Top =
59
Top =
68
Width = 1
56
Width = 1
80
Height =
19
Height =
22
Hint = 'Create HTTP access log files'
Hint = 'Create HTTP access log files'
Caption = 'Create Access Log Files'
Caption = 'Create Access Log Files'
ParentShowHint = False
ParentShowHint = False
...
@@ -455,9 +473,9 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -455,9 +473,9 @@ object WebCfgDlg: TWebCfgDlg
OnClick = AccessLogCheckBoxClick
OnClick = AccessLogCheckBoxClick
end
end
object LogBaseNameEdit: TEdit
object LogBaseNameEdit: TEdit
Left = 8
5
Left =
9
8
Top =
88
Top =
102
Width = 1
56
Width = 1
80
Height = 21
Height = 21
Hint = 'Base directory and filename for HTTP access log files'
Hint = 'Base directory and filename for HTTP access log files'
ParentShowHint = False
ParentShowHint = False
...
@@ -469,10 +487,10 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -469,10 +487,10 @@ object WebCfgDlg: TWebCfgDlg
Caption = 'Sound'
Caption = 'Sound'
ImageIndex = 2
ImageIndex = 2
object ConfigureSoundButton: TButton
object ConfigureSoundButton: TButton
Left =
8
Left =
9
Top =
8
Top =
9
Width = 2
5
7
Width = 2
9
7
Height = 2
5
Height = 2
9
Caption = 'Configure Common Server Event Sounds'
Caption = 'Configure Common Server Event Sounds'
TabOrder = 0
TabOrder = 0
OnClick = ConfigureSoundButtonClick
OnClick = ConfigureSoundButtonClick
...
@@ -480,10 +498,10 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -480,10 +498,10 @@ object WebCfgDlg: TWebCfgDlg
end
end
end
end
object OKBtn: TButton
object OKBtn: TButton
Left = 2
0
Left = 2
3
Top = 2
11
Top = 2
43
Width =
76
Width =
88
Height = 2
5
Height = 2
9
Anchors = [akLeft, akBottom]
Anchors = [akLeft, akBottom]
Caption = 'OK'
Caption = 'OK'
Default = True
Default = True
...
@@ -492,10 +510,10 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -492,10 +510,10 @@ object WebCfgDlg: TWebCfgDlg
OnClick = OKBtnClick
OnClick = OKBtnClick
end
end
object CancelBtn: TButton
object CancelBtn: TButton
Left = 10
4
Left = 1
2
0
Top = 2
11
Top = 2
43
Width = 7
5
Width =
8
7
Height = 2
5
Height = 2
9
Anchors = [akLeft, akBottom]
Anchors = [akLeft, akBottom]
Cancel = True
Cancel = True
Caption = 'Cancel'
Caption = 'Cancel'
...
@@ -503,10 +521,10 @@ object WebCfgDlg: TWebCfgDlg
...
@@ -503,10 +521,10 @@ object WebCfgDlg: TWebCfgDlg
TabOrder = 2
TabOrder = 2
end
end
object ApplyBtn: TButton
object ApplyBtn: TButton
Left = 18
9
Left =
2
18
Top = 2
11
Top = 2
43
Width =
76
Width =
88
Height = 2
5
Height = 2
9
Anchors = [akLeft, akBottom]
Anchors = [akLeft, akBottom]
Cancel = True
Cancel = True
Caption = 'Apply'
Caption = 'Apply'
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/WebCfgDlgUnit.h
+
4
−
2
View file @
8044cf9b
...
@@ -97,10 +97,12 @@ __published: // IDE-managed Components
...
@@ -97,10 +97,12 @@ __published: // IDE-managed Components
TLabel
*
TlsInterfaceLabel
;
TLabel
*
TlsInterfaceLabel
;
TLabel
*
TlsPortLabel
;
TLabel
*
TlsPortLabel
;
TEdit
*
TlsPortEdit
;
TEdit
*
TlsPortEdit
;
TLabel
*
AuthTypesLabel
;
TEdit
*
AuthTypesEdit
;
TCheckBox
*
HSTSEnableCheckBox
;
TCheckBox
*
HSTSEnableCheckBox
;
TButton
*
ConfigureSoundButton
;
TButton
*
ConfigureSoundButton
;
TLabel
*
AuthTypesLabel
;
TEdit
*
AuthTypesEdit
;
TLabel
*
MaxConConLabel
;
TEdit
*
MaxConConEdit
;
void
__fastcall
FormShow
(
TObject
*
Sender
);
void
__fastcall
FormShow
(
TObject
*
Sender
);
void
__fastcall
OKBtnClick
(
TObject
*
Sender
);
void
__fastcall
OKBtnClick
(
TObject
*
Sender
);
void
__fastcall
AccessLogCheckBoxClick
(
TObject
*
Sender
);
void
__fastcall
AccessLogCheckBoxClick
(
TObject
*
Sender
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment