Commit Graph

338 Commits

Author SHA1 Message Date
8834893df3 upgraded to base U22.04 image, realised that by putting bootstrap5 stuff in for login its borked the format of many files, so partially converted to use new bootstrap, still work to go 2022-07-02 12:52:34 +10:00
3c8dc980b1 quick hack to allow logout menu to be right-aligned, to be fixed with a full move to bootstrap5 2022-06-19 23:02:40 +10:00
ae84fc080a fixed up non-right aligned navbar 2022-06-19 22:47:45 +10:00
c29f73f8ab make all this have a login page, use ldap, put a logo on, moved some upstream stuff to static/ -- need to do more here to be consistent with bootstrap 5, but for another day 2022-06-19 22:45:54 +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
6087bdab9e html5 by default in newer versions, just "from wtforms import DateField" 2022-06-19 00:14:44 +10:00
27ad9b0d60 this is needed to get gunicorn to run with the newer code cross-importation syntax and to have threading, workers and ssl 2021-01-14 20:50:27 +11:00
e4ed563245 renamed ClearMessage to better name of ClearStatus, and exposed it to jinja2 so status messages now work in base.html 2021-01-10 12:18:28 +11: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
150b808bb5 completed: TODO-26 --> gunicorn now works 2021-01-09 23:42:51 +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
69607db413 completed TODO-09: list of books to buy - no printable, I can just get live data on phone anyway 2021-01-09 22:39:00 +11:00
b35d0b0088 fixed undocd BUG, where book sold is parent book in series messing with missing books code 2021-01-09 22:07:00 +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
e923709663 completed: TODO-27 dealing with series with only sold books not shown in missing list 2021-01-09 21:28:31 +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
40e2ac1a34 TODO-28 - completed and used to reduce unwanted cols for on wish list, and add rating for poor rating books 2021-01-09 15:32:55 +11:00
3c4cdeb4fb fixed BUG-15: book nums missing for parent books in series 2021-01-09 15:10:45 +11:00
7c6b091faa reorder TODOs 2021-01-09 01:14:43 +11:00
cd7a77ff6b completed TODOs 13, 14, 15, 16 - views of subsets of books. Added 2 new TODOs to enhance their output / make the views better 2021-01-09 01:13:26 +11:00
a6211928df completed TODO-12: missing books 2021-01-09 00:45:10 +11:00
e1eebffd2b new BUG for books in series not showing book num 2021-01-09 00:44:07 +11:00
94ddee7791 completed TODO-11 (unrated books) 2021-01-08 22:43:48 +11:00
d153c40c17 completed -- TODO-08: show books on shelf list, and clarified install instructions for README 2021-01-08 22:29:27 +11:00
890b2cdc4e fixed BUG-14 (add/sel buttons not being disabled again when no selections) 2021-01-08 21:35:38 +11:00
797a281820 fixed BUG-15 - https doing http submits, also required traefik config in docker-compose.yml - to create a tcp router with ssl passthrough 2021-01-08 13:14:09 +11:00
4842a1bc91 added BUG-15 - https doing http submits 2021-01-08 13:14:01 +11:00
64c2de375f TODO-24 (in docker) DONE 2021-01-08 12:09:41 +11:00
848cb378bc TODO-24 (in docker) DONE 2021-01-08 12:09:27 +11:00
bed04f88f9 TODO-24 (in docker) DONE 2021-01-08 12:09:22 +11:00
e4606cdbeb for now, we have a bookdb docker container with content and referenced in main.py 2021-01-07 22:41:53 +11:00
995c19613e fixed TODO-23 (moving book in 2 series). also put db change in a try/except and cleaned up comments 2021-01-07 20:52:17 +11:00
2c1521e0b0 fixed new BUG where adding a sub-book to a parent with a series could not work out book_num 2021-01-07 19:10:22 +11:00
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