Commit graph

26 commits

Author SHA1 Message Date
Sonja Happ
7be2951675 AMQP: improve error handling and debug output; remove uptime update for now 2020-10-01 12:10:25 +02:00
Sonja Happ
9539c42e0b Add array of SignalIDs to widget data model 2020-02-19 10:26:34 +01:00
55c8de20ad update to Go 1.13 2019-11-21 12:18:34 +01:00
Sonja Happ
7a64d4653a Some fixes with respect to config
- resolve some name overlappings
- InitConfig sets global config and returns error
- Add missing error handling
2019-11-14 10:38:51 +01:00
a1f7ea9ed9 Merge branch 'master' into config-logging 2019-11-13 21:28:29 +01:00
cbefdd2d07 add new config package 2019-11-13 20:31:06 +01:00
9ff5ea9eaa update go.mod / go.sum 2019-11-13 18:09:28 +01:00
2311d643c6 fix repo path 2019-11-09 11:40:56 +01:00
Sonja Happ
14972262c0 add "Active" bool property to user model, required modifications in user and scenario packages 2019-09-17 17:00:07 +02:00
Sonja Happ
ebf390e9cc update version of swag tool, use swag again in CI, works on #22 2019-09-16 09:17:31 +02:00
Sonja Happ
eb277fc92e use jsondiff in endpoint testing 2019-07-24 13:17:47 +02:00
Sonja Happ
5f84c88c87 Merge branch 'master' into amqp
# Conflicts:
#	go.mod
#	go.sum
2019-07-04 16:03:42 +02:00
Sonja Happ
7edb27de2e Merge branch 'user-validators'
# Conflicts:
#	go.mod
#	go.sum
#	routes/user/userEndpoints.go
#	routes/user/userMethods.go
2019-07-04 15:39:41 +02:00
Sonja Happ
b92584b1f7 First version of AMQP client integrated in backend, requires testing with RabbitMQ server 2019-07-04 15:09:33 +02:00
Sonja Happ
9bc9dc6b5d user: add check of for admin role if role of user shall be modified, some small corrections of responses, input forms, and parameter spelling 2019-07-04 11:37:00 +02:00
smavros
c68510fa99 Adds validation of login request:
- Renames type Credentials to loginRequest
2019-06-12 16:04:15 +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
b89a68296f Experimenting with testing and auto generating API specs based on code 2019-05-23 14:36:42 +02:00
smavros
528c391a9f Adds implementation of user.validatePassword():
- Uses bcrypt package for hashing the password
    - Adds password hashing in common.DummyPopulateDB() for testing
2019-05-20 14:03:54 +02:00
smavros
ab0d8dea8b Work in progress: /authenticate endpoint handler 2019-05-18 18:54:58 +02:00
Sonja Happ
eb19f3e133 Fix includes of gin-gonic 2019-04-30 11:12:24 +02:00
smavros
d5fb904772 Adds gin-gonic and initial routing 2019-04-29 00:00:49 +02:00
smavros
57abe51d06 Added associations in test_db 2019-04-14 20:29:52 +02:00
smavros
a7179180ff Changes in database handling in package common:
- CreateDB() is now InitDB()
- Added Dummy*() functions for setting up a dummy database (named
testvillasdb) that will be used by the tests.
2019-04-12 14:14:23 +02:00
Sonja Happ
91f52a409b move all data structs to one file to avoid circular dependencies; use all data structs in start.go for testing compilation; dependency updates 2019-04-03 14:54:55 +02:00
smavros
afe1a33893 Added go.mod for Modules and Packages:
- Backend uses start.go in root for entry
2019-04-02 15:03:18 +02:00