Commit graph

27 commits

Author SHA1 Message Date
Kevin Heyer
527ece3378 Add Translation 2025-09-22 10:22:08 +02:00
Kevin Heyer
a314816150 Change Impact_Choices to DB 2025-09-22 10:14:21 +02:00
Kevin Heyer
a5a31f4dcf Change Likelihood from Map_Choices to DB 2025-09-22 09:44:51 +02:00
Kevin Heyer
f8d3062da6 change Login Style 2025-09-22 07:42:26 +02:00
Kevin Heyer
301a0cb83d Add Risks by Status to Dashboard 2025-09-19 11:05:21 +02:00
Kevin Heyer
ac3c6db486 Add navigation registry and template integration for modular apps
- Introduced risks/navigation_registry.py for central navigation registry
    - Added risks/templatetags/navigation.py to render registry entries
    - Created template fragment risks/templates/risks/_extra_nav.html
    - Updated README.md with integration instructions
    - Prepared risks/base.html to include extra navigation automatically
2025-09-17 09:36:11 +02:00
Kevin Heyer
0baa6dbe04 Add Status Tags 2025-09-16 14:27:48 +02:00
Kevin Heyer
c25402bc98 Add Ui fix. Add Links in Notifications 2025-09-16 14:15:04 +02:00
Kevin Heyer
fe54e08de2 Change UI 2025-09-15 11:06:33 +02:00
=
f133a247f9 Add risk trend chart to dashboard
- Updated the dashboard template to include a new section for displaying the risk trend per month using Chart.js.
- Loaded the static files correctly with the addition of the static template tag.
- Implemented JavaScript to render a line chart with risk data categorized by severity levels (Low, Medium, High, Critical).
- Utilized CSS variables for dynamic color assignment in the chart.
2025-09-12 22:31:05 +02:00
=
9bcfd12cbe Update localization, enhance dark mode styles, and improve risk list display
- Updated the Django localization file with new and modified translations.
- Enhanced dark mode styles for table rows to improve visibility on hover.
- Added a new JavaScript file for future chart functionalities.
- Changed the logo text in the base template from "RM" to "WIRA Intranet".
- Improved the risk list display by replacing checkboxes with icons for CIA categories.
2025-09-12 17:02:37 +02:00
Kevin Heyer
f7ead4e5c3 Refactor risk management templates for improved usability and localization
- Updated `item_incident.html` to implement ERP-style tabs for better navigation and added action icons for editing and deleting incidents.
- Enhanced the overview tab with translated labels and improved layout for incident details.
- Introduced linked risks and history tabs with appropriate translations and table structures.
- Modified `item_risk.html` to include action icons for editing and deleting risks.
- Refined `list_controls.html` to improve filter section layout and added translations for filter labels.
- Updated `list_incidents.html` to enhance filter functionality and table layout, including translations for headers and buttons.
- Improved `list_risks.html` by adding an action icon for adding new risks.
- Adjusted `notifications.html` to enhance the display of new notifications with improved formatting and links.
2025-09-12 13:04:04 +02:00
=
66e53e171e refactor: Remove unnecessary card header from overview tab in risk item template 2025-09-11 21:13:26 +02:00
Kevin Heyer
0ba879c40e redesign single risk frontend 2025-09-11 15:30:42 +02:00
Kevin Heyer
324347e849 Rework Frontend UI 2025-09-11 15:02:29 +02:00
Kevin Heyer
9d02badf14 feat: Add risk matrix view and related functionality
- Implemented a new view for the risk matrix, allowing users to visualize risks based on their impact and likelihood.
- Added filters for category, asset, and process in the risk listing view.
- Enhanced risk listing template to include new filters and improved layout.
- Introduced new CSS variables for better color management in the design.
- Updated existing template tags to support new functionalities, including score background class mapping.
- Modified existing risk listing to display residual risk details alongside gross risk.
- Added new risk matrix HTML template with tabbed interface for gross and net risk views.
2025-09-11 10:22:20 +02:00
Kevin Heyer
ed300ca403 feat: Add effects field to Risk model and display in risk item template 2025-09-10 15:00:59 +02:00
Kevin Heyer
ebfcbddd5c Implement notification system and status update forms
- Added Notification model with admin interface for managing notifications.
- Created context processor to count unread notifications for the user.
- Introduced forms for updating the status of Risk, Control, Incident, and ResidualRisk.
- Added views for displaying and managing notifications, including marking them as read.
- Updated URLs to include routes for notifications and status updates.
- Enhanced templates to support notifications display and status update forms.
- Improved CSS for avatar and badge display in the navbar.
- Translated various static texts to support internationalization.
2025-09-10 13:44:03 +02:00
Kevin Heyer
ab01841cf2 Add risk status and notification preferences
- Introduced a new `status` field to the `Risk` model with choices for "open", "in_progress", "closed", and "review_required".
- Created a `NotificationPreference` model to manage user notification settings for various events related to risks, controls, residual risks, reviews, users, and incidents.
- Updated the admin interface to include `NotificationPreference` inline with the `User` admin.
- Enhanced signal handlers to send notifications based on user preferences for created, updated, and deleted events for users, risks, controls, and incidents.
- Modified the `check_risk_followups` utility function to update risk status and create notifications for follow-ups.
- Updated serializers and views to accommodate the new `status` field and improved risk listing functionality.
- Added a new section in the risk detail template to display related incidents.
- Removed the unused statistics view from URLs.
2025-09-10 11:54:08 +02:00
Kevin Heyer
f43412b2dd feat: Enhance risk management templates and styles with improved user display, control status labels, and responsive design elements 2025-09-10 10:49:14 +02:00
=
8afa7363d0 feat: Implement dashboard with risk overview, controls, and incidents; add dark mode support 2025-09-09 21:34:03 +02:00
Kevin Heyer
bf0a3c22c0 Refactor risk management application with enhanced localization, user authentication, and UI improvements
- Added verbose names for Incident and ResidualRisk models for better clarity in admin interface.
- Updated impact choices for ResidualRisk and Risk models to ensure consistency and clarity.
- Implemented gettext_lazy for translatable strings in models and choices.
- Enhanced the Risk, ResidualRisk, Control, AuditLog, and Incident models with Meta options for better admin representation.
- Added login required decorators to views for improved security.
- Introduced new CSS variables and classes for better visual representation of risk levels.
- Created custom template tags for dynamic CSS class assignment based on risk likelihood and impact.
- Improved dashboard and statistics views with user authentication checks.
- Updated templates for risks, controls, incidents, and admin interface to include edit and delete options for staff users.
- Added new login and logout templates for user authentication.
- Enhanced list views for risks, controls, and incidents to include action buttons for staff users.
- Improved overall UI/UX with Bulma CSS framework for a more modern look and feel.
2025-09-09 14:25:59 +02:00
Kevin Heyer
686030e4cb feat: Enhance risk management application with user auditing and improved incident handling
- Added AuditUserMiddleware to track the current user for auditing purposes.
- Introduced audit_context for managing the current user in thread-local storage.
- Updated Control and Incident models to include created_at and updated_at timestamps.
- Refactored Control and Incident serializers to handle related risks and timestamps.
- Modified views to set the _changed_by attribute for user actions.
- Enhanced incident listing and detail views to display related risks and user actions.
- Updated templates for better presentation of risks and incidents.
- Added migrations for new fields and relationships in the database.
- Improved filtering options in the incident list view.
2025-09-09 12:00:29 +02:00
Kevin Heyer
43e86d0357 feat: Enhance Risk Management Module
- Updated Risk model to include description, created_at, and updated_at fields.
- Modified RiskSerializer to include created_at and updated_at in serialized output.
- Improved logging in signals for Risk and Control models, including serialization of values.
- Added new template tags for CIA label mapping.
- Refactored URL patterns for better clarity and added detail views for risks, controls, and incidents.
- Implemented list and detail views for risks, controls, and incidents with filtering options.
- Enhanced CSS for better UI/UX, including breadcrumbs and table styling.
- Created new templates for displaying individual risks, controls, and incidents with detailed information.
2025-09-08 15:03:12 +02:00
Kevin Heyer
ee78caa3d1 Switch to new Design 2025-09-08 08:10:30 +02:00
=
ff134eee9a Add FontAwesome webfonts and update templates for Risiko Management
- Added FontAwesome webfont files: fa-brands-400.woff2, fa-regular-400.woff2, fa-solid-900.woff2, and fa-v4compatibility.woff2.
- Updated base.html to include FontAwesome stylesheet.
- Renamed the application title from "Risiko Management" to "ISO27001 Management".
- Enhanced navigation menu with dynamic active states for Dashboard, Statistics, Risks, Controls, and Incidents.
- Created new templates for dashboard, controls, incidents, risks, and statistics with breadcrumb navigation.
2025-09-07 23:07:56 +02:00
=
7f90f67f2a Add custom User model, OIDC backend, DB flexibility (SQLite/Postgres/MySQL), secured API endpoints, and initial Risk/Control models with enums, score calculation, and groups seeding. 2025-09-07 20:52:19 +02:00