Commit Graph

310 Commits

Author SHA1 Message Date
kolaente 56a3215147
Return 400 instead of 500 when deleting or showing something where the id is not an int
the build failed Details
2018-01-29 16:04:20 +01:00
kolaente 989ab530dd
Return 400 instead of 500 when updateing something where the id is not an int 2018-01-29 15:46:56 +01:00
kolaente 80f86527ed
Obfuscated user passwords when returning a user object 2018-01-29 15:33:38 +01:00
kolaente 87529b5e3e
Updated Readme
the build was successful Details
2018-01-27 16:47:12 +01:00
kolaente b6d0570e79
Updated gitignore
the build was successful Details
2018-01-27 14:00:23 +01:00
konrad e99aeb67c6
fmt
the build was successful Details
2018-01-26 16:44:58 +01:00
konrad f09e5c6f84
Added check if the emailaddress is already used when creating a new user 2018-01-26 16:00:18 +01:00
konrad 63a74ee7ac
Fixed a bug where a user couldn't update its own password
the build failed Details
2018-01-26 15:09:33 +01:00
konrad aa5b510424
Improved unit tests
the build failed Details
2018-01-26 12:37:11 +01:00
konrad 7ddbec7a6f
Added more unit tests for authors 2018-01-26 12:29:16 +01:00
kolaente ab19edfbd3
updated gitignore
the build was successful Details
2018-01-25 22:31:50 +01:00
konrad 3b38e61ab8
Updated gitignore
the build was successful Details
2018-01-25 16:33:34 +01:00
konrad 96ad0fc31b
Small improvements to unit tests
the build was successful Details
2018-01-25 16:28:02 +01:00
konrad 66b6dbf4f3
Small improvements to unit tests 2018-01-25 14:39:27 +01:00
konrad 70d6278540
removed unused lib
the build was successful Details
2018-01-25 12:27:48 +01:00
konrad 068bfc942e
Beautified error messages
the build failed Details
2018-01-25 12:23:51 +01:00
kolaente a734f21ac2
Added custom error type when no username and password are given when creating a new user 2018-01-25 12:15:12 +01:00
konrad 3d27bb1438
Added custom error type when a publisher has no name
the build failed Details
2018-01-24 23:55:10 +01:00
konrad 815ec40696
removed unused lib 2018-01-24 13:20:46 +01:00
konrad a4b8a44e47
Added custom error for could not get User ID from JWT 2018-01-24 13:18:17 +01:00
konrad c8da860eab
Modified http status code on error 2018-01-24 13:15:28 +01:00
konrad dec5db7649
Added custom error type for no book title 2018-01-24 13:13:55 +01:00
konrad c3cfc73840
Added error type for no item title 2018-01-24 13:04:47 +01:00
konrad 2e2877156b
Added custom error type for ID cannot be 0 2018-01-24 12:58:00 +01:00
konrad d309d5b3b6
fixed lint + gofmt
the build was successful Details
2018-01-23 16:20:37 +01:00
konrad bcb8b08001
Added check if the wants to change its own password
the build failed Details
2018-01-23 15:58:01 +01:00
konrad 434856a44f
Added route to update a user's password
the build failed Details
2018-01-23 15:53:38 +01:00
konrad a92d711b00
Added admincheck to all adminroutes 2018-01-23 15:27:08 +01:00
konrad 4275a3acad
Added method to delete a user 2018-01-23 15:25:41 +01:00
konrad 0027b1f001
Added method to get information about a user
the build failed Details
2018-01-23 15:20:02 +01:00
konrad 323f4c7ff4
Added custom error type for user does not exist 2018-01-23 15:19:39 +01:00
konrad aaf5ca0ceb
Added custom error type for no username provided 2018-01-23 14:52:03 +01:00
konrad f7314b439f
gofmt
the build was successful Details
2018-01-23 14:32:23 +01:00
konrad f27172cfd8
Added method to add or update a user 2018-01-23 14:31:54 +01:00
konrad d7fd1082a4
Fixed lint 2018-01-23 13:00:32 +01:00
konrad 4b82af8ae8
Added method to update a user 2018-01-23 12:59:48 +01:00
konrad 772ed316cb
Added list user method 2018-01-23 12:37:13 +01:00
konrad dbc3886706
Added admin type user 2018-01-23 11:20:22 +01:00
konrad 6c1ecf55f9
Updated Systemd Template
the build was successful Details
2018-01-22 16:05:54 +01:00
konrad 030e2af33d
Added systemd template
the build was successful Details
2018-01-16 18:12:33 +01:00
konrad 24d2a6519f
Updated version
the build was successful Details
2018-01-16 17:17:59 +01:00
konrad a01f0a7b33
gofmt
the build was successful Details
2018-01-16 16:24:29 +01:00
konrad 1b6a304ae8
Added unit tests for user 2018-01-16 16:24:21 +01:00
konrad 3c5af74141
Added unit tests for status 2018-01-16 16:13:17 +01:00
konrad b613208950
Added unit tests for quantity itself 2018-01-16 16:07:21 +01:00
konrad 3822e4a09e
Added unit test for item quantities
the build failed Details
2018-01-16 16:01:42 +01:00
konrad 8da6ca8e0b
Added todo 2018-01-16 15:59:16 +01:00
konrad 7dd2523a00
Fixed getting quantity 2018-01-16 15:59:05 +01:00
konrad a809cbd485
Added Unit tests for quantity 2018-01-16 15:58:16 +01:00
konrad f4b8d07d0e
Added Unit tests for creating xorm engine 2018-01-16 15:05:39 +01:00