Commit Graph

190 Commits

Author SHA1 Message Date
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
f9e2060741 added error handling for DB exceptions 2020-12-30 22:21:01 +11:00
9beec7de86 added error handling for DB exceptions 2020-12-30 16:48:15 +11:00
e45e7633dd added error handling for DB exceptions 2020-12-30 16:47:57 +11:00
20c8bec8f5 fix bug where indenting spaces were part of the sub-books link text 2020-12-30 16:47:37 +11:00
4ab601aac5 get rid of the alignments, I think its better all left-aligned today 2020-12-30 16:47:06 +11:00
527286886c clarify after some testing 2020-12-30 16:46:39 +11:00
92e9cee15a updating README to add more todos, clarify after some testing 2020-12-30 16:46:29 +11:00
606bb09dcf update README with extra todos based on books.html from old php code 2020-12-29 23:36:54 +11:00
de860a1319 moved display message to base.html, should have done this from the beginning (doh), and then fixed deletion errors/redirections to be moe sensible 2020-12-26 22:19:05 +11:00
80719a3657 added bug re adding sub book and validation failing 2020-12-26 21:44:55 +11:00
1319fef35c cleared up status of deletions 2020-12-26 21:44:26 +11:00
800dcc0c25 first-pass of deleting a book, it works, it alerts if you try to delete a parent book, nothing else really tested though 2020-12-26 21:43:42 +11:00