Skip to content

Commit dd54989

Browse files
Merge pull request #19 from mauricelambert/dev
[3.0.36] Fix: missing default configurations
2 parents b1363ca + 1a48ccf commit dd54989

File tree

8 files changed

+15
-14
lines changed

8 files changed

+15
-14
lines changed

PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: WebScripts
3-
Version: 3.0.35
3+
Version: 3.0.36
44
Summary: This tool runs CLI scripts and displays output in a Web Interface.
55
Home-page: https://github.com/mauricelambert/WebScripts
66
Author: Maurice Lambert

Scripts/wsgi.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This tool runs CLI scripts and displays output in a Web Interface.
2424
"""
2525

26-
__version__ = "1.0.1"
26+
__version__ = "1.0.2"
2727
__author__ = "Maurice Lambert"
2828
__author_email__ = "[email protected]"
2929
__maintainer__ = "Maurice Lambert"
@@ -77,9 +77,6 @@ def __init__(self, config_cfg: List[str], config_json: List[str]):
7777
self.config_cfg = config_cfg
7878
self.config_json = config_json
7979

80-
81-
configure_logs_system()
82-
8380
paths = Paths([], [])
8481

8582
server, _ = prepare_server()
@@ -101,4 +98,3 @@ def __init__(self, config_cfg: List[str], config_json: List[str]):
10198

10299
logger_warning("Starting server...")
103100
application = server.app
104-

WebScripts.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: WebScripts
3-
Version: 3.0.35
3+
Version: 3.0.36
44
Summary: This tool runs CLI scripts and displays output in a Web Interface.
55
Home-page: https://github.com/mauricelambert/WebScripts
66
Author: Maurice Lambert

WebScripts/WebScripts.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
the Server class and the Configuration class).
2727
"""
2828

29-
__version__ = "1.0.6"
29+
__version__ = "1.0.7"
3030
__author__ = "Maurice Lambert"
3131
__author_email__ = "[email protected]"
3232
__maintainer__ = "Maurice Lambert"
@@ -170,16 +170,21 @@ class Configuration(DefaultNamespace):
170170
"log_level": 0,
171171
"statics_path": [],
172172
"scripts_path": [],
173+
"json_scripts_config": [],
174+
"ini_scripts_config": [],
173175
"modules_path": [],
174176
"exclude_auth_paths": ["/static/", "/js/"],
175177
"exclude_auth_pages": ["/api/", "/auth/", "/web/auth/"],
176178
"auth_script": None,
177179
"active_auth": False,
178180
"webproxy_number": None,
181+
"smtp_starttls": None,
182+
"smtp_ssl": None,
179183
"documentations_path": [],
180184
"accept_unknow_user": True,
181185
"force_file_permissions": True,
182186
"auth_failures_to_blacklist": None,
187+
"blacklist_time": None,
183188
"accept_unauthenticated_user": True,
184189
}
185190
__required__ = ("interface", "port")

WebScripts/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This tool runs CLI scripts and displays output in a Web Interface.
2424
"""
2525

26-
__version__ = "3.0.35"
26+
__version__ = "3.0.36"
2727
__author__ = "Maurice Lambert"
2828
__author_email__ = "[email protected]"
2929
__maintainer__ = "Maurice Lambert"

WebScripts/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This tool runs CLI scripts and displays output in a Web Interface.
2424
"""
2525

26-
__version__ = "3.0.35"
26+
__version__ = "3.0.36"
2727
__author__ = "Maurice Lambert"
2828
__author_email__ = "[email protected]"
2929
__maintainer__ = "Maurice Lambert"

WebScripts/static/html/WebScripts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
77
<tr bgcolor="#9286C2">
88
<td valign=bottom>&nbsp;<br>
9-
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>WebScripts</strong></big></big> (version 1.0.6)</font></td
9+
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>WebScripts</strong></big></big> (version 1.0.7)</font></td
1010
><td align=right valign=bottom
1111
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="webscripts.py">webscripts.py</a></font></td></tr></table>
1212
<p><tt>This&nbsp;tool&nbsp;runs&nbsp;CLI&nbsp;scripts&nbsp;and&nbsp;displays&nbsp;output&nbsp;in&nbsp;a&nbsp;Web&nbsp;Interface.<br>
@@ -68,7 +68,7 @@
6868

6969
<hr>
7070
Data and other attributes defined here:<br>
71-
<dl><dt><strong>__defaults__</strong> = {'accept_unauthenticated_user': True, 'accept_unknow_user': True, 'active_auth': False, 'auth_failures_to_blacklist': None, 'auth_script': None, 'cgi_path': [], 'documentations_path': [], 'exclude_auth_pages': ['/api/', '/auth/', '/web/auth/'], 'exclude_auth_paths': ['/static/', '/js/'], 'force_file_permissions': True, ...}</dl>
71+
<dl><dt><strong>__defaults__</strong> = {'accept_unauthenticated_user': True, 'accept_unknow_user': True, 'active_auth': False, 'auth_failures_to_blacklist': None, 'auth_script': None, 'blacklist_time': None, 'cgi_path': [], 'documentations_path': [], 'exclude_auth_pages': ['/api/', '/auth/', '/web/auth/'], 'exclude_auth_paths': ['/static/', '/js/'], ...}</dl>
7272

7373
<dl><dt><strong>__optional__</strong> = ('debug', 'security', 'active_auth', 'auth_script', 'accept_unknow_user', 'accept_unauthenticated_user', 'exclude_auth_paths', 'exclude_auth_pages', 'modules', 'modules_path', 'js_path', 'statics_path', 'documentations_path', 'scripts_path', 'json_scripts_config', 'ini_scripts_config', 'log_level', 'log_filename', 'log_level', 'log_format', ...)</dl>
7474

WebScripts/static/html/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
77
<tr bgcolor="#9286C2">
88
<td valign=bottom>&nbsp;<br>
9-
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>__init__</strong></big></big> (version 3.0.35)</font></td
9+
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>__init__</strong></big></big> (version 3.0.36)</font></td
1010
><td align=right valign=bottom
1111
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="__init__.py">__init__.py</a></font></td></tr></table>
1212
<p><tt>This&nbsp;tool&nbsp;runs&nbsp;CLI&nbsp;scripts&nbsp;and&nbsp;displays&nbsp;output&nbsp;in&nbsp;a&nbsp;Web&nbsp;Interface.</tt></p>
@@ -55,7 +55,7 @@
5555

5656
<hr>
5757
Data and other attributes defined here:<br>
58-
<dl><dt><strong>__defaults__</strong> = {'accept_unauthenticated_user': True, 'accept_unknow_user': True, 'active_auth': False, 'auth_failures_to_blacklist': None, 'auth_script': None, 'cgi_path': [], 'documentations_path': [], 'exclude_auth_pages': ['/api/', '/auth/', '/web/auth/'], 'exclude_auth_paths': ['/static/', '/js/'], 'force_file_permissions': True, ...}</dl>
58+
<dl><dt><strong>__defaults__</strong> = {'accept_unauthenticated_user': True, 'accept_unknow_user': True, 'active_auth': False, 'auth_failures_to_blacklist': None, 'auth_script': None, 'blacklist_time': None, 'cgi_path': [], 'documentations_path': [], 'exclude_auth_pages': ['/api/', '/auth/', '/web/auth/'], 'exclude_auth_paths': ['/static/', '/js/'], ...}</dl>
5959

6060
<dl><dt><strong>__optional__</strong> = ('debug', 'security', 'active_auth', 'auth_script', 'accept_unknow_user', 'accept_unauthenticated_user', 'exclude_auth_paths', 'exclude_auth_pages', 'modules', 'modules_path', 'js_path', 'statics_path', 'documentations_path', 'scripts_path', 'json_scripts_config', 'ini_scripts_config', 'log_level', 'log_filename', 'log_level', 'log_format', ...)</dl>
6161

0 commit comments

Comments
 (0)