352 Commits

Author SHA1 Message Date
860a85e3ae can now remove just 1 sub book - TODO-25 -- DONE 2021-01-07 18:58:07 +11:00
9560381a87 completed: TODO-22: adding a sub-book when the parent book is in a series, and renamed MAYBE-1 to TODO-23 (deal with moving book in a series with another series involved), 24 (dockerise), 25 (actually allow removing just one subbook form series) 2021-01-07 16:02:04 +11:00
6cd2d735ca minor cleanup/ suggestion on TODO-5 2021-01-06 23:40:05 +11:00
cc8d8c30c1 removed debugs, reply with 200 OK instead of redirect that is ignored anyway 2021-01-06 23:31:19 +11:00
9617186279 TODO 3 and 4 finished. removing parent or sub books from series handled 2021-01-06 23:26:10 +11:00
815cdf0291 added TODO-22 adding a sub-book when the parent book is in a series, need to add a bsl for it 2021-01-06 23:25:29 +11:00
024a2a12a1 remove footer on modal dialog, I think its dumb 2021-01-06 23:25:04 +11:00
d43dabff9b fix (new) BUG where removing a parent book from a series caused error with bsl-book-num missing. Also flagged 2 spots for dealing with removing parent/child books from a series better, and stopped any attempt to for now 2021-01-06 20:39:51 +11:00
47119cf7f8 made DBox empty, and set content for loan specific data in books_for_loan, so DBox can be reused elsewhere, AND, so all content in the DBox for Loan is set in the one html file, not split over to base.html 2021-01-06 20:37:20 +11:00
9a53da0010 added BUG-14, add/sel buttons still active when should not be 2021-01-06 20:35:39 +11:00
7395d4c264 updated BUGs/README for relevant next item 2021-01-05 11:28:28 +11:00
0ac5684f17 BUG-13 delete loan fails with foreign key issues, all fixed 2021-01-05 11:18:53 +11:00
2028266ff7 fixed BUG-12: remove loaned out books from results of search for books to add to a loan 2021-01-05 11:09:51 +11:00
336ae4b67f TODO-6 (add books to loan) is now complete, so loans are now fully functional... the whole pybook is now at least functional, more features/validation to come :) 2021-01-04 22:28:35 +11:00
6ff3d13713 TODO-7 removing book(s) from loan works, and UI is better now 2021-01-04 22:07:06 +11:00
17c0c2a024 first commit for removing books from a loan itself, works and the scaffold is there for adding new books, code to be written 2021-01-04 16:23:09 +11:00
cc13ecfc87 fixed BUG-8, no genres for a sub book addition loses parent details 2021-01-03 12:08:19 +11:00
ff45513c7d fix up new regression on add subbook button after fixing loans div bug 2021-01-03 11:59:36 +11:00
98372ea62c fixed BUG-4 (books only showing 1 author) 2021-01-03 11:55:16 +11:00
195daf98e0 fixed BUG-1 (loan div in wrong spot) 2021-01-03 11:51:22 +11:00
4e4ff7f6c7 fixed bugs 9 & 10, just missing quotes in html for hidden value 2021-01-03 11:43:52 +11:00
4ec84d1426 TODO-2 done, clean up of README too 2021-01-02 19:13:47 +11:00
e625b19451 TODO-2 completed, can remove a subbook from parent 2021-01-02 19:13:28 +11:00
6d97df44e4 TODO-2 completed, can remove a subbook from parent 2021-01-02 19:10:52 +11:00
4c442e1fea fixed BUG-11, parent was both an array (in Book) and not an array in QuickBook, so made them arrays to keep with ORM-way 2021-01-02 18:53:52 +11:00
3c47063ee2 formatting 2021-01-02 18:11:09 +11:00
77677d4829 FIXED: TODO-1 (created/modifed times)... added now() and trigger for modifications in the postgres db itself, and altered ORM to know its now datetime, not date -- the trigger extension required datetime and its probably more useful anyway 2021-01-02 17:53:49 +11:00
f1f654ec15 removed debug 2020-12-31 13:13:22 +11:00
145b6037a8 solved BUG-11 (adding to wrong parent book) 2020-12-31 13:12:01 +11:00
d1ffbdf12e solved BUG-11 (adding to wrong parent book) 2020-12-31 13:11:50 +11:00
cf344d6439 new BUGs, reformatting again 2020-12-31 12:33:56 +11:00
ddfd0b878b decided to number bugs and todo so I can link commits to their fixes 2020-12-31 12:18:32 +11:00
868ad1379f now order_by sub_book_num in child_ref array, fixed BUG with series ordering for series:112 2020-12-31 12:12:41 +11:00
83136ddab3 remove delete/db sections, they are done and fixed submit/delete button ordering 2020-12-31 12:03:52 +11:00
5a92f967be fixed button ordering, which also fixed bug with page_title for book.html not being used 2020-12-31 12:03:29 +11:00
08f1550068 reordered buttons so Update is before Delete 2020-12-31 11:53:13 +11:00
c99342232c make sure num_books also has a value, not just a positive one, so I am force to fill it in on submit 2020-12-31 11:52:27 +11:00
911d37ed25 remove old import of func, not used 2020-12-31 11:51:59 +11:00
7e080f65c5 handle DB errors 2020-12-31 11:51:06 +11:00
0ae4019a1a handle DB errors 2020-12-31 11:31:15 +11:00
6d9ec1336f handle DB errors 2020-12-31 11:25:18 +11:00
9571c45def refined notes around series and validation logic 2020-12-30 23:40:52 +11:00
244367af2a CRUD for series is now trapped for DB errors 2020-12-30 23:37:40 +11:00
f9db9bc271 fixed CRUD series bugs 2020-12-30 23:37:11 +11:00
ef852d52b0 starting on update/delete db error handling, but not working yet 2020-12-30 23:13:50 +11:00
7691fd922f noting bug for series CRUD 2020-12-30 23:12:56 +11:00
a7f5f43946 updated state of db error handling 2020-12-30 23:12:47 +11:00
af6c76d136 improved DB error handling 2020-12-30 23:12:36 +11:00
60b7484afb added error handling for DB exceptions 2020-12-30 22:21:29 +11:00
db18edeef3 added error handling for DB exceptions 2020-12-30 22:21:06 +11:00