pywebexec 1.4.3__tar.gz → 1.4.5__tar.gz

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.
Files changed (36) hide show
  1. {pywebexec-1.4.3/pywebexec.egg-info → pywebexec-1.4.5}/PKG-INFO +1 -1
  2. pywebexec-1.4.5/pywebexec/static/images/favicon.svg +1 -0
  3. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/js/commands.js +9 -5
  4. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/version.py +2 -2
  5. {pywebexec-1.4.3 → pywebexec-1.4.5/pywebexec.egg-info}/PKG-INFO +1 -1
  6. pywebexec-1.4.3/pywebexec/static/images/favicon.svg +0 -1
  7. {pywebexec-1.4.3 → pywebexec-1.4.5}/.github/workflows/python-publish.yml +0 -0
  8. {pywebexec-1.4.3 → pywebexec-1.4.5}/.gitignore +0 -0
  9. {pywebexec-1.4.3 → pywebexec-1.4.5}/LICENSE +0 -0
  10. {pywebexec-1.4.3 → pywebexec-1.4.5}/README.md +0 -0
  11. {pywebexec-1.4.3 → pywebexec-1.4.5}/pyproject.toml +0 -0
  12. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/__init__.py +0 -0
  13. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/pywebexec.py +0 -0
  14. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/css/Consolas NF.ttf +0 -0
  15. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/css/style.css +0 -0
  16. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/css/xterm.css +0 -0
  17. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/images/aborted.svg +0 -0
  18. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/images/copy.svg +0 -0
  19. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/images/copy_ok.svg +0 -0
  20. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/images/down-arrow.svg +0 -0
  21. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/images/failed.svg +0 -0
  22. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/images/running.gif +0 -0
  23. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/images/success.svg +0 -0
  24. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/js/script.js +0 -0
  25. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/js/xterm/LICENSE +0 -0
  26. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/js/xterm/ansi_up.min.js +0 -0
  27. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/js/xterm/xterm-addon-fit.js +0 -0
  28. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/static/js/xterm/xterm.js +0 -0
  29. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/templates/__init__.py +0 -0
  30. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec/templates/index.html +0 -0
  31. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec.egg-info/SOURCES.txt +0 -0
  32. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec.egg-info/dependency_links.txt +0 -0
  33. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec.egg-info/entry_points.txt +0 -0
  34. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec.egg-info/requires.txt +0 -0
  35. {pywebexec-1.4.3 → pywebexec-1.4.5}/pywebexec.egg-info/top_level.txt +0 -0
  36. {pywebexec-1.4.3 → pywebexec-1.4.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.4.3
3
+ Version: 1.4.5
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path opacity="0.1" d="M3 8C3 6.11438 3 5.17157 3.58579 4.58579C4.17157 4 5.11438 4 7 4H12H17C18.8856 4 19.8284 4 20.4142 4.58579C21 5.17157 21 6.11438 21 8V12V16C21 17.8856 21 18.8284 20.4142 19.4142C19.8284 20 18.8856 20 17 20H12H7C5.11438 20 4.17157 20 3.58579 19.4142C3 18.8284 3 17.8856 3 16V12V8Z" fill="#323232"></path> <path d="M13 15H16" stroke="#323232" stroke-width="2" stroke-linecap="round"></path> <path d="M8 15L10.5 12.5V12.5C10.7761 12.2239 10.7761 11.7761 10.5 11.5V11.5L8 9" stroke="#323232" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path> <path d="M3 8C3 6.11438 3 5.17157 3.58579 4.58579C4.17157 4 5.11438 4 7 4H12H17C18.8856 4 19.8284 4 20.4142 4.58579C21 5.17157 21 6.11438 21 8V12V16C21 17.8856 21 18.8284 20.4142 19.4142C19.8284 20 18.8856 20 17 20H12H7C5.11438 20 4.17157 20 3.58579 19.4142C3 18.8284 3 17.8856 3 16V12V8Z" stroke="#323232" stroke-width="2" stroke-linejoin="round"></path> </g></svg>
@@ -90,9 +90,11 @@ commandInput.addEventListener('keydown', (event) => {
90
90
  } else if (event.key === 'ArrowDown') {
91
91
  /*setCommandListPosition();*/
92
92
  unfilterCommands();
93
- commandListSelect.style.display = 'block';
94
- commandListSelect.focus();
95
- commandListSelect.selectedIndex = 0;
93
+ if (commandListSelect.options.length > 1) {
94
+ commandListSelect.style.display = 'block';
95
+ commandListSelect.focus();
96
+ commandListSelect.selectedIndex = 0;
97
+ }
96
98
  event.preventDefault();
97
99
  }
98
100
  });
@@ -161,11 +163,11 @@ commandInput.addEventListener('blur', (event) => {
161
163
  showCommandListButton.addEventListener('click', (event) => {
162
164
  event.preventDefault();
163
165
  setCommandListPosition();
166
+ unfilterCommands();
164
167
  if (commandListSelect.style.display == 'none')
165
168
  commandListSelect.style.display = 'block';
166
169
  else
167
170
  commandListSelect.style.display = 'none';
168
- unfilterCommands();
169
171
  });
170
172
 
171
173
  window.addEventListener('click', (event) => {
@@ -211,8 +213,10 @@ async function fetchExecutables() {
211
213
  alert("Failed to fetch executables");
212
214
  }
213
215
  commandListSelect.size = Math.min(20, commandListSelect.options.length);
214
- if (commandListSelect.options.length == 1)
216
+ if (commandListSelect.options.length == 1) {
215
217
  commandInput.value = commandListSelect.options[0].text;
218
+ showCommandListButton.style.display = 'none';
219
+ }
216
220
  if (commandListSelect.options.length == 0)
217
221
  document.getElementById('launchForm').style.display = 'none';
218
222
 
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.4.3'
16
- __version_tuple__ = version_tuple = (1, 4, 3)
15
+ __version__ = version = '1.4.5'
16
+ __version_tuple__ = version_tuple = (1, 4, 5)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.4.3
3
+ Version: 1.4.5
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -1 +0,0 @@
1
- <svg fill="#000000" viewBox="-1 0 19 19" xmlns="http://www.w3.org/2000/svg" class="cf-icon-svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M16.5 9.5a8 8 0 1 1-8-8 8 8 0 0 1 8 8zm-2.97.006a5.03 5.03 0 1 0-5.03 5.03 5.03 5.03 0 0 0 5.03-5.03zm-7.383-.4H4.289a4.237 4.237 0 0 1 2.565-3.498q.1-.042.2-.079a7.702 7.702 0 0 0-.907 3.577zm0 .8a7.7 7.7 0 0 0 .908 3.577q-.102-.037-.201-.079a4.225 4.225 0 0 1-2.565-3.498zm.8-.8a9.04 9.04 0 0 1 .163-1.402 6.164 6.164 0 0 1 .445-1.415c.289-.615.66-1.013.945-1.013.285 0 .656.398.945 1.013a6.18 6.18 0 0 1 .445 1.415 9.078 9.078 0 0 1 .163 1.402zm3.106.8a9.073 9.073 0 0 1-.163 1.402 6.187 6.187 0 0 1-.445 1.415c-.289.616-.66 1.013-.945 1.013-.285 0-.656-.397-.945-1.013a6.172 6.172 0 0 1-.445-1.415 9.036 9.036 0 0 1-.163-1.402zm1.438-3.391a4.211 4.211 0 0 1 1.22 2.591h-1.858a7.698 7.698 0 0 0-.908-3.577q.102.037.201.08a4.208 4.208 0 0 1 1.345.906zm-.638 3.391h1.858a4.238 4.238 0 0 1-2.565 3.498q-.1.043-.2.08a7.697 7.697 0 0 0 .907-3.578z"></path></g></svg>
File without changes
File without changes
File without changes
File without changes
File without changes