Sonja Happ
48288360d5
Updating license statement in each file and updating year and contact info in README ( closes #89 )
2022-04-05 16:38:25 +02:00
Sonja Happ
482b7a5a2c
Merge branch 'master' into refactor-amqp-session
...
# Conflicts:
# helper/amqp.go
# helper/test_utilities.go
# routes/component-configuration/config_methods.go
# routes/file/file_test.go
# routes/infrastructure-component/ic_amqpmethods.go
# routes/infrastructure-component/ic_apiquery.go
# routes/infrastructure-component/ic_test.go
# routes/register_test.go
# routes/result/result_methods.go
# routes/result/result_test.go
# routes/scenario/scenario_middleware.go
# routes/scenario/scenario_test.go
# routes/signal/signal_test.go
# routes/user/user_validators.go
2021-10-19 16:31:38 +02:00
2a9b2d4026
fix linting errors found by staticcheck
2021-10-19 13:56:53 +02:00
Sonja Happ
302b1cc470
move functions to duplicate scenarios into respective packages, resolve circular dependency problems (move permissions checking to database package), improve error handling of async DuplicateScenarioForUser function
2021-10-18 17:20:28 +02:00
e4d200e6fd
remove basePath and basePath settings
2021-02-08 11:56:11 +01:00
Sonja Happ
28434668bf
further cleanups, make register test work again
2021-01-27 11:15:27 +01:00
Sonja Happ
d1cb79ffba
WIP: scenario tests and IC tests independent of hard coded data #44
2021-01-26 17:20:35 +01:00
Sonja Happ
616a1c74dc
WIP: adding test data via JSON file #44
2021-01-26 15:44:51 +01:00
Sonja Happ
6db0373025
improve handleRedirect method, add debug output
2021-01-21 15:22:24 +01:00
5627e80b27
tests: create new request instead of updating old
2021-01-18 20:40:08 +01:00
9b0f780ab3
renamed some files
2021-01-18 18:21:34 +01:00
1e301cb422
tests: allow TestEndpoint() to follow redirects
2021-01-18 17:38:42 +01:00
Sonja Happ
1de4d9c9c2
Code base refactoring: no functional changes, improving test coverage
2020-03-27 11:53:26 +01:00
Sonja Happ
d2c94d1886
- models: remove imageHeight and imageWidth from File model (is customProperty of image widget)
...
- test data: add test data in test mode via API instead of GORM
- fix typos and update API documentation
2020-03-13 17:16:12 +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
Sonja Happ
9f56b66213
replace some fmt. calls with log. calls #17
2019-11-20 10:12:20 +01: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
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