Commit Graph

54 Commits

Author SHA1 Message Date
cheng zhen
4b43645b19 chore: update GitHub Actions workflow to trigger only on tags, removing branch push condition 2025-01-03 19:10:06 +08:00
cheng zhen
9b7475fcd2 chore: 修改 action 2025-01-03 19:09:22 +08:00
cheng zhen
93e67fe268 chore: 修改 action 2025-01-03 19:01:47 +08:00
cheng zhen
6f75486587 chore: action 2025-01-03 18:57:34 +08:00
cheng zhen
7984d88f3c chore: 工作流 2025-01-03 18:52:20 +08:00
cheng zhen
0a3d4eb649 更新 README.md 文件,简化功能介绍,添加使用前准备和验证步骤,强调 Chrome 浏览器和网络连接的重要性,优化用户体验和使用说明。 2025-01-03 18:46:51 +08:00
cheng zhen
86352bd2e2 chore: 整理代码 2025-01-03 18:41:28 +08:00
cheng zhen
1fa59ba330 chore: 清除多余的依赖 2025-01-03 18:37:44 +08:00
cheng zhen
23d860836b refactor: update print statements for improved user feedback and change activation URLs in LicenseManager
- Modified print statements in cursor_pro_keep_alive.py and get_veri_code.py for clearer user prompts during execution.
- Updated activation and verification URLs in LicenseManager to point to the new server.
- Enhanced user experience by providing more informative messages during the verification and account registration processes.
2025-01-03 16:13:43 +08:00
cheng zhen
8a5db8e84e feat: implement user generation tracking and GitHub star validation for license key generation
- Added UserGeneration model to track user license generation counts and statuses.
- Introduced validateStar utility to check if a user has starred the project on GitHub.
- Updated license key generation endpoint to validate user star status and manage generation limits.
- Refactored server.js to handle new user generation logic and improved error handling.
2025-01-03 15:52:53 +08:00
cheng zhen
3290e15fe2 chore: remove MacOS x86 build configuration from GitHub Actions workflow to streamline multi-platform support 2025-01-03 11:51:38 +08:00
cheng zhen
b918afaecd fix: update MacOS build configuration in GitHub Actions workflow to set deployment target and compatibility flags 2025-01-03 11:46:38 +08:00
cheng zhen
2c6eac7bb6 feat: add multi-platform build support for MacOS ARM64, x86, and Linux executables in GitHub Actions workflow 2025-01-03 11:43:49 +08:00
cheng zhen
4ffc76a063 feat: 统一响应体 2025-01-03 11:40:44 +08:00
cheng zhen
f0960f21a9 feat: 增加日志输出,增加友善的提示 2025-01-03 11:40:31 +08:00
cheng zhen
6403682094 chore: update activation and verification URLs in LicenseManager to new domain 2025-01-02 08:12:16 +08:00
chengchongzhen
c404d0de31 refactor: replace fixed sleep duration with dynamic wait time in sign_up_account function for improved user experience 2024-12-31 17:03:53 +08:00
chengchongzhen
e21c4249bd refactor: implement retry mechanism for session token retrieval and improve error handling in get_cursor_session_token function 2024-12-31 16:41:59 +08:00
chengchongzhen
04563462e4 refactor: streamline cookie retrieval and enhance error handling in account management scripts 2024-12-31 16:26:09 +08:00
chengchongzhen
50e69cd51c refactor: remove deprecated config files and update logging in account management scripts 2024-12-31 13:21:07 +08:00
chengchongzhen
de33ff1e2e chore: update requirements.txt to include pycryptodome for enhanced encryption support 2024-12-31 13:00:12 +08:00
chengchongzhen
e8bc3e08f8 feat: 增加加密 2024-12-31 12:56:59 +08:00
chengchongzhen
331ebe035a fix: enable headless mode in BrowserManager for production environment 2024-12-31 09:55:18 +08:00
chengchongzhen
e5539045b8 feat: 添加 moment-timezone 依赖,更新许可证过期时间逻辑为中国时区,优化日期处理 2024-12-31 09:27:15 +08:00
cheng zhen
9bf7217fa2 fix: update MongoDB URI in .env file and add date utility file 2024-12-31 08:02:07 +08:00
cheng zhen
ae4ade33e2 feat: 优化代码 2024-12-31 07:42:13 +08:00
cheng zhen
59426bc415 依赖文件 2024-12-30 23:35:46 +08:00
cheng zhen
b7cd4bd55b feat: 直接注册 2024-12-30 23:16:45 +08:00
cheng zhen
407d397fda feat: 许可证 2024-12-30 22:42:20 +08:00
cheng zhen
72a37b9c2b feat: 添加许可证密钥管理功能,更新许可证激活逻辑,支持环境变量配置,增加Docker支持 2024-12-30 21:45:46 +08:00
chengchongzhen
7525b07d5b feat: 更新许可证管理功能,使用AES-256-CBC加密和解密,增加生成许可证密钥的API 2024-12-30 13:42:18 +08:00
chengchongzhen
dbf8690753 feat: 实现许可证激活和验证功能,增加许可证管理服务器 2024-12-30 13:39:24 +08:00
chengchongzhen
8728e0bff3 feat: 增加使用限制 2024-12-30 12:55:28 +08:00
cheng zhen
861f8d51f2 doc 2024-12-29 18:46:14 +08:00
cheng zhen
fc0392e14e doc 2024-12-29 18:24:35 +08:00
cheng zhen
d5ec6d7fe1 doc: 文档 2024-12-29 18:22:23 +08:00
cheng zhen
1c7e9ac79a feat: 启用无头浏览器 2024-12-29 18:19:18 +08:00
cheng zhen
615f406b8e feat: 生产环境用无头浏览器 2024-12-29 12:54:11 +08:00
cheng zhen
b604d0cd07 feat: 增加了判断邮箱是否错误 2024-12-29 12:49:39 +08:00
cheng zhen
d5944cd70e docs: update README to include Chrome browser requirement 2024-12-29 11:19:04 +08:00
cheng zhen
076c9c8f19 feat:增加工作流 2024-12-29 10:42:30 +08:00
cheng zhen
9838873ddf feat:增加工作流 2024-12-29 10:40:33 +08:00
cheng zhen
abc60df75c feat:增加工作流 2024-12-29 10:39:45 +08:00
cheng zhen
b72085e5dd refactor: remove redundant print statements in cursor_auth_manager.py and cursor_pro_keep_alive.py 2024-12-29 10:09:05 +08:00
cheng zhen
2c02a38699 feat: 删除无用的东西 2024-12-29 10:01:02 +08:00
cheng zhen
8c9c0a4dff doc: readme 2024-12-29 09:02:21 +08:00
cheng zhen
7dc3af0798 feat: 优化打包 2024-12-29 08:59:43 +08:00
cheng zhen
bd45b1f1a6 feat: 设置无头浏览器 2024-12-28 22:05:09 +08:00
cheng zhen
1757e5ed2f Add browser management and email verification functionality
- Introduced `BrowserManager` class in `browser_utils.py` for streamlined browser initialization and configuration.
- Added `EmailVerificationHandler` class in `get_veri_code.py` to handle email verification code retrieval.
- Updated `cursor_pro_keep_alive.py` to utilize the new browser and email handling classes, improving code organization and readability.
- Modified `config.ini` to update the email address for account configuration.
- Removed obsolete `log.txt` file to clean up the project structure.
- Added unit tests for email verification functionality in `test/get_veri_code_test.py`.
2024-12-28 21:56:48 +08:00
cheng zhen
b3c9efc901 Refactor cursor_pro_keep_alive.py and remove obsolete files
- Updated environment variable assignments to use double quotes for consistency.
- Enhanced logging configuration format for clarity.
- Improved configuration loading logic to correctly determine the executable's directory.
- Cleaned up temporary file handling in cleanup_temp_files function.
- Removed obsolete config.ini and related files from the dist directory.
- Deleted unnecessary macOS application files from the dist folder.
2024-12-28 20:34:34 +08:00