Commit Graph

254 Commits

Author SHA1 Message Date
8a16b35236 a dump of the DB, jic 2023-06-11 11:27:01 +10:00
196f758372 fixed bug where when you remove a sub_book it left a whole in sub_book_num's, and rewrote to new sqlalchemy 2, all the direct sqls 2023-06-11 11:23:48 +10:00
4223b81641 fixed up using selects before the app was ready, something that happens in the newer gunicorn but seemingly not flask? also removed compress at least for Dev testing 2023-06-11 00:28:30 +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
0755b1ad12 not sure if this is needed, had some oddness with dev on mara and these packages, adding in case, and assuming prod build will work - we will find out soon 2023-06-10 22:36:06 +10:00
1b7b85ce33 books on shelf code is not handling series ordering at all 2023-06-10 22:35:27 +10:00
d7290f20e5 updated favicon 2022-07-06 22:58:18 +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
1c01e2007e remove inline display (unneeded and broke table bg colours) 2022-07-03 21:01:30 +10:00
b0d98e9725 input-groups for bs5 2022-07-03 20:49:13 +10:00
ef028037f9 add a fluid container to give some margins on the left/right 2022-07-03 20:44:23 +10:00
021bf91e16 remove .format() and get all updates to have crrect content 2022-07-03 20:38:33 +10:00
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