Commit Graph
8 Commits
Author SHA1 Message Date
nsrb a92e8e2775 Enhance authentication handling with secure cookie management
- Added support for configurable cookie security modes in the authentication logic, allowing for flexible handling of secure cookies based on the request scheme.
- Updated session management to respect the secure cookie flag based on the environment and request context.
- Modified the Fastify server setup to honor reverse proxy headers for improved cookie security in various deployment scenarios.
- Enhanced documentation in the codebase to clarify the new cookie security options and their implications.
2026-08-03 15:14:39 +07:00
nsrb f2a4e8958c Refine Dockerfile for better-sqlite3 build process and verification
- Updated the Dockerfile to ensure better-sqlite3 is rebuilt from source by removing prebuilds and using node-gyp.
- Added verification checks to confirm the successful compilation of better_sqlite3.node and the absence of prebuilds.
- Enhanced dependency management during the Docker build process.
2026-08-03 14:14:28 +07:00
nsrb 2cc7650ebc Enhance Dockerfile for better-sqlite3 handling and build verification
- Added steps to remove prebuilds of better-sqlite3 to ensure compatibility with the image's glibc.
- Included verification checks for the existence of the compiled better_sqlite3.node file after rebuild and prune operations.
- Improved overall dependency management in the Docker build process.
2026-08-03 13:42:10 +07:00
nsrb 26c45e5177 Refactor Dockerfile for multi-stage build and better dependency management
- Updated Dockerfile to use a multi-stage build process for improved efficiency.
- Compiled better-sqlite3 from source in the builder stage.
- Pruned development dependencies in the runner stage to reduce image size.
- Streamlined the copying of necessary files between build stages.
2026-08-03 11:18:05 +07:00
nsrb 4b981ab901 Remove chapter 193 of "The Chaebol's Youngest Son" from the list 2026-08-03 10:35:21 +07:00
nsrb b08c5acd89 Refactor frontend components and remove FlareSolverr service from Docker setup
- Removed FlareSolverr service from docker-compose.yml and its related environment variables.
- Refactored App.svelte to utilize new components for header, login form, and title management.
- Introduced new components: AppHeader, LoginForm, AddTitleForm, ChapterList, TitleCard, TitleList, JobsStrip, and ErrorBanner for better modularity and maintainability.
- Updated API handling in App.svelte to streamline authentication and title addition processes.
- Enhanced user interface with improved error handling and loading states across components.
2026-08-03 08:14:15 +07:00
nsrb 704394169a Add authentication feature with session management
- Implemented authentication logic in src/server/auth.js, including session token creation and verification.
- Integrated authentication routes for login, logout, and user session retrieval in the Fastify server.
- Updated docker-compose.yml to include optional authentication environment variables.
- Added @fastify/cookie dependency for cookie management in package.json and package-lock.json.
- Enhanced the frontend with login form and session handling in App.svelte, including UI updates for authenticated states.
- Styled authentication components in app.css for better user experience.
2026-08-03 07:50:00 +07:00
nsrb 3799ad59f8 Add initial project structure with Docker support and chapter downloading functionality
- Created .dockerignore and .gitignore files to exclude unnecessary files from Docker builds.
- Added Dockerfile for multi-stage build setup, including dependencies and production environment configuration.
- Introduced docker-compose.yml for service orchestration, including FlareSolverr and the main application.
- Implemented core functionality for downloading manga chapters, including utilities for handling file paths and chapter metadata.
- Added ESLint configuration for code quality and consistency.
- Included JSDoc configuration for documentation generation.
- Established initial package.json and package-lock.json with necessary dependencies for the project.
2026-08-03 07:35:37 +07:00