- 23 Apr, 2019 3 commits
-
-
Florent Chehab authored
* No particular action wad required * Simply added some comments when no validators are present Fixes #113
-
Florent Chehab authored
* Activated react/jsx-indent-props * Reformatted code accordingly Not that many changes were required actualy :) Fixes #102
-
Florent Chehab authored
* Removed UserRestrictedModule (and associated models) from the project as it wasn't used (or will not be used) * Change the settings to make sure the admin of the site is also behind the CAS in production Fixes #81
-
- 22 Apr, 2019 1 commit
-
-
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
-
- 21 Apr, 2019 2 commits
-
-
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
-
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
-
- 20 Apr, 2019 1 commit
-
-
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
-
- 17 Apr, 2019 1 commit
-
-
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
-
- 14 Apr, 2019 1 commit
-
-
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
-
- 13 Apr, 2019 3 commits
-
-
-
Florent Chehab authored
* restored coverage reports in CI * Tweaked coverage ignored files
-
Florent Chehab authored
* Removed print from django settings * Re-Added doc images generation to the general pipeline to preven bug from reappearing on master
-
- 12 Apr, 2019 1 commit
-
-
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
-
- 07 Apr, 2019 3 commits
-
-
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.
-
Florent Chehab authored
* site fully working * Hope to solve the nasty bug of wrong variable due to webpack ?
-
* Add new models in backend : Course, CourseFeedback, Exchange, ExchangeFeedback * Begin front end for previous departure tab #29 in progress
-
- 06 Apr, 2019 2 commits
-
-
Florent Chehab authored
* Form level errors now go down to the fields in an awesome manner ! * Improved type hints in Field and Form Fixes #70
-
Florent Chehab authored
* Quick clean of js deps Fixes #99
-
- 05 Apr, 2019 2 commits
-
-
Florent Chehab authored
* The custom user model previously introduced can now be fully edited in the admin of the site.
-
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
-
- 24 Mar, 2019 7 commits
-
-
Florent Chehab authored
* Cleaned all init files * Infer the serializer from the model instead of having it in the models * Updated the doc accordingly * Fixed typos Fixes #93 Fixes #85
-
Florent Chehab authored
* Updated utils functions for currency conversion and getting symbol * Updated its used in the app Fixes #76
-
Florent Chehab authored
* Added signal to catch version deletion and make sure nb_version in versioned models is coherent * Added test for this * Made sure pending moderation data (that was automatic) and versions are deleted when a model is deleted. * Added test for this. Fixes #84
-
Florent Chehab authored
* Fixed bug with incorrect HTML structure rendered for code blocks in markdown Fixes #92
-
Florent Chehab authored
* Added all declinaison of favicon * Linked it in the html template * Updated folder structure for base_app static assets * Added credit section in the documentation * Credited author of the icon Fixes #89
-
Florent Chehab authored
* Cleaned main django settings file * Added an app specific settings file Fixes #90
-
Florent Chehab authored
* Prevent the use of var in JavaScript Fixes #82
-
- 23 Mar, 2019 2 commits
-
-
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
-
Florent Chehab authored
* Documentation of backend specific things * Docuentation of the use of redux in the frontend * Cleaned documentation elsewhere Related to #74
-
- 19 Mar, 2019 2 commits
-
-
Florent Chehab authored
Now runs the pipeline only once a MR is open. Fixes #83
-
Florent Chehab authored
We now wait for the necessary static files to be generated before collecting the static files in the backend. Fixes #88
-
- 18 Mar, 2019 1 commit
-
-
Florent Chehab authored
Fixes #86
-
- 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 4 commits
-
-
Florent Chehab authored
* Reorganized documentation folder * Rorganized documentation sidebar in browser * Added documentation about notifications in the frontend #74 * Tweaks Bonus: more readable docker-compose
-
Florent Chehab authored
-
Florent Chehab authored
-
Florent Chehab authored
-