Commit Graph

87 Commits

Author SHA1 Message Date
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
konrad e58bccb6e8
fmt
the build was successful Details
2017-11-21 12:10:16 +01:00
konrad 1d2dfa487c
Implemented list, add, update, delete publisher
the build failed Details
2017-11-21 12:09:45 +01:00
konrad 6fbc820db9
gofmt
the build was successful Details
2017-11-21 11:40:07 +01:00
konrad 0d63ab8826
Added methods to add or update an author 2017-11-21 11:38:52 +01:00
konrad 8c487d17d6
At least a title is now required when inserting or updating a book 2017-11-21 10:33:37 +01:00
konrad 9dba174ceb
Added gravatar 2017-11-20 15:42:36 +01:00
konrad c160f5720b
Finished Book update method
the build failed Details
2017-11-18 09:32:30 +01:00
konrad 3a24e8a1b9
Started implementing edit book
the build was successful Details
2017-11-17 14:07:41 +01:00
konrad fb305e5b39
Implemented book quantity insert when a book is inserted
the build was successful Details
+ Books can now either send through a direct json payload or via one form value
+ lint & gofmt
2017-11-16 19:07:32 +01:00
konrad 4715459d95
Added method to add first user on first run 2017-11-16 12:28:27 +01:00
konrad e12bcc0706
Fixed Status CORS-Shit 2017-11-15 16:19:20 +01:00
konrad 0e814d026e
Fixed Lint + gofmt 2017-11-15 16:16:44 +01:00