cmdbox 0.5.3__tar.gz → 0.5.3.1__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.
Potentially problematic release.
This version of cmdbox might be problematic. Click here for more details.
- {cmdbox-0.5.3/cmdbox.egg-info → cmdbox-0.5.3.1}/PKG-INFO +6 -6
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/README.md +5 -5
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/feature.py +2 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/audit_base.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_audit_createdb.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_audit_write.py +4 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_file_copy.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_file_download.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_file_list.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_file_mkdir.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_file_move.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_file_remove.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_file_rmdir.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_file_upload.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_client_server_info.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_gui_start.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_server_start.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_server_stop.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_apikey_add.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_apikey_del.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_group_add.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_group_del.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_group_edit.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_group_list.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_start.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_user_add.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_user_del.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_user_edit.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_user_list.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_audit.py +7 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_exec_cmd.py +2 -2
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/options.py +9 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/server.py +15 -3
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/features.yml +4 -4
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/app/features/cli/sample_server_time.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/version.py +1 -1
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/audit.js +98 -34
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/audit.html +69 -44
- {cmdbox-0.5.3 → cmdbox-0.5.3.1/cmdbox.egg-info}/PKG-INFO +6 -6
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/LICENSE +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/MANIFEST.in +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/__init__.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/__main__.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/__init__.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/app.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/auth/signin.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/client.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/common.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/commons/convert.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/commons/loghandler.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/commons/module.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/commons/redis_client.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/edge.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_audit_delete.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_audit_search.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_edge_config.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_edge_start.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_gui_stop.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_server_list.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_gencert.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_genpass.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/cli/cmdbox_web_stop.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_assets.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_audit_metrics.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_bbforce_cmd.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_copyright.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_del_cmd.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_del_pipe.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_do_signin.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_do_signout.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_exec_pipe.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_filer download.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_filer.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_filer_upload.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_get_cmd_choices.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_get_cmds.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_get_modes.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_get_server_opt.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_gui.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_gui_callback.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_list_cmd.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_list_pipe.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_load_cmd.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_load_pipe.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_raw_cmd.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_raw_pipe.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_result.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_save_cmd.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_save_pipe.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_signin.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_user_data.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_users.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_usesignout.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_versions_cmdbox.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/features/web/cmdbox_web_versions_used.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/filer.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/app/web.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/config.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/.vscode/launch.json +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/requirements.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/__init__.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/__main__.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/app/app.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/app/features/cli/sample_client_time.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/extensions/features.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/extensions/user_list.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/logconf_sample.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/version.py +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/web/assets/sample/favicon.ico +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/sample_project/sample/web/assets/sample/icon.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/extensions/user_list.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.Jinja2.3.1.6(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.MarkupSafe.3.0.2(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.PyYAML.6.0.2(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.Pygments.2.19.1(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.Sphinx.8.2.3(UNKNOWN).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.alabaster.1.0.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.annotated-types.0.7.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.anyio.4.9.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.argcomplete.3.6.2(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.babel.2.17.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.backports.tarfile.1.2.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.certifi.2025.1.31(Mozilla Public License 2.0 (MPL 2.0)).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.cffi.1.17.1(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.charset-normalizer.3.4.1(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.click.8.1.8(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.colorama.0.4.6(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.cryptography.44.0.2(Apache Software License; BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.docutils.0.21.2(BSD License; GNU General Public License (GPL); Public Domain; Python Software Foundation License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.fastapi.0.115.12(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.gevent.25.4.1(MIT).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.greenlet.3.2.0(MIT AND Python-2.0).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.gunicorn.23.0.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.h11.0.14.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.httptools.0.6.4(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.id.1.5.0(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.idna.3.10(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.imagesize.1.4.1(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.importlib_metadata.8.6.1(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.itsdangerous.2.2.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.jaraco.classes.3.4.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.jaraco.context.6.0.1(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.jaraco.functools.4.1.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.keyring.25.6.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.markdown-it-py.3.0.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.mdurl.0.1.2(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.more-itertools.10.6.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.nh3.0.2.21(MIT).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.numpy.2.2.4(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.packaging.24.2(Apache Software License; BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.pillow.11.2.1(UNKNOWN).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.pip.24.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.plyer.2.1.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.prettytable.3.16.0(UNKNOWN).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.prompt_toolkit.3.0.51(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.psycopg-binary.3.2.6(GNU Lesser General Public License v3 (LGPLv3)).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.psycopg.3.2.6(GNU Lesser General Public License v3 (LGPLv3)).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.pycparser.2.22(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.pycryptodome.3.22.0(BSD License; Public Domain).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.pydantic.2.11.3(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.pydantic_core.2.33.1(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.pystray.0.19.5(GNU Lesser General Public License v3 (LGPLv3)).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.python-dotenv.1.1.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.python-multipart.0.0.20(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.pywin32-ctypes.0.2.3(BSD-3-Clause).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.questionary.2.1.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.readme_renderer.44.0(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.redis.5.2.1(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.requests-toolbelt.1.0.0(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.requests.2.32.3(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.rfc3986.2.0.0(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.rich.14.0.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.roman-numerals-py.3.1.0(CC0 1.0 Universal (CC0 1.0) Public Domain Dedication; Zero-Clause BSD (0BSD)).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.setuptools.65.5.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.six.1.17.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sniffio.1.3.1(Apache Software License; MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.snowballstemmer.2.2.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinx-intl.2.3.1(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinx-rtd-theme.3.0.2(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinx-sitemap.2.6.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinx_fontawesome.0.0.6(GNU General Public License v2 (GPLv2)).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinxcontrib-applehelp.2.0.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinxcontrib-devhelp.2.0.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinxcontrib-htmlhelp.2.1.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinxcontrib-jquery.4.1(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinxcontrib-jsmath.1.0.1(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinxcontrib-qthelp.2.0.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.sphinxcontrib-serializinghtml.2.0.0(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.starlette.0.46.2(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.tabulate.0.9.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.tomli.2.2.1(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.twine.6.1.0(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.typing-inspection.0.4.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.typing_extensions.4.13.2(UNKNOWN).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.tzdata.2025.2(Apache Software License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.urllib3.2.4.0(UNKNOWN).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.uvicorn.0.34.1(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.watchfiles.1.0.5(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.wcwidth.0.2.13(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.websockets.15.0.1(BSD License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.wheel.0.45.1(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.zipp.3.21.0(MIT License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.zope.event.5.0(Zope Public License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/LICENSE.zope.interface.7.2(Zope Public License).txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/licenses/files.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/logconf_audit.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/logconf_client.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/logconf_cmdbox.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/logconf_edge.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/logconf_gui.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/logconf_server.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/logconf_web.yml +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/apexcharts/apexcharts.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/apexcharts/apexcharts.min.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/bootstrap/bootstrap.bundle.min.5.3.0.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/bootstrap/bootstrap.min.5.3.0.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/color_mode.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/common.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/favicon.ico +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/filer_modal.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/icon.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/list_cmd.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/list_pipe.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/main.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/open_capture.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/open_output_json.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/result.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/signin.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/users.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/view_raw.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/cmdbox/view_result.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/encodingjs/LICENSE.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/encodingjs/encoding.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/encodingjs/encoding.min.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/filer/filer.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/filer/main.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/filer/main.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/highlight/default.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/highlight/highlight.min.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/highlight/styles/tokyo-night-dark.min.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery/jquery.min.3.2.0.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-linedtextarea/README.md +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-linedtextarea/jquery-linedtextarea-license.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-linedtextarea/jquery-linedtextarea.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-linedtextarea/jquery-linedtextarea.html +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-linedtextarea/jquery-linedtextarea.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-resizable/jquery-resizable.min.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/AUTHORS.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/LICENSE.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/images/ui-icons_444444_256x240.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/images/ui-icons_555555_256x240.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/images/ui-icons_777620_256x240.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/images/ui-icons_777777_256x240.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/images/ui-icons_cc0000_256x240.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/jquery-ui.min.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/jquery-ui.min.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/jquery-ui.structure.min.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/jquery-ui.theme.min.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/jquery-ui/package.json +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/lightbox2/css/lightbox.min.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/lightbox2/images/close.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/lightbox2/images/loading.gif +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/lightbox2/images/next.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/lightbox2/images/prev.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/lightbox2/js/lightbox.min.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/split-pane/split-pane.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/split-pane/split-pane.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/tree-menu/css/tree-menu.css +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/tree-menu/image/file.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/tree-menu/image/folder-close.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/tree-menu/image/folder-open.png +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets/tree-menu/js/tree-menu.js +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/assets_license_list.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/filer.html +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/gui.html +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/result.html +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/signin.html +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox/web/users.html +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox.egg-info/SOURCES.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox.egg-info/dependency_links.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox.egg-info/entry_points.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox.egg-info/requires.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/cmdbox.egg-info/top_level.txt +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/setup.cfg +0 -0
- {cmdbox-0.5.3 → cmdbox-0.5.3.1}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cmdbox
|
|
3
|
-
Version: 0.5.3
|
|
3
|
+
Version: 0.5.3.1
|
|
4
4
|
Summary: cmdbox: It is a command line application with a plugin mechanism.
|
|
5
5
|
Home-page: https://github.com/hamacom2004jp/cmdbox
|
|
6
6
|
Download-URL: https://github.com/hamacom2004jp/cmdbox
|
|
@@ -173,7 +173,7 @@ class ServerTime(feature.Feature):
|
|
|
173
173
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None,
|
|
174
174
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
175
175
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
176
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
176
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None,
|
|
177
177
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
178
178
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
179
179
|
dict(opt="timedelta", type=Options.T_INT, default=9, required=False, multi=False, hide=False, choice=None,
|
|
@@ -276,10 +276,10 @@ aliases: # Specify the alias for the specified co
|
|
|
276
276
|
mode: audit # Specify the mode of the feature to be searched.
|
|
277
277
|
cmd: search # Specify the command to be searched.
|
|
278
278
|
options: # Specify the options for the audit function.
|
|
279
|
-
host: localhost # Specify the service host of the audit Redis server.
|
|
280
|
-
port: 6379 # Specify the service port of the audit Redis server.
|
|
281
|
-
password: password # Specify the access password of the audit Redis server.
|
|
282
|
-
svname: server # Specify the audit service name of the inference server.
|
|
279
|
+
host: localhost # Specify the service host of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
280
|
+
port: 6379 # Specify the service port of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
281
|
+
password: password # Specify the access password of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
282
|
+
svname: server # Specify the audit service name of the inference server.However, if it is specified as a command line argument, it is ignored.
|
|
283
283
|
retry_count: 3 # Specifies the number of reconnections to the audit Redis server.If less than 0 is specified, reconnection is forever.
|
|
284
284
|
retry_interval: 1 # Specifies the number of seconds before reconnecting to the audit Redis server.
|
|
285
285
|
timeout: 15 # Specify the maximum waiting time until the server responds.
|
|
@@ -149,7 +149,7 @@ class ServerTime(feature.Feature):
|
|
|
149
149
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None,
|
|
150
150
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
151
151
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
152
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
152
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None,
|
|
153
153
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
154
154
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
155
155
|
dict(opt="timedelta", type=Options.T_INT, default=9, required=False, multi=False, hide=False, choice=None,
|
|
@@ -252,10 +252,10 @@ aliases: # Specify the alias for the specified co
|
|
|
252
252
|
mode: audit # Specify the mode of the feature to be searched.
|
|
253
253
|
cmd: search # Specify the command to be searched.
|
|
254
254
|
options: # Specify the options for the audit function.
|
|
255
|
-
host: localhost # Specify the service host of the audit Redis server.
|
|
256
|
-
port: 6379 # Specify the service port of the audit Redis server.
|
|
257
|
-
password: password # Specify the access password of the audit Redis server.
|
|
258
|
-
svname: server # Specify the audit service name of the inference server.
|
|
255
|
+
host: localhost # Specify the service host of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
256
|
+
port: 6379 # Specify the service port of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
257
|
+
password: password # Specify the access password of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
258
|
+
svname: server # Specify the audit service name of the inference server.However, if it is specified as a command line argument, it is ignored.
|
|
259
259
|
retry_count: 3 # Specifies the number of reconnections to the audit Redis server.If less than 0 is specified, reconnection is forever.
|
|
260
260
|
retry_interval: 1 # Specifies the number of seconds before reconnecting to the audit Redis server.
|
|
261
261
|
timeout: 15 # Specify the maximum waiting time until the server responds.
|
|
@@ -22,10 +22,12 @@ class Feature(object):
|
|
|
22
22
|
default_host:str = os.environ.get('REDIS_HOST', 'localhost')
|
|
23
23
|
default_port:int = int(os.environ.get('REDIS_PORT', '6379'))
|
|
24
24
|
default_pass:str = os.environ.get('REDIS_PASSWORD', 'password')
|
|
25
|
+
default_svname:str = os.environ.get('SVNAME', 'server')
|
|
25
26
|
|
|
26
27
|
def __init__(self, appcls, ver):
|
|
27
28
|
self.ver = ver
|
|
28
29
|
self.appcls = appcls
|
|
30
|
+
self.default_svname:str = ver.__appid__
|
|
29
31
|
|
|
30
32
|
def get_mode(self) -> Union[str, List[str]]:
|
|
31
33
|
"""
|
|
@@ -31,7 +31,7 @@ class AuditBase(feature.ResultEdgeFeature):
|
|
|
31
31
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
32
32
|
discription_ja=f"Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `{self.default_pass}` を使用します。",
|
|
33
33
|
discription_en=f"Specify the access password of the Redis server (optional). If omitted, `{self.default_pass}` is used."),
|
|
34
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
34
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
35
35
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
36
36
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
37
37
|
|
|
@@ -70,7 +70,7 @@ class AuditCreatedb(feature.UnsupportEdgeFeature):
|
|
|
70
70
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
71
71
|
discription_ja=f"Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `{self.default_pass}` を使用します。",
|
|
72
72
|
discription_en=f"Specify the access password of the Redis server (optional). If omitted, `{self.default_pass}` is used."),
|
|
73
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
73
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
74
74
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
75
75
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
76
76
|
dict(opt="retry_count", type=Options.T_INT, default=3, required=False, multi=False, hide=True, choice=None,
|
|
@@ -123,6 +123,8 @@ class AuditWrite(audit_base.AuditBase):
|
|
|
123
123
|
pg_password_b64 = convert.str2b64str(args.pg_password)
|
|
124
124
|
pg_dbname_b64 = convert.str2b64str(args.pg_dbname)
|
|
125
125
|
|
|
126
|
+
if logger.level == logging.DEBUG:
|
|
127
|
+
logger.debug(f"audit write args: {args}")
|
|
126
128
|
cl = client.Client(logger, redis_host=args.host, redis_port=args.port, redis_password=args.password, svname=args.svname)
|
|
127
129
|
cl.redis_cli.send_cmd(self.get_svcmd(),
|
|
128
130
|
[audit_type_b64, clmsg_id_b64, clmsg_date_b64, clmsg_src_b64, clmsg_title_b64, clmsg_user_b64, clmsg_body_b64, clmsg_tag_b64,
|
|
@@ -157,6 +159,8 @@ class AuditWrite(audit_base.AuditBase):
|
|
|
157
159
|
Returns:
|
|
158
160
|
int: 終了コード
|
|
159
161
|
"""
|
|
162
|
+
if logger.level == logging.DEBUG:
|
|
163
|
+
logger.debug(f"audit write svrun msg: {msg}")
|
|
160
164
|
audit_type = convert.b64str2str(msg[2])
|
|
161
165
|
clmsg_id = convert.b64str2str(msg[3])
|
|
162
166
|
clmsg_date = convert.b64str2str(msg[4])
|
|
@@ -47,7 +47,7 @@ class ClientFileCopy(feature.UnsupportEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="from_path", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ClientFileDownload(feature.OneshotEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ClientFileList(feature.OneshotResultEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ClientFileMkdir(feature.UnsupportEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ClientFileMove(feature.UnsupportEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="from_path", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ClientFileRemove(feature.UnsupportEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ClientFileRmdir(feature.UnsupportEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ClientFileUpload(feature.UnsupportEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="svpath", type=Options.T_STR, default="/", required=True, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ClientServerInfo(feature.OneshotResultEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="retry_count", type=Options.T_INT, default=3, required=False, multi=False, hide=True, choice=None,
|
|
@@ -47,7 +47,7 @@ class GuiStart(feature.UnsupportEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class ServerStart(feature.OneshotNotifyEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class ServerStop(feature.OneshotNotifyEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="retry_count", type=Options.T_INT, default=3, required=False, multi=False, hide=True, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebApikeyAdd(feature.UnsupportEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebApikeyDel(feature.UnsupportEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebGroupAdd(feature.UnsupportEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebGroupDel(feature.UnsupportEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebGroupEdit(feature.UnsupportEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebGroupList(feature.OneshotResultEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -47,7 +47,7 @@ class WebStart(feature.UnsupportEdgeFeature):
|
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
48
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
49
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
50
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
51
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
52
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebUserAdd(feature.UnsupportEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebUserDel(feature.UnsupportEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebUserEdit(feature.UnsupportEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -46,7 +46,7 @@ class WebUserList(feature.OneshotResultEdgeFeature):
|
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
47
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
48
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
49
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
50
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
51
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=common.HOME_DIR / f".{self.ver.__appid__}", required=False, multi=False, hide=False, choice=None,
|
|
@@ -41,9 +41,13 @@ class Audit(feature.WebFeature):
|
|
|
41
41
|
if web.signin.get_data() is None:
|
|
42
42
|
return dict(error='signin_file_data is None.')
|
|
43
43
|
if not hasattr(web.options, 'audit_search') or web.options.audit_search is None:
|
|
44
|
-
|
|
44
|
+
return dict(warn='audit feature is disabled.')
|
|
45
45
|
opt = await req.json()
|
|
46
46
|
opt = {**opt, **web.options.audit_search_args.copy()}
|
|
47
|
+
opt['host'] = web.redis_host
|
|
48
|
+
opt['port'] = web.redis_port
|
|
49
|
+
opt['password'] = web.redis_password
|
|
50
|
+
opt['svname'] = web.svname
|
|
47
51
|
args = argparse.Namespace(**{k:common.chopdq(v) for k,v in opt.items()})
|
|
48
52
|
status, ret_main, _ = web.options.audit_search.apprun(web.logger, args, time.perf_counter(), [])
|
|
49
53
|
if status != 0:
|
|
@@ -55,6 +59,8 @@ class Audit(feature.WebFeature):
|
|
|
55
59
|
signin = web.signin.check_signin(req, res)
|
|
56
60
|
if signin is not None:
|
|
57
61
|
return signin
|
|
62
|
+
if not hasattr(web.options, 'audit_search_args'):
|
|
63
|
+
return dict(warn='audit feature is disabled.')
|
|
58
64
|
return dict(success=web.options.audit_search_args)
|
|
59
65
|
|
|
60
66
|
def toolmenu(self, web:Web) -> Dict[str, Any]:
|
|
@@ -136,9 +136,9 @@ class ExecCmd(cmdbox_web_load_cmd.LoadCmd):
|
|
|
136
136
|
found = True
|
|
137
137
|
if not found or o not in loaded: continue
|
|
138
138
|
opt[o] = loaded[o]
|
|
139
|
-
if isinstance(feat, cmdbox_audit_write.AuditWrite) and o in _options.audit_write_args:
|
|
139
|
+
if isinstance(feat, cmdbox_audit_write.AuditWrite) and hasattr(_options, 'audit_write_args') and o in _options.audit_write_args:
|
|
140
140
|
opt[o] = _options.audit_write_args[o]
|
|
141
|
-
elif isinstance(feat, cmdbox_audit_search.AuditSearch) and o in _options.audit_search_args:
|
|
141
|
+
elif isinstance(feat, cmdbox_audit_search.AuditSearch) and hasattr(_options, 'audit_search_args') and o in _options.audit_search_args:
|
|
142
142
|
opt[o] = _options.audit_search_args[o]
|
|
143
143
|
except:
|
|
144
144
|
pass
|
|
@@ -713,6 +713,11 @@ class Options:
|
|
|
713
713
|
user (str): メッセージを発生させたユーザー名
|
|
714
714
|
kwargs (Any): 呼び出し元で使用しているキーワード引数
|
|
715
715
|
"""
|
|
716
|
+
if not hasattr(self, 'audit_write_args') or self.audit_write_args is None:
|
|
717
|
+
return
|
|
718
|
+
yml = self.features_yml_data
|
|
719
|
+
if yml is None or 'audit' not in yml or 'enabled' not in yml['audit'] or not yml['audit']['enabled']:
|
|
720
|
+
return
|
|
716
721
|
if not hasattr(self, 'audit_write') or self.audit_write is None:
|
|
717
722
|
raise Exception('audit write feature is not found.')
|
|
718
723
|
clmsg_date = datetime.now().strftime('%Y-%m-%d %H:%M:%S') + common.get_tzoffset_str()
|
|
@@ -761,6 +766,10 @@ class Options:
|
|
|
761
766
|
else:
|
|
762
767
|
clmsg_body[key] = common.to_str(val, 100)
|
|
763
768
|
opt[key] = val
|
|
769
|
+
if hasattr(arg, 'redis_host'): opt['host'] = arg.redis_host
|
|
770
|
+
if hasattr(arg, 'redis_port'): opt['port'] = arg.redis_port
|
|
771
|
+
if hasattr(arg, 'redis_password'): opt['password'] = arg.redis_password
|
|
772
|
+
if hasattr(arg, 'svname'): opt['svname'] = arg.svname
|
|
764
773
|
if hasattr(arg, 'clmsg_id'): opt['clmsg_id'] = arg.clmsg_id
|
|
765
774
|
elif isinstance(arg, web.Web):
|
|
766
775
|
opt['host'] = arg.redis_host
|
|
@@ -133,6 +133,7 @@ class Server(filer.Filer):
|
|
|
133
133
|
|
|
134
134
|
while self.is_running:
|
|
135
135
|
try:
|
|
136
|
+
msg = None
|
|
136
137
|
# ブロッキングリストから要素を取り出す
|
|
137
138
|
ctime = time.time()
|
|
138
139
|
self.redis_cli.hset(self.redis_cli.hbname, 'ctime', ctime)
|
|
@@ -186,18 +187,29 @@ class Server(filer.Filer):
|
|
|
186
187
|
except exceptions.TimeoutError:
|
|
187
188
|
pass
|
|
188
189
|
except exceptions.ConnectionError as e:
|
|
189
|
-
self.logger.warning(f"Connection to the server was lost. {e}",
|
|
190
|
+
self.logger.warning(f"Connection to the server was lost. {e}", exc_info=True)
|
|
190
191
|
if not self.redis_cli.check_server(find_svname=False, retry_count=self.retry_count, retry_interval=self.retry_interval, outstatus=True):
|
|
191
192
|
self.is_running = False
|
|
192
193
|
break
|
|
193
194
|
except OSError as e:
|
|
194
|
-
self.logger.warning(f"OSError. {e}",
|
|
195
|
+
self.logger.warning(f"OSError. {e}. This message is not executable in the server environment. ({msg})", exc_info=True)
|
|
196
|
+
if msg is not None and len(msg) > 1:
|
|
197
|
+
self.redis_cli.rpush(msg[1], dict(warn=f"OSError. {e}. This message is not executable in the server environment. ({msg[0]})"))
|
|
198
|
+
error_cnt += 1
|
|
199
|
+
self.redis_cli.hset(self.redis_cli.hbname, 'error_cnt', error_cnt)
|
|
200
|
+
pass
|
|
201
|
+
except IndexError as e:
|
|
202
|
+
self.logger.warning(f"IndexError. {e}. The message received by the server is invalid. ({msg})", exc_info=True)
|
|
203
|
+
if msg is not None and len(msg) > 1:
|
|
204
|
+
self.redis_cli.rpush(msg[1], dict(warn=f"IndexError. {e}. The message received by the server is invalid. ({msg[0]})"))
|
|
205
|
+
error_cnt += 1
|
|
206
|
+
self.redis_cli.hset(self.redis_cli.hbname, 'error_cnt', error_cnt)
|
|
195
207
|
pass
|
|
196
208
|
except KeyboardInterrupt as e:
|
|
197
209
|
self.is_running = False
|
|
198
210
|
break
|
|
199
211
|
except Exception as e:
|
|
200
|
-
self.logger.warning(f"Unknown error occurred. {e}", exc_info=True)
|
|
212
|
+
self.logger.warning(f"Unknown error occurred. {e}. Service will be stopped due to unknown cause.({msg})", exc_info=True)
|
|
201
213
|
self.is_running = False
|
|
202
214
|
break
|
|
203
215
|
self.redis_cli.delete(self.redis_cli.svname)
|
|
@@ -46,10 +46,10 @@ audit:
|
|
|
46
46
|
mode: audit # Specify the mode of the feature to be searched.
|
|
47
47
|
cmd: search # Specify the command to be searched.
|
|
48
48
|
options: # Specify the options for the audit function.
|
|
49
|
-
host: localhost # Specify the service host of the audit Redis server.
|
|
50
|
-
port: 6379 # Specify the service port of the audit Redis server.
|
|
51
|
-
password: password # Specify the access password of the audit Redis server.
|
|
52
|
-
svname:
|
|
49
|
+
host: localhost # Specify the service host of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
50
|
+
port: 6379 # Specify the service port of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
51
|
+
password: password # Specify the access password of the audit Redis server.However, if it is specified as a command line argument, it is ignored.
|
|
52
|
+
svname: cmdbox # Specify the audit service name of the inference server.However, if it is specified as a command line argument, it is ignored.
|
|
53
53
|
retry_count: 3 # Specifies the number of reconnections to the audit Redis server.If less than 0 is specified, reconnection is forever.
|
|
54
54
|
retry_interval: 1 # Specifies the number of seconds before reconnecting to the audit Redis server.
|
|
55
55
|
timeout: 15 # Specify the maximum waiting time until the server responds.
|
|
@@ -48,7 +48,7 @@ class ServerTime(feature.Feature):
|
|
|
48
48
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None,
|
|
49
49
|
discription_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
50
50
|
discription_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
51
|
-
dict(opt="svname", type=Options.T_STR, default=
|
|
51
|
+
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None,
|
|
52
52
|
discription_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
53
53
|
discription_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
54
54
|
dict(opt="timedelta", type=Options.T_INT, default=9, required=False, multi=False, hide=False, choice=None,
|
|
@@ -3,7 +3,7 @@ import datetime
|
|
|
3
3
|
dt_now = datetime.datetime(2025, 4, 18)
|
|
4
4
|
__appid__ = 'cmdbox'
|
|
5
5
|
__title__ = 'cmdbox (Command Development Application)'
|
|
6
|
-
__version__ = '0.5.3'
|
|
6
|
+
__version__ = '0.5.3.1'
|
|
7
7
|
__copyright__ = f'Copyright © 2023-{dt_now.strftime("%Y")} hamacom2004jp'
|
|
8
8
|
__pypiurl__ = 'https://pypi.org/project/cmdbox/'
|
|
9
9
|
__srcurl__ = 'https://github.com/hamacom2004jp/cmdbox'
|