6abae17feaImplement 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.
master
theluyuan2025-10-31 10:32:44 +08:00
da140d5415Remove response data truncation logic in ProxyManager for improved readability of displayed content.theluyuan2025-10-31 10:28:50 +08:00
4cefbbbcd6Refactor 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.theluyuan2025-10-31 10:03:40 +08:00
a4127509afEnhance 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.theluyuan2025-10-31 09:56:31 +08:00
6c3b3928f9Add "实时日志" link to navigation in history, index, monitoring, and proxies pagestheluyuan2025-10-31 09:44:44 +08:00
54bc260453Restore directory creation in Dockerfile for data and logs, removing previous comment-out for improved setup consistency.theluyuan2025-10-31 09:40:50 +08:00
9bdc1bd9b3Comment out directory creation and user switch in Dockerfile for potential troubleshooting purposes.theluyuan2025-10-31 09:39:53 +08:00
8cb074660aUpdate 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.theluyuan2025-10-31 09:36:08 +08:00
c9ccb3435dUpdate 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.theluyuan2025-10-31 09:33:05 +08:00
f96a69e846Add logging functionality and new log-related endpointstheluyuan2025-10-31 09:23:05 +08:00
76683fb519Enhance ProxyValidator to support three validation attempts with improved logging. Update retryCount default to 2 and clarify retry logic in comments.theluyuan2025-10-31 08:50:45 +08:00
a31fe3f892Refactor proxy validation logic to use a unified ProxyValidator class, enhancing code maintainability and adding support for retry mechanisms and logging options.theluyuan2025-10-31 08:45:16 +08:00
136070e02fComment out npm registry configuration in Dockerfiletheluyuan2025-10-30 23:43:42 +08:00
76363d0da7Update Dockerfile to install dependencies using pnpm instead of npmtheluyuan2025-10-30 23:41:52 +08:00
0d98b501a0Refactor Dockerfile to use 'npm install' instead of 'npm ci' for dependency installationtheluyuan2025-10-30 23:30:15 +08:00