Commit Graph

27 Commits

Author SHA1 Message Date
konrad 7e9446ea07 Refactor User and DB handling (#123)
fix copyright date

Add more user tests

More user tests

More user tests

Start refactoring user tests

Docs

Fix lint

Fix db fixtures init in tests

Fix models test

Fix loading fixtures

Fix ineffasign

Fix lint

Fix integration tests

Fix init of test engine creation

Fix user related tests

Better handling of creating test enging

Moved all fixtures to db package

Moved all fixtures to db package

Moved user related stuff to seperate package

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/123
2020-01-26 17:08:06 +00:00
konrad a0c5e4e985 Update copyright year (#118) 2020-01-09 17:33:22 +00:00
shilch e890001ee1 Consistent copyright text in file headers (#112) 2019-12-04 19:39:56 +00:00
kolaente 854fde1e4c
Fixed panic when using link share and metrics 2019-10-19 22:34:33 +02:00
kolaente 1d98e4cabe
Fixed metrics on/off setting 2019-09-01 18:39:03 +02:00
konrad 8d57923a7d Sharing of lists via public links (#94) 2019-08-31 20:56:41 +00:00
konrad be14634e1e GetUser now returns a pointer (#93) 2019-08-14 19:59:31 +00:00
konrad b63928850a Simplify structure by having less files (#86) 2019-07-16 14:15:40 +00:00
kolaente f1d21ea52b
Use the auth methods to get IDs to avoid unneeded casts 2019-06-28 10:21:48 +02:00
konrad f638fae4fd Add the md5-hashed user email to user objects for use with gravatar (#78) 2019-05-31 07:24:59 +00:00
konrad 50d1f29125 Use the username instead of a user when adding a user to a team or giving it rights (#76) 2019-05-25 09:47:16 +00:00
konrad 3d7fd9ca20
Updated libraries 2019-05-07 21:42:24 +02:00
kolaente 6bab8fb769
Updated and re-enabled statickcheck 2019-04-23 10:34:06 +02:00
konrad 19faee0102 Hide a users email everywhere (#69) 2019-04-01 18:19:55 +00:00
konrad be5a17e993 DB Migrations (#67) 2019-03-29 17:54:35 +00:00
konrad 19218b28a2 Refactor {List|Namespace}{User|Team} to not expose unneded values via json (#52) 2019-01-14 22:32:56 +00:00
konrad 607dbd6ae8 API Docs improvements (#46) 2019-01-03 22:22:06 +00:00
konrad cbc5995ad3 Various user fixes (#38) 2018-12-19 21:05:25 +00:00
konrad e047673c6b Add prometheus endpoint for getting metrics (#33) 2018-12-12 22:50:35 +00:00
konrad ce2cae9430 Move the crudhandler to own repo (#27) 2018-11-30 23:26:56 +00:00
konrad 3f44e3b83e Change License to GPLv3 (#26) 2018-11-26 20:17:33 +00:00
konrad b73786f7fe Make validation less verbose (#24) 2018-11-25 21:38:50 +00:00
konrad d51ed8defd make validation less verbose (#23) 2018-11-24 12:44:40 +00:00
konrad 0c544fe355 Added validation for structs (#19) 2018-11-16 23:17:37 +00:00
konrad 9a5eb577b8 Fix not checking for user credentials upon login (#9) 2018-11-01 22:51:05 +00:00
konrad 4713023a97 Prevent login from inactive (aka non-verified) users (#8) 2018-11-01 22:47:41 +00:00
konrad 301a4eedda New structure (#7) 2018-10-31 12:42:38 +00:00
Renamed from models/user.go (Browse further)