fe2d291bb3
add support for external authentication via OAuth2 proxy
2021-02-08 11:55:36 +01:00
Sonja Happ
28434668bf
further cleanups, make register test work again
2021-01-27 11:15:27 +01:00
Sonja Happ
3c4624d17e
WIP: scenario test independent of test data
2021-01-27 10:41:00 +01:00
Sonja Happ
f70fa4f5e1
WIP: signal test independent of test data
2021-01-27 10:17:15 +01:00
Sonja Happ
5d59fb7952
WIP: widget test independent of test data
2021-01-27 10:09:22 +01:00
Sonja Happ
a750cefda0
WIP: dashboard test independent of test data
2021-01-27 10:00:39 +01:00
Sonja Happ
6e68940e0e
WIP: config test independent of test data
2021-01-27 09:56:31 +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
d99b769159
use time zone in time format for IC updates
2021-01-25 14:41:08 +01:00
8255382dd6
fix another type: succes -> success
2021-01-25 11:23:01 +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
e3af6dc8be
add new customProperties for color settings to Button test widget
2021-01-04 14:25:55 +01:00
Sonja Happ
88122fc9ab
fix in IC test data
2020-11-19 13:25:48 +01:00
Sonja Happ
d5ce60c71f
Merge branch 'extend-amqp'
...
# Conflicts:
# amqp/amqpclient.go
# routes/register.go
# routes/register_test.go
# start.go
2020-11-16 13:20:13 +01:00
bd00442940
allow specifying detai;s for initial admin user
2020-11-13 09:33:43 +01:00
Sonja Happ
8ddafc29d8
Fix API URL of signal generator
2020-11-12 15:12:21 +01:00
Sonja Happ
defc3a87f7
Enable test mode to work with AMQP, adapt IC test data
2020-11-12 14:17:30 +01:00
Sonja Happ
d0c6cca76c
Adapt layout of AMQP update to VILLAScontroller protocol, add uptime in IC creation and updates via AMQP; need to check data type of uptime #31
2020-10-30 15:16:53 +01:00
Sonja Happ
1540029aae
switch content of ICA and ICB in test data (exept for managedexternally value)
2020-10-30 14:27:43 +01:00
Sonja Happ
b07cd23a70
continue integration of new AMQP functionality #31 #41 #42
2020-10-21 17:16:15 +02:00
Sonja Happ
4922d8c4ce
Add field ManagedExternally to IC data model
2020-10-20 16:20:04 +02:00
Sonja Happ
adabfc8e9c
Transform Properties into StartParameterScheme
2020-10-20 15:27:36 +02:00
Sonja Happ
1f0455d901
Parameter cleanup in IC model
2020-10-20 12:57:38 +02:00
Sonja Happ
f55120df52
Adapt host parameter of VILLASsignal generator in test data
2020-10-12 14:50:12 +02:00
Sonja Happ
8789467096
modify widget test data to work with new color picker in frontend
2020-08-10 11:35:59 +02:00
Sonja Happ
f4cb42b719
make host an optional parameter of IC, closes #40 ;fix issues with update date of ICs
2020-07-15 12:32:18 +02:00
Sonja Happ
81c870528d
change selectedFileID parameter of component config to array of file ids (fileIDs) #37
2020-07-06 15:31:51 +02:00
Sonja Happ
a2f3941951
add APIHost to Demo Signal generator in test data #35
2020-06-26 10:19:49 +02:00
Sonja Happ
9649967187
test data configs have no file selected
2020-05-29 12:56:16 +02:00
Sonja Happ
cb43c25c27
add fitting number of input and output signals for signal generator in test data
2020-03-30 14:28:51 +02:00
Sonja Happ
1e708e9cb5
Use signal generator endpoint as host of one example infrastructure component
2020-03-30 14:11:01 +02:00
Sonja Happ
c9e639ad25
add one additional parameter in slider properties in test data
2020-03-27 16:57:31 +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
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