Adrian A. Baumann 779604750e Add Vorgaben sanity check functionality
Implement comprehensive validation system to detect conflicting Vorgaben with overlapping validity periods.

Features:
- Static method Vorgabe.sanity_check_vorgaben() for global conflict detection
- Instance method Vorgabe.find_conflicts() for individual conflict checking
- Model validation via Vorgabe.clean() to prevent conflicting data
- Utility functions for date range intersection and conflict reporting
- Django management command 'sanity_check_vorgaben' for manual checks
- Comprehensive test suite with 17 new tests covering all functionality

Validation logic ensures Vorgaben with same dokument, thema, and nummer cannot have overlapping gueltigkeit_von/gueltigkeit_bis date ranges. Handles open-ended ranges (None end dates) and provides clear error messages.

Files added/modified:
- dokumente/models.py: Added sanity check methods and validation
- dokumente/utils.py: New utility functions for conflict detection
- dokumente/management/commands/sanity_check_vorgaben.py: New management command
- dokumente/tests.py: Added comprehensive test coverage
- test_sanity_check.py: Standalone test script

All tests pass (56/56) with no regressions.
2025-11-03 12:55:56 +01:00
2025-10-31 12:35:26 +01:00
2025-10-28 16:19:37 +01:00
2025-10-06 14:34:54 +02:00
2025-10-31 12:35:26 +01:00
2025-09-22 11:03:24 +02:00
2025-10-29 14:11:53 +01:00
2025-10-16 16:15:57 +02:00
2025-10-20 07:31:39 +02:00

vgui-cicd

There are examples for importing text in the "Documentation"-directory. Actual documentation follows.

Documentation on Confluence so far. This commit should be signed.

Description
No description provided
Readme 4.4 MiB
Languages
JavaScript 65.3%
Python 20.4%
CSS 10.1%
HTML 3%
SCSS 1.1%