1. 24 Feb, 2019 1 commit
  2. 12 Dec, 2018 1 commit
  3. 28 Nov, 2018 1 commit
  4. 10 Oct, 2018 2 commits
  5. 27 Aug, 2018 1 commit
  6. 13 Jun, 2018 1 commit
  7. 17 Oct, 2017 1 commit
  8. 16 Oct, 2017 1 commit
  9. 11 Oct, 2017 1 commit
  10. 27 Sep, 2017 1 commit
  11. 22 Sep, 2017 1 commit
  12. 21 Sep, 2017 1 commit
    • Sébastiaan Versteeg's avatar
      Refactor events app frontend logic · b6af0bdb
      Sébastiaan Versteeg authored
      - Put admin views in a separate file
      - Move creation/updating/cancelling of registrations to services.py
      - Create classes for all frontend views so that these are class-based
      - Make small changes to registration behaviour and urls (update form now loads using get)
      - Make small changes to model methods: change some into properties or remove them in total and add new ones for better global usage
      - Add API for registrations
      
      Use event instead of event pk for
      
      Add is_registration_allowed
      
      Do not use status for is_registration_allowed
      
      Rename is_registration_allowed, add cancellation_allowed and tests
      
      Completely remove event 'status'
      
      Catch DoesNotExist exceptions
      
      Fix tests and PEP8
      
      Rename is_registration_allowed to _is_registration_allowed
      
      Move event attendance check to member model
      
      Remove status property from events
      
      Fix API fields
      
      Add deprecated status field to events serializer
      
      Fix event_id to pk
      
      Fix serializers and viewsets
      
      Change errors of update_registration
      
      Make  a default empty hidden field
      
      Fix fields in admin
      
      Return latest data after update
      
      Add tests for API
      
      Fix all_present
      
      Fix services create registration return
      b6af0bdb