1. 23 Jun, 2019 6 commits
    • Florent Chehab's avatar
      fixed ci · 0d9b64a9
      Florent Chehab authored
      0d9b64a9
    • Florent Chehab's avatar
      done · a42e8bd3
      Florent Chehab authored
      a42e8bd3
    • Florent Chehab's avatar
      Enhanced front · 4ccf5a3b
      Florent Chehab authored
      4ccf5a3b
    • Florent Chehab's avatar
      Front wip · 580fd5d0
      Florent Chehab authored
      580fd5d0
    • Florent Chehab's avatar
      back ready · 7a7776d9
      Florent Chehab authored
      7a7776d9
    • Florent Chehab's avatar
      feat(previous departure feedbacks): presentation & edit done 🎉 | Tones of tweaks · de3c1897
      Florent Chehab authored
      Previous exchange feedbacks:
      * renamed some fields
      * added would recommend field in course feedback
      * uniformized 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 #32
      de3c1897
  2. 22 Jun, 2019 1 commit
  3. 16 Jun, 2019 1 commit
    • Florent Chehab's avatar
      feat(rgpd/cgu): everything is ready · b89d8b63
      Florent Chehab authored
      * 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
      b89d8b63
  4. 15 Jun, 2019 1 commit
    • Florent Chehab's avatar
      feat(Recommendation List): done | tweaks(a lot of stuff): · 2f3e6bb6
      Florent Chehab authored
      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 SaveButton
      2f3e6bb6
  5. 02 Jun, 2019 1 commit
    • Florent Chehab's avatar
      feat(frontend): general improvements · 8f668e77
      Florent Chehab authored
      * 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 / styles
      8f668e77
  6. 01 Jun, 2019 3 commits
    • Solene Aboud's avatar
      feat(recommendation list): back & front almost done · 2e1e841b
      Solene Aboud authored
      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
      2e1e841b
    • Alexandre Lanceart's avatar
      feat(external data): loading currencies · 6cad83dd
      Alexandre Lanceart authored
      * 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
      6cad83dd
    • Alexandre Lanceart's avatar
      feat(site): CGU/RGPD requierements & ban user · 6f07c0ea
      Alexandre Lanceart authored
      * 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
      6f07c0ea
  7. 26 May, 2019 1 commit
  8. 25 May, 2019 1 commit
    • Segolene Brisemeur's avatar
      feature(language storing) · 59c8c491
      Segolene Brisemeur authored
      * 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)
      59c8c491
  9. 24 May, 2019 2 commits
    • Florent Chehab's avatar
      enhance(request security): · c2c2f7d4
      Florent Chehab authored
      * 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
      c2c2f7d4
    • Florent Chehab's avatar
      Feature(self hosted map tiles): · 7dc6e615
      Florent Chehab authored
      * 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
      7dc6e615
  10. 11 May, 2019 2 commits
    • Florent Chehab's avatar
      Feature(deploy config) & tweaks · 6e2273e3
      Florent Chehab authored
      * 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
      6e2273e3
    • Alexandre Lanceart's avatar
      feature(filter) · d1e7419f
      Alexandre Lanceart authored
      * 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
      d1e7419f
  11. 04 May, 2019 1 commit
  12. 23 Apr, 2019 4 commits
  13. 22 Apr, 2019 1 commit
    • Florent Chehab's avatar
      refactor(smart actions parameters) : BREAKING & tweaks · d3681935
      Florent Chehab authored
      * Created `RequestedParams` class with builder to create request parameters object in a standard way,
      * All the generic actions only take an instance of this object now,
      * All dynamic parametrization of the request params now happens in `apiParams`
      * This enables an ultra smart magic piece of logic to auto refresh the data from the server if the props / state of the component has changed since the last request. (the requestParams object are now stored in the redux store and we can compare theme 😄 ). And also not to make duplicate queries.
      * Updated doc accordingly,
      
      Tweaks/fixes:
      * use of `lodash/isEqual` to deep compare objects
      * Removed now useless behiavor
      d3681935
  14. 21 Apr, 2019 2 commits
    • Florent Chehab's avatar
      fix(new theme): links & other · 6b4719a2
      Florent Chehab authored
      * Change the way links are styled to handle multiline
      * Make sure the drawer menu closes on item click
      * Limit width of user info
      * Less flashy main menu icons
      6b4719a2
    • Florent Chehab's avatar
      Redesign(front theme) 🎨🎉 & tweaks (routing, etc.) · 4cfe777a
      Florent Chehab authored
      * Complete redesign of the frontend theme => mobile friendly++ 🎨🎉
      * Redesigned how the theme can be customized
      * (adapted the backend to store the theme correctly + testing)
      * Added a default theme for the app
      * Centralized routing in the APP for consistency
      * Quick fix to prevent rerendering on layout change in the university page
      
      (backend migration required)
      
      Fixes #19 #20
      4cfe777a
  15. 20 Apr, 2019 1 commit
    • Florent Chehab's avatar
      Enhance/fix(frontend): Error boundaries, routing, HOC · 84ffef76
      Florent Chehab authored
      * Added error boundaries on each page to prevent full crash of the app (through HOC).
      * Improved routing in the app, tabs on the university page are now identified.
      * Moved the University info consumer to cleaner HOC.
      * Fixed bug in CRUD actions error handling.
      * Updated doc about jetbrain "safe write"
      * Fixed package.json general declaration
      
      Fixes #111 #101 #114 #115
      84ffef76
  16. 17 Apr, 2019 1 commit
    • Florent Chehab's avatar
      Refactor(json validation): moved to standard json-schema · b9500eb2
      Florent Chehab authored
      * JSON validation in now performed against `json-schemas` which give a standard way of handling this.
      * All previous validation moved to new setup (`useful_links` field & `TaggedItem` in particular)
      * Tags handling slightly updated (schemas are now hardcoded in the app and not stored in db)
      * All new validators are unitested 🎉
      * A bit of documentation added
      
      ----
      * Bumped backend image to version 0.2.1 with new python packages requirements
      ----
      
      Fixes #112
      Mentions #113 #57
      b9500eb2
  17. 14 Apr, 2019 1 commit
    • Florent Chehab's avatar
      feat(production backend dockerfile) & enhanced(backend deps) & fix(userInfo bugs) · 7b30fd5f
      Florent Chehab authored
      * 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 🎉
      * 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 dockerfile
      7b30fd5f
  18. 13 Apr, 2019 3 commits
  19. 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
  20. 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
  21. 06 Apr, 2019 2 commits
  22. 05 Apr, 2019 1 commit