aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Fix and add tests for new certificate subscription.pageJ08nY2025-12-093-2/+64
|
* Fix notifications for vulns.J08nY2025-12-091-0/+2
|
* Bump deps in lockfile.J08nY2025-12-091-493/+581
|
* Merge pull request #531 from xvalec01/feat/page-dash-base-functionalityJán Jančár2025-12-0957-296/+8754
|\ | | | | feat: Page with dashboarding base functionality
| * refactor(collections): Update function signatures to use CollectionName enum ↵David Valecký2025-12-092-9/+9
| | | | | | | | for improved type safety
| * Refactor dashboard callbacks to use ComponentIDBuilder for consistencyDavid Valecký2025-12-0813-315/+355
| | | | | | | | | | | | | | | | - Updated all instances of ComponentIDBuilder to use a more descriptive variable name `component_builder` for clarity. - Modified callback definitions in `dashboard.py`, `filters.py`, and `modal.py` to ensure consistent usage of the new variable. - Introduced a new FilterID enum in `dependencies.py` to manage filter component IDs more effectively. - Adjusted the FilterFactory and FilterRegistry classes to utilize the new FilterID enum for better maintainability and readability. - Ensured all filter-related callbacks and components are updated to reflect the new structure and naming conventions.
| * refactor(callbacks): Update component ID handling for improved consistency ↵David Valecký2025-12-087-34/+53
| | | | | | | | and maintainability
| * fix(dependencies): Remove numpy version constraintDavid Valecký2025-12-081-1/+0
| |
| * refactor(data): Replace hardcoded collection names with CollectionName enum ↵David Valecký2025-12-082-27/+10
| | | | | | | | for improved maintainability
| * refactor(dashboard): Replace dashboard creation logic in DashboardManager ↵David Valecký2025-12-082-17/+2
| | | | | | | | with direct instantiation of Dashboard
| * refactor(query_builder): Remove unused regex sanitization function and ↵David Valecký2025-12-081-12/+1
| | | | | | | | simplify regex handling
| * fix(aggregation): Update aggregation options logic to handle numeric field ↵David Valecký2025-12-081-8/+20
| | | | | | | | availability
| * refactor(dashboard): Simplify collection name assignment and remove unused ↵David Valecký2025-12-084-20/+4
| | | | | | | | FilterSpecDict type
| * refactor(dashboard): Remove unused LayoutConfig type definition and clean up ↵David Valecký2025-12-082-10/+0
| | | | | | | | imports
| * fix(chart): Enhance data aggregation handling and improve fallback logic for ↵David Valecký2025-12-083-17/+23
| | | | | | | | raw data retrieval
| * feat(chart): Implement chart retrieval and creation logic for multi-worker ↵David Valecký2025-12-085-68/+84
| | | | | | | | server
| * refactor(filter): Rename DashFilterComponentParams to FilterComponentParams ↵David Valecký2025-12-084-21/+21
| | | | | | | | for consistency
| * feat(modal): Add validation to prevent X-axis and Y-axis from using the same ↵David Valecký2025-12-081-0/+5
| | | | | | | | field
| * refactor(chart): Replace AvailableChartTypes with ChartType for consistency ↵David Valecký2025-12-088-55/+33
| | | | | | | | across the dashboard
| * refactor(dashboard): Remove unused render_dashboard_content method from ↵David Valecký2025-12-081-105/+0
| | | | | | | | DashboardFactory
| * feat(security): Enhance chart config serialization for client safety and ↵David Valecký2025-12-086-20/+68
| | | | | | | | trust handling
| * feat(chart): Rename graphs.py into chart.pyDavid Valecký2025-12-083-11/+9
| |
| * refactor: Update imports to use new config module for ChartConfig and AxisConfigDavid Valecký2025-12-0811-13/+11
| |
| * docs: Add system class diagram version 4David Valecký2025-12-082-2/+442
| |
| * feat(dashboard): chart and filter functionality with derived fields and ↵David Valecký2025-12-0810-286/+113
| | | | | | | | | | | | improved data handling - Custom classes for the charts removed
| * feat: Add semantic logging variables for error handlingDavid Valecký2025-12-087-49/+112
| | | | | | | | | | | | | | | | | | | | Refactored logging calls to use semantic variable names: - error_message for logger.error() and logger.exception() - warning_message for logger.warning() This improves code readability and establishes consistent logging patterns. Files: figure_builder.py, graphs.py, charts.py, filters.py, repository.py
| * refactor: Simplify BaseChart to use config.chart_id directlyDavid Valecký2025-12-086-70/+75
| | | | | | | | | | | | | | | | | | - Removed graph_id parameter from BaseChart - now derived from config.chart_id - Removed chart_type parameter - now accessed via config.chart_type - Updated all chart components to use simplified constructor: __init__(config) - ChartFactory no longer needs to pass graph_id/chart_type separately - ErrorChart now preserves original config and derives properties from it - Removed unused SupportsRegisterCallbacks protocol from base.py
| * refactor: Rename Chart class to ChartConfig for clarityDavid Valecký2025-12-087-33/+26
| | | | | | | | | | Renamed Chart → ChartConfig to better reflect its role as a configuration dataclass rather than a runtime component. Updated all references throughout the codebase.
| * feat: Add Flask logging configuration supportDavid Valecký2025-12-081-0/+4
| | | | | | | | | | Enable dictConfig-based logging configuration if LOGGING_CONFIG is present in Flask config. This allows centralized logging setup from instance/config.py.
| * feat(logging): Replace print statements with loggerDavid Valecký2025-12-083-11/+10
| |
| * feat(chart): Add generate_custom_chart_name function for consistent chart namingDavid Valecký2025-12-082-2/+11
| |
| * fix: remove no_update local importDavid Valecký2025-12-081-1/+1
| |
| * refactor: simplify get_current_user_id function by removing unnecessary ↵David Valecký2025-12-081-5/+2
| | | | | | | | try-except block
| * feat(dashboard): Error hangling with ErrorChart and move DataService into ↵David Valecký2025-12-0812-43/+116
| | | | | | | | render function
| * feat(dashboard): Introduce ComponentID and ComponentIDBuilder for consistent ↵David Valecký2025-12-084-152/+391
| | | | | | | | component ID management
| * feat(dashboard): Dashboard initialization and selection with better and ↵David Valecký2025-12-082-27/+113
| | | | | | | | readable approach
| * refactor: simplify collection_name handling across dashboard componentsDavid Valecký2025-12-085-16/+16
| |
| * refactor: remove unused dashboard and chart protocol filesDavid Valecký2025-12-083-46/+0
| |
| * refactor: collection type renamed back to collection nameDavid Valecký2025-12-0822-386/+386
| | | | | | | | - Renamed `CollectionType` to `CollectionName` across the codebase for clarity and consistency.
| * refactor(chart): Remove unused Plotly figure creation methods and importsDavid Valecký2025-12-081-99/+0
| |
| * feat(dashboard): Enhance chart management with logging and improve callback ↵David Valecký2025-12-081-22/+23
| | | | | | | | documentation
| * fix(dashboard): Make custom charts editable with a flag not by chart namingDavid Valecký2025-12-083-1/+7
| |
| * refactor: Collection name references to collection typeDavid Valecký2025-12-0822-378/+376
| | | | | | | | | | | | - Renamed `CollectionName` to `CollectionType` across the codebase to better reflect its purpose. - Updated all instances where `CollectionName` was used, including in classes, methods, and type hints. - Adjusted related logic in the `DataService`, `DashboardManager`, `FilterFactory`, and other components to accommodate the new naming convention.
| * refactor(dashboard): reorganize imports and extract aggregation utilitiesDavid Valecký2025-12-086-130/+60
| |
| * refactor(dashboard): reorganize Dash import structureDavid Valecký2025-12-089-7/+7
| |
| * refactor(dashboard): Change file where protect endpointsDavid Valecký2025-12-082-33/+41
| |
| * fix(dashboard): missing support for stacked bar chartsDavid Valecký2025-12-083-6/+5
| |
| * fix(dashboard): missing aggregation keys to withdraw from validatingDavid Valecký2025-12-081-2/+4
| |
| * fix(dashboard): Use isoformat for dates everywhereDavid Valecký2025-12-081-3/+3
| |
| * feat(dashboard): protection against NoSQL injectionDavid Valecký2025-12-083-39/+178
| |