Rex Dri merge requestshttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests2019-09-04T09:10:42Zhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/153Feat(front): switch full screen service created, dropped redux for this.2019-09-04T09:10:42ZFlorent ChehabFeat(front): switch full screen service created, dropped redux for this.* Created `FullScreenDialogService` to handle the opening / closing of the full screen dialog, instead of redux.
* (updated `FullScreenDialog` back to class to be able use it with the component).
* Fixes bug related to tips and tricks ...* Created `FullScreenDialogService` to handle the opening / closing of the full screen dialog, instead of redux.
* (updated `FullScreenDialog` back to class to be able use it with the component).
* Fixes bug related to tips and tricks from last MR.
Fixes #163https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/119feat(frontend): general improvements2019-06-02T12:22:47ZFlorent Chehabfeat(frontend): general improvements* Final touch to truncated markdown
* A bit of reorganization and hookification
* Fixed tabbar position on university page
* Change mobile phone notification bar color
* WIP responsiveness in course feedback
* Shared parameters and ...* Final touch to truncated markdown
* A bit of reorganization and hookification
* Fixed tabbar position on university page
* Change mobile phone notification bar color
* WIP responsiveness in course feedback
* Shared parameters and HOC for pages / styleshttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/131feat(more complex filters)2019-06-30T16:03:50ZFlorent Chehabfeat(more complex filters)* Added denormalized data about semesters, majors and minors in university model
* added function to compute it
* Added function to cron
* new FilterHandler in the front to handle / cache the filtering
* Tweaked map and search compo...* Added denormalized data about semesters, majors and minors in university model
* added function to compute it
* Added function to cron
* new FilterHandler in the front to handle / cache the filtering
* Tweaked map and search components to display the right stuff
* Map now displays in a different color the elements that have been filtered
* Renamed spacilities field to majors
* Fixed bugged in downshift multiple (couldn't add same after delete)
* Deleted useless code in offer
Linked to #31 https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/129Feat(pagination) & Feat(filter previous exchanges)2019-06-30T07:59:04ZFlorent ChehabFeat(pagination) & Feat(filter previous exchanges)Pagination:
* Paginated endpoints for offers and previous exchanges,
* Added front component to display paginated data,
* Display offer in the front
Filter on previous exchanges:
* Added a denormalized model to store information
...Pagination:
* Paginated endpoints for offers and previous exchanges,
* Added front component to display paginated data,
* Display offer in the front
Filter on previous exchanges:
* Added a denormalized model to store information
* Compute it in cron and in transaction
* Filter in front
Closes #123https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/124feat(previous departure feedbacks): presentation & edit done 🎉 | Tones of t...2019-06-23T14:58:48ZFlorent Chehabfeat(previous departure feedbacks): presentation & edit done 🎉 | Tones of tweaksPrevious exchange feedbacks:
* renamed some fields
* added would recommend field in course feedback
* uniformaized grading scheme
* Added viewsets/serializers in the back (+permissions & performance concerns)
* Support edit in the f...Previous exchange feedbacks:
* renamed some fields
* added would recommend field in course feedback
* uniformaized grading scheme
* Added viewsets/serializers in the back (+permissions & performance concerns)
* Support edit in the front
Tweaks:
* directly return in the `obj_info` if the model is versioned or not
* Added support for required get parameters
* enum for model moderation level
* More versatile metric feedback component
* Fixed how the editor (frontend component) was telling if something has been moderated
* Added a CURRENT_USER variable instead of using the one from html directly
* Diminished website font-size
* Better proptypes / defaultProps in fields
* Added optionnal comment text on fields
* Fixed the number field
* Added Helper classes to centralize the manipulation of redux store data
* Teaked pseudo/username returned by the api
Closes #29 #32https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/98feat(production backend dockerfile) & enhanced(backend deps) & fix(userInfo b...2019-04-14T17:14:53ZFlorent Chehabfeat(production backend dockerfile) & enhanced(backend deps) & fix(userInfo bugs)* Dropped the use of Pandas & updated loading scripts accordingly
* Separated python `requirements` files
* Updated Dockerfile to be able to also build a production ready image (without dev dependencies)
* Backend images size cut in more...* Dropped the use of Pandas & updated loading scripts accordingly
* Separated python `requirements` files
* Updated Dockerfile to be able to also build a production ready image (without dev dependencies)
* Backend images size cut in more than half :tada:
* Updated a bit the documentation related to Docker
* CI now depends on clear image tags
* Fixed the serializers of User and enhanced frontend of userinfo
* Fixed wrong compose in frontend
Fixes #108 #109 #104
Linked to #66 for new prod dockerfilehttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/118feat(recommendation list): back & front almost done2019-06-01T14:09:11ZSolene Aboudfeat(recommendation list): back & front almost doneBackend:
* Added recommendation list model
* Added smart serializers/viewsets for the model
* Added DRF permissions `IsFollower` and `IsPublic`
* Backend handling of following,
Frontend:
* Cleaned setup
* Textblock ready
* Bett...Backend:
* Added recommendation list model
* Added smart serializers/viewsets for the model
* Added DRF permissions `IsFollower` and `IsPublic`
* Backend handling of following,
Frontend:
* Cleaned setup
* Textblock ready
* Better save button
* List and view recommendation
Both:
Connected for creation and save of recommendation
Almost done #34 https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/121feat(Recommendation List): done | tweaks(a lot of stuff):2019-06-16T18:53:44ZFlorent Chehabfeat(Recommendation List): done | tweaks(a lot of stuff):Recommendation list:
* Focus on performance with silent state update (and no hook)
* Whole logic and componets working
* Updated few stuff in the back
* Complete validation of the recommendation list json content (and tests for most ...Recommendation list:
* Focus on performance with silent state update (and no hook)
* Whole logic and componets working
* Updated few stuff in the back
* Complete validation of the recommendation list json content (and tests for most of it)
* Compute universities from the JSON on save
Fixes #34
Fixse #127
Tweaks:
* Reworked downshift multiple
* Reworked selected and multislect field to use downshift multiple when there are too many options
* Fixed wrong used of do_before_save
* Drop use of redux for filter; switch to static handling of part of the state: much more natural
Fixes #125
Other:
New components: CopyToClipBoard, LinkToUser, onBlurContainer, SimplePopupMenu
Updated SaveButtonhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/97feat(recommendation list): frontend WIP2019-04-13T15:41:52ZSolene Aboudfeat(recommendation list): frontend WIPSolene AboudSolene Aboudhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/122feat(rgpd/cgu): everything is ready2019-06-16T16:10:16ZFlorent Chehabfeat(rgpd/cgu): everything is ready* Full handling of RGPD/CGU validation
* management command to clean user personnal data created
* Added RGPD and CGU as markdown in the documentation (also used in the front)
Front:
* Multiple entrypoints for the different needs
...* Full handling of RGPD/CGU validation
* management command to clean user personnal data created
* Added RGPD and CGU as markdown in the documentation (also used in the front)
Front:
* Multiple entrypoints for the different needs
* Added raw file loader
* bumped frontend image version
* More generic front template (for the multiple entries)
* Added NotFound Component
* More generic Markdown component (in regards to handling off-the-api situations and heading size)
Closes #67 https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/130feat(sharedUnivFeedback): back & front | Tweaks2019-06-30T09:35:22ZFlorent Chehabfeat(sharedUnivFeedback): back & front | TweaksShared Univ Feedback:
* back done
* Front done
* auto created on univ creation
Tweaks:
* added check_obj_permissions_for_edit to essential serializer to be able to deeper check permissions for user_can_edit
* Fixed ExchangePerm...Shared Univ Feedback:
* back done
* Front done
* auto created on univ creation
Tweaks:
* added check_obj_permissions_for_edit to essential serializer to be able to deeper check permissions for user_can_edit
* Fixed ExchangePermission to handle null student
* Visual simplification of previous exchanges with no datahttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/116feat(site): CGU/RGPD requierements & ban user2019-06-01T08:38:11ZAlexandre Lanceartfeat(site): CGU/RGPD requierements & ban user* 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
Fixe...* 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
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/125feat(SiteInformation): back & front + tweaks2019-06-23T19:56:40ZFlorent Chehabfeat(SiteInformation): back & front + tweaks* Update home page
* Display dynamic information on the home page (external data update and site informations)
* back and front for SiteInformation
* Footer with important information
* Notification on connect for import information
...* Update home page
* Display dynamic information on the home page (external data update and site informations)
* back and front for SiteInformation
* Footer with important information
* Notification on connect for import information
* Fixed markdown currency rounding
Closes #120 https://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/126feat(taggedItems): reworked, clean and operationnal & twaeked(site informatio...2019-06-26T21:51:42ZFlorent Chehabfeat(taggedItems): reworked, clean and operationnal & twaeked(site information): added notification parameterWARNING:
* Clean ALL migrations files as there were to many issues during the cleaning of taggedModels,
Tagged Items:
* Only for university and country now
* Auto creation on university/country creation
* Front operationnal
* Rem...WARNING:
* Clean ALL migrations files as there were to many issues during the cleaning of taggedModels,
Tagged Items:
* Only for university and country now
* Auto creation on university/country creation
* Front operationnal
* Removed tag models and abstract tagged item
Site Information:
* Added a `should_notify` boolean to the model/front
Other:
* Added a default bot user
* Fixed timezone warning in the back
* Clean signals setup
* Fixed proptypes of Fields in the front
* Added HiddenField
* Deleted now useless files
Closes #30 #58 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/189Feat/188/update front deps & release v2.5.02020-05-17T18:14:48ZFlorent ChehabFeat/188/update front deps & release v2.5.0* Updated frontend deps
* Updated frontend docker image
* Updated code accordingly
* Styled code with new prettier version
* Optimized a bit docker / docker-compose / ci with mv instead of cp
Relates to #188 (front deps update)* Updated frontend deps
* Updated frontend docker image
* Updated code accordingly
* Styled code with new prettier version
* Optimized a bit docker / docker-compose / ci with mv instead of cp
Relates to #188 (front deps update)PR-P20Florent ChehabFlorent Chehabhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/188Feat/Add checkbox for destinations opened filtering2020-05-11T19:10:19ZImane MisrarFeat/Add checkbox for destinations opened filteringAdd checkbox to only filter on open destinations
Breaking change: denormalized info shape has changed to recompute it after the rebase :
```
make shell_backend
./manage.py shell
from backend_app.models.university import update_den...Add checkbox to only filter on open destinations
Breaking change: denormalized info shape has changed to recompute it after the rebase :
```
make shell_backend
./manage.py shell
from backend_app.models.university import update_denormalized_univ_field
update_denormalized_univ_field()
```https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/179Feat/add checkbox for reviousExchanged filtering2020-04-26T13:51:58ZImane MisrarFeat/add checkbox for reviousExchanged filteringAdd checkbox to only show exchanges with feedback and reset filters only when you click on the buttonAdd checkbox to only show exchanges with feedback and reset filters only when you click on the buttonPR-P20Florent ChehabFlorent Chehabhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/182Feat/Add is_destination_open parameter in partner model2020-05-03T14:00:14ZImane MisrarFeat/Add is_destination_open parameter in partner modelAdd is_destination_open parameter in partner.py and add transaction in utils.py
Migrations will need to be applied:
```
./manage.py migrate
```
Relates to #148 Add is_destination_open parameter in partner.py and add transaction in utils.py
Migrations will need to be applied:
```
./manage.py migrate
```
Relates to #148 PR-P20Florent ChehabFlorent Chehab