Commit Graph

93 Commits

Author SHA1 Message Date
d553ca743b
Moved to new namespace
All checks were successful
the build was successful
2018-03-05 12:53:12 +01:00
152a399567
Don't delete a user if its the last one
Some checks failed
the build failed
2018-01-30 12:22:00 +01:00
ca88232109
Fixed cors 2018-01-30 11:23:00 +01:00
56a3215147
Return 400 instead of 500 when deleting or showing something where the id is not an int
Some checks failed
the build failed
2018-01-29 16:04:20 +01:00
989ab530dd
Return 400 instead of 500 when updateing something where the id is not an int 2018-01-29 15:46:56 +01:00
80f86527ed
Obfuscated user passwords when returning a user object 2018-01-29 15:33:38 +01:00
f09e5c6f84
Added check if the emailaddress is already used when creating a new user 2018-01-26 16:00:18 +01:00
63a74ee7ac
Fixed a bug where a user couldn't update its own password
Some checks failed
the build failed
2018-01-26 15:09:33 +01:00
068bfc942e
Beautified error messages
Some checks failed
the build failed
2018-01-25 12:23:51 +01:00
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
3d27bb1438
Added custom error type when a publisher has no name
Some checks failed
the build failed
2018-01-24 23:55:10 +01:00
c8da860eab
Modified http status code on error 2018-01-24 13:15:28 +01:00
dec5db7649
Added custom error type for no book title 2018-01-24 13:13:55 +01:00
c3cfc73840
Added error type for no item title 2018-01-24 13:04:47 +01:00
2e2877156b
Added custom error type for ID cannot be 0 2018-01-24 12:58:00 +01:00
d309d5b3b6
fixed lint + gofmt
All checks were successful
the build was successful
2018-01-23 16:20:37 +01:00
bcb8b08001
Added check if the wants to change its own password
Some checks failed
the build failed
2018-01-23 15:58:01 +01:00
434856a44f
Added route to update a user's password
Some checks failed
the build failed
2018-01-23 15:53:38 +01:00
a92d711b00
Added admincheck to all adminroutes 2018-01-23 15:27:08 +01:00
4275a3acad
Added method to delete a user 2018-01-23 15:25:41 +01:00
0027b1f001
Added method to get information about a user
Some checks failed
the build failed
2018-01-23 15:20:02 +01:00
323f4c7ff4
Added custom error type for user does not exist 2018-01-23 15:19:39 +01:00
aaf5ca0ceb
Added custom error type for no username provided 2018-01-23 14:52:03 +01:00
f27172cfd8
Added method to add or update a user 2018-01-23 14:31:54 +01:00
d7fd1082a4
Fixed lint 2018-01-23 13:00:32 +01:00
4b82af8ae8
Added method to update a user 2018-01-23 12:59:48 +01:00
772ed316cb
Added list user method 2018-01-23 12:37:13 +01:00
224e795531
Improved error messages
Some checks failed
the build failed
2018-01-15 13:20:58 +01:00
1911ec4d5f
The api now returns more specific error codes
Some checks failed
the build failed
2018-01-15 13:08:17 +01:00
78fe10094e
Getting JSON Objects improvements
All checks were successful
the build was successful
2017-12-07 16:17:18 +01:00
932885d34a
gofmt
All checks were successful
the build was successful
2017-12-05 14:47:28 +01:00
48b309cd51
Implemented logging of user actions 2017-12-05 14:46:54 +01:00
a97216fbd1
gofmt 2017-12-01 12:38:36 +01:00
2cd48f2e30
🍵 2017-12-01 12:38:09 +01:00
568928b157
added time to request logger 2017-12-01 12:34:24 +01:00
b0219e9052
Tested sqlite db 2017-12-01 11:33:40 +01:00
e485218688
Cleanup
Some checks failed
the build failed
2017-11-30 15:48:03 +01:00
3d1a710ae0
Fixed: When updating a book, no title is needed
Some checks failed
the build failed
2017-11-29 15:59:34 +01:00
c93b2f433c
Optimized search route
Some checks failed
the build failed
2017-11-29 15:22:25 +01:00
6ccd898d65
Added item management to frontend
Some checks failed
the build failed
2017-11-29 14:51:51 +01:00
3c08e18cd2
Added item managagement
All checks were successful
the build was successful
+ 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
c6ae207c9b
gofmt 2017-11-28 16:04:14 +01:00
2744214185
Repared update methods
Some checks failed
the build failed
2017-11-28 15:29:51 +01:00
79da356557
Added check if author is empty 2017-11-24 12:39:52 +01:00
e58bccb6e8
fmt
All checks were successful
the build was successful
2017-11-21 12:10:16 +01:00
1d2dfa487c
Implemented list, add, update, delete publisher
Some checks failed
the build failed
2017-11-21 12:09:45 +01:00
6fbc820db9
gofmt
All checks were successful
the build was successful
2017-11-21 11:40:07 +01:00
0d63ab8826
Added methods to add or update an author 2017-11-21 11:38:52 +01:00
8c487d17d6
At least a title is now required when inserting or updating a book 2017-11-21 10:33:37 +01:00
9dba174ceb
Added gravatar 2017-11-20 15:42:36 +01:00