Commit Graph
38 Commits
Author SHA1 Message Date
acx10 e51343950a Update Angular dependencies 2026-01-10 10:54:13 -07:00
ACXandacx10 fa3005369f Revamp metadata search UI to display live results (#2195)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-07 11:26:41 -07:00
dependabot[bot] e283b61e2e chore(deps): bump qs and body-parser in /booklore-ui (#2088)
Bumps [qs](https://github.com/ljharb/qs) and [body-parser](https://github.com/expressjs/body-parser). These dependencies needed to be updated together.

Updates `qs` from 6.14.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.0...v6.14.1)

Updates `body-parser` from 1.20.3 to 1.20.4
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.3...1.20.4)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
- dependency-name: body-parser
  dependency-version: 1.20.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-05 15:28:54 -07:00
ACXandacx10 cee7e96c63 Add Vitest frontend tests to CI with JUnit reporting and coverage (#2151)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-04 22:55:13 -07:00
ACXandacx10 e8de8adf6f Introduce Vitest as the frontend Angular testing framework for Booklore (#2150)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-04 21:56:20 -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 6394d1ef04 Fix date inconsistencies in Favorite Days and Reading Session Timeline charts (#2096)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-01 17:34:33 -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 16fe1b632b Fix script error on clearing multi-select fields (#1756) 2025-12-05 09:44:04 -07:00
aditya.chandel dbad4f6659 Revert angular update 2025-11-28 19:20:16 -07:00
Aditya Chandel 16ffd5f558 Upgrade Angular to v21 and update all major frontend dependencies (#1674) 2025-11-28 19:15:04 -07:00
Aditya Chandel 3149b07901 Update Angular dependencies to latest versions (#1366) 2025-10-16 14:13:45 -06:00
aditya.chandel af622d9f75 Add 'Books Finished per Month' heat map chart 2025-09-05 18:23:22 -06:00
Aditya Chandel f5e084d09c Implement comprehensive library stats and charts (#1089)
* Implement comprehensive library stats and charts

* fix(stats): handle null or unknown readStatus consistently

* Fix readStatus in AuthorPopularityChartService

* Fix missing x-axis label in chart

* Add radar charts

* Increase css budget

* Chart positioning and subscription improvements

* Add data labels

* Increase budgets
2025-09-05 13:06:53 -06:00
Alexander PuzyniaandAditya Chandel 60f8442514 Upgrade primeng to 20.0.1 (#903)
* build(npm): add missed packages

* build(npm): upgrade primeng to 20.0.1

* feat(ui): upgrade ui to support 20 primeng

https://primeng.org/migration/v19#compatible

* fix(ui): p-input value max requires value

* refactor(ui): remove unused component imports

* build(npm): allow common js dependencies

* style(ui): fix some warnings

* fix(ui): replace chips with autoComplete

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
2025-08-14 12:10:45 -06:00
aditya.chandel e9cbc36768 Update Frontend and Backend Dependencies - August 2025 2025-08-09 01:04:18 -06:00
aditya.chandel fb5a70c7e7 Allow book upload GUI to upload into Bookdrop 2025-08-09 00:50:50 -06:00
astrodad 21f23ca6a2 Feature: Add support for recording when a book is finished, so that users can create Magic Shelves based on this information. (#803)
* Added migration for new field in user_book_progress table
* Added ability to set date finished when book status changes to read, and reset date finished when book status changes to another value
* Added ability to use date published in a Magic Shelf
2025-08-04 21:12:19 -06:00
aditya.chandel 8ce687d659 Accordion component no longer works after upgrading to the latest PrimeNG version 2025-06-05 22:35:06 -06:00
aditya.chandel d70dd53814 Upgrade Angular Packages to Latest Versions (June 2025) 2025-06-04 18:29:10 -06:00
Oleh Astappiev a904fb7eea fix: restore remote auth 2025-05-18 13:33:49 -06:00
adityachandelgit 817b572c08 Implement OIDC authentication 2025-05-14 14:58:20 -06:00
adityachandelgit a6d8319265 Enable quill in metadata editor and viewer 2025-04-23 14:58:25 -06:00
adityachandelgit 6af3ee7019 Display changelog from current version to latest upon clicking the update link 2025-04-19 00:07:13 -06:00
adityachandelgit 4546d3e232 Update Angular and Spring Boot dependencies (April 2025) 2025-04-15 13:34:48 -06:00
aditya.chandel 80681e1757 WIP: Permissions 2025-02-16 09:39:04 -07:00
aditya.chandel cd12ff3f49 Fix urls 2025-02-13 03:48:53 -07:00
aditya.chandel ceb344677c WIP: ePub support 2025-01-14 11:29:15 -07:00
aditya.chandel 84255e6598 Add ESLint 2025-01-12 20:24:47 -07:00
aditya.chandel 7728cebcf9 WIP: Metadata v2 refactor almost complete 2025-01-12 13:04:03 -07:00
aditya.chandel 6b541c77af WIP: Buggy big table to small to big switching 2025-01-08 17:08:05 -07:00
aditya.chandel 9e34a15b3d Implement new book details dialog/tab 2025-01-02 21:08:09 -07:00
aditya.chandel 9e95987b20 Use correct bg color from the theme 2024-12-30 17:15:48 -07:00
aditya.chandel 38453d4beb Fixes to stepper 2024-12-29 23:42:05 -07:00
aditya.chandel fb41ffdfe7 Checkpoint 2024-12-29 22:02:00 -07:00
aditya.chandel 2b707977ac Checkpoint 2024-12-29 15:22:33 -07:00
aditya.chandel e175a7e255 Websocket and stuffs 2024-12-19 16:10:08 -07:00
aditya.chandel baff376b9c Initial commit 2024-12-13 12:58:23 -07:00