Commit Graph

47 Commits

Author SHA1 Message Date
cheng zhen
39e0fbd305 chore: 一些无关紧要的逻辑
(cherry picked from commit e82fc56c199ceaf2eef0062e6b7aefb0d50addc7)
2025-02-14 07:14:18 +08:00
Rygtx
793920e6ca feat: Integrate go-cursor-help for machine ID reset and update README with project acknowledgments 2025-02-14 04:46:23 +08:00
cheng zhen
840c4393d2 feat: Enable ExitCursor() call in main execution block 2025-02-13 21:59:44 +08:00
cheng zhen
9f89dcba7b refactor: Simplify machine ID reset process with user guidance 2025-02-13 21:50:40 +08:00
cheng zhen
15541a9590 feat: Add GitHub project link in Turnstile verification error logging 2025-02-13 21:49:45 +08:00
chengchongzhen
054e9bd307 refactor: Enhance Turnstile verification with robust error handling and status tracking 2025-02-06 18:55:22 +08:00
cheng zhen
4f3e3625c6 refactor: Simplify Turnstile verification handling with improved error management 2025-02-05 21:59:23 +08:00
cheng zhen
622e65ebcf fix: Improve Turnstile verification handling with default success case 2025-02-05 20:53:59 +08:00
chengchongzhen
278af4b389 refactor: Simplify Cursor version check and machine ID reset logic 2025-02-05 11:56:09 +08:00
cheng zhen
7583136f08 feat: 优化了处理逻辑 2025-02-04 14:57:11 +08:00
cheng zhen
880d2ea378 feat: Update machine ID reset logic with manual script guidance 2025-02-04 14:41:36 +08:00
cheng zhen
520769457d feat: Add user mode selection for machine ID reset and registration 2025-02-03 20:28:17 +08:00
cheng zhen
433f71cb36 feat: Improve Cursor version-specific machine ID reset logic 2025-02-03 20:19:54 +08:00
cheng zhen
825d080a8b feat: Add version-specific machine ID reset mechanism for Cursor; 感谢 linuxdo 2025-02-03 19:42:54 +08:00
cheng zhen
b67edcf882 feat: Enable ExitCursor() call during program initialization 2025-02-02 12:27:43 +08:00
cheng zhen
2219e9c1d1 fix: 修复bug 2025-02-02 11:58:37 +08:00
cheng zhen
65c288fbe1 Remove unnecessary time.sleep in sign_up_account function 2025-02-01 17:50:04 +08:00
chengchongzhen
3d8cfc433d perf: 优化获取邮箱验证码的逻辑,代码来源 @frozenblackflame 2025-01-17 13:32:30 +08:00
WQJ
4c2121b3d3 feat(cursor_pro_keep_alive): 生成随机用户名
- 移除固定的第一名字 "yuyan" 和姓氏 "peng"
- 添加 generate_random_name 方法生成随机用户名
- 更新 __init__ 方法,使用随机生成的名字作为默认值
2025-01-11 17:35:30 +08:00
chengchongzhen
1ef5f3c743 fix: enable cursor exit functionality during initialization in cursor_pro_keep_alive.py 2025-01-11 13:49:36 +08:00
chengchongzhen
a953db3bb8 refactor: replace print statements with logging for improved traceability and error handling in cursor_pro_keep_alive.py 2025-01-11 13:41:49 +08:00
cheng zhen
5d04e0b226 feat: 增加配置文件复制 2025-01-10 20:20:13 +08:00
cheng zhen
331b55516b feat: 增加自定义域名的支持 2025-01-10 19:33:45 +08:00
chengchongzhen
1da2296372 feat: 增加重置机器id 2025-01-10 18:17:37 +08:00
chengchongzhen
2bc566aa26 feat: 增加退出cursor 2025-01-09 18:53:34 +08:00
chengchongzhen
574531776e feat: 增加了 logger 模块 2025-01-09 13:01:01 +08:00
cheng zhen
983e23ad3d feat: 增加logo输出 2025-01-04 09:38:26 +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
f0960f21a9 feat: 增加日志输出,增加友善的提示 2025-01-03 11:40:31 +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
cheng zhen
b7cd4bd55b feat: 直接注册 2024-12-30 23:16:45 +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
b604d0cd07 feat: 增加了判断邮箱是否错误 2024-12-29 12:49:39 +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
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
cheng zhen
a1002131a8 Enhance cursor_pro_keep_alive.py and update packaging
- Added logging functionality to cursor_pro_keep_alive.py for better error tracking.
- Improved configuration loading to handle frozen executables and updated success message.
- Introduced cleanup_temp_files function to remove temporary directories.
- Refactored browser options setup into a separate function for clarity.
- Updated .gitignore to include virtual environment directory.
- Enhanced CursorKeepAlive.spec to check for config.ini existence and updated app bundle details.
- Added new files for macOS app packaging, including Info.plist and application icon.
2024-12-28 20:05:29 +08:00
chengchongzhen
61e93e08c9 Refactor cursor_pro_keep_alive.py and update packaging
- Simplified configuration loading message in cursor_pro_keep_alive.py.
- Improved error message for missing config file.
- Renamed executable from 'cursor_pro_keep_alive' to 'cursorPro' in CursorKeepAlive.spec.
- Removed obsolete config file from dist directory.
- Added new executable 'cursorPro.exe' to dist folder.
- Updated README.md to reflect changes in file structure and installation instructions.
2024-12-28 16:31:30 +08:00
chengchongzhen
d48b1a9d6d Add initial implementation of Cursor Pro Keep Alive tool
- Created .gitignore to exclude unnecessary files.
- Added config.ini for account configuration.
- Implemented cursor_auth_manager.py for managing authentication.
- Developed cursor_pro_keep_alive.py for automated account management.
- Included CursorKeepAlive.spec for packaging.
- Added gpt-accesstoken.py for obtaining ChatGPT access tokens.
- Created README.md with usage instructions.
- Updated requirements.txt with necessary dependencies.
- Added run_cursor.bat for script execution.
- Implemented update_cursor_auth.py for updating authentication details.
- Included turnstilePatch for handling CAPTCHA challenges.
- Added logging functionality in log.txt for tracking script execution.
- Created dist folder with packaged executable and necessary files.
2024-12-28 15:14:40 +08:00