- May 12, 2021
-
-
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 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
-
-
Nadja Geisler authored
Introduce CSP and update js dependencies accordingly See merge request !98
-
- 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
-
Nadja Geisler authored
-
- Apr 30, 2021
-
-
Benjamin Hättasch authored
The wizard is used instead of the normal built-in creation workflow It consists of multiple steps to specify the most fundamental settings (especially the timezone), further settings, copying AKCategories and AKRequirements from existing events and activating the event once the basic configuration is done The steps after the creation (first two steps) can be skipped
-
Benjamin Hättasch authored
-
Nadja Geisler authored
Update timezone-field and add pytz to requirements, add matching migration See merge request !93
-
- Apr 29, 2021
-
-
Benjamin Hättasch authored
Previously, the version of pytz was not fixed. This could lead to problems when the list of timezones of the locally installed version of pytz differed from the list fixed in migration 0027 of AKModel. This commit therefore: * updates django-timezone-field to the newest version * Adds pytz with the current version to requirements.txt * Introduces a migration to reflect the changes in the internal timezone list of pytz (--('America/Godthab', 'GMT-03:00 America/Godthab'), ++('America/Nuuk', 'GMT-03:00 America/Nuuk'), --('Australia/Currie', 'GMT+11:00 Australia/Currie'))
-
Nadja Geisler authored
-
Nadja Geisler authored
-
Nadja Geisler authored
Introduce manage view for ak tracks Closes #112 See merge request !90
-
This view can be used to sort aks into tracks using drag and drop. You can also create new ak tracks or delete them. Add js dependency for drag and drop of lists. Activate add, update, delete methids to AKTrack API and update method to AK API. Add and link (on status page) new admin view for management. Add tags list property to AK model. Introduce translations for AKScheduling app. Update translations.
-
Nadja Geisler authored
Fix API detail views See merge request !89
-
Previously, the event from the url was not parsed correctly for API endpoints for individual AKs, AKRooms, etc. This led to self.event being None and the queryset being empty, hence the AK, AKRoom etc. could not be found by the API. This fix makes sure, the event is loaded as part of the API initialization for all endpoints and methods.
-
Nadja Geisler authored
Do not track changes of AK interest counter Closes #97 See merge request !86
-
Benjamin Hättasch authored
Add new view Link on status page
-
- Jan 29, 2021
-
-
Benjamin Hättasch authored
This fixes #97 Exclude interest_counter from AK history Prevent saving of history record when increasing interest counter Run the following action after applying the change/migration to remove existing duplicate history records (the ones without changes to tracked fields, hence caused by either saving without changing any field or especially the ones created due to changes of the now ignored interest_counter): python manage.py clean_duplicate_history AKModel.ak
-