trivernis
eaf484596b
Change insufficient permissions to be an error class
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
leonnicolas
8c840319b6
LICENSE.md: added license and copy right notice
...
@trivernis : I put you in the copy right notice in the src/userserver/*
files.
4 years ago
leonnicolas
5f19ddbb1b
index.ts: schema without token
...
Signed-off-by: leonnicolas <leonloechner@gmx.de>
4 years ago
leonnicolas
478b4b688d
index.ts: cors
4 years ago
leonnicolas
d281800251
cors allow all
4 years ago
leonnicolas
2e02920d75
bugs and clean up and retry when db connection failed
4 years ago
leonnicolas
97ee273ae4
src/*/actionlog*.ts: implemented queries for action log
4 years ago
leonnicolas
1b9030c85e
src/*: implemented update and action log on overwrites
4 years ago
leonnicolas
595f66f3dc
new generic lock/unlock functions
4 years ago
leonnicolas
77fd61194b
workshop, workshop types create and read
4 years ago
leonnicolas
037cd06651
src/model/*: applied more changes from flotte
4 years ago
leonnicolas
e92d379a53
src/model/*: applied changes from flotte
4 years ago
leonnicolas
b3877664b9
corrected some typos
4 years ago
leonnicolas
e03bac6f62
added contact* resolvers
4 years ago
leonnicolas
8f5d98c975
sr/model/* included suggested changes from fLotte
4 years ago
leonnicolas
0c2436ba0d
src/resolvers/* added cargobike and lendingstations resolvers
4 years ago
leonnicolas
cfa0e14f8e
src/model/*: added Workshop and Engagement.
4 years ago
leonnicolas
2499cc526f
src/index.ts: added entities to postgres connection
4 years ago
trivernis
449b6bd9ac
Fix database entity settings
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
13578d8c9b
Switch to environment variables for database url
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
49e29259bd
Change semi rule to enforce semicolons
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
910e120baf
Bypass role handling in development mode
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
fcbd65d53b
Add createRole method to userServiceAPI
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
96916b0fd1
Add permission management
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
b61dfa8810
Switch to apollo-server-express to enable middleware for authentication
...
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis
d475851bb3
Add RPC Client implementation
...
- Add Message class to serialize and deserialize rpc messages
- Add Method enum for all rpc methods represented as 32 bit unsigned integers
- Add responses file to map rpc responses to types
- Add implementation of userserver api with PromiseSocket
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
leonnicolas
bb96724bcd
typeorm: connected to postgres with typeorm
4 years ago
leonnicolas
fd5c293c41
.eslintrc.json: added eslint file
4 years ago
leonnicolas
9aa94a33ce
src: added skeleton
4 years ago
leonnicolas
706f11ac41
gulpfile.js: only use gulp and gulp-nodemon (instead of nodemon) for watching file changes
4 years ago
leonnicolas
8711aa3b38
initial commit
4 years ago