1. 13 Apr, 2019 1 commit
  2. 12 Apr, 2019 1 commit
    • Florent Chehab's avatar
      setup(cleaned & debugging) · 48a1e8ac
      Florent Chehab authored
      * **Added documentation regarding how to debug the backend and the frontend**
      * Updated webpack config to ease debugging (no more mimify) and a bit better production config
      * Added .env files to configure env variables in the project
      * Updated backend image to support .env files
      * Updated backend to use .env files
      * Updated CI settings accordingly
      * Added documentation about IDE setup
      * Removed `.vscode` folder from repo
      
      Fixes #106 #105 Linked to #66 for .env files
      48a1e8ac
  3. 07 Apr, 2019 3 commits
    • Florent Chehab's avatar
      feat(docker, front): cleaner & more reproducible frontend · ede12d36
      Florent Chehab authored
      * The frontend dependencies are now cached in the docker images itself
      * A little hack is used to restore them when needed ie: the `node_modules` folder is stored outside of the workdir and then brought in
      * Images are now versioned on the registry
      * The docker-compose file has been updated to use the new/versioned images.
      * The documentation has been updated.
      * And the Gitlab-CI has been tweaked.
      ede12d36
    • Florent Chehab's avatar
      bumped(jsDepencies): · 1badf978
      Florent Chehab authored
      * site fully working
      * Hope to solve the nasty bug of wrong variable due to webpack ?
      1badf978
    • Segolene Brisemeur's avatar
      feat(Feedback on courses): backend and frontend WIP · a01ff1ca
      Segolene Brisemeur authored
      * Add new models in backend : Course, CourseFeedback, Exchange, ExchangeFeedback
      * Begin front end for previous departure tab
      
      #29 in progress
      a01ff1ca
  4. 06 Apr, 2019 2 commits
  5. 05 Apr, 2019 2 commits
    • Florent Chehab's avatar
      feat(custom user model, admin) · d9a3b179
      Florent Chehab authored
      * The custom user model previously introduced can now be fully edited in the admin of the site.
      d9a3b179
    • 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
  6. 31 Mar, 2019 1 commit
    • Florent Chehab's avatar
      refactor(frontend api interactions) · da3d378b
      Florent Chehab authored
      * Complete redesign of the api actions / reducers,
      * Now makes use of Axios,
      * No more black magic,
      * Doc updated,
      
      BREAKING: All `...Specific` reducers results are no under `...One` and `readSpecific` moved to `readOne`
      
      Also,
      * Fixed bug regarding opposite user_can_moderate value returned by backend
      
      Fixes #98
      da3d378b
  7. 30 Mar, 2019 2 commits
    • Florent Chehab's avatar
      feat(standard filtering, tweaks): REST Api and other · 3a615383
      Florent Chehab authored
      * Filtering on client request should now be performed with the standard `?attr=...` syntaxe
      * Frontend updated for this new syntaxe
      * Backend and frontend documentation updated with new changes
      * Updated the location of the the api documentation to `/api-doc`
      * Fixed bug preventing api-doc to render
      * backend python requirements updated
      * Updated dockerfile / docker-compose to make sure we wait for the db
      
      Fixes #97 #80
      3a615383
    • 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
  8. 24 Mar, 2019 7 commits
  9. 23 Mar, 2019 2 commits
  10. 19 Mar, 2019 2 commits
  11. 18 Mar, 2019 1 commit
  12. 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
  13. 16 Mar, 2019 6 commits
  14. 10 Mar, 2019 9 commits