Commit Graph

164 Commits

Author SHA1 Message Date
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
61629760cd adding a sub-book now works 2020-12-26 19:11:43 +11:00
6a72c6d9dd okay, I have series add/remove working with crazy bootstrap input-groups and jscript/jquery adding/modifying/removing divs on the fly. It works but its way complex.... Sadly, author is not properly in the input-group and should be fixed, and may well then need more crazy on-the-fly updating of divs/buttons, etc. to move plus/minus buttons into/out of the input-group appropriately 2020-12-24 17:11:28 +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
7bd81d3119 loan now has working create/update/delete, still no add/rem books though 2020-12-21 22:06:35 +11:00
c4d7fdaa04 create new loan now links to url 2020-12-21 22:05:37 +11:00
8b9e017233 updated TODO 2020-12-14 23:23:50 +11:00
24210d365c added stats page 2020-12-14 23:21:19 +11:00
4691e50811 updated TODO 2020-12-14 23:21:10 +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
e3d21a9438 series now has create/update/delete working, and put back series.html rather than edit-id.html (what was I thinking, serious case of the dumbs) 2020-12-09 22:02:03 +11:00
583bebccec okay adding/removing authors is functional, ordering of it is NQR, also moved to bookstrap margin/padding classes where it worked 2020-12-06 15:51: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
15ac1fbed0 made subbook show it is one more visually, also disabled fields that are part of the parent book so they cannot be changed 2020-12-05 21:23:54 +11:00
8ab3b36dc0 make AddSub so we can call it in search and books, and dont use -1 array index as it breaks AddSubs - remember it is the last element in dict, so it was overwriting data 2020-12-05 20:45:44 +11:00
e68286c453 update placeholder text 2020-12-05 20:44:23 +11:00
e84e54bdab order pubisher list in book.html by name not id 2020-12-05 20:28:11 +11:00
b34fc4edf9 removed old, added new 2020-12-05 20:16:00 +11:00
b2a9cdc1c7 added search (only of title in book for now) 2020-12-05 20:15:44 +11:00
2930b1b77b added search (only of title in book for now) 2020-12-05 20:15:31 +11:00
39e3838336 can now create/update/delete authors (base.html, using edit*.html, and authors.html) 2020-12-05 19:27:13 +11:00
f3c70d267c remove unneeded alert, its done in show*.html now 2020-12-05 19:25:17 +11:00
a1679dac74 add the alert for a message 2020-12-05 19:24:33 +11:00
7960c1c84a add an AppendMessage() as well 2020-12-05 19:24:03 +11:00
a45528e5ae remove unneeded query of all objects 2020-12-05 19:23:46 +11:00