1. 27 Sep, 2017 1 commit
  2. 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
  3. 05 Jul, 2017 1 commit
  4. 10 May, 2017 1 commit
  5. 19 Apr, 2017 2 commits
  6. 05 Apr, 2017 1 commit
  7. 03 Apr, 2017 1 commit
  8. 02 Apr, 2017 1 commit
  9. 31 Mar, 2017 1 commit
  10. 15 Mar, 2017 2 commits
  11. 27 Feb, 2017 1 commit
    • Thom Wiggers's avatar
      Speed up tests · 4f00c56c
      Thom Wiggers authored
      Now we're using `setUpTestData` more, not running some slow code,
      using MD5 hashes for speed, and using bulk_create.
      Also removes some dead code.
  12. 23 Feb, 2017 1 commit