1. 30 Mar, 2019 1 commit
    • Florent Chehab's avatar
      refactor(backend): removed dynamic imports 🎊 · 243f43bf
      Florent Chehab authored
      * Removed all dynamic imports to have more standard Django infrastructre and ease future refactoring
      * Removed now useless config files
      * Returns the list of available endpoints to the frontend directly from the html
      * updated documentation accordingly
      
      Fixes #95
      243f43bf
  2. 24 Mar, 2019 2 commits
    • Florent Chehab's avatar
      feat(backend): refactor/cleaned/ infer get_serializer · 77cce1b1
      Florent Chehab authored
      * Cleaned all init files
      * Infer the serializer from the model instead of having it in the models
      * Updated the doc accordingly
      * Fixed typos
      
      Fixes #93
      Fixes #85
      77cce1b1
    • Florent Chehab's avatar
      fix(nb_versions): coherence · e283b5d6
      Florent Chehab authored
      * Added signal to catch version deletion and make sure nb_version in versioned models is coherent
      * Added test for this
      * Made sure pending moderation data (that was automatic) and versions are deleted when a model is deleted.
      * Added test for this.
      
      Fixes #84
      e283b5d6
  3. 23 Mar, 2019 1 commit
    • Florent Chehab's avatar
      feat(backend): complete refactoring of the backend · 4c12f242
      Florent Chehab authored
      * Added new BaseModel /serializer/viewsets
      * Change names of abstract models/serializers/viewsets
      * Folder structure changed in tha backend
      * Added some backend test
      * Corrected bug related to moderation on non versionned modeles
      * Corrected bug related to no post permissions
      * Updated doc accordingly
      
      Fixes #91
      4c12f242
  4. 17 Mar, 2019 1 commit
    • Florent Chehab's avatar
      feat(backend): huge redesign and simplification · 26e608b7
      Florent Chehab authored
      * Removed `model_config` from all models; updated `MyModelSerializer` to include a new `obj_info` field. Updated frontend to take the change into account. (Fixes #78)
      * Removed `get_viewset_permissions` from most viewsets and added a generic getter in `MyModelViewset`.
      * Added support for composable permissions classes :confetti\_ball: (Fixes #45)
      * Cleaned config files: separated the files; added `defaults.yaml`
      * Moved `shared` folder (content) to `backend.backend_app.config` (still accessible to frontend, but it's cleaner that way since this folder contains files concerning only the backend).
      * Performance update with caching some attributes;
      * Even cleaner backend dynamic imports (#46)
      * Added a good chunck of documentation related to the backend (#74)
      * Added checks (runned when server is started or indirectly with `make check_backend`)
      26e608b7
  5. 16 Mar, 2019 1 commit
    • Florent Chehab's avatar
      removed(all TODOs): · 0e4c1aef
      Florent Chehab authored
      Some of them were simply removed, oter were fixed.
      From now on, the use of TODO is not permitted in the code.
      0e4c1aef
  6. 10 Mar, 2019 8 commits
  7. 26 Feb, 2019 4 commits
  8. 24 Feb, 2019 1 commit
  9. 21 Feb, 2019 1 commit
  10. 08 Feb, 2019 2 commits