Commit Graph
44 Commits
Author SHA1 Message Date
Balázs Szücs 07c3affcd5 refactor(frontend): resolve linting errors, and EPUB reader lifecycle errors (#2127)
* refactor(types): improve type safety by replacing 'any' with specific types in various components

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(filters): handle undefined values in filter streams and update type for selected filters

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(epub-reader): improve rendition cleanup and enhance debug logging in helper functions

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(epub-reader): handle errors during rendition and book destruction in ngOnDestroy

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-08 15:21:23 -07:00
ACXandacx10 c17fe58f4c Show a persistent loader while a large library is being created (#2200)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-07 18:10:53 -07:00
acx10 f63a8641d8 Add frontend unit tests (Part 2) 2026-01-06 15:16:26 -07:00
ACXandacx10 3b3656c29b Improve robustness of book uploader error handling (#2130)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-03 16:47:59 -07:00
Balázs Szücs ab96eee5bc refactor(types): replace most usages of 'any' with 'unknown' and improve type safety across services and components (#2050)
* refactor(types): replace most usages of 'any' with 'unknown' and improve type safety across services and components

- Update method signatures, variables, and interfaces to use 'unknown' instead of 'any'
- Refine event and observable typings for better type inference
- Add or adjust explicit types for function parameters and return values
- Update Chart.js tooltip and context typings for chart services
- Improve type safety in Book, BookState, and related models
- Adjust template bindings and method calls to match stricter typings
- Add SecureSrcDirective for secure image loading with fallback and error handling

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* chore(angular): remove proxy configuration from development build settings

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(book-browser): streamline entity and book state management with reactive streams

- Refactor entity type and entity fetching logic to use observables and combine route params
- Simplify book state handling by consolidating filtering and fetching into a single reactive pipeline
- Remove redundant applySortOption logic and related subscriptions
- Fix book card index binding in template for improved rendering performance
- Ensure proper cleanup of epub rendition in epub-reader component

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(book-browser, book-uploader): improve permission checks and enhance file upload handling

- Use optional chaining for user permission checks in book-browser.component.html to prevent runtime errors when user data is undefined
- Refactor book-uploader.component.ts to pass destination and IDs explicitly to uploadBatch, reconstruct files for strict type handling, and ensure proper upload flow and UI feedback

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(charts, services): improve type safety for book state validation and update form field checks

- Refactor isValidBookState methods across chart components and services to use type predicates and stricter type checks for BookState
- Update metadata-picker.component to simplify array field checks for authors, categories, moods, and tags
- Adjust magic-shelf-utils to remove unnecessary fallback in object spread
- Update notification-event.service to use correct timeout type for highlightTimeout

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(theme): ensure safe merging of theme properties and improve type definition for themesMap

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(epub-reader): streamline book and rendition initialization logic

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-02 18:22:54 -07:00
ACXandacx10 5bd26b9aa7 Change the official domain from booklore.dev to booklore.org (#2046)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-29 19:42:10 -07:00
ACXandacx10 01446c2537 Refactor book service in BE and FE (#2013)
* Refactor book service in BE and FE

* Add missing method

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-28 19:37:35 -07:00
ACXandacx10 9e151010e7 Improve the SVG fetching and caching logic (#2011)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-27 15:26:11 -07:00
ACXandacx10 b8fb843b7a Introduce more granular permission controls and update the user management UI (#1965)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-22 11:24:54 -07:00
ACXandacx10 690dbb0aa2 Upgrade from Angular 20 to 21 + update other dependencies (#1916)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-16 23:29:18 -07:00
Muppetteer 0b4bccb462 fix(ui): Force page reload on logout (#1870) 2025-12-14 19:22:06 -07:00
Dmitry Manannikov 708e851e0b Add support for fb2 books (#1757) 2025-12-13 21:16:56 -07:00
Muppetteer 0486a4f070 fix: Consistent dialogs (#1842)
* fix/consistent-dialogs

* fix: enforce consistent mobile dialog width

* fix: cover search dialog image size
2025-12-13 21:08:43 -07:00
Aditya Chandel e2062b5dc6 Allow uploading multiple SVG icons and render them directly as inline SVGs instead of using <img> tags (#1796) 2025-12-09 13:38:39 -07:00
Aditya Chandel ad0a99bcbc Add support for uploading and assigning custom SVG icons to libraries… (#1788)
* Add support for uploading and assigning custom SVG icons to libraries and shelves

* Add few default icons
2025-12-07 15:16:22 -07:00
Aditya Chandel bb31f67d80 More UI tweaks (#1740) 2025-12-02 23:31:48 -07:00
Aditya Chandel 6b0b078044 Align the layout to be consistent throughout all dialogs (#1737) 2025-12-02 16:31:19 -07:00
Aditya Chandel 415207d91d Allow duplicate files both within the same library and across different libraries (#1632) 2025-11-25 04:38:18 -07:00
aditya.chandel be925de5da Fix LoginGuard 2025-11-21 00:23:04 -07:00
aditya.chandel 865042162f Update readme 2025-10-28 13:35:51 -06:00
Aditya Chandel 9065d065fb Fix: Cannot delete user after KOReader setup (#1454) 2025-10-26 22:40:21 -06:00
aditya.chandel ed2e4c4719 Add repobeats 2025-10-26 17:27:57 -06:00
aditya.chandel 3da214c4bb Refine generated SVG covers 2025-10-26 13:09:02 -06:00
Chris Debenham 4251fe42c3 Show a generated cover for books which are missing a cover image (#1438)
* Replace 'Missing Cover' image with a generated SVG

Instead of showing the 'Missing Cover' cover image, generate one using
SVG.  Split title/Author into words/10 characters manually since SVG
doesn't support word-wrap

* Styling for the generated cover
2025-10-26 09:39:36 -06:00
Aditya Chandel 9186ea0c67 Refactor file mover to ensure faster transfers and more reliable handling (#1406) 2025-10-21 21:10:46 -06:00
Aditya Chandel e70e7f89db Add reference link to OIDC documentation (#1376) 2025-10-17 13:23:13 -06:00
Aditya Chandel 3149b07901 Update Angular dependencies to latest versions (#1366) 2025-10-16 14:13:45 -06:00
aditya.chandel d9528af522 Add severity to UI logs 2025-10-15 23:59:20 -06:00
Aditya Chandel d90cb73148 Unify TasksV1 and TasksV2 implementations (#1358) 2025-10-15 19:59:30 -06:00
Aditya Chandel a98c0dc801 Implement Email V2 with support for user-specific providers and recipient lists (#1352) 2025-10-15 09:05:42 -06:00
Aditya Chandel 34d195bbbe Improve login and initial user setup screen appearance (#1336) 2025-10-13 13:02:27 -06:00
Aditya Chandel d06b7b9a29 Enhance Library Creator UI/UX with multi-folder selection via checkboxes (#1333) 2025-10-12 17:14:25 -06:00
aditya.chandel a7622f1df1 Organize code some more 2025-10-12 02:13:10 -06:00
aditya.chandel 4453115149 Organize code 2025-10-12 02:09:57 -06:00
Aditya Chandel 7c9bd56f63 Improve Angular project structure and code organization (#1328) 2025-10-12 02:01:59 -06:00
aditya.chandel c98c3cbc4a Add documentation link for System Task Manager 2025-10-11 21:37:32 -06:00
Aditya Chandel 28081a1681 Add Metadata Manager for organizing and standardizing metadata (#1312) 2025-10-10 09:08:42 -06:00
Aditya Chandel 33a0b32b77 Fix browser freezing when downloading large files (#1304) 2025-10-08 20:25:04 -06:00
Aditya Chandel 41f68a6075 Add support for moods and tags in book metadata (#1262) 2025-10-04 19:02:25 -06:00
aditya.chandel 0f852ef068 Migrate existing control flow directives to use new control-flow schematic 2025-06-05 18:18:10 -06:00
aditya.chandel e9fd7405cf Make components standalone 2025-01-27 12:15:39 -07:00
aditya.chandel 532246b18b - Refactor to remove BookMetadataBI
- Use inject everywhere instead of constructor injection
2025-01-16 00:10:42 -07:00
aditya.chandel 4bcb5f4fc0 Rename app configurator to theme configurator 2025-01-12 14:02:33 -07:00
aditya.chandel ef3556cb0c WIP: Rearrange code 2025-01-12 13:38:57 -07:00