Commit Graph

53 Commits

Author SHA1 Message Date
Ryderjj89
2c78f7c437 Fix database schema: allow NULL chapters for book-only favorites 2025-09-13 19:17:51 -04:00
Ryderjj89
d8576a74a9 Fix verse hover visibility - make stars always visible with opacity-60, hover to opacity-100 2025-09-13 19:14:03 -04:00
Ryderjj89
ba671e03f3 Fix book favoriting logic to match working ChapterSelector pattern 2025-09-13 19:13:38 -04:00
Ryderjj89
b9c46451d9 Add organized subheadings to favorites menu with icons for Books, Chapters, and Verses 2025-09-13 19:08:58 -04:00
Ryderjj89
568f253bbb Fix verse hover functionality with improved visibility and better UX 2025-09-13 19:06:21 -04:00
Ryderjj89
dc62b25b34 Fix book favorites persistence on page refresh and improve 409 error handling 2025-09-13 19:05:05 -04:00
Ryderjj89
dbde7f4987 Fix 409 conflict error in BookSelector and improve dark mode preference loading 2025-09-13 18:59:50 -04:00
Ryderjj89
8423784d8d Fix backend API to allow book-only favorites (chapter is now optional) 2025-09-13 18:31:38 -04:00
Ryderjj89
f008fc64b4 Fix TypeScript compilation errors in BookSelector and ChapterSelector by explicitly typing Set<string> 2025-09-13 18:25:29 -04:00
Ryderjj89
07c975b1d0 Fix TypeScript compilation error in BibleReader by explicitly typing Set<string> 2025-09-13 18:22:23 -04:00
Ryderjj89
aca8f9bd64 Add star buttons to ChapterSelector and BibleReader for complete favorites system 2025-09-13 18:18:50 -04:00
Ryderjj89
3e3869c117 Update App to pass user prop to components and add star buttons to BookSelector 2025-09-13 18:14:53 -04:00
Ryderjj89
5301154a20 Add FavoritesMenu component and integrate into App header 2025-09-13 18:12:08 -04:00
Ryderjj89
d8e0544d4d Implement hybrid preferences system - use database for authenticated users, localStorage for non-authenticated users 2025-09-13 18:07:20 -04:00
Ryderjj89
a616cb08c7 Fix OIDC callback parameter mapping - profile parameter is actually the callback function 2025-09-13 18:00:08 -04:00
Ryderjj89
173952d70d Add comprehensive parameter debugging to find actual callback function in OIDC strategy 2025-09-13 17:55:42 -04:00
Ryderjj89
5e6af9f5ad Store done callback in variable to prevent scope loss and add debugging to track callback availability 2025-09-13 17:53:51 -04:00
Ryderjj89
4c4bfaaf1d Remove return statement before done callback to fix scope issue 2025-09-13 17:48:43 -04:00
Ryderjj89
5434fa6dc0 Fix callback scope issue in database user creation - rename nested callback parameter to avoid conflict 2025-09-13 17:43:41 -04:00
Ryderjj89
53245ca662 Fix profile extraction - sub parameter contains the profile object, extract ID from sub.id 2025-09-13 17:38:45 -04:00
Ryderjj89
df761b3626 Fix profile parsing to use sub parameter directly and improve user data extraction 2025-09-13 17:33:43 -04:00
Ryderjj89
c369b5160f Add OIDC configuration debugging to identify issuer mismatch 2025-09-13 17:26:58 -04:00
Ryderjj89
a5ae6ed208 Add comprehensive debugging to OIDC authentication flow and fix callback handling 2025-09-13 17:22:42 -04:00
Ryderjj89
dbdb455772 Fix session cookie configuration and add debugging for authentication issues 2025-09-13 17:16:22 -04:00
Ryderjj89
4d5d7b74b8 Fix authentication status handling to properly handle 401 responses 2025-09-13 17:08:49 -04:00
Ryderjj89
7bf2a8a879 Fix database directory creation and add login/logout UI when authentication is configured 2025-09-13 17:03:22 -04:00
Ryderjj89
a804430536 Add OpenID Connect authentication and SQLite database with user preferences and favorites system 2025-09-13 16:50:26 -04:00
Ryderjj89
9beff1e610 Add previous/next chapter navigation buttons with conditional visibility 2025-09-13 16:38:39 -04:00
Ryderjj89
6dd07e8e8e Add mobile responsive navigation and Book icon favicon 2025-09-13 16:25:58 -04:00
Ryderjj89
ceae5a5ef9 Fix font size controls using CSS classes instead of Tailwind utilities 2025-09-13 16:22:40 -04:00
Ryderjj89
0513f821bd Add clean URL support with book names like /book/Genesis/chapter/1 2025-09-13 16:09:57 -04:00
Ryderjj89
61280d6181 Add React Router for proper URL navigation and browser history support 2025-09-13 16:07:33 -04:00
Ryderjj89
3597f27b76 Add font size persistence and debugging for font controls 2025-09-13 16:04:42 -04:00
Ryderjj89
9bebd76d7c Fix chapter listing API and restore font size controls 2025-09-13 15:59:07 -04:00
Ryderjj89
1750b7c4ae Set Times New Roman as default font and fix font size controls 2025-09-13 15:51:21 -04:00
Ryderjj89
5e1a8b9bb2 Add dark mode persistence and book name formatting for professional display 2025-09-13 15:49:18 -04:00
Ryderjj89
a333415630 Fix chapter file naming to use Chapter_XX.md format 2025-09-13 15:44:56 -04:00
Ryderjj89
1e819e33c7 Add chapter number padding and debugging for chapter loading 2025-09-13 15:43:13 -04:00
Ryderjj89
eb81bdc9e6 Disable helmet security headers and use relative API URLs to fix HTTP access 2025-09-13 15:36:27 -04:00
Ryderjj89
0232b854c9 Remove all PWA functionality and manifest files for clean HTTP webpage 2025-09-13 15:31:33 -04:00
Ryderjj89
690a2b6907 Add HTTP headers and modify manifest to prevent browser HTTPS enforcement 2025-09-13 15:27:34 -04:00
Ryderjj89
9d71a835ca Add debugging logs and manifest.json to help troubleshoot blank page issue 2025-09-13 12:39:34 -04:00
Ryderjj89
a26047493a Fix frontend static file paths to point to correct Docker container location 2025-09-13 12:33:37 -04:00
Ryderjj89
2c5dd415c7 Update volume name from bible_data to data for cleaner naming 2025-09-13 12:30:05 -04:00
Ryderjj89
cb3dbe8d5b Add static file serving and SPA routing support for React frontend 2025-09-13 12:28:59 -04:00
Ryderjj89
ce89f120f1 Fix Dockerfile to use npm install instead of npm ci for remote builds 2025-09-13 12:24:18 -04:00
Ryderjj89
b9a898f24b Merge GitHub repository initialization 2025-09-13 12:19:47 -04:00
Joshua Ryder
ad476552d3 Initial commit 2025-09-13 12:17:56 -04:00
Ryderjj89
0bcd267741 Update docker-compose.yml to use Docker Hub image ryderjj89/esv-bible:latest 2025-09-13 12:16:25 -04:00
Ryderjj89
13c93879c0 Reorganize project structure with backend/ and frontend/ directories 2025-09-13 12:14:01 -04:00