Commit Graph
39 Commits
Author SHA1 Message Date
CaliBrain 05f2084a7b Fix typo in docker-compose.dev (#109) 2025-03-29 03:40:06 -04:00
CaliBrain 5b2b640937 DNS (#108)
This should help fix #106 #103
2025-03-29 03:36:34 -04:00
CaliBrain 93a3481750 Fix errors and improve logging (#102)
Fix #100
Fix #101
2025-03-22 17:35:12 -04:00
CaliBrain c2e7acd473 Use a tmp name while downloading files (#99)
Should help with #98
2025-03-20 00:56:54 -04:00
DanielandDaniel Egberts b93bdd59ac Soft fail for chown in entrypoint.sh (#97)
Co-authored-by: Daniel Egberts <daniel@MacBook-Pro-van-Daniel.local>
2025-03-17 14:47:53 -04:00
CaliBrain 392a8b5262 feat: add USE_BOOK_TITLE option for customizing download filenames (#95)
Implements #94
2025-03-16 14:42:19 -04:00
CaliBrain 909f4b403c Multiple bug fixes (#93) 2025-03-16 03:33:59 -04:00
CaliBrain 5002b1535b Fix: filter (#92)
Fix #84
2025-03-16 03:11:34 -04:00
CaliBrain 0f7d4292a4 feat: implement dark mode with improved UI contrast and full-height layout (#91)
- Add theme toggle (light/dark/auto)
- Improve text contrast and readability
- Fix viewport height issues
- Ensure consistent styling across components
2025-03-16 03:00:56 -04:00
CaliBrain d5b2e24423 feat: Add CUSTOM_SCRIPT documentation and implementation details (#90) 2025-03-16 02:40:09 -04:00
CaliBrainandmik593 3a92c5de78 CF BYPASS (#24)
The Calibre dependency was due to the script testing for validity of the
downloaded file, as often they would be corrupted from aa. But CWA is
already doing that, so we are just having redundant code here.

For the cloudflarebypasser, I basically run my own version now, instead
of depending on an external library, this way we have better control for
debugging and on the docker image.

Fixes #18, #33, #27, #48, #65, #78, #86, #88, #89

---------

Co-authored-by: mik593 <91991279+mik593@users.noreply.github.com>
2025-03-16 02:25:15 -04:00
CaliBrain 17fdb87749 Update readme.md
Removing PDF mention from readme since it is now supported by CWA #82
2025-02-14 18:15:29 -05:00
Cathelijne HornstraandCathelijne Hornstra af3d2cc358 feat: add commit date tagging to Docker image workflow (#69)
This PR adds a date-based tag to the docker container.

Example: 
<img width="875" alt="Screenshot 2025-01-25 at 01 33 01"
src="https://github.com/user-attachments/assets/d3c99763-de29-4802-affa-c6fd34f8c611"
/>

Fixes #68

Co-authored-by: Cathelijne Hornstra <git@pepperlink.nl>
2025-01-24 20:49:32 -05:00
FunnyPocketBookandCaliBrain aab3d7269a fix: clear checkboxes on new search query (#66)
This PR addresses an issue where the "download selected" functionality
behaves unexpectedly. If a user makes a selection of books to download,
performs a new search without clearing the previous selection, and
selects new books, clicking "download selected" would still include the
books from the prior selection. This causes the "download selected"
button to fail, as the books from the previous selection are no longer
available.


A potential enhancement could allow users to select books across
multiple searches and download them collectively. This could be achieved
by creating a dedicated section in the UI to track and display the
currently selected books. This feature might go well with a broader UI
overhaul, as has been suggested in some issues - maybe after your CF
bypass rewrite?

Co-authored-by: CaliBrain <calibrain@l4n.xyz>
2025-01-22 16:52:12 -05:00
mik593 7f56c6b832 feat: support search filters (#55)
Still a WIP but an initial attempt of search filters. #7 

Currently supporting: 

- ISBN
- Author
- Title
- Language
- Sort
- Content


first attempt at some sort of UI for it 👇

![image](https://github.com/user-attachments/assets/7237ae96-7e97-4db0-98da-06c3171aca3b)

smaller/mobile

![image](https://github.com/user-attachments/assets/ba20de0e-deb1-4aa1-9c5f-27cf473670e6)
2025-01-22 16:51:06 -05:00
FunnyPocketBook 7113905e25 Update readme.md env variable (#64)
Adjust `AA_DONATOR_KEY` in text to reflect changes of the env variable
2025-01-14 22:36:28 -05:00
Colin Yates 629dcf0681 Update readme.md (#62)
(minor spelling mistakes)
2025-01-14 11:25:07 -05:00
FunnyPocketBook 0034a688c4 [Feature] Select multiple books to queue (#57)
Related to #34 

This PR adds:
- Additional column for checkboxes as the first column to select which
books to download
- Select/deselect all books
- Button and modal to confirm download of selected books

Maybe the checkbox column should be at the end of the table, next to
actions?


![image](https://github.com/user-attachments/assets/459934cd-2503-41bd-83d7-b0517a541062)


![image](https://github.com/user-attachments/assets/77ff4636-6802-441e-a02c-17dafb6bfa9c)


![image](https://github.com/user-attachments/assets/4648357d-26e4-4be8-a5ca-19444486ceef)
2025-01-13 16:37:35 -05:00
FunnyPocketBook 39ac60eaab [Feature] Sort results table by headers (#58)
Related to #53

This PR adds sorting to the results table. This can be done by clicking
on the header of the table.

For narrow columns, the arrow indicating the ordering is underneath the
column title instead of next to the title - not sure how to solve that
elegantly without a minor redesign of the table :D


![image](https://github.com/user-attachments/assets/2d2f6d4f-681a-4900-b55a-67642cc3169f)
2025-01-13 14:20:11 -05:00
CaliBrain 6f14534312 Fix Absolute URL for AA Donators (#61) 2025-01-13 14:19:43 -05:00
CaliBrain b534664534 Fix status not getting removed properly (#51) 2025-01-10 12:57:42 -05:00
CaliBrain 74f00ddcec FIX Logging (#46)
- [FIX] Actually log to a file
- FIX Crash loop due to missing log folder
2025-01-07 15:30:45 -05:00
CaliBrain 2b80de35a8 [FIX] Actually log to a file (#44) 2025-01-07 14:04:50 -05:00
cthorne abff8de155 Fix closing results section (#41)
Fix for the closing of results when doing search for a second time
2025-01-07 13:26:03 -05:00
cthorne 348e5c925b Match size of detail & download btn (#37) 2025-01-05 19:41:41 -05:00
cthorne 8dd975abe0 Add further responsive UI using uiKit (#36)
Utilising [UiKit](https://getuikit.com/) as the CSS framework

Adjusted existing functionality & CSS to integrate with UiKits - should
retain same functionality

- Ui colors are UiKit defaults
- Search results automatically expand when searching
- UiKit ensures its automatically responsive for mobile

### **Search results**

![image](https://github.com/user-attachments/assets/7103b542-9eba-4b56-a730-4165a93ae099)

### **Details dialog**

![image](https://github.com/user-attachments/assets/ff5a69c3-522a-40f0-b04d-9c1e4a2c34fb)

![image](https://github.com/user-attachments/assets/a194ff25-e3da-40b3-a5f9-48a483036491)

**- The dialog could be improved further by adjusting to a modal in
UiKit purely, however wasn't sure on how to do / time reqs.**

### **Search Results & Download Status are in expandable accordions**

![image](https://github.com/user-attachments/assets/2b4f25c4-4c8b-4bde-8861-833399af7d1a)

![image](https://github.com/user-attachments/assets/3ac0447b-7843-4750-9859-94a79fa65f9a)


### **Adjusted search to UiKits with clickable search icon**

![image](https://github.com/user-attachments/assets/8b331063-1045-4759-b05c-64a2e1a738ea)

### **Added gitHub link to footer and increased font sizing**

![image](https://github.com/user-attachments/assets/c9822fd3-3b31-4bbd-bb24-c2272c6af5e3)

### **Mobile views (Chrome on Desktop) - scales & retains scroll**

![image](https://github.com/user-attachments/assets/fb598d07-e6c5-4ab2-ae86-782aa74853a8)

![image](https://github.com/user-attachments/assets/fb04fb6b-be54-4309-a5ba-9636b8691593)

![image](https://github.com/user-attachments/assets/66b0b326-83d1-4131-8d3a-66bf111ca2ad)

### **TODO:**

- Improvements to modal functionality
- Pagination
- Cleaning (removing unused CSS etc)
2025-01-05 13:00:51 -05:00
cthorne 268dac069a Fix overflow for mobile, add spacing between buttons (#32)
Fix mobile being unable to scroll across to the buttons
Retain overflow-hidden when collapsed to hide content

Changing of CSS removes extra margin-bottom: rem padding incidentally
2025-01-04 06:41:29 -05:00
CaliBrain b8a7247538 [FIX] Refactor code to fix typing (#23)
This also fixes some bug with the CF bypasser and the file checker
2024-12-22 22:11:35 -05:00
CaliBrain 7597054649 Fix #20 : Network error when using alternative download streams (#22) 2024-12-22 19:25:03 -05:00
CaliBrain 78e423e8a5 Update entrypoint.sh
No need to exit on error
2024-12-20 20:17:26 -05:00
FlappyTapsandLaurids Düllmann 21c82b88a6 Download books from AA API if userkey is set (#17)
This PR uses the Anna's Archive API to get a fast download URL to
download the book directly. Bypasses parsing HTML with the Cloudflare
proxy.

---------

Co-authored-by: Laurids Düllmann <laurids@vicegold.com>
2024-12-20 12:40:48 -05:00
CaliBrain 7d9d92e6a0 Adding manual workflow_dispatch to GH action 2024-12-20 11:20:43 -05:00
CaliBrain c9b64b2337 Fix compose port (#13) 2024-12-19 16:57:56 -05:00
Vincent De Borger 06f654f4be Add UID and GID to set the user & group ID's during runtime (#10)
This PR add the option to set UID/GID during runtime, making sure the
application is running as a non-root user.
Besides this, it also helps with making sure UID/GID match between
containers.
2024-12-19 10:16:25 -05:00
CaliBrain 81ba20fad9 Enable multilingual search (#5) 2024-12-18 09:30:35 -05:00
BastianLo d9a6d599e6 make book language configurable (#1) 2024-12-18 08:39:03 -05:00
CaliBrain 242af69099 Fix unexpected keyword argument 'favicon_path' 2024-12-18 08:34:01 -05:00
CaliBrain 250cded7fe Fix docker-compose URL
This is what I get for using AI to generate my README
2024-12-17 19:43:48 -05:00
CaliBrain 18b146af64 Innitial Release 2024-12-16 22:48:26 +00:00