1. 21 Sep, 2019 1 commit
    • Florent Chehab's avatar
      done(frontend hookification) · 68b28c07
      Florent Chehab authored
      * Hookified all fields
      * Hookified all service components
      * Hookified Downshift multiple
      * Hookified maps
      (remaining class components are a bit harder to hookify)
      
      * **Big update to custom hooks replacing redux to make sure there is no bugs**
      
      * Reoganized scholarship & fixed creation bugs
      * onSave instead of invalidateGroup in moduleGroupWrapper
      * Fixed currency bugs
      * Fixed editor not invalidating data on save
      * Fixed duplicate requests
      * Change link style, to something more normal
      * Cleaned conditionnal jsx
      
      Fixes #126
      68b28c07
  2. 18 Sep, 2019 1 commit
  3. 17 Sep, 2019 1 commit
  4. 16 Sep, 2019 1 commit
  5. 09 Sep, 2019 1 commit
  6. 08 Sep, 2019 3 commits
  7. 04 Sep, 2019 4 commits
  8. 02 Sep, 2019 3 commits
  9. 01 Sep, 2019 1 commit
  10. 25 Aug, 2019 1 commit
  11. 23 Aug, 2019 3 commits
  12. 25 Jul, 2019 1 commit
  13. 14 Jul, 2019 1 commit
    • Florent Chehab's avatar
      hotFix(front crash on missing course code) & refacto(moduleHeader as component) & Tweaks · dc264b86
      Florent Chehab authored
      Hot fix:
      * Front was crashing on course sort when a course didn't have a code.
      
      Refacto:
      * Changed module header subfunctions to concrete components,
      
      Tweaks:
      * tabs on the university page are now centered on smaller devices,
      * Removed react swipeable from search for performance,
      * Changed search pagination to progress for better long list support,
      * Smaller univ name on the edit feedback page,
      * Fixed wording unlinked partners for singular vs plural,
      * Allow disabled items in SimpleFormMenu,
      
      Other:
      * Removed univ logo from edit form, not supported yet,
      dc264b86
  14. 13 Jul, 2019 1 commit
    • Florent Chehab's avatar
      tweaks( => v0.9.3): front filter & load prod · 8bd21217
      Florent Chehab authored
      * Front Filter: default to the last 4 semesters available
      * Tweaked load prod, removed load universities
      * Tweaked loadUniversitiesProd to more correctly update universities
      * Fixed scholarship not displaying max amount in some cases
      * Added link from edit previous departure feedback to university
      8bd21217
  15. 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
  16. 02 Jul, 2019 1 commit
    • Florent Chehab's avatar
      fixes(=>v0.9.1) · 58094660
      Florent Chehab authored
      * increase UWSGI buffer size
      * Fixed feedback invalidation on edit
      * cleaner scholarships presentation
      * Fixed missing arg in cron
      * Fixed typos
      * lighter empty feedbacks
      * cleaner notifications
      
      Closes #141 #140
      58094660
  17. 01 Jul, 2019 3 commits
    • Florent Chehab's avatar
      fix(frontend) · 1e5f9d9f
      Florent Chehab authored
      1e5f9d9f
    • Florent Chehab's avatar
    • 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
  18. 30 Jun, 2019 4 commits
    • Florent Chehab's avatar
      Feature(cover photo): setup ground · abbba24b
      Florent Chehab authored
      * Setup ground for cover photo. Merged early for beta.
      * Models updated to use files
      * Fixed file/picture serializers
      * CoverGallery component updated
      * Added fileField  / pageFiles / Picture / Picture editor & tweaked crud actions to be able to post data (would need further testing)
      * Fixed general info tab elements size
      
      * TODOs are identified by WARNING
      
      WIP #50
      abbba24b
    • Florent Chehab's avatar
      feat(more complex filters) · 638abfbf
      Florent Chehab authored
      * 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
      638abfbf
    • Florent Chehab's avatar
      feat(sharedUnivFeedback): back & front | Tweaks · 048144cc
      Florent Chehab authored
      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 data
      048144cc
    • Florent Chehab's avatar
      Feat(pagination) & Feat(filter previous exchanges) · 80323181
      Florent Chehab authored
      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 #123
      80323181
  19. 29 Jun, 2019 2 commits
    • Florent Chehab's avatar
      Finish(external data): cron, mapping, offers, etc. · 9fa79975
      Florent Chehab authored
      * 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
      9fa79975
    • Segolene Brisemeur's avatar
      feat(external_data): load utc · cfb80538
      Segolene Brisemeur authored
      * 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
      cfb80538
  20. 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
  21. 23 Jun, 2019 2 commits
    • Florent Chehab's avatar
      feat(SiteInformation): back & front + tweaks · ae65342b
      Florent Chehab authored
      * 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
      ae65342b
    • 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
  22. 22 Jun, 2019 1 commit
  23. 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
  24. 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