Rex Dri merge requestshttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests2019-04-13T08:33:55Zhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/95Fixed(documentation generation):2019-04-13T08:33:55ZFlorent ChehabFixed(documentation generation):* Removed print from django settings
* Re-Added doc images generation to the general pipeline to preven bug from reappearing on master* Removed print from django settings
* Re-Added doc images generation to the general pipeline to preven bug from reappearing on masterhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/94setup(cleaned & debugging)2019-04-12T19:28:07ZFlorent Chehabsetup(cleaned & debugging)* **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
...* **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 fileshttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/93feat(docker, front): cleaner & more reproducible frontend2019-04-07T20:10:18ZFlorent Chehabfeat(docker, front): cleaner & more reproducible frontend* 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...* 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.
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/92bumped(jsDepencies):2019-04-07T17:01:25ZFlorent Chehabbumped(jsDepencies):* site fully working
* Hope to solve the nasty bug of wrong variable due to webpack ?* site fully working
* Hope to solve the nasty bug of wrong variable due to webpack ?https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/91Feedback courses2019-04-07T13:26:47ZSegolene BrisemeurFeedback courses* Add new models in backend : Course, CourseFeedback, Exchange, ExchangeFeedback
* Begin front end for previous departure tab
#29 WIP* Add new models in backend : Course, CourseFeedback, Exchange, ExchangeFeedback
* Begin front end for previous departure tab
#29 WIPSegolene BrisemeurSegolene Brisemeurhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/87feat(form errors):2019-04-06T19:40:39ZFlorent Chehabfeat(form errors):* Form level errors now go down to the fields in an awesome manner !
* Improved type hints in Field and Form
Fixes #70* Form level errors now go down to the fields in an awesome manner !
* Improved type hints in Field and Form
Fixes #70https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/86fix(js deps):cleaning2019-04-06T12:41:45ZFlorent Chehabfix(js deps):cleaning* Quick clean of js deps
Fixes #99* Quick clean of js deps
Fixes #99https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/85feat(custom user model, admin)2019-04-05T21:06:16ZFlorent Chehabfeat(custom user model, admin)* The custom user model previously introduced can now be fully edited in the admin of the site.* The custom user model previously introduced can now be fully edited in the admin of the site.https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/84feat(user page) 🍾 & fixes 🎊2019-04-05T20:38:43ZFlorent Chehabfeat(user page) 🍾 & fixes 🎊* 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
* ...* 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 esx linting rules
* Moved generic editors files
* Updated network errors handling
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/83refactor(frontend api interactions)2019-03-31T18:01:31ZFlorent Chehabrefactor(frontend api interactions)* 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 b...* 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 #98https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/82feat(standard filtering, tweaks): REST Api and other2019-03-30T22:06:14ZFlorent Chehabfeat(standard filtering, tweaks): REST Api and other* 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 docum...* 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 #80https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/81refactor(backend): removed dynamic imports 🎊2019-03-30T13:12:32ZFlorent Chehabrefactor(backend): removed dynamic imports 🎊* 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 documentat...* 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 #95https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/80feat(backend): refactor/cleaned/ infer get_serializer2019-03-24T20:59:41ZFlorent Chehabfeat(backend): refactor/cleaned/ infer get_serializer* 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* 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 #85https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/79fix(currencyConversion): no more crash when currency is unknown2019-03-24T18:55:17ZFlorent Chehabfix(currencyConversion): no more crash when currency is unknown* Updated utils functions for currency conversion and getting symbol
* Updated its used in the app
Fixes #76* Updated utils functions for currency conversion and getting symbol
* Updated its used in the app
Fixes #76https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/78fix(nb_versions): coherence2019-03-24T17:52:58ZFlorent Chehabfix(nb_versions): coherence* 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 te...* 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 #84https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/77fix(markdown, front): no bug in rendering code2019-03-24T10:28:09ZFlorent Chehabfix(markdown, front): no bug in rendering code* Fixed bug with incorrect HTML structure rendered for code blocks in markdown
Fixes #92* Fixed bug with incorrect HTML structure rendered for code blocks in markdown
Fixes #92https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/76feat(favicon): added website favicon2019-03-24T10:13:06ZFlorent Chehabfeat(favicon): added website favicon* Added all declinaison of favicon
* Linked it in the html template
* Updated folder structure for base_app static assets
* Added credit section in the documentation
* Credited author of the icon
Fixes #89* Added all declinaison of favicon
* Linked it in the html template
* Updated folder structure for base_app static assets
* Added credit section in the documentation
* Credited author of the icon
Fixes #89https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/75fix(django settings): cleaned and separated2019-03-24T09:26:44ZFlorent Chehabfix(django settings): cleaned and separated* Cleaned main django settings file
* Added an app specific settings file
Fixes #90* Cleaned main django settings file
* Added an app specific settings file
Fixes #90https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/74fix(frontend linting): var now forbidden2019-03-24T08:44:57ZFlorent Chehabfix(frontend linting): var now forbidden* Prevent the use of var in JavaScript
Fixes #82* Prevent the use of var in JavaScript
Fixes #82https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/73Fix/more thorough use of django models2019-03-24T10:58:26ZFlorent ChehabFix/more thorough use of django models