- May 12, 2021
-
-
Nadja Geisler authored
Scheduling Constraints WIP WIP WIP See merge request kif/akplanning!100
-
Nadja Geisler authored
-
-
Additionally, make sure that ak fields are always filled (was not the case for multiple aks in one room check)
-
Implement check for overlapping AK slots in the same room Implement check for overlapping AK slots by the same owner triggered by changing the slot
-
Previously, ak and ak slot sets were modelled as class attributes, which could cause wrong AKs to show up in a relation when multiple constraints were updated in the same function call
-
Improve constraint violation string representation to prevent endless recursion Create violation check for changed owner of AK (bound to new m2m_changed signal) Add doc comments
-
Add helper fields and methods to ConstraintViolation model Introduce helper method do determine whether two AKSlots overlap Add receivers to AKScheduling Implement stub for OWNER_TWO_SLOTS violation
-
- May 11, 2021
-
-
Benjamin Hättasch authored
-
Benjamin Hättasch authored
Additionally, make sure that ak fields are always filled (was not the case for multiple aks in one room check)
-
Benjamin Hättasch authored
Implement check for overlapping AK slots in the same room Implement check for overlapping AK slots by the same owner triggered by changing the slot
-
Benjamin Hättasch authored
Previously, ak and ak slot sets were modelled as class attributes, which could cause wrong AKs to show up in a relation when multiple constraints were updated in the same function call
-
Benjamin Hättasch authored
Improve constraint violation string representation to prevent endless recursion Create violation check for changed owner of AK (bound to new m2m_changed signal) Add doc comments
-
- May 10, 2021
-
-
-
This also introduces some additional properties for human readable details of the violations to the model
-
-
-
Additionally fix wrong app installed check for ak detail link (should be AKSubmission, not AKScheduling)
-
- May 09, 2021
-
-
Benjamin Hättasch authored
Add helper fields and methods to ConstraintViolation model Introduce helper method do determine whether two AKSlots overlap Add receivers to AKScheduling Implement stub for OWNER_TWO_SLOTS violation
-
Benjamin Hättasch authored
-
Nadja Geisler authored
Introduce CSP and update js dependencies accordingly See merge request kif/akplanning!98
-
Benjamin Hättasch authored
This also introduces some additional properties for human readable details of the violations to the model
-
Benjamin Hättasch authored
-
Benjamin Hättasch authored
-
Benjamin Hättasch authored
Additionally fix wrong app installed check for ak detail link (should be AKSubmission, not AKScheduling)
-
- May 08, 2021
-
-
Benjamin Hättasch authored
-
Benjamin Hättasch authored
Set content security policy for frame-ancestors to "*" for this view
-
Benjamin Hättasch authored
Add django-csp to dependencies Load middleware Add config that matches current usage but with most possible restriction
-
Benjamin Hättasch authored
This is necessary since django-bootstrap4 expects a bootstrap javascript version that already includes popper Bump jquery to 3.5.1 Bump bootstrap to 4.6.0 Remove separate popper lib Adjust paths in settings. This also makes sure that the local jquery version is always used, which was previously not the case for admin views that depended on code.jquery.com Remove explicit popper loading that was introduced in 2c359090 to mitigate the effects of the update in c0b3478c
-
- May 06, 2021
-
-
Nadja Geisler authored
Fix displayed duration for slots See merge request !97
-
- May 05, 2021
-
-
Benjamin Hättasch authored
Previously, a slot duration of exactly one hour was shown as "1: 0" instead of "1:00"
-
Benjamin Hättasch authored
-
Nadja Geisler authored
Fix several javascript issues Closes #121 See merge request !96
-
Benjamin Hättasch authored
Make sure popper frontend dependency is always loaded before bootstrap script files load This fixes #121 as well as issues in admin interface (scheduling and track management) Make track management javascript more robust (this resolves an issue occurring when moving an AK with track back to list of AKs without tracks)
-
- May 04, 2021
-
-
Nadja Geisler authored
-
Nadja Geisler authored
-
- May 03, 2021
-
-
Nadja Geisler authored
Improve admin (faster loading, restriction of foreign key & m2m choices) Closes #106 See merge request !94
-
Restrict choices (foreign keys & m2m) in admin forms to other objects of the event of the edited instance Additionally, improve how requirements are shown for AK admin (multiple checkboxes instead of multiselect widget)
-
This reduces the amount of queries from over 450 for a full list (100 entries) to about 50, resulting in a drop of execution time from about 20 seconds to less than one second This fixes #106
-
Nadja Geisler authored
Wizard for event creation and configuration Closes #88 See merge request !88
-