Commit Graph

99 Commits

Author SHA1 Message Date
konrad 0b1212f428
fmt
the build was successful Details
2018-04-13 15:05:23 +02:00
konrad 5673acdd60
Fixed lint 2018-04-13 14:41:31 +02:00
konrad 3de6ecf579
Added viewing logs via api 2018-03-06 15:33:18 +01:00
konrad 91e10eb78b
Fixed doer missing
the build failed Details
2018-03-06 14:01:46 +01:00
konrad 5fbc08cf65
fmt
the build failed Details
2018-03-06 13:43:07 +01:00
konrad 0763ae07b0
Properly implemented logging
the build failed Details
2018-03-06 12:36:49 +01:00
konrad d553ca743b
Moved to new namespace
the build was successful Details
2018-03-05 12:53:12 +01:00
konrad 152a399567
Don't delete a user if its the last one
the build failed Details
2018-01-30 12:22:00 +01:00
kolaente ca88232109
Fixed cors 2018-01-30 11:23:00 +01:00
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
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 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 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 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 224e795531
Improved error messages
the build failed Details
2018-01-15 13:20:58 +01:00
konrad 1911ec4d5f
The api now returns more specific error codes
the build failed Details
2018-01-15 13:08:17 +01:00
kolaente 78fe10094e
Getting JSON Objects improvements
the build was successful Details
2017-12-07 16:17:18 +01:00
kolaente 932885d34a
gofmt
the build was successful Details
2017-12-05 14:47:28 +01:00
kolaente 48b309cd51
Implemented logging of user actions 2017-12-05 14:46:54 +01:00
konrad a97216fbd1
gofmt 2017-12-01 12:38:36 +01:00
konrad 2cd48f2e30
🍵 2017-12-01 12:38:09 +01:00
konrad 568928b157
added time to request logger 2017-12-01 12:34:24 +01:00
kolaente b0219e9052
Tested sqlite db 2017-12-01 11:33:40 +01:00
konrad e485218688
Cleanup
the build failed Details
2017-11-30 15:48:03 +01:00
konrad 3d1a710ae0
Fixed: When updating a book, no title is needed
the build failed Details
2017-11-29 15:59:34 +01:00
konrad c93b2f433c
Optimized search route
the build failed Details
2017-11-29 15:22:25 +01:00
konrad 6ccd898d65
Added item management to frontend
the build failed Details
2017-11-29 14:51:51 +01:00
kolaente 3c08e18cd2
Added item managagement
the build was successful Details
+ Resolved quantity stuff - there now is a new table which links books or items to a quantity
2017-11-29 12:25:52 +01:00
kolaente c6ae207c9b
gofmt 2017-11-28 16:04:14 +01:00
kolaente 2744214185
Repared update methods
the build failed Details
2017-11-28 15:29:51 +01:00
konrad 79da356557
Added check if author is empty 2017-11-24 12:39:52 +01:00