Commit Graph

57 Commits

Author SHA1 Message Date
c937bc7356 3 2026-01-27 09:30:57 +08:00
e14aabd0e2 2 2026-01-27 09:25:04 +08:00
935531955f 1 2026-01-27 09:14:49 +08:00
6cafaa4ab7 多线程 2026-01-27 09:08:34 +08:00
8cb7a50bb9 5 2026-01-26 07:17:55 +08:00
adb60cdfd6 4 2026-01-26 06:58:04 +08:00
20cdf8060d chore: update auto_gpt_team.py 2026-01-25 06:38:15 +08:00
6364d43c90 4 2026-01-25 06:16:01 +08:00
86206f8a97 3 2026-01-25 06:12:20 +08:00
c2aa9785cb 2 2026-01-25 06:10:05 +08:00
ccff201fde 1 2026-01-25 06:00:24 +08:00
32e926c4af 协议 2026-01-25 05:40:08 +08:00
af161cca4f a 2026-01-24 08:06:56 +08:00
970340fbd4 a 2026-01-24 07:54:40 +08:00
effc1add37 feat(email_domains): Add domain validation and improve domain management
- Add validate_domain_format() function with comprehensive domain format validation
* Validates domain structure (must contain dot, valid characters, proper TLD length)
* Normalizes domain format (adds @ prefix, removes quotes/special chars)
* Returns validation status with detailed error messages
- Update add_email_domains() to use new validation function
* Track invalid domains separately in return tuple
* Return (added, skipped, invalid, total) instead of (added, skipped, total)
* Improve error handling and domain normalization
- Add get_file_domains_count() function to retrieve txt file domain count
- Update clear_email_domains() to return count of cleared domains
- Enhance telegram_bot.py command menu organization
* Add s2a command handler and callback for S2A service management panel
* Reorganize bot commands with category comments (基础信息, 任务控制, 配置管理, etc.)
* Add missing commands: clean_errors, clean_teams, iban_list, iban_add, iban_clear, domain_list, domain_add, domain_del, domain_clear, team_fingerprint, team_register, s2a
- Update domain_add command help text with format requirements
- Improve code documentation and consistency across both files
2026-01-24 07:52:10 +08:00
6b914bad41 a 2026-01-24 07:36:18 +08:00
d93383fe23 a 2026-01-24 07:22:10 +08:00
c6ab6b3123 u 2026-01-24 07:09:54 +08:00
fb3ebae995 u 2026-01-24 06:57:25 +08:00
289e8ec71f update 2026-01-24 06:51:28 +08:00
0e8b5ba237 feat(telegram_bot): Add AutoGPTPlus management panel with configuration controls
- Add /autogptplus command with interactive menu for ChatGPT subscription automation
- Implement callback handler for AutoGPTPlus actions (config view, token setup, email/API testing)
- Add _show_autogptplus_config() to display current configuration with masked sensitive data
- Add _prompt_autogptplus_token() to handle Cloud Mail API token input and updates
- Add _test_autogptplus_email() and _test_autogptplus_api() for testing functionality
- Add _update_autogptplus_token() to persist token changes to config.toml
- Register AutoGPTPlus command in bot command list with Chinese description
- Update help text to include AutoGPTPlus management panel section
- Add admin-only access control for all AutoGPTPlus operations
- Provides centralized management interface for email domains, SEPA IBANs, and API configuration
2026-01-24 06:35:29 +08:00
7c4688895e update 2026-01-24 06:07:31 +08:00
421caca1b7 update 2026-01-21 22:24:36 +08:00
6600195a3f update 2026-01-21 22:05:56 +08:00
7a7b503b3c 111 2026-01-20 21:42:14 +08:00
2f04569470 feat(telegram_bot): Add batch JSON import progress tracking with real-time updates
- Add import batch statistics tracking with progress message management
- Implement real-time progress message updates during multi-file JSON imports
- Add timeout-based batch completion to finalize imports after 2 seconds of inactivity
- Create progress text generation with processing and completion states
- Add batch import result aggregation (added, skipped, errors, total counts)
- Implement concurrent-safe progress updates using asyncio locks
- Enhance JSON file handler to support batch import workflow with progress feedback
- Add _process_import_json_batch method to return structured import results
- Display file-by-file processing status with current file name and statistics
- Show final summary with team.json total count and error details on completion
- Automatically refresh configuration after batch import completes
2026-01-20 21:37:14 +08:00
26438386c1 update 2026-01-20 21:26:44 +08:00
906aceff6e update 2026-01-20 21:15:50 +08:00
6559e4b84a update 2026-01-20 21:09:54 +08:00
a7835170f7 update 2026-01-20 20:43:24 +08:00
13d5af8874 fix 2026-01-20 20:36:13 +08:00
4b00b9dd0a 22 2026-01-20 19:37:19 +08:00
828757077d update 2026-01-20 19:34:13 +08:00
24905a773c fix 2026-01-19 00:16:02 +08:00
5de0a1a053 feat(telegram_bot): Auto-reload config after account import to sync memory state
- Add automatic config reload after importing accounts to team.json
- Prevent save_team_json() from overwriting newly imported data by syncing memory state
- Update user feedback message to indicate config is auto-refreshed instead of requiring manual /reload command
- Improve user experience by eliminating extra step after account import
2026-01-18 17:45:21 +08:00
95fa705768 feat: Implement result deduplication by email and enhance summary reporting to detail only failed accounts. 2026-01-18 06:59:35 +08:00
49cb2430c8 Update Telegram bot implementation. 2026-01-18 06:44:58 +08:00
930cd203ee feat: Update Telegram bot implementation and its main execution script. 2026-01-18 06:39:10 +08:00
b75d12b5aa feat: Add authorized field to old format account parsing based on accessToken presence. 2026-01-18 06:27:23 +08:00
4ca15d9f01 Update telegram bot implementation. 2026-01-18 06:21:18 +08:00
94145f7dd0 update 2026-01-18 06:04:06 +08:00
f919e71de1 refactor: update the main execution logic in run.py 2026-01-18 05:59:56 +08:00
83a9e38aa7 Update core logic, Telegram bot, browser automation, and email services. 2026-01-18 05:57:52 +08:00
7e92e12c79 update 2026-01-18 05:38:14 +08:00
e510c568b4 update 2026-01-18 04:17:42 +08:00
07816afd8d update script 2026-01-18 04:02:57 +08:00
a4ca3ec093 update 2026-01-18 03:45:02 +08:00
0d19a9a96d refactor(config, telegram_bot): Simplify GPTMail API key configuration and remove redundant Telegram enabled flag
- Simplify GPTMail API key initialization logic by removing separate api_key and api_keys variables and consolidating into single line with fallback to ["gpt-test"]
- Update config.toml.example to use api_keys list format instead of deprecated api_key single value
- Remove TELEGRAM_ENABLED configuration variable and related check from telegram_bot.py
- Simplify Telegram Bot startup validation to only check for bot_token and admin_chat_ids
- Update default auth_provider from "cpa" to "s2a" in config.toml.example
- Improve documentation comments in config.toml.example for GPTMail domains and CRS service
- Localize error messages in telegram_bot.py to Chinese for consistency
- Streamline configuration by removing unnecessary intermediate variables and checks
2026-01-18 02:14:08 +08:00
c39a01c4c0 update 2026-01-18 01:57:11 +08:00
ad120687b3 feat(logger, telegram_bot): Add real-time Telegram logging capability
- Add TelegramLogHandler class to stream logs to Telegram in real-time
- Implement enable_telegram_logging() method to activate Telegram log streaming
- Implement disable_telegram_logging() method to deactivate Telegram log streaming
- Implement is_telegram_logging_enabled() method to check logging status
- Add /logs_live command to enable real-time log push notifications
- Add /logs_stop command to disable real-time log push notifications
- Update help text to document new real-time logging commands
- Remove obsolete team.json.example file
- Enables administrators to monitor system logs in real-time through Telegram bot
2026-01-18 01:16:20 +08:00