pywebexec 2.0.12__py3-none-any.whl → 2.0.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pywebexec/pywebexec.py CHANGED
@@ -550,6 +550,7 @@ def run_command(fromip, user, command, params, command_id, rows, cols):
550
550
  with open(get_output_file_path(command_id), 'a') as output_file:
551
551
  output_file.write(str(e))
552
552
  app.logger.error(fromip, user, f'Error running command {command_id}: {e}')
553
+ exit_code = 1
553
554
  return exit_code
554
555
 
555
556
  def command_str(command, params):
@@ -157,13 +157,14 @@ font-size: 14px;
157
157
  min-height: 24px;
158
158
  max-height: 300px;
159
159
  overflow-y: auto;
160
- resize: vertical;
161
- border-radius: 5px;
160
+ resize: both;
161
+ max-width: 700px;
162
+ border-radius: 15px;
162
163
  border: 1px solid #ccc;
163
- padding: 3px;
164
+ padding: 3px 8px;
164
165
  margin: 0px;
165
166
  width: unset;
166
- line-height: 1.15;
167
+ line-height: 1.25;
167
168
  font-weight: normal;
168
169
  font-family: Arial, Helvetica, sans-serif;
169
170
  font-size: 14px;
@@ -58,6 +58,7 @@ function createSchemaForm(form, schema, onSubmit) {
58
58
  form[0].querySelectorAll('textarea').forEach(txt => {
59
59
  txt.style.height = "0";
60
60
  txt.style.height = txt.scrollHeight + "px";
61
+ txt.setAttribute("spellcheck", "false")
61
62
  txt.addEventListener("input", (e) => {
62
63
  e.target.style.height = "0";
63
64
  e.target.style.height = (e.target.scrollHeight+2) + "px";
pywebexec/version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '2.0.12'
21
- __version_tuple__ = version_tuple = (2, 0, 12)
20
+ __version__ = version = '2.0.14'
21
+ __version_tuple__ = version_tuple = (2, 0, 14)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 2.0.12
3
+ Version: 2.0.14
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -1,9 +1,9 @@
1
1
  pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
2
2
  pywebexec/host_ip.py,sha256=Ud_HTflWVQ8789aoQ2RZdT1wGI-ccvrwSWGz_c7T3TI,1241
3
- pywebexec/pywebexec.py,sha256=7lSu1C5BBA1dGzVnDG3uFcYrNriPzOs2xJrjvpOMmP4,41219
3
+ pywebexec/pywebexec.py,sha256=j80Opy0MS86DZO8aDsMVagucsgawhCBsGAHEth5Cx7o,41241
4
4
  pywebexec/swagger.yaml,sha256=j-KZnU4rGR-Fsk8y_EbqYzqVgtAZ8EjZIKAqZSxyyc0,5858
5
- pywebexec/version.py,sha256=D21jxVEQ2s0wPzcLVHawE1BL8wv-rK2Rl7gYdSJho00,513
6
- pywebexec/static/css/form.css,sha256=FSSFfw_-w4Yb9jUlXmgpLhXQsJj--vI2IyEY99tGvHA,4480
5
+ pywebexec/version.py,sha256=LtaT3-f1FM0tXFpptIxNS0J5FlBm4ce3jd8ELjsl7h8,513
6
+ pywebexec/static/css/form.css,sha256=VpQ4-QcNZ3K-z2pVvAXxBYQr1y_gwy4H1vzz9zz_rEs,4503
7
7
  pywebexec/static/css/markdown.css,sha256=3RzUnpVBdF6cQuB_NXV7hMTc0quYU8sfyuZcpsREj6A,1939
8
8
  pywebexec/static/css/style.css,sha256=abBWoSmxzq0mDTn0q7cUSZnXGoxIss8WWGAOxFM0e38,9905
9
9
  pywebexec/static/css/swagger-ui.css,sha256=xhXN8fnUaIACGHuPIEIr9-qmyYr6Zx0k2wv4Qy7Bg1Y,154985
@@ -35,7 +35,7 @@ pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_q
35
35
  pywebexec/static/images/swagger-ui.svg,sha256=FR0yeOVwe4zCYKZAjCGcT_m0Mf25NexIVaSXifIkoU0,2117
36
36
  pywebexec/static/js/executables.js,sha256=3HfOsrrurtnVd-AAHpkAtvnbJDB8k7nxRwtZXRQTzuI,11767
37
37
  pywebexec/static/js/popup.js,sha256=0fr3pp4j9D2fXEVnHyQrx2bPWFHfgbb336dbewgH1d8,9023
38
- pywebexec/static/js/schemaform.js,sha256=U19pjVht7XwaSKojxwABZyJ98HvVn1LaK9SLsTlwT70,3096
38
+ pywebexec/static/js/schemaform.js,sha256=9xyANDut7QjFafTjbXIU9Tsv_8z9KCCP-uVF3w-uics,3142
39
39
  pywebexec/static/js/script.js,sha256=fwTo9Iz4xsl6wGs-Nm8-Ng8aXzDfvews5cHfzhSfg_0,17987
40
40
  pywebexec/static/js/swagger-form.js,sha256=uTRGKrcyBqq910RLmdlV-HpFri3RaAXpqUPSQSyoe6o,3806
41
41
  pywebexec/static/js/js-yaml/LICENSE,sha256=oHvCRGi5ZUznalR9R6LbKC0HcztxXbTHOpi9Y5YflVA,1084
@@ -66,9 +66,9 @@ pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
66
66
  pywebexec/templates/index.html,sha256=KeNLBH9PN_ZuGhzwrjvRTj2oBtbINv_SbwGQpOahNWo,3820
67
67
  pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
68
68
  pywebexec/templates/swagger_ui.html,sha256=9ngyldkyEdLonBjl97mbIZUlVk-jxwcHrvFzMSrveyU,1067
69
- pywebexec-2.0.12.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
70
- pywebexec-2.0.12.dist-info/METADATA,sha256=pBBde7U-uLigzYSuxkzeZd97jGO72dOlNOQrZtbWUoY,11645
71
- pywebexec-2.0.12.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
72
- pywebexec-2.0.12.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
73
- pywebexec-2.0.12.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
74
- pywebexec-2.0.12.dist-info/RECORD,,
69
+ pywebexec-2.0.14.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
70
+ pywebexec-2.0.14.dist-info/METADATA,sha256=48V8lEvTCTWsC7g_6YC7c9L4Snyi12VG23V_1YWOkuM,11645
71
+ pywebexec-2.0.14.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
72
+ pywebexec-2.0.14.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
73
+ pywebexec-2.0.14.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
74
+ pywebexec-2.0.14.dist-info/RECORD,,