7 Commits

Author SHA1 Message Date
66a121746e Dns 2025-05-17 16:34:25 -04:00
f380a2cc41 refactor: make SMTP configuration configurable via environment variables 2025-05-17 16:07:38 -04:00
ad41ebe2a9 chore: update docker config with shorter domain and switch to expose port 3000 2025-05-17 16:03:35 -04:00
c4df4ccc33 feat: migrate from HTTPS to HTTP and add Traefik configuration for reverse proxy 2025-05-17 16:01:06 -04:00
340bbd22b9 chore: upgrade Node.js base image to v22-alpine and add node_modules volume mount 2025-05-17 15:58:06 -04:00
370ad7c107 Enhance library management system with new features and improvements
- Updated `docker-compose.yml` to include `ADMIN_PASSWORD` environment variable for enhanced security.
- Modified `index.js` to allow checkout requests to capture user names and improved email notifications with detailed information.
- Added a new endpoint to fetch books currently on loan, providing better tracking of borrowed items.
- Implemented a `list_books_on_loan` function in `libraryManager.py` to display books on loan in a formatted table.
- Updated `models.js` to include an `approved` column in the `Checkout` model for tracking approval status.
- Enhanced the user interface in `public/index.html` with a dark mode toggle and improved checkout request handling.
- Updated styles in `public/styles.css` to support dark mode and improve overall aesthetics.
2024-12-11 12:48:04 -05:00
a2a485dd8e Add basic authentication to non-GET requests and update library management features
- Integrated express-basic-auth middleware in index.js to secure non-GET routes with basic authentication.
- Updated libraryManager.py to use HTTPBasicAuth for API requests, enhancing security for book management operations.
- Modified public/index.html to improve the user interface with a new search feature and dynamic book table.
- Removed obsolete public/library.html file to streamline the project structure.
- Updated package.json and package-lock.json to include express-basic-auth as a new dependency.
2024-12-11 10:01:51 -05:00