Commit Graph

24 Commits

Author SHA1 Message Date
a9dc5f6f65 Fix reference to variables instead of scalar 0 when session is expired 2025-05-06 19:30:25 -04:00
29010d4c66 Improve logic for catching expired credentials. 2025-05-06 19:18:40 -04:00
c175362563 Add rewrite rule and a bit of JS tweaking to make book download URLs more clean 2025-05-06 15:11:40 -04:00
e117a6f037 Call getContents if parseBooks finds new or purged books. 2025-05-06 13:52:30 -04:00
e4bbfd5f60 Add parse books feature for admin users. 2025-05-06 13:01:59 -04:00
9f2977d2c0 Add admin global variable set from getContents 2025-05-06 12:47:35 -04:00
3f461ae142 Add admin status to response data in getcontents 2025-05-06 12:37:38 -04:00
bb979200cd Change instructions to reference new path for parsebooks 2025-05-06 12:25:36 -04:00
88231a9583 Require login for parsebooks if not on CLI. Only initialize session if not on CLI. 2025-05-06 12:24:21 -04:00
320d1fccc9 Move parsebooks to /scripts 2025-05-06 12:13:04 -04:00
8b7ccda1b1 Add total, new, purged counts to output. Output json if from browser. 2025-05-06 12:11:38 -04:00
0d74e59634 Only print author's name on book when searching or when it doesn't match the folder the book is in (usually multi-author) 2025-04-16 15:38:49 -04:00
92489209c5 Make folder font bold (more obvious when searching) 2025-04-09 13:42:39 -04:00
f5b0b2aab5 Rename pushbook to download 2025-03-13 13:48:50 -04:00
7b7f866582 Do a new getContents if the search field is cleared 2024-12-16 11:19:39 -05:00
851b5156d7 Change require to reference actual script path so it can be run anywhere 2024-12-03 12:05:16 -05:00
6b58de0033 Only add search parameter to getcontents request when search field is not empty 2024-12-02 08:38:12 -05:00
eb04386d68 Fix path+filename checking in database when comparing to filesystem contents 2024-12-02 07:42:13 -05:00
516bc6bfa9 Catch ajax calls when session has expired and redirect to login 2024-12-02 07:21:32 -05:00
44420c8ad7 Only trigger content search if search field length > 2 2024-11-12 09:53:32 -05:00
2e85705a20 Add folders containing matching files to the contents list when searching 2024-11-12 09:36:38 -05:00
8e8df39ec5 Make epub book downloads open in a new tab so EPUBReader extension works better 2024-11-10 16:34:01 -05:00
3fe2e12da2 Add a readme file 2024-11-10 16:20:03 -05:00
08e608eeb1 Initial commit 2024-11-10 16:10:07 -05:00