1. 01 Jun, 2019 1 commit
    • Alexandre Lanceart's avatar
      feat(site): CGU/RGPD requierements & ban user · 6f07c0ea
      Alexandre Lanceart authored
      * Added the necessary behavior to require the validation of CGU and RGPD.
      * Added matching tests for this
      * Added the possibility to ban users
      * Also fixed the API Viewsets so that they can be registered like any model viewset
      
      Fixes #121
      Fixes #122
      6f07c0ea
  2. 24 May, 2019 1 commit
    • Florent Chehab's avatar
      enhance(request security): · c2c2f7d4
      Florent Chehab authored
      * Updated all DRF custom permissions to make sure they have has_permission and has_object_permission
      * Changed default permission
      * Updated middleware to filter incomming request based on their type
      * Added test for this
      
      Closes #118
      c2c2f7d4
  3. 05 Apr, 2019 1 commit
    • Florent Chehab's avatar
      feat(user page) 🍾 & fixes 🎊: · 6ce40dc9
      Florent Chehab authored
      * Added a user page to show user information
      * Updated backend to handle the new data
      * Added backend test related to this
      * User can now be anonymous
      * NB: only users with level == authenticated user can be anonymous on the site
      * Backend serializers updated to return the pseudonyme of the user
      * Added a boolean field form element
      
      Fixes #64 #65
      
      Other fixes:
      
      * Added basic test for userData
      * Fixed bug in ReadOnly permission
      * Fixed typos/bugs in new CrudActions
      * Enhance fields declaration in abstract serializers
      * Changed jsx linting rules
      * Moved generic editors files
      * Updated network errors handling
      6ce40dc9