- 01 Jul, 2019 1 commit
-
-
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
-
- 30 Jun, 2019 1 commit
-
-
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
-
- 23 Jun, 2019 1 commit
-
-
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
-
- 05 Apr, 2019 1 commit
-
-
Florent Chehab authored
* 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 jsx linting rules * Moved generic editors files * Updated network errors handling
-
- 31 Mar, 2019 1 commit
-
-
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
-
- 30 Mar, 2019 2 commits
-
-
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
-
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
-
- 23 Mar, 2019 1 commit
-
-
Florent Chehab authored
* Added new BaseModel /serializer/viewsets * Change names of abstract models/serializers/viewsets * Folder structure changed in tha backend * Added some backend test * Corrected bug related to moderation on non versionned modeles * Corrected bug related to no post permissions * Updated doc accordingly Fixes #91
-
- 17 Mar, 2019 1 commit
-
-
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`)
-
- 16 Mar, 2019 1 commit
-
-
Florent Chehab authored
Some of them were simply removed, oter were fixed. From now on, the use of TODO is not permitted in the code.
-
- 10 Mar, 2019 1 commit
-
-
Florent Chehab authored
Added has_pending_moderation attribute Tests also updated
-
- 26 Feb, 2019 3 commits
-
-
Florent Chehab authored
Also: fixed self.user not being set anymore
-
Florent Chehab authored
-
Florent Chehab authored
-
- 24 Feb, 2019 1 commit
-
-
Florent Chehab authored
-
- 08 Feb, 2019 2 commits
-
-
Florent Chehab authored
Closes #44
-
Florent Chehab authored
Repo structure complete redesign Fixes #38
-
- 15 Sep, 2018 2 commits
-
-
Florent Chehab authored
-
Florent Chehab authored
Update backend : added FORCE_FULL_DISPLAY in serializer to return pending moderation elements as they are needed for the frontent in group view
-
- 14 Sep, 2018 1 commit
-
-
Florent Chehab authored
- comparaison when retreiving pending moderation wasn't done on the right elements - Saving revision was done with user from request instead of updated by !
-
- 13 Sep, 2018 1 commit
-
-
Florent Chehab authored
-
- 11 Sep, 2018 1 commit
-
-
Florent Chehab authored
and return model
-
- 10 Sep, 2018 2 commits
-
-
Florent Chehab authored
Cleared migrations added LIST_SHOULD_BE_DETAIL in MyModelViewSet cleaned get_viewset_permissions
-
Florent Chehab authored
-
- 05 Sep, 2018 1 commit
-
-
Florent Chehab authored
-
- 04 Sep, 2018 1 commit
-
-
Florent Chehab authored
-
- 02 Sep, 2018 6 commits
-
-
Florent Chehab authored
-
Florent Chehab authored
-
Florent Chehab authored
-
Florent Chehab authored
-
Florent Chehab authored
-
Florent Chehab authored
-
- 29 Aug, 2018 2 commits
-
-
Florent Chehab authored
-
Florent Chehab authored
-
- 28 Aug, 2018 2 commits
-
-
Florent Chehab authored
-
Florent Chehab authored
-
- 27 Aug, 2018 1 commit
-
-
Florent Chehab authored
-
- 26 Aug, 2018 2 commits
-
-
Florent Chehab authored
-
Florent Chehab authored
-
- 25 Aug, 2018 1 commit
-
-
Florent Chehab authored
Need to clean it and to add test for when moderation is not activated.
-