1. 25 Jul, 2019 1 commit
  2. 03 Jul, 2019 1 commit
    • Florent Chehab's avatar
      tweaked(frontend) & CGU/RGPD · e5544326
      Florent Chehab authored
      Frontend:
      * Changed main app template to have previous exchange button write on top,
      * Moved my information for "information" to settings,
      * Tweaked map ratio
      * Don't render login indicator for notifier
      * Removed missing picture icon from cover picture
      
      CGU/RGPD:
      * Slight clarification and uniformization
      e5544326
  3. 01 Jul, 2019 1 commit
    • Florent Chehab's avatar
      🎉 feat(beta) 🎉 got ready, i.e. TWEAKS · f4549210
      Florent Chehab authored
      Beta time has come ! 🎉
      
      WARNING: migrations have been reset one last time!
      
      This MR concerns tones of little tweaks:
      
      Reviewed:
      * model moderation levels
      * serializers.meta.fields value
      * Viewset permissions
      * on_delete values
      
      Changed:
      * Update dark theme color
      * Added load prod base script
      * beta logo on website
      * Added missing about project markdown
      * Added RGPD notice to all forms
      * Put media files in a docker volume
      * More frequent currency exhange rates update
      
      Fixed:
      * Front handling of scholarships
      * Currencies conversion in the front
      * Front theme icons color
      * No default networks in prod docker compose to prevent nasty VM routing
      
      Closes #135 #119 #96
      f4549210
  4. 26 Jun, 2019 1 commit
    • Florent Chehab's avatar
      feat(taggedItems): reworked, clean and operationnal & twaeked(site... · 6a5274e8
      Florent Chehab authored
      feat(taggedItems): reworked, clean and operationnal & twaeked(site information): added notification parameter
      
      WARNING:
      * Cleaned 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
      6a5274e8
  5. 22 Jun, 2019 1 commit
  6. 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
  7. 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
  8. 01 Jun, 2019 1 commit
  9. 24 May, 2019 1 commit
    • 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 1 commit
    • 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
  11. 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
  12. 21 Apr, 2019 1 commit
    • 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 07 Apr, 2019 1 commit
    • 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
  18. 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
  19. 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
  20. 24 Mar, 2019 3 commits
  21. 23 Mar, 2019 2 commits
  22. 19 Mar, 2019 1 commit
  23. 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
  24. 16 Mar, 2019 4 commits
  25. 10 Mar, 2019 1 commit
  26. 26 Feb, 2019 1 commit
  27. 24 Feb, 2019 2 commits
  28. 11 Feb, 2019 2 commits
  29. 08 Feb, 2019 1 commit