Commits on Source (5)
-
Benjamin Hättasch authored
This way, the frontend views will be used when AKSubmission is installed and active, or otherwise the link to the built-in AK edit form in backend This reduces the coupling between AKSubmission and other apps that previously needed that app Use that new property in all places where previously an URL to the submission view was used (for consistency and to allow changes in one place in AKSubmission, too) This implements #166
-
Benjamin Hättasch authored
Move AKModel views into several subfiles to improve overview and resolve problems with circular imports Introduce new modular status page handling (widgets and views) Port main status page to new structure Move AK messages status page visualization to AKSubmission (therefore, they automatically do not show up when there is no possibility to create them) Introduce status widget for virtual rooms Fix timezone issue for rendering of AK messages on status page Adapt status page URL in several views and tests
-
Benjamin Hättasch authored
-
Benjamin Hättasch authored
This fixes #169
-
Benjamin Hättasch authored
Improve robustness of views against malformed/forged requests by checking whether the owner_id POST attribute is set before accessing it. This fixes #187
Showing
- AKDashboard/views.py 2 additions, 4 deletionsAKDashboard/views.py
- AKModel/admin.py 6 additions, 5 deletionsAKModel/admin.py
- AKModel/locale/de_DE/LC_MESSAGES/django.po 332 additions, 331 deletionsAKModel/locale/de_DE/LC_MESSAGES/django.po
- AKModel/metaviews/__init__.py 3 additions, 0 deletionsAKModel/metaviews/__init__.py
- AKModel/metaviews/admin.py 158 additions, 0 deletionsAKModel/metaviews/admin.py
- AKModel/metaviews/status.py 150 additions, 0 deletionsAKModel/metaviews/status.py
- AKModel/models.py 13 additions, 0 deletionsAKModel/models.py
- AKModel/templates/admin/AKModel/render_ak_messages.html 15 additions, 11 deletionsAKModel/templates/admin/AKModel/render_ak_messages.html
- AKModel/templates/admin/AKModel/requirements_overview.html 2 additions, 2 deletionsAKModel/templates/admin/AKModel/requirements_overview.html
- AKModel/templates/admin/AKModel/status.html 0 additions, 130 deletionsAKModel/templates/admin/AKModel/status.html
- AKModel/templates/admin/AKModel/status/event_aks.html 28 additions, 0 deletionsAKModel/templates/admin/AKModel/status/event_aks.html
- AKModel/templates/admin/AKModel/status/event_categories.html 14 additions, 0 deletionsAKModel/templates/admin/AKModel/status/event_categories.html
- AKModel/templates/admin/AKModel/status/event_overview.html 14 additions, 0 deletionsAKModel/templates/admin/AKModel/status/event_overview.html
- AKModel/templates/admin/AKModel/status/event_requirements.html 14 additions, 0 deletions...el/templates/admin/AKModel/status/event_requirements.html
- AKModel/templates/admin/AKModel/status/event_rooms.html 15 additions, 0 deletionsAKModel/templates/admin/AKModel/status/event_rooms.html
- AKModel/templates/admin/AKModel/status/status.html 40 additions, 0 deletionsAKModel/templates/admin/AKModel/status/status.html
- AKModel/templates/admin/ak_index.html 1 addition, 1 deletionAKModel/templates/admin/ak_index.html
- AKModel/tests.py 1 addition, 1 deletionAKModel/tests.py
- AKModel/urls.py 14 additions, 12 deletionsAKModel/urls.py
- AKModel/views/__init__.py 0 additions, 0 deletionsAKModel/views/__init__.py
This diff is collapsed.
AKModel/metaviews/__init__.py
0 → 100644
AKModel/metaviews/admin.py
0 → 100644
AKModel/metaviews/status.py
0 → 100644
AKModel/views/__init__.py
0 → 100644