Skip to content
Snippets Groups Projects
  1. May 15, 2023
    • Benjamin Hättasch's avatar
      Introduce detail and edit URLs as properties in AK model · a39a5311
      Benjamin Hättasch authored and Nadja Geisler's avatar Nadja Geisler committed
      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
      a39a5311
  2. Mar 24, 2023
    • Benjamin Hättasch's avatar
      Fix and improve tests · 82d6ede2
      Benjamin Hättasch authored
      Make sure the custom add forms for event and room are correctly tested
      82d6ede2
    • Benjamin Hättasch's avatar
      Improve virtual rooms · f894e1a8
      Benjamin Hättasch authored
      Use One2One relationship instead of inheritance
      This allows to add and also remove the virtual features of a room
      
      Introduce new model
      Create migrations to migrate from existing to new model + a squashed version knowing only about the new model for fresh installations
      Adapt admin views
      Add django-betterforms as dependency to simply create a form allowing to generate rooms with optionally a virtual component in a single view and create that form
      Add view to create rooms in that view and use instead of default django creation form
      Use the new name/structure in templates
      Move RoomForm to forms.py to make imports easier
      Update batch creation of rooms
      
      This resolves #150 and also resolves #179 since now rooms and virtual rooms (rooms with virtual features) are created using the same view
      f894e1a8
  3. Jan 04, 2023
  4. Jan 03, 2023
    • Benjamin Hättasch's avatar
      Upgrade django and other python dependencies · 26423909
      Benjamin Hättasch authored
      Upgrade django to 4.1
      Upgrade django-timezone-field, django-simple-history, django-debug-toolbar and django-bootstrap-datepicker-plus
      Upgrade mysqlclient
      Remove obsolete pytz
      Adapt timezone handling code to new interface of TimezoneInfo (part of python since 3.9 and backport included in 3.8)
      Drop support for python 3.7 (since Django 4 requires >= 3.8)
      26423909
    • Benjamin Hättasch's avatar
      Upgrade to fontawesome 6 · 2455da83
      Benjamin Hättasch authored
      Use official fontawesome django app for static file handling
      Switch to fork/new version of django-bootstrap (for icon field and rendering shortcuts)
      Add migration to bump icon field of dashboard buttons to new version
      Update templates to load new app and use new tags
      2455da83
  5. Jan 02, 2023
  6. Jan 01, 2023
  7. Dec 26, 2022
  8. Dec 25, 2022
  9. Dec 06, 2022
  10. Dec 04, 2022
  11. Dec 03, 2022
  12. Dec 02, 2022
  13. Nov 30, 2022
  14. Nov 28, 2022
  15. Nov 27, 2022
  16. Nov 26, 2022
  17. Oct 23, 2022
    • Benjamin Hättasch's avatar
      Introduce intermediate page for plan publishing · f444f3a6
      Benjamin Hättasch authored
      Use action with intermediate page instead of direct action for publishing and unpublishing of plans
      This allows to create a link on the events detail page and on the status page to change the plans visibility
      Add link to detail view
      Visualize plan visibility on status page and allow to toggle it from there
      This implements the final function of #159
      f444f3a6
    • Benjamin Hättasch's avatar
      Increase performance · 0bc73445
      Benjamin Hättasch authored
      Move loop-based action code to mixin that will only be used when more complex actions should be performed
      Use queryset update function on existing actions to perform the necessary updating in only one db call instead of one query per entity
      Additionally, visualize manually_resolved status in admin interface of CV
      0bc73445
Loading