11 Commits

Author SHA1 Message Date
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
3de9f3d8ee Refactor book management system:
- Updated .gitignore to exclude node_modules directory.
- Enhanced index.js with new endpoints for book fetching and checkout requests, integrating nodemailer and express-rate-limit for email notifications and request management.
- Added functionality to confirm book presence in the library and improved error handling for external book sources.
- Updated package.json and package-lock.json to include new dependencies (nodemailer, express-rate-limit) and their respective versions.
- Modified public HTML and JavaScript files to support new features, including a confirm mode for book scanning and improved UI elements.
- Updated styles for better user experience in the library interface.
2024-12-11 09:41:22 -05:00
7d788cd094 Rmove node stuff I think? 2024-12-11 09:40:52 -05:00
c48242aab2 Update git ignore 2024-12-11 09:38:24 -05:00
BlipRanger
63dfe85832 Add locations 2024-08-31 11:44:20 -04:00
BlipRanger
691448fab3 chore: Update npm dependencies and add support for Google Books API 2024-08-26 00:24:12 -04:00
BlipRanger
2e66aa5829 Scanned basically everything with this 2024-08-25 11:53:26 -04:00
BlipRanger
1870130b29 Working ISBN scan 2024-08-25 00:36:41 -04:00
BlipRanger
78ca8f815a Move to multi-files 2024-08-24 23:20:28 -04:00
BlipRanger
3c70c1d53d Initial mvp-ish 2024-08-24 22:42:37 -04:00