FastPluggy 0.4.71__tar.gz → 0.4.73__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.
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/PKG-INFO +1 -1
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/pyproject.toml +1 -1
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/FastPluggy.egg-info/PKG-INFO +1 -1
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/FastPluggy.egg-info/SOURCES.txt +1 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/base_module_manager.py +7 -3
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/menu/menu_manager.py +44 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/admin.py +26 -1
- fastpluggy-0.4.73/tests/test_sys_path_reload.py +50 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/README.md +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/setup.cfg +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/FastPluggy.egg-info/dependency_links.txt +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/FastPluggy.egg-info/requires.txt +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/FastPluggy.egg-info/top_level.txt +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/cli_utils.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/auth/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/auth/anonymous.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/auth/auth_interface.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/auth/delegating_backend.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/auth/middleware.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/config.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/core_metrics.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/database.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/dependency.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/error/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/error/degraded_mode_handler.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/error/degraded_mode_middleware.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/error/exception.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/events/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/events/bus.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/events/event.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/events/spec.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/flash.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/global_registry.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/menu/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/menu/decorator.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/menu/override_service.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/menu/schema.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/metrics.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/models.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/models_tools/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/models_tools/base.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/models_tools/callable.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/models_tools/pydantic.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/models_tools/shared.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/models_tools/sqlalchemy.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/module_base.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/plugin/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/plugin/dependency_resolver.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/plugin/repository.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/plugin/service.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/plugin/validator.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/plugin_state.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/repository/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/repository/app_settings.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/actions/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/actions/modules.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/admin_menu.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/app_static.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/base_module.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/home.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/ready.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/service_worker.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/routers/settings.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/static.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/fastapi.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/fs_tools.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/inspect_tools.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/install.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/jinja_tools.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/lock.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/serialize_tools.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/system.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/tools/threads_tools.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/topbar.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/view_builder/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/view_builder/builder.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/view_builder/form_builder.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/view_builder/pagination.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/base.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/custom.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/debug.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/model.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/raw.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/table.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/table_model.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/traceback.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/alert.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/card.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/code.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/custom.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/progress.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/stats.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/input/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/input/button.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/input/button_list.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/input/form.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/layout/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/layout/grid.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/layout/tabbed.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/fastpluggy_integration.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/mixins.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/render_field_tools.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/fastpluggy.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/01-tokens.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/02-tabler-bridge.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/03-layout.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/04-components.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/05-admin.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/06-widgets.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/07-responsive.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/08-json-modal.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/fastpluggy.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/css/styles.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/favicon.svg +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/js/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/js/scripts.js +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/js/sw-register.js +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/service-worker-base.js +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/all.min.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/webfonts/fa-brands-400.ttf +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/webfonts/fa-brands-400.woff2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/webfonts/fa-regular-400.ttf +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/webfonts/fa-regular-400.woff2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/webfonts/fa-solid-900.ttf +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/webfonts/fa-solid-900.woff2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/webfonts/fa-v4compatibility.ttf +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/webfonts/fa-v4compatibility.woff2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-1.4.0/css/tabler-themes.min.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-1.4.0/css/tabler-themes.min.css.map +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-1.4.0/css/tabler.min.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-1.4.0/css/tabler.min.css.map +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-1.4.0/js/tabler.min.js +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-1.4.0/js/tabler.min.js.map +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-icons/fonts/tabler-icons.eot +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-icons/fonts/tabler-icons.ttf +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-icons/fonts/tabler-icons.woff +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-icons/fonts/tabler-icons.woff2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-icons/tabler-icons.min.css +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/403.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/404.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/admin/admin_menu.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/admin/capabilities.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/admin/events.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/admin/module_overview.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/auth/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/base.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/components/__init__.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/components/table_filter_component.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/degraded_mode.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/error.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/error_base.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/flash_messages.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/generic_page.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/index.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/menu.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/plugin_load_error.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/data/debug.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/data/table.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/data/traceback.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/data/view_model.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/alert.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/card.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/code.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/progress.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/stats.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/status.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/input/button.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/input/button_list.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/input/form.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/layout/grid.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/layout/tabbed.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/partials/card_header.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/partials/pagination_macros.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/widget_renderer.html.j2 +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_app.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_app_static.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_auth.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_core_metrics.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_database_driver.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_database_pool.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_degraded_mode.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_domain_module_manager.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_dynamic_settings.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_ensure_index.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_event_bus.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_event_bus_ownership.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_execute_removed.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_fast_pluggy_init.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_flash.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_metrics.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_module_base_router_guard.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_simple_example.py +0 -0
- {fastpluggy-0.4.71 → fastpluggy-0.4.73}/tests/test_topbar.py +0 -0
|
@@ -226,9 +226,13 @@ class BaseModuleManager(ABC):
|
|
|
226
226
|
folder_path = Path(folder)
|
|
227
227
|
|
|
228
228
|
if folder_path.exists():
|
|
229
|
-
# Add folder to module search path
|
|
230
|
-
|
|
231
|
-
sys.path
|
|
229
|
+
# Add folder to module search path, once: discover_plugins() re-runs on
|
|
230
|
+
# every load_app() (settings save, enable/disable, reload), and an
|
|
231
|
+
# unconditional append grew sys.path by one entry per folder each time
|
|
232
|
+
# (fast_pluggy#33).
|
|
233
|
+
domain_path = str(folder_path.resolve())
|
|
234
|
+
if domain_path not in sys.path:
|
|
235
|
+
sys.path.append(domain_path)
|
|
232
236
|
|
|
233
237
|
logger.info(f"🔍 Discovering {module_type} modules in {domain_path}")
|
|
234
238
|
|
|
@@ -241,6 +241,50 @@ class MenuManager:
|
|
|
241
241
|
|
|
242
242
|
return sorted_flat
|
|
243
243
|
|
|
244
|
+
def get_hidden_items(self, menu_types: tuple[str, ...] = ("main", "user", "admin")) -> list[dict[str, Any]]:
|
|
245
|
+
"""Return the navigable pages that a menu override has hidden.
|
|
246
|
+
|
|
247
|
+
``get_menu``/``get_flat_menu`` drop an entry whose override has
|
|
248
|
+
``hidden=True`` (and a hidden dropdown takes its children with it), so
|
|
249
|
+
the page becomes unreachable from the UI. This lists exactly those
|
|
250
|
+
pages so the admin can still open them (Manage Plugins page).
|
|
251
|
+
|
|
252
|
+
Each entry: ``label`` (label override applied), ``url``, ``icon``,
|
|
253
|
+
``menu_type``. Items without a real URL (``#`` parents) are skipped;
|
|
254
|
+
URLs are de-duplicated; order follows the menu order.
|
|
255
|
+
"""
|
|
256
|
+
hidden: list[dict[str, Any]] = []
|
|
257
|
+
seen: set[str] = set()
|
|
258
|
+
|
|
259
|
+
def _add(item: MenuItem, menu_type: str) -> None:
|
|
260
|
+
if not item.url or item.url == "#" or item.url in seen:
|
|
261
|
+
return
|
|
262
|
+
seen.add(item.url)
|
|
263
|
+
override = self._overrides.get((menu_type, item.url))
|
|
264
|
+
hidden.append({
|
|
265
|
+
"label": (override.label_override if override and override.label_override else item.label),
|
|
266
|
+
"url": item.url,
|
|
267
|
+
"icon": item.icon,
|
|
268
|
+
"menu_type": menu_type,
|
|
269
|
+
})
|
|
270
|
+
|
|
271
|
+
def _is_hidden(item: MenuItem, menu_type: str) -> bool:
|
|
272
|
+
override = self._overrides.get((menu_type, item.url or ""))
|
|
273
|
+
return bool(override and override.hidden)
|
|
274
|
+
|
|
275
|
+
for menu_type in menu_types:
|
|
276
|
+
for item in self.menus.get(menu_type, []):
|
|
277
|
+
if _is_hidden(item, menu_type):
|
|
278
|
+
_add(item, menu_type)
|
|
279
|
+
# A hidden dropdown hides all of its children with it.
|
|
280
|
+
for child in item.children:
|
|
281
|
+
_add(child, menu_type)
|
|
282
|
+
continue
|
|
283
|
+
for child in item.children:
|
|
284
|
+
if _is_hidden(child, menu_type):
|
|
285
|
+
_add(child, menu_type)
|
|
286
|
+
return hidden
|
|
287
|
+
|
|
244
288
|
def update_menu_from_routes(self, app_routes: list[APIRoute],
|
|
245
289
|
module_manager: BaseModuleManager, # <— now pass this in
|
|
246
290
|
menu_type: str = "main", ):
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from fastapi import APIRouter, Depends, Request
|
|
2
|
+
from markupsafe import escape
|
|
2
3
|
|
|
3
4
|
from fastpluggy.core.base_module_manager import BaseModuleManager
|
|
4
5
|
from fastpluggy.core.dependency import get_view_builder, get_fastpluggy, get_module_manager
|
|
@@ -8,7 +9,7 @@ from fastpluggy.core.tools.fastapi import handle_action_result
|
|
|
8
9
|
from fastpluggy.core.widgets import TableWidget
|
|
9
10
|
from fastpluggy.core.widgets.categories.data.debug import DebugWidget
|
|
10
11
|
from fastpluggy.core.widgets.categories.display.custom import CustomTemplateWidget
|
|
11
|
-
from fastpluggy.core.widgets.categories.input.button import AutoLinkWidget
|
|
12
|
+
from fastpluggy.core.widgets.categories.input.button import AutoLinkWidget, ButtonWidget
|
|
12
13
|
from fastpluggy.core.widgets.categories.input.button_list import ButtonListWidget
|
|
13
14
|
from fastpluggy.core.widgets.render_field_tools import RenderFieldTools
|
|
14
15
|
|
|
@@ -172,6 +173,30 @@ def list_plugins(
|
|
|
172
173
|
ButtonListWidget(
|
|
173
174
|
buttons=buttons,
|
|
174
175
|
),
|
|
176
|
+
]
|
|
177
|
+
|
|
178
|
+
# Pages hidden from the menu via Menu Management are otherwise unreachable
|
|
179
|
+
# from the UI — give the admin a way back to them here.
|
|
180
|
+
hidden_pages = fast_pluggy.menu_manager.get_hidden_items()
|
|
181
|
+
if hidden_pages:
|
|
182
|
+
items.append(
|
|
183
|
+
ButtonListWidget(
|
|
184
|
+
title='Pages hidden from the menu',
|
|
185
|
+
buttons=[
|
|
186
|
+
ButtonWidget(
|
|
187
|
+
url=page['url'],
|
|
188
|
+
# Button template renders the label raw (autoescape is off)
|
|
189
|
+
# and label overrides are admin-typed text.
|
|
190
|
+
label=str(escape(page['label'])),
|
|
191
|
+
icon=page['icon'] or 'ti ti-eye-off',
|
|
192
|
+
css_class='btn btn-outline-secondary',
|
|
193
|
+
)
|
|
194
|
+
for page in hidden_pages
|
|
195
|
+
],
|
|
196
|
+
)
|
|
197
|
+
)
|
|
198
|
+
|
|
199
|
+
items += [
|
|
175
200
|
TableWidget(
|
|
176
201
|
title='Plugin List',
|
|
177
202
|
fields=["module_menu_icon", 'have_update', 'module_name', 'module_type', 'version_html', 'status_html'],
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"""sys.path must not grow on load_app() reloads (fast_pluggy#33).
|
|
2
|
+
|
|
3
|
+
discover_plugins() runs on every load_app() (settings save, enable/disable,
|
|
4
|
+
remove, admin reload) and used to append each module folder unconditionally.
|
|
5
|
+
"""
|
|
6
|
+
import sys
|
|
7
|
+
import tempfile
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
from fastpluggy.core.base_module_manager import BaseModuleManager
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _manager():
|
|
14
|
+
# discover_plugins only needs plugin_states + modules; skip __init__'s DB read.
|
|
15
|
+
mm = BaseModuleManager.__new__(BaseModuleManager)
|
|
16
|
+
mm.plugin_states = {}
|
|
17
|
+
mm.modules = {}
|
|
18
|
+
return mm
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def test_discover_plugins_adds_folder_to_sys_path_once(monkeypatch):
|
|
22
|
+
folder = Path(tempfile.mkdtemp(prefix="fp33_")) / "plugins"
|
|
23
|
+
folder.mkdir()
|
|
24
|
+
resolved = str(folder.resolve())
|
|
25
|
+
monkeypatch.setattr(sys, "path", list(sys.path)) # restored after the test
|
|
26
|
+
|
|
27
|
+
mm = _manager()
|
|
28
|
+
for _ in range(10): # one discover per load_app()
|
|
29
|
+
mm.discover_plugins(folder=str(folder), module_type="plugin")
|
|
30
|
+
|
|
31
|
+
assert sys.path.count(resolved) == 1
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def test_discover_plugins_keeps_preexisting_entry_position(monkeypatch):
|
|
35
|
+
folder = Path(tempfile.mkdtemp(prefix="fp33_")) / "domains"
|
|
36
|
+
folder.mkdir()
|
|
37
|
+
resolved = str(folder.resolve())
|
|
38
|
+
monkeypatch.setattr(sys, "path", [resolved] + list(sys.path))
|
|
39
|
+
|
|
40
|
+
_manager().discover_plugins(folder=str(folder), module_type="domain")
|
|
41
|
+
|
|
42
|
+
assert sys.path.count(resolved) == 1
|
|
43
|
+
assert sys.path[0] == resolved # not moved / re-appended
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def test_missing_folder_does_not_touch_sys_path(monkeypatch):
|
|
47
|
+
monkeypatch.setattr(sys, "path", list(sys.path))
|
|
48
|
+
before = list(sys.path)
|
|
49
|
+
_manager().discover_plugins(folder="/nonexistent/fp33/plugins", module_type="plugin")
|
|
50
|
+
assert sys.path == before
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/error/degraded_mode_middleware.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/__init__.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/debug.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/model.py
RENAMED
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/table.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/table_model.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/data/traceback.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/__init__.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/alert.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/card.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/code.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/custom.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/progress.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/display/stats.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/input/__init__.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/input/button.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/input/button_list.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/input/form.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/layout/__init__.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/layout/grid.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/categories/layout/tabbed.py
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/core/widgets/fastpluggy_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/fontawesome-6.0.0/all.min.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-1.4.0/css/tabler.min.css
RENAMED
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/static/vendor/tabler-1.4.0/js/tabler.min.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/admin/module_overview.html.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/data/traceback.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/data/view_model.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/alert.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/card.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/code.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/progress.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/stats.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/display/status.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/input/button.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/input/button_list.html.j2
RENAMED
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/layout/grid.html.j2
RENAMED
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/layout/tabbed.html.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastpluggy-0.4.71 → fastpluggy-0.4.73}/src/fastpluggy/templates/widgets/widget_renderer.html.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|