- 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
-
- 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
* Documentation of backend specific things * Docuentation of the use of redux in the frontend * Cleaned documentation elsewhere Related to #74
-