Commit graph

32 commits

Author SHA1 Message Date
irismarie
0219f26132 refactor code 2021-10-15 12:31:13 +02:00
irismarie
8b32fe8def fix ic duplication 2021-10-14 18:17:22 +02:00
irismarie
c8650b97e2 duplicate files 2021-10-13 15:11:07 +02:00
irismarie
58b1d4e303 fix signal mapping in component config duplication 2021-09-17 20:44:26 +02:00
Sonja Happ
7b30b46b27 Add feature for duplicating scenario on external login 2021-09-17 20:32:36 +02:00
Sonja Happ
3b213dbe32 use User database model to append association to scenario-user table 2021-04-30 12:47:44 +02:00
43a5a5dcd3 more debugging for group scenario mapping 2021-04-30 07:49:23 +02:00
Sonja Happ
ea49019ccb fixes after merge 2021-04-29 16:43:32 +02:00
Sonja Happ
d57d1e9b0b Merge branch 'master' of git.rwth-aachen.de:acs/public/villas/web-backend-go
 Conflicts:
	routes/user/authenticate_endpoint.go
2021-04-29 16:42:56 +02:00
Sonja Happ
f07d8e1089 remove references and pointers in authenticate functions 2021-04-29 16:41:06 +02:00
956e00756f fixes for group scenario mapping 2021-04-29 15:17:24 +02:00
Sonja Happ
56742cd908 fix usage of GORM 2021-04-19 17:00:25 +02:00
7049ba6eaa add static map to add users to scenarios based on their groups 2021-04-15 17:32:55 +02:00
Sonja Happ
e11278cce3 fix typo when checking if auth external is enabled in authenticated endpoint 2021-02-26 14:14:23 +01:00
Sonja Happ
f8101977b6 fix typo when referring to external auth enabled config variable 2021-02-12 14:36:10 +01:00
e4d200e6fd remove basePath and basePath settings 2021-02-08 11:56:11 +01:00
b24387a22a final fixes for external authentication 2021-02-08 11:55:36 +01:00
914db083ed fix authenticate endpoint 2021-02-08 11:55:36 +01:00
c81c1bb04f smaller bugfixes for external authentication 2021-02-08 11:55:36 +01:00
47b094b68d fix invalid config reference 2021-02-08 11:55:36 +01:00
0b4d25d85c add new /authenticated endpoint for checking if a user is authenticated 2021-02-08 11:55:36 +01:00
fe2d291bb3 add support for external authentication via OAuth2 proxy 2021-02-08 11:55:36 +01:00
59c924bcff update package name of response docs as changed upstream in swag 2021-02-05 22:44:45 +01:00
2625e16fbe config: fix typo GolbalConfig -> GlobalConfig 2021-01-25 10:57:25 +01:00
c404c7af5a make JWT secret and expiry time configurable 2021-01-25 10:56:40 +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
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
b570956baf improve user package
- testing more error return codes
- remove some errors from code
- remove unnecessary code
- require a username of at least 3 letters/digits
2019-09-12 10:18:42 +02:00
Sonja Happ
ed1d7677f2 add testing of authentication endpoint, revise authentication endpoint 2019-09-11 17:09:36 +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
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