Commit Graph

67 Commits

Author SHA1 Message Date
a97216fbd1
gofmt 2017-12-01 12:38:36 +01:00
b0219e9052
Tested sqlite db 2017-12-01 11:33:40 +01:00
6496efd411
Improved performance when getting a list of all books
Some checks failed
the build failed
2017-12-01 10:18:26 +01:00
e485218688
Cleanup
Some checks failed
the build failed
2017-11-30 15:48:03 +01:00
c3d6032bcf
Book JSON is now all lowercase
Some checks failed
the build failed
2017-11-29 16:43:58 +01:00
37a39cbae6
Publisher JSON is now all lowercase 2017-11-29 16:23:19 +01:00
6f22a1a671
Author JSON is now all lowercase 2017-11-29 16:15:29 +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
7fba68f812
Optimized quantity handling 2017-11-29 15:53:11 +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
b56465e996
Fixed a bug where a new quantity was inserted when it hasnt changed
All checks were successful
the build was successful
2017-11-28 16:19:59 +01:00
50b368320a
Added book description
Some checks failed
the build failed
2017-11-28 16:03:25 +01:00
a658797b6d
Fix: No empty publisher is inserted when not selecting one while creating a new book 2017-11-28 12:27:00 +01:00
82800240a2
Moved "Publisher" to "PublisherID" and "PublisherFull" to "Publisher" 2017-11-28 10:43:23 +01:00
3aabf3b086
Added check if the ID is empty when deleting
All checks were successful
the build was successful
2017-11-24 16:27:35 +01:00
9dcac2a5c2
added bookstruct checking when arriving 2017-11-24 14:40:35 +01:00
a19650ac3a
Passing structs instead of ids
All checks were successful
the build was successful
2017-11-24 14:36:40 +01:00
79da356557
Added check if author is empty 2017-11-24 12:39:52 +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
7b864ff958
Bugfix: when editing a book, all authors passed had been inserted again
Some checks failed
the build failed
2017-11-20 12:49:25 +01:00
c160f5720b
Finished Book update method
Some checks failed
the build failed
2017-11-18 09:32:30 +01:00
5a48f62ce2
gofmt 2017-11-17 11:41:18 +01:00
9016443409
Moved getting authors from a book to a seperate function
+ Implemented getting quantity in book list
2017-11-17 11:40:43 +01:00
a3b0d1d94b
Fixed book not found when quantity did not exist
All checks were successful
the build was successful
2017-11-17 11:26:24 +01:00
fb305e5b39
Implemented book quantity insert when a book is inserted
All checks were successful
the build was successful
+ 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
19852d0b6a
Moved show sql query setting to config
All checks were successful
the build was successful
2017-11-16 13:09:30 +01:00
df0ad4adeb
Moved interface setting to config 2017-11-16 13:04:45 +01:00
c98c593307
Moved database connection to configfile 2017-11-16 12:57:08 +01:00
9630e8fda2
Started implementing book quantities
All checks were successful
the build was successful
2017-11-16 12:51:23 +01:00
4715459d95
Added method to add first user on first run 2017-11-16 12:28:27 +01:00
0e814d026e
Fixed Lint + gofmt 2017-11-15 16:16:44 +01:00
f48de8e75f
Added dynamically get books status 2017-11-15 16:13:47 +01:00
cb3a37b483
Started implementing of inserting new books
All checks were successful
the build was successful
2017-11-14 16:33:01 +01:00
5ba3ca342b
pointer fix
All checks were successful
the build was successful
2017-11-08 17:14:51 +01:00
ed1cd4be11
Fixed lint + gofmt
Some checks failed
the build failed
2017-11-08 17:12:05 +01:00
b8738e9b52
Implemented method to accept user login as json 2017-11-08 17:06:06 +01:00
07c9fcdea1
Added basic frontend structure 2017-11-08 14:42:43 +01:00
14b7a42d32
Fixed Build
All checks were successful
the build was successful
2017-11-08 10:57:38 +01:00
64dd0ce2d0
Fixed lint
Some checks failed
the build failed
2017-11-08 10:55:17 +01:00
b4b0b737a3
gofmt 2017-11-07 16:35:10 +01:00
55038bbb2b Fixed showing of author ids
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 21:47:50 +02:00
9644f2304f Implemented returning of newly inserted publisher
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 21:45:31 +02:00
0e0c403d57 Improved inserting of new book
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 21:42:16 +02:00
6ba44a5986 Added method to update a publisher
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 20:27:05 +02:00
63e93036a1 Added method to update an author
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 20:22:31 +02:00
cfcf4ac365 Insert methods now return the inserted object
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 18:17:51 +02:00
a78ac5d7da Added methods to add and delete a publisher
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 18:06:51 +02:00
500007bdae Added method to add and delete an author
Signed-off-by: kolaente <konrad@kola-entertainments.de>
2017-10-11 17:20:56 +02:00