Commit graph

10 commits

Author SHA1 Message Date
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
a8a43f8512 Improvements for swagger API documentation
- Adds Authorization token as required header param to all endpoints (except authenticate itself)
- Documents correct data format for request bodies (relevant for updating and adding elements)
- No functional changes applied
2019-11-13 14:48:08 +01:00
Sonja Happ
df910c56f7 admin password required to change user's password as admin, fixes #24 2019-11-05 12:05:39 +01:00
Sonja Happ
bae3bc9046 user: admin user can change password of any user without knowing old password 2019-10-24 12:44:26 +02:00
Sonja Happ
3fdba37541 user: old password required in request to update user password 2019-10-24 12:23:12 +02:00
Sonja Happ
56eabdc194 change active flag in update user to string instead of bool 2019-09-17 17:19:21 +02: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
smavros
f4a15e914e Merge branch 'master' into test-user-endpoints 2019-08-30 15:47:54 +02:00
Sonja Happ
a4a6ab0770 rename user validators file 2019-07-31 09:37:51 +02:00
Renamed from routes/user/userValidators.go (Browse further)