Commit graph

17 commits

Author SHA1 Message Date
Sonja Happ
a293b1d954 consider user's role for GET simulaitons endpoint 2019-06-05 11:18:57 +02:00
Sonja Happ
c1bd781f37 add comment about using c.GetInt for user_id 2019-06-05 09:58:31 +02:00
Sonja Happ
79faff2758 - extend testing of simulation endpoints
- fix some errors in simulation methods and endpoint implementations
2019-06-03 14:31:50 +02:00
Sonja Happ
fc08075295 - use authentication with User_A for testing of simulations endpoints
- use user_id properly in GET simulations endpoint
2019-06-03 13:22:54 +02:00
Sonja Happ
f197a1b823 implementations in simulation endpoints, WIP 2019-05-29 09:43:21 +02:00
Sonja Happ
786e36398b implement model-specific methods instead of queries (WIP) 2019-05-28 16:41:30 +02:00
Sonja Happ
f6ea39af12 Merge branch 'master' into authentication
# Conflicts:
#	go.mod
#	go.sum
#	routes/user/userEndpoints.go
#	routes/user/userSerializer.go
#	start.go
2019-05-28 10:40:53 +02:00
Sonja Happ
97701b6faa fix simulation endpoint testing 2019-05-28 09:53:10 +02:00
Sonja Happ
0e6ca2d877 make username a query parameter 2019-05-28 09:39:30 +02:00
Sonja Happ
cf1c6e9c18 fix for simulation endpoints regarding adding and deleting user 2019-05-28 09:31:36 +02:00
Sonja Happ
34eebbab88 Shorten API URLs, add more documentation for swaggo 2019-05-27 14:43:12 +02:00
Sonja Happ
144c97ce49 Refactoring code base to new structure, removing circular dependencies, creating response types 2019-05-23 16:50:05 +02:00
Sonja Happ
44e15773fd Major changes:
- revise data model to new version (without project)
- adapt database test to new data model
- use separate folder for all endpoint defs and functions to avoid circular deps
- add all API endpoints and skeletons for their implementation
2019-05-21 12:49:39 +02:00
Sonja Happ
17d88f4c67 Work on endpoints involving file management, To be tested, WIP 2019-05-20 16:17:54 +02:00
Sonja Happ
75f8ef280d Add file upload mechanism 2019-05-17 16:27:59 +02:00
Sonja Happ
2e7475a26b - add first draft of code for other routes (not complete!)
- some new endpoints
- some new DB queries
- some new serializers
2019-05-09 17:02:24 +02:00
Sonja Happ
48a28ff932 add file structure for other routes (also new ones) 2019-05-09 11:59:44 +02:00