Rex Dri merge requests
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests
2019-09-04T08:31:33Z
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/152
refactoring(front): new way to use data from backend (not yet used everywhere...
2019-09-04T08:31:33Z
Florent Chehab
refactoring(front): new way to use data from backend (not yet used everywhere) & tweaks
* Created new hook useSingleApiData
* Created new hoc withNetworkWrapper
* Converted some components to use the new setup
* Added new services for common data (helpers should later be merged in the services)
* Few bugs in search and ...
* Created new hook useSingleApiData
* Created new hoc withNetworkWrapper
* Converted some components to use the new setup
* Added new services for common data (helpers should later be merged in the services)
* Few bugs in search and tips and tricks (need other refactoring to be fixed)
etc.
WIP #126 #131
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/153
Feat(front): switch full screen service created, dropped redux for this.
2019-09-04T09:10:42Z
Florent Chehab
Feat(front): switch full screen service created, dropped redux for this.
* Created `FullScreenDialogService` to handle the opening / closing of the full screen dialog, instead of redux.
* (updated `FullScreenDialog` back to class to be able use it with the component).
* Fixes bug related to tips and tricks ...
* Created `FullScreenDialogService` to handle the opening / closing of the full screen dialog, instead of redux.
* (updated `FullScreenDialog` back to class to be able use it with the component).
* Fixes bug related to tips and tricks from last MR.
Fixes #163
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/154
feat(front): Created a notification service. Migrated all code to use it.
2019-09-04T12:12:54Z
Florent Chehab
feat(front): Created a notification service. Migrated all code to use it.
Fixes #161
Fixes #161
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/155
Clean(front): services / helpers
2019-09-04T16:39:36Z
Florent Chehab
Clean(front): services / helpers
* Merged all helpers into services.
* Changed the way services are initialized on app start.
* Cleaned Custom Component for API
Fixes #165
* Merged all helpers into services.
* Changed the way services are initialized on app start.
* Cleaned Custom Component for API
Fixes #165
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/156
feat(front): hookified modules & tweaks
2019-09-08T09:52:44Z
Florent Chehab
feat(front): hookified modules & tweaks
* tweaked service loading
* tweaked some presentation
More work on #126
* tweaked service loading
* tweaked some presentation
More work on #126
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/157
reafacto(front): cleaned renderCore and outside data related to module wrapper
2019-09-08T12:10:40Z
Florent Chehab
reafacto(front): cleaned renderCore and outside data related to module wrapper
Fixes #169
Fixes #130
Fixes #169
Fixes #130
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/158
refacto(front): more switch from custom component to hook & tweaks & bug fix
2019-09-08T18:29:55Z
Florent Chehab
refacto(front): more switch from custom component to hook & tweaks & bug fix
* Created new hooks to interact with the api
* Refactored filter
WIP #126 #131
* Created new hooks to interact with the api
* Refactored filter
WIP #126 #131
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/159
refacto(Front): more hookification
2019-09-09T06:55:16Z
Florent Chehab
refacto(Front): more hookification
WIP #126
WIP #126
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/160
redesign(form/editor/etc.)
2019-09-16T10:22:07Z
Florent Chehab
redesign(form/editor/etc.)
Huge redesign and cleaning of how edition is handled in the front.
* Created an alert service
* Hookified history and pending moderation
* Moved files around
* Form => form manager hold in a context
* Removed field mixins, make us...
Huge redesign and cleaning of how edition is handled in the front.
* Created an alert service
* Hookified history and pending moderation
* Moved files around
* Form => form manager hold in a context
* Removed field mixins, make use of services
* Cleaned a bit module wrapper and module group wrapper
* A bit of perf optimization with memo
Fixes #168 #170
WIP #126 #131
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/161
Removed(custom component for api)
2019-09-17T21:05:41Z
Florent Chehab
Removed(custom component for api)
* Dropped all uses of CustomComponent For Api from frontend
* Bug in offers, most likely due to react...
* Will switch to new setup to fetch data.
* Dropped all uses of CustomComponent For Api from frontend
* Bug in offers, most likely due to react...
* Will switch to new setup to fetch data.
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/162
dropped(redux)
2019-09-18T07:16:41Z
Florent Chehab
dropped(redux)
* No more redux in the app
* New hooks to handle sharing state/reducer and keep all subscribing components up to date
* External currencyService related stuff moved to service
* No more redux in the app
* New hooks to handle sharing state/reducer and keep all subscribing components up to date
* External currencyService related stuff moved to service
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/163
done(frontend hookification)
2019-09-21T16:51:54Z
Florent Chehab
done(frontend hookification)
* 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 i...
* 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
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/164
fix(previous exchange pagnination): order by ID also for deterministic pagina...
2020-01-11T09:18:54Z
Florent Chehab
fix(previous exchange pagnination): order by ID also for deterministic pagination
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/165
fix(frontend): history and todos
2020-01-12T16:09:33Z
Florent Chehab
fix(frontend): history and todos
* Testing a bit the new setup
* need to merge this
* Testing a bit the new setup
* need to merge this
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/167
Improve documentation for creating and restoring production database backup
2020-04-04T15:31:44Z
Florent Chehab
Improve documentation for creating and restoring production database backup
PR-P20
Florent Chehab
Florent Chehab
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/168
fix(CI): run on dev & gen doc on dev
2020-04-05T09:33:45Z
Florent Chehab
fix(CI): run on dev & gen doc on dev
Florent Chehab
Florent Chehab
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/169
Fixes: version display / moderation handling / 'global state' hooks / etc.
2020-04-13T09:22:02Z
Florent Chehab
Fixes: version display / moderation handling / 'global state' hooks / etc.
## Changes:
- [fix] backend ordering on versions endpoint
- [fix] frontend versions display
- [fix] frontend pending moderation and moderate
- [fix] frontend moved services Component up in the tree
- [fix] frontend fullscreen dialog: no...
## Changes:
- [fix] backend ordering on versions endpoint
- [fix] frontend versions display
- [fix] frontend pending moderation and moderate
- [fix] frontend moved services Component up in the tree
- [fix] frontend fullscreen dialog: no more memory leak / setState on unmounted component
- [feat] frontend added hooks: `useOnBeforeComponentMount`, `useOnComponentUnMount`
- [fix / refacto] frontend 'global state' hooks: no more setState on unmounted components.
## To test:
* Edition still works
* Displaying version (http://localhost:8000/app/university/203/general) correct order,
* Display and validation of pending moderation of works:
--------
* become moderator:
```bash
make shell_backend
# replace 'chehabfl' by your own UTC login
echo "from base_app.models import User; user = User.objects.get(username='chehabfl'); user.is_superuser = False; user.is_staff = False; user.save();" | ./manage.py shell
```
* Edit the présentation on http://localhost:8000/app/university/203/general
* Check the pending moderation view (click on the :shield:)
* Become moderator:
```bash
make shell_backend
# replace 'chehabfl' by your own UTC login
echo "from base_app.models import User; user = User.objects.get(username='chehabfl'); user.is_superuser = True; user.is_staff = True; user.save();" | ./manage.py shell
```
* reload the previous page, click on the shield and moderate the element.
--------
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/170
Features/enhance api hoc
2020-04-13T19:54:47Z
Florent Chehab
Features/enhance api hoc
- [feat] frontend added `Counter` helper class
- [fix] frontend previous departure filter major / minor
- [feat] frontend smarter `withNetworkWrapper` HOC (auto update params on props change)
- [refacto] frontend changed API of `withNetw...
- [feat] frontend added `Counter` helper class
- [fix] frontend previous departure filter major / minor
- [feat] frontend smarter `withNetworkWrapper` HOC (auto update params on props change)
- [refacto] frontend changed API of `withNetworkWrapper`
Florent Chehab
Florent Chehab
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/171
Feat/update docs
2020-04-14T19:45:59Z
Florent Chehab
Feat/update docs
A nice update to the project documentation.
A nice update to the project documentation.
https://gitlab.utc.fr/rex-dri/rex-dri/-/merge_requests/172
fix(frontend): scholarship creation error
2020-04-17T19:33:49Z
Florent Chehab
fix(frontend): scholarship creation error