LRR/test
SayidCali jamac a01f30c887 Implement email password recovery feature for LRR system
Features implemented:
- Email-based password recovery using 163.com SMTP (no VPN required)
- Secure token-based password reset with 10-minute expiration
- Improved UX with success messages in green styling
- Automatic redirect to login page after successful password reset
- Comprehensive security measures (CSRF protection, SQL injection prevention)

Technical changes:
- Added password_reset_tokens table to database schema
- Updated Script.php with password recovery logic
- Enhanced index.php and recover_password.php with success message styling
- Migrated from Gmail SMTP to 163.com SMTP for better reliability

Testing:
- All teacher-provided tests: 12/12 passed (141.63s)
- Email password recovery tests: 2/2 passed (22.55s)
- Total success rate: 100%

Security features:
- Time-limited tokens (10-minute expiration)
- Secure token generation using bin2hex(random_bytes(32))
- Foreign key constraints for data integrity
- Rate limiting considerations

Fixes: Bug #197 - Password recovery functionality
2025-05-25 06:16:14 +08:00
..
SeleniumEden BUG430-Eden test script 2024-06-21 06:06:32 +08:00
SeleniumHui Fix bug 558 2024-10-06 09:39:58 +08:00
SeleniumIbrahim/test_kit TestScript 2024-06-21 13:16:11 +08:00
SeleniumMpiana (1) Move conftest.py to the top level test directory so that it applies to all test subfolders; (2) Move login() to helper.py so that it could be reused by other test scripts. 2024-05-10 07:17:56 +08:00
SeleniumNeil Rename test_cases.py to test_bug352_neil.py, and change some lines to use fixtures in conftest.py. 2024-05-10 08:13:04 +08:00
SeleniumSylvester Resolve merge conflict 2024-09-15 15:32:30 +08:00
SeleniumZayid Implement email password recovery feature for LRR system 2025-05-25 06:16:14 +08:00
SeleniumZhanShenchen/src Selenium test scripts (written in Java) by a former undergraduate student Zhan Shenchen at zjnu. 2021-10-23 22:05:57 +08:00
conftest.py (1) Move conftest.py to the top level test directory so that it applies to all test subfolders; (2) Move login() to helper.py so that it could be reused by other test scripts. 2024-05-10 07:17:56 +08:00