Sperrbildschirm/PIN für eNOTF / Überarbeitung Protokollansicht / Überarbeitung eNOTF Variablen - #114
Merged
Merged
Conversation
Implements a PIN-based authentication mechanism for the eNOTF system to enhance security. Introduces a lock screen that requires a PIN to access the system. After a period of inactivity, the system redirects the user to the lock screen. Adds client-side activity tracking to manage session timeout and display inactivity warnings.
This commit introduces new features to the eNOTF protocol, specifically related to "NA-Nachforderung" (Notarzt-Nachforderung - Doctor Retrospective Demand) and "Einsatzverlauf Besonderheiten" (Mission History Special Features). It adds database fields, UI elements and logic to capture these parameters during protocol completion. Also adds plausibility checks to ensure data consistency. The changes include: - Adds 'na_nachf' and 'ebesonderheiten' fields to the database schema. - Adds UI elements to capture 'ebesonderheiten' (mission specifics) as checkboxes. - Conditionally adds 'na_nachf' (doctor follow-up) based on the protocol type. - Includes plausibility checks for the new fields to improve data quality.
Adds a field to display "involved resources" on the print view. Adds a field to display "special circumstances" on the protocol conclusion page. This field shows a comma-separated list of selected special circumstances.
Dynamically adjusts the lock screen PIN length based on the configured `ENOTF_PIN` constant. This ensures that the UI accurately reflects the required PIN length. Additionally, the lock screen now automatically submits the PIN when the user enters the correct number of digits.
Improves the eNotfall protocol by adding new fields to the database schema to include additional assessment options. Updates the UI with quickfill options for faster data entry. Also, changes several labels in the topbar for better clarity and to provide a more streamlined user experience.
Refactors print zoom functionality by wrapping the print paper in a zoom-wrapper, allowing for better control over scaling and layout. This change also addresses overflow issues during zooming and ensures proper page breaking during printing, and correctly removes zoom wrapper during printing.
Updates the PIN middleware to enhance the timeout handling and session management. Ensures that the return URL is only set if the user isn't already on the lockscreen. Clears the last activity timestamp when redirecting to the lockscreen and upon entering the lockscreen to prevent bypasses after timeouts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.