Erik Michelson
8c4621ec97
Changed API path to v2 instead of v2.0
...
We discussed whether the minor-version is relevant for the API base-path and came to the conclusion, that it's not really needed as breaking API changes need a new major version anyway.
This commit also removes the trailing slash from the URL which is returned by `getBackendUrl`. This is needed as we composed the API routes in our implementation always with a starting slash thus leading to double slashes.
Example of old behaviour:
getBackendUrl() + '/config'
=> example.com/api/v2.0//config
Example of new behaviuor:
getBackendUrl() + '/config'
=> example.com/api/v2/config
2020-06-07 00:55:46 +02:00
mrdrogdrog
570c45017c
Restructure redux code ( #109 )
...
* Restructure redux code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-05-31 22:51:36 +02:00
Philip Molares
02f1b2abcc
Feature/history api ( #84 )
...
added /api/v2.0/ to the backend url
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-30 10:12:01 +02:00
Philip Molares
e2155e735d
Editor Basics ( #43 )
...
Add basic editor
2020-05-29 15:44:45 +02:00
Philip Molares
eba59ae622
better linting ( #72 )
...
Improve linting and fix linting errors
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-27 15:43:28 +02:00
mrdrogdrog
a490e1240b
Frontend config and Loader component ( #12 )
...
* Add FrontendConfig and Loader
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Merge more setup into the application loader
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Rename config files
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Remove blank line
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix url
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Make strings more specific
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Restructure store use
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* split methods and actions
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* extract code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* remove actions.ts
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add reason and rename component
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* remove unused call
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Use redux store in api
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* activate email in backend config
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add new line
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* reduce code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Make error more specific
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Use expectedResponseCode
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Update src/redux/backend-config/types.ts
Co-authored-by: Philip Molares <git@molar.es>
* Update src/components/application-loader/application-loader.tsx
Co-authored-by: Philip Molares <git@molar.es>
* Update src/components/application-loader/application-loader.tsx
Co-authored-by: Philip Molares <git@molar.es>
* Update src/components/application-loader/application-loader.tsx
Co-authored-by: Philip Molares <git@molar.es>
* Use fragment
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <git@molar.es>
2020-05-15 23:10:12 +02:00