Commit Graph

57 Commits

Author SHA1 Message Date
f66ed36bfe adding BUG-27 - creating book with series, and series not added 2023-06-12 21:01:42 +10:00
58d99d526e BUG-26, cant save any change on a book with series 2023-06-12 20:40:48 +10:00
66378766aa fix BUG-25 by using ORM not db calls direct, could not see why they worked in DEV but not PROD with NO logs - only assume sqlachemy2 doesnt like the engine execute code I used instead 2023-06-11 21:48:01 +10:00
7b329d84fc final books on shelf fix, start out by title, so books not in series are by title (and those in and out of series are by title until a series is reached, then its by series number until the series is finished, then back to title) - fixes BUG-24 2023-06-11 15:37:07 +10:00
9f5e9ff3c2 fix BUG-23 (subbook/series confusion), also remove warnings about sql alchemy overlaps, and had to fix bug I introduced when editing a book where the drop-downs no longer had content based on data in form, and stopped messing with books list when iterating over it, python != c :) so using another list called processed to know if the books do not need to be processed (again) - this finally fixed books on shelf 2023-06-11 14:22:08 +10:00
c23df4dac3 BUG-23: saving books with subs, somehow complains about series removal 2023-06-11 14:18:01 +10:00
07d713da15 now handle series book numbering in the books on shelf page. Fixes BUG-22 2023-06-10 23:58:12 +10:00
1b7b85ce33 books on shelf code is not handling series ordering at all 2023-06-10 22:35:27 +10:00
e6ce558665 fix BUG-19 - unrated books, used wrong table joins 2022-07-06 22:38:09 +10:00
32e0edc46c add/remove series div/input-group fixup to work with bootstrap5 2022-07-06 22:29:32 +10:00
c31ae71dee fixed add/rem author funtionality for bs5 and converted to svg icons away from fontawesome 2022-07-04 22:25:35 +10:00
419eda9c33 remove unneeded extra call to dataTables.*.js 2022-07-03 21:30:40 +10:00
045be5eebe use full width, fix wrapping in sub book notes and title fields and fix-up button sizes on book edit 2022-07-03 21:25:33 +10:00
021bf91e16 remove .format() and get all updates to have crrect content 2022-07-03 20:38:33 +10:00
4725f006bc fixed Dockerfile - I only needed to expose 443, not sure what I was thinking mashing this web code with DB, anyway... also switched to using env var rather than hostname to pick up DEV/PROD, and now show that in base.html. Updated Dockerfile and requirements to prep for putting ldap/auth in, will need to copy some stuff from PA later. finally removed console debugs in book.html 2022-06-19 16:15:51 +10:00
0f1cae267d Fixed BUG-02 (recalc rating on book change), also added route to reset all ratings in Admin menu 2021-01-10 11:11:04 +11:00
6f5b65788d Fixed BUG-02 (recalc rating on book change), also added route to reset all ratings in Admin menu 2021-01-10 11:10:49 +11:00
35d92e0ab6 Fixed BUG-18 -> cannot find book 2021-01-10 00:21:50 +11:00
81394ec0c9 added BUG-18: delete a book and go back to that URL does not error properly 2021-01-09 23:40:19 +11:00
8dc903c67d fixed BUG-17 change parent and subs werent, now are. Also removed len(child/parent) and used functions IsChild(), IsParent() as I should have 2021-01-09 23:07:18 +11:00
0432f46b20 altered book delete status to success, completed TODO-05 (books must be sold to be deleted - with tooltip to explain), and added new BUG-17 - changing some fields of parent book need to be reflected into sub book 2021-01-09 22:00:08 +11:00
bccfbadb39 fixed books on shelf BUG-16 - author missing, its now using ORM with a HACK to remove subs not via ORM, and I also fixed datatable sorting by author for books on shelf via a param past into base.html 2021-01-09 16:54:37 +11:00
3c4cdeb4fb fixed BUG-15: book nums missing for parent books in series 2021-01-09 15:10:45 +11:00
e1eebffd2b new BUG for books in series not showing book num 2021-01-09 00:44:07 +11:00
890b2cdc4e fixed BUG-14 (add/sel buttons not being disabled again when no selections) 2021-01-08 21:35:38 +11:00
4842a1bc91 added BUG-15 - https doing http submits 2021-01-08 13:14:01 +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
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
cc13ecfc87 fixed BUG-8, no genres for a sub book addition loses parent details 2021-01-03 12:08:19 +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
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
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
f9db9bc271 fixed CRUD series bugs 2020-12-30 23:37:11 +11:00
7691fd922f noting bug for series CRUD 2020-12-30 23:12:56 +11:00
527286886c clarify after some testing 2020-12-30 16:46:39 +11:00
80719a3657 added bug re adding sub book and validation failing 2020-12-26 21:44:55 +11:00
2cf3f971a2 updated bugs - added more to the list of unordered associations, not just author, but series too... adds in any old order 2020-12-24 17:09:59 +11:00
73001dd24c first pass at creating a book, it works, but I have messed up the series-div* html in book.html 2020-12-23 12:53:27 +11:00
c102b93872 add/remove series from a book now works, havent thought about removing a parent book fro a series, but otherwise you can add more than one series, remove as well, and it works in the DB 2020-12-13 22:21:38 +11:00
56bfd49822 added new BUGs re: authors for books 2020-12-06 15:34:48 +11:00
96e4e35b5d fixed issue with search and sub books not showing the are subs, and when editing a sub book you could edit too many fields 2020-12-05 21:25:15 +11:00