pywebexec 1.1.3__tar.gz → 1.1.4__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 (27) hide show
  1. {pywebexec-1.1.3/pywebexec.egg-info → pywebexec-1.1.4}/PKG-INFO +3 -3
  2. {pywebexec-1.1.3 → pywebexec-1.1.4}/README.md +2 -2
  3. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/pywebexec.py +2 -0
  4. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/version.py +2 -2
  5. {pywebexec-1.1.3 → pywebexec-1.1.4/pywebexec.egg-info}/PKG-INFO +3 -3
  6. {pywebexec-1.1.3 → pywebexec-1.1.4}/.github/workflows/python-publish.yml +0 -0
  7. {pywebexec-1.1.3 → pywebexec-1.1.4}/.gitignore +0 -0
  8. {pywebexec-1.1.3 → pywebexec-1.1.4}/LICENSE +0 -0
  9. {pywebexec-1.1.3 → pywebexec-1.1.4}/pyproject.toml +0 -0
  10. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/__init__.py +0 -0
  11. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/css/style.css +0 -0
  12. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/images/aborted.svg +0 -0
  13. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/images/copy.svg +0 -0
  14. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/images/copy_ok.svg +0 -0
  15. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/images/failed.svg +0 -0
  16. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/images/favicon.svg +0 -0
  17. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/images/running.svg +0 -0
  18. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/images/success.svg +0 -0
  19. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/static/js/script.js +0 -0
  20. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/templates/__init__.py +0 -0
  21. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec/templates/index.html +0 -0
  22. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec.egg-info/SOURCES.txt +0 -0
  23. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec.egg-info/dependency_links.txt +0 -0
  24. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec.egg-info/entry_points.txt +0 -0
  25. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec.egg-info/requires.txt +0 -0
  26. {pywebexec-1.1.3 → pywebexec-1.1.4}/pywebexec.egg-info/top_level.txt +0 -0
  27. {pywebexec-1.1.3 → pywebexec-1.1.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -63,7 +63,7 @@ Requires-Dist: ldap3>=2.9.1
63
63
  [![Pypi version](https://img.shields.io/pypi/v/pywebexec.svg)](https://pypi.org/project/pywebexec/)
64
64
  ![example](https://github.com/joknarf/pywebexec/actions/workflows/python-publish.yml/badge.svg)
65
65
  [![Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://shields.io/)
66
- [![](https://pepy.tech/badge/pywebexec)](https://pepy.tech/project/pywebexec)
66
+ [![PyPI Downloads](https://static.pepy.tech/badge/pywebexec)](https://pepy.tech/projects/pywebexec)
67
67
  [![Python versions](https://img.shields.io/badge/python-3.6+-blue.svg)](https://shields.io/)
68
68
 
69
69
  # pywebexec
@@ -122,7 +122,7 @@ Generated password is given if no `--pasword` option
122
122
  $ export PYWEBEXEC_LDAP_SERVER=ldap://ldap.forumsys.com:389
123
123
  $ export PYWEBEXEC_LDAP_BIND_DN="cn=read-only-admin,dc=example,dc=com"
124
124
  $ export PYWEBEXEC_LDAP_BIND_PASSWORD="password"
125
- $ export PYWEBEXEC_LDAP_GROUPS=ou=mathematicians,ou=scientists
125
+ $ export PYWEBEXEC_LDAP_GROUPS="ou=mathematicians,ou=scientists"
126
126
  $ export PYWEBEXEC_LDAP_USER_ID="uid"
127
127
  $ export PYWEBEXEC_LDAP_BASE_DN="dc=example,dc=com"
128
128
  $ pywebexec
@@ -1,7 +1,7 @@
1
1
  [![Pypi version](https://img.shields.io/pypi/v/pywebexec.svg)](https://pypi.org/project/pywebexec/)
2
2
  ![example](https://github.com/joknarf/pywebexec/actions/workflows/python-publish.yml/badge.svg)
3
3
  [![Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://shields.io/)
4
- [![](https://pepy.tech/badge/pywebexec)](https://pepy.tech/project/pywebexec)
4
+ [![PyPI Downloads](https://static.pepy.tech/badge/pywebexec)](https://pepy.tech/projects/pywebexec)
5
5
  [![Python versions](https://img.shields.io/badge/python-3.6+-blue.svg)](https://shields.io/)
6
6
 
7
7
  # pywebexec
@@ -60,7 +60,7 @@ Generated password is given if no `--pasword` option
60
60
  $ export PYWEBEXEC_LDAP_SERVER=ldap://ldap.forumsys.com:389
61
61
  $ export PYWEBEXEC_LDAP_BIND_DN="cn=read-only-admin,dc=example,dc=com"
62
62
  $ export PYWEBEXEC_LDAP_BIND_PASSWORD="password"
63
- $ export PYWEBEXEC_LDAP_GROUPS=ou=mathematicians,ou=scientists
63
+ $ export PYWEBEXEC_LDAP_GROUPS="ou=mathematicians,ou=scientists"
64
64
  $ export PYWEBEXEC_LDAP_USER_ID="uid"
65
65
  $ export PYWEBEXEC_LDAP_BASE_DN="dc=example,dc=com"
66
66
  $ pywebexec
@@ -382,6 +382,8 @@ def run_command(command, params, command_id):
382
382
 
383
383
  @app.before_request
384
384
  def check_authentication():
385
+ if not app.config['USER'] and not app.config['LDAP_SERVER']:
386
+ return
385
387
  if 'username' not in session and request.endpoint not in ['login', 'static']:
386
388
  return auth.login_required(lambda: None)()
387
389
 
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.1.3'
16
- __version_tuple__ = version_tuple = (1, 1, 3)
15
+ __version__ = version = '1.1.4'
16
+ __version_tuple__ = version_tuple = (1, 1, 4)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -63,7 +63,7 @@ Requires-Dist: ldap3>=2.9.1
63
63
  [![Pypi version](https://img.shields.io/pypi/v/pywebexec.svg)](https://pypi.org/project/pywebexec/)
64
64
  ![example](https://github.com/joknarf/pywebexec/actions/workflows/python-publish.yml/badge.svg)
65
65
  [![Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://shields.io/)
66
- [![](https://pepy.tech/badge/pywebexec)](https://pepy.tech/project/pywebexec)
66
+ [![PyPI Downloads](https://static.pepy.tech/badge/pywebexec)](https://pepy.tech/projects/pywebexec)
67
67
  [![Python versions](https://img.shields.io/badge/python-3.6+-blue.svg)](https://shields.io/)
68
68
 
69
69
  # pywebexec
@@ -122,7 +122,7 @@ Generated password is given if no `--pasword` option
122
122
  $ export PYWEBEXEC_LDAP_SERVER=ldap://ldap.forumsys.com:389
123
123
  $ export PYWEBEXEC_LDAP_BIND_DN="cn=read-only-admin,dc=example,dc=com"
124
124
  $ export PYWEBEXEC_LDAP_BIND_PASSWORD="password"
125
- $ export PYWEBEXEC_LDAP_GROUPS=ou=mathematicians,ou=scientists
125
+ $ export PYWEBEXEC_LDAP_GROUPS="ou=mathematicians,ou=scientists"
126
126
  $ export PYWEBEXEC_LDAP_USER_ID="uid"
127
127
  $ export PYWEBEXEC_LDAP_BASE_DN="dc=example,dc=com"
128
128
  $ pywebexec
File without changes
File without changes
File without changes
File without changes