21 Commits

Author SHA1 Message Date
6abae17fea Implement dynamic database path configuration in database.js, enhancing compatibility with Docker and local development environments. Update db.js to log the database connection path. Remove response data truncation in validator.js for improved readability. 2025-10-31 10:32:44 +08:00
da140d5415 Remove response data truncation logic in ProxyManager for improved readability of displayed content. 2025-10-31 10:28:50 +08:00
4cefbbbcd6 Refactor ProxyScraper to limit proxy attempts to 3 and improve error handling. Added a flag to switch to direct connection if proxy fails. Enhanced logging for proxy testing outcomes. 2025-10-31 10:03:40 +08:00
a4127509af Enhance ProxyManager and ProxyValidator to display detailed response information, including status codes, response data, and headers. Implement response data truncation for better readability. Update validation logic to capture and return response details in case of errors. 2025-10-31 09:56:31 +08:00
6c3b3928f9 Add "实时日志" link to navigation in history, index, monitoring, and proxies pages 2025-10-31 09:44:44 +08:00
54bc260453 Restore directory creation in Dockerfile for data and logs, removing previous comment-out for improved setup consistency. 2025-10-31 09:40:50 +08:00
d48e0f2d9f Merge branch 'master' of https://git.theluyuan.com/theluyuan/dailiip 2025-10-31 09:39:57 +08:00
9bdc1bd9b3 Comment out directory creation and user switch in Dockerfile for potential troubleshooting purposes. 2025-10-31 09:39:53 +08:00
8cb074660a Update DOCKER_README.md to address log file permission issues, providing troubleshooting steps for Linux/Mac and Windows users. Clarify the importance of ensuring the logs directory has the correct permissions for the container's node user. 2025-10-31 09:36:08 +08:00
804f996c69 Merge branch 'master' of https://git.theluyuan.com/theluyuan/dailiip 2025-10-31 09:35:24 +08:00
735d3e0677 proxy 2025-10-31 09:34:05 +08:00
c9ccb3435d Update Dockerfile to create both data and logs directories; enhance logger to handle directory and file creation errors gracefully. Log warnings for permission issues without blocking application startup. 2025-10-31 09:33:05 +08:00
f96a69e846 Add logging functionality and new log-related endpoints
- Integrated a logging service to redirect console outputs.
- Added new endpoints for managing logs:
  - Retrieve log file list
  - Read specific log file content
  - Fetch recent logs
  - Stream logs via Server-Sent Events
  - Search logs by keyword
  - Cleanup old log files
- Updated application metadata to include new log management features.
2025-10-31 09:23:05 +08:00
76683fb519 Enhance ProxyValidator to support three validation attempts with improved logging. Update retryCount default to 2 and clarify retry logic in comments. 2025-10-31 08:50:45 +08:00
a31fe3f892 Refactor proxy validation logic to use a unified ProxyValidator class, enhancing code maintainability and adding support for retry mechanisms and logging options. 2025-10-31 08:45:16 +08:00
136070e02f Comment out npm registry configuration in Dockerfile 2025-10-30 23:43:42 +08:00
76363d0da7 Update Dockerfile to install dependencies using pnpm instead of npm 2025-10-30 23:41:52 +08:00
0d98b501a0 Refactor Dockerfile to use 'npm install' instead of 'npm ci' for dependency installation 2025-10-30 23:30:15 +08:00
13b7c6f993 1 2025-10-30 23:17:30 +08:00
4b3cb9cc13 Update Dockerfile to use domestic mirrors for package installation and npm registry 2025-10-30 23:17:14 +08:00
480f224ab6 init 2025-10-30 23:05:24 +08:00