2a9b2d4026
fix linting errors found by staticcheck
2021-10-19 13:56:53 +02:00
Sonja Happ
2c79523a50
fix access checking for scenarios
2021-04-20 17:10:29 +02:00
Sonja Happ
0a62c78132
transform "running" parameter of scenario into "IsLocked" parameter; only admins can change this parameter, all operations other than READ fail if scenario is locked - also for associated components #63
2021-03-25 15:40:51 +01:00
Sonja Happ
92f22035c6
add GPL 3.0 license statement in all (not auto-generated) code files
2019-11-20 11:08:33 +01:00
2311d643c6
fix repo path
2019-11-09 11:40:56 +01:00
Sonja Happ
def9787cba
improve code coverage of scenario testing, remove some unnecessary code in package implementation
2019-09-11 13:51:26 +02:00
Sonja Happ
387c922059
Revision of (file) testing
...
- create a guest user and modify function that adds users to the DB for testing
- improve code coverage of file endpoint tests and remove some obsolete code from file package
- add more error info if role validation fails in all endpoints
- change response of GET files to only return the file data and nothing else
- fix some bugs in file endpoints that became visible by the tests
2019-09-11 12:30:01 +02:00
Sonja Happ
d160103fcf
create a function in helper package to extract the ID of an element from a path or query and use this function in middleware
2019-09-10 17:17:53 +02:00
Sonja Happ
f3a7ed0e61
**Major revision of repository structure**
...
- rename common package to database
- move all code not related to database to new helper package
- add more test in database package to improve code coverage
- add a new (own) package for AMQP client
2019-09-10 16:28:57 +02:00
Sonja Happ
dfe57140a5
fix a typo in variable name
2019-09-10 12:23:02 +02:00
Sonja Happ
2ffda7cad8
- revise naming of some common functions
...
- improve returning of error codes by using common functions
- use a separate file for authentication endpoint to improve clarity of code
2019-09-09 15:30:17 +02:00
Sonja Happ
ac9e564bc8
- deleting old obsolete test functions
...
- move all data and functions solely used for testing to the file test_utilities
- get rid of utilities file
2019-09-09 12:11:55 +02:00
Sonja Happ
e0ae839e96
revise renaming of variables, no functional change
2019-09-06 14:06:18 +02:00
Sonja Happ
3a2cd79fd0
Revision of error messages for middleware
2019-09-04 16:47:46 +02:00
Sonja Happ
b378e8b7c1
renaming simulation to scenario
2019-07-18 14:35:20 +02:00