Commit Graph

337 Commits

Author SHA1 Message Date
f8ac24ab10 added ARGs for BOOK_UID/BOOK_GID, uses sudo to make that usre and with a home dir, so that Cams install of chrome works using its home dir and Cams added google-chrome and requirements for selenium, etc 2024-11-15 23:05:51 +11:00
5c1e1627d9 fix up hamburger menu (bootstrap 4->5, missed a couple of references for the newer navbar). Cam added Get eBook menuitem to Admin 2024-11-15 20:29:34 +11:00
5838ada2e3 remove port 5000 and use std 80, and use traefik to route correctly 2024-08-25 22:44:45 +10:00
ad99be57e4 remove port 5000 and use std 80, and use traefik to route correctly 2024-08-25 22:44:32 +10:00
4721c9dbbd we dont need port 80, and it breaks traefik port discovery 2024-03-10 13:58:55 +11:00
bbe0590b1e update to use user: 2000:2000 / ARGS in build, and use the python image instead of a full ubuntu image. Also use r to escape regex str 2024-02-18 20:37:59 +11:00
5b43826006 fixed ordering by title 2023-10-02 19:39:34 +11:00
668a7066e0 fixed BUG-48 - sub book add/rem -- it was because QuickParentBook used an array and the code had been half converted to just use an object. Fixed to all be an object/dict now and its working again 2023-10-02 18:46:00 +11:00
22a625d354 added failsafe to keep container up if python is so broke it kills gunicorn on init 2023-10-02 18:45:03 +11:00
234c968fb3 for now had to hard-lock Flask and Werz* to keep flask-ldap working 2023-10-02 18:44:35 +11:00
fdec40a2cb make the image actually update the same way I do in PA 2023-10-02 18:44:09 +11:00
c85b3fe4be added 2 new BUGs, order on shelf is wrong with new books in it? and add sub-book (and rem?) broken 2023-10-02 18:42:35 +11:00
eac8660e2c when we build this container, do a dist-upgrade too, should always get latest updates to base ubuntu image 2023-09-13 23:17:39 +10:00
4e8bda4134 move parent[] to parent as the array was never needed, removed some dead code, clarified another example of new BUG-46 2023-07-08 15:10:38 +10:00
ff87aca2f5 moved an item from a TODO to a new BUG-46 2023-07-08 14:55:09 +10:00
f4d88f2c63 removed debugs, and no longer needed fix_an route 2023-07-08 14:53:15 +10:00
f361a03dc8 reword BUG-42 to be more specific, BUG-41 allowing duplicate series links fixed 2023-07-08 14:51:34 +10:00
89966e0570 made RemoveDuplicateAuthorInForm() func to remove duplicate code 2023-07-08 14:18:22 +10:00
59df1accbf new todo thought 2023-07-07 23:13:25 +10:00
58de10632e fixed BUG-43, change author and edit link updates now 2023-07-07 23:12:20 +10:00
1e5b0599af fixed BUG-43, change author and edit link updates now 2023-07-07 23:12:12 +10:00
aba532aaae now can show Lost books from menu 2023-07-07 22:45:44 +10:00
133967062f fixed BUG-44 - empty message but still triggers if to say there is a message (shows as BUT) 2023-07-07 18:37:08 +10:00
44d653f820 done witcher book additions 2023-07-07 18:36:47 +10:00
5166f27657 removed BUG-7 -> added BUG-42 (clarification of BUG-7 and BUG-41), BUG-43 changing author on edit page (in drop-down) does not reset html link, BUG-44 empty message but still triggers if to say there is a message (shows as BUT), BUG-45 creating a new book and failing it loses any series data you have input 2023-07-07 18:36:29 +10:00
56ae9d81ae fixed BUG-30 duplicate authors 2023-07-05 22:20:08 +10:00
7edc4babd9 fixed BUG-31 - ordering multiple series for a book 2023-07-05 21:28:49 +10:00
5a81afd3d2 fixed BUG-39 (loan card in wrong spot, now fixed) 2023-07-05 21:12:48 +10:00
5554656171 fixed bugs 36 & 37) 2023-07-05 20:12:16 +10:00
50412e23a3 bug 37 (allow deleting from on wish list) fixed 2023-07-05 20:12:00 +10:00
e10191808a fixed BUG-36 -- form value for owned was not an int, so comparison was failing, fixed now 2023-07-05 20:10:28 +10:00
a0d3fdd599 removed non ORM db CRUD sqls, so BUG-35 fixed 2023-07-05 20:02:05 +10:00
0803c3cf22 remove loaned books from books on shelf - fixes BUG-38 2023-07-05 20:00:28 +10:00
8957771ae1 fixed bug-40, when adding author/<id>/books route, to edit_id.html, I assumed object existed, when creating it did not, now fixed 2023-07-05 19:45:42 +10:00
3564334a76 new sqlaclhemy needs separated .join()s 2023-07-05 19:44:50 +10:00
80ce668089 went through book shelves carefully, detected Lost books, and create some more TODOs and some BUGs 2023-07-05 19:43:52 +10:00
26349c98d4 added edit author button/link, and fixed broken hover since I changed to bals from author. Also removed the old author code, finally made it so when you hover over remove button we now also highlight the edit button for the author to be red as well. Hovering over edit link higlights the relevant author blue to let you know which one you will go to 2023-07-04 23:54:32 +10:00
99b4239633 forgot newer sql alchemy needs separation .join() per table 2023-07-04 23:08:23 +10:00
1e7a47f43e allow Edit Author to show list of books for author 2023-07-04 23:00:39 +10:00
caf65be74c allow author to be a link 2023-07-04 23:00:08 +10:00
0d48053a6d created OrderBooks covenience function, then didnt use it elsewhere ;) 2023-07-04 22:21:32 +10:00
3bbe971b92 remove done items 2023-07-04 22:20:03 +10:00
29157a48dd update BUG details 2023-07-04 22:19:40 +10:00
d88f117dc0 sort series by title 2023-07-04 22:19:22 +10:00
ae4fe47093 added removing direct sqls, also put a TODO in for adding a parent book to a series 2023-07-02 12:58:42 +10:00
867924fa60 remove use of sql direct for insert into, delete from AND fix bug with parent variable not being set before use - this bug must have been there a while untested AND push FLASK_ENV into config for container, development mode so we can show it better in navbar 2023-07-02 12:57:49 +10:00
f4962e5fd8 remove use of sql direct for delete, just use import line as needed to avoid circular import 2023-07-02 12:56:23 +10:00
b2d6f38a62 just make container mode visually different in navbar 2023-07-02 12:55:30 +10:00
1db94434d5 convert over to classes for all DB tables, it was just my lack of understanding when I first used sqlalchemy 2023-07-02 10:45:17 +10:00
df07c810bc start by sorting by title, so the drop-down is alphabetised by title 2023-07-02 10:44:42 +10:00