Rex Dri merge requestshttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests2019-04-23T19:45:27Zhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/108enhanced(new theme, menus):2019-04-23T19:45:27ZFlorent Chehabenhanced(new theme, menus):* Added a logout option in the settings menu
* Centralized secondary menus definitions
* The menus in the drawer are now fully synced* Added a logout option in the settings menu
* Centralized secondary menus definitions
* The menus in the drawer are now fully syncedhttps://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/109Segolene feedback courses v22019-05-04T16:00:35ZSegolene BrisemeurSegolene feedback courses v2https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/111feature(filter)2019-05-11T06:39:00ZAlexandre Lanceartfeature(filter)* Filtering universities is now possible based on the country of the university
* Filters are synchronized between the map and the search page
Fixes #13
In progress: #31 * Filtering universities is now possible based on the country of the university
* Filters are synchronized between the map and the search page
Fixes #13
In progress: #31 https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/110Feature(deploy config) & tweaks2019-05-11T07:16:36ZFlorent ChehabFeature(deploy config) & tweaks* Deployment is now fully automated with docker / docker-compose (Backend served through uWSGI with Nginx)
* Logs are configured in django and handled by a dedicated docker service (and kept for 30 days)
* Frontend crash logging handle...* Deployment is now fully automated with docker / docker-compose (Backend served through uWSGI with Nginx)
* Logs are configured in django and handled by a dedicated docker service (and kept for 30 days)
* Frontend crash logging handled through the backend
* Quick documentation of the deploy setup
Fixes #110
Fixes #66
Also:
* Moved the `envs` directory to the more general `server` dir
* New Picture and File model/serializer/viewset added
* Image validator added (didn't use django image field as it wasn't supporting svg)
* Removed symbolink of assets from the frontend in the backend to make sure we can boot the server in no time
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/113Feature/self hosted map tiles2019-05-24T17:22:35ZFlorent ChehabFeature/self hosted map tiles* Added map tile server to docker-compose dev and prod
* Moved from leaflet to mapbox gl for vector tiles (changed npm dependencies)
* Custom map styles for light and dark mode
* Changed frontend map status saving (dropped redux / sim...* Added map tile server to docker-compose dev and prod
* Moved from leaflet to mapbox gl for vector tiles (changed npm dependencies)
* Custom map styles for light and dark mode
* Changed frontend map status saving (dropped redux / simpler static data saving)
Closes #117 https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/114enhance(request security):2019-05-24T19:53:05ZFlorent Chehabenhance(request security):* 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
Me...* 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
Mentions #96https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/112feature(language storing)2019-05-25T13:34:16ZSegolene Brisemeurfeature(language storing)* Added language model
* Added CSV data and loading script
* Language stored in course feedback
Fixes #116
Fixes #32 (Not really fixed, but language now store in feedback)* Added language model
* Added CSV data and loading script
* Language stored in course feedback
Fixes #116
Fixes #32 (Not really fixed, but language now store in feedback)https://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/117feat(external data): loading currencies2019-06-01T11:29:59ZAlexandre Lanceartfeat(external data): loading currencies* Added an app in the backend dedicated to the link with external data
* Create a command to update the data
* Support updating data from fixer
* Updated doc accordingly
Almost done #28 * Added an app in the backend dedicated to the link with external data
* Create a command to update the data
* Support updating data from fixer
* Updated doc accordingly
Almost done #28 https://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/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/115bumped(material-ui version) & Enhance(previous departure front)2019-06-02T17:15:43ZFlorent Chehabbumped(material-ui version) & Enhance(previous departure front)* Bumped material-UI to v4.0.0
* Fixed braking changes,
* Moved some components to React Hook along the way
* Fixed some bugs
* v0.4.0 of the frontend image,
---
Enhanced frontend of previous departure, still a WIP* Bumped material-UI to v4.0.0
* Fixed braking changes,
* Moved some components to React Hook along the way
* Fixed some bugs
* v0.4.0 of the frontend image,
---
Enhanced frontend of previous departure, still a WIPhttps://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/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/123Fix typo on `make` command in doc2019-06-22T19:15:23ZJulien JerphanionFix typo on `make` command in docChange `up-build` to `up`, as this latter command is present in the Makefile.
Note that the relative link at the end of the page:
```markdown
**Don't miss the other pages of the documentation, in particular [the one about loading 'init'...Change `up-build` to `up`, as this latter command is present in the Makefile.
Note that the relative link at the end of the page:
```markdown
**Don't miss the other pages of the documentation, in particular [the one about loading 'init' data in the app](init_data).**
```
is not converted properly in the final HTML page, but I don't know how it's done.https://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/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/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/120feat(external_data): load utc2019-06-29T09:44:07ZSegolene Brisemeurfeat(external_data): load utc* Updated models to closely match UTC db spec
* Updating loading data and tests to match
* Added UTC partner model
* Added class and command to fetch from the API on top of utc DB
Also:
* Removed department and Specialty models...* Updated models to closely match UTC db spec
* Updating loading data and tests to match
* Added UTC partner model
* Added class and command to fetch from the API on top of utc DB
Also:
* Removed department and Specialty models
* Added some denormalization and signals / custom save maintain coherence
Solves #53
WIP #28 https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/128Finish(external data): cron, mapping, offers, etc.2019-06-29T18:06:15ZFlorent ChehabFinish(external data): cron, mapping, offers, etc.* Setup cron to automatically update remote data
* Support partial (login based) utc data update
* Tweaked models to record untouched or unlincked situations
* take them into account in the front and the back,
* Auto creation of gene...* Setup cron to automatically update remote data
* Support partial (login based) utc data update
* Tweaked models to record untouched or unlincked situations
* take them into account in the front and the back,
* Auto creation of general feedback also
* Added info about unlinked utc partners in the front
* Added button to request update ent data
* Added university offer module to the front
Other:
* Tweaked loading scripts
* tweaked models
* Fixed SelectField
Closes #28