dienakdz
87f2845483
Refactor code for improved readability and consistency
...
- Cleaned up whitespace and formatting in various files including http.py, language.py, logger.py, safe_exec.py, and SQL migration scripts.
- Consolidated import statements and removed unnecessary blank lines.
- Updated logging configuration for better clarity.
- Enhanced the safe execution code with improved error handling and logging.
- Removed commented-out code and unnecessary variables in backfill_zero_trades.py and other scripts.
- Added a pyproject.toml for Ruff and Vulture configuration.
- Introduced requirements-dev.txt for development dependencies.
- Removed commented-out stock entries in init.sql for cleaner migration scripts.
2026-04-09 14:30:51 +07:00
dienakdz
11e2e5aaa6
Refactor and translate comments and docstrings in utility modules to English for better clarity and maintainability. Update Gunicorn and application startup messages for consistency in language. Enhance documentation with English translations for better accessibility.
2026-04-06 16:47:36 +07:00
Dinger
c0cb332432
v2.2.3
...
Signed-off-by: Dinger <quantdinger@gmail.com >
2026-03-25 13:27:48 +08:00
Dinger
7626328c9c
feat(backend): encrypt exchange credentials, remove IS_DEMO_MODE
...
- Fernet encrypt qd_exchange_credentials via SECRET_KEY (cryptography)
- Remove global read-only demo middleware; drop is_demo from auth payloads
- Egress whitelist: /api/credentials/egress-ip returns ipv4 + ipv6 (ipify)
- Exchange factory: demo/testnet URLs and OKX simulated-trading header
- Bitget spot connection test; misc route/service fixes
Made-with: Cursor
2026-03-24 19:10:18 +08:00
TIANHE
70269c40c9
fix: AI analysis history user isolation & password change Turnstile bypass
2026-01-31 22:34:36 +08:00
TIANHE
0b37aa4a67
V2.1.1
...
Signed-off-by: TIANHE <TIANHE@GMAIL.COM >
2026-01-31 02:59:49 +08:00
TIANHE
5df11e2491
new
...
Signed-off-by: TIANHE <TIANHE@GMAIL.COM >
2026-01-25 01:14:54 +08:00
TIANHE
6011ba4ce3
new
...
Signed-off-by: TIANHE <TIANHE@GMAIL.COM >
2026-01-14 23:50:31 +08:00
TIANHE
445e7ac290
feat: improve authentication and user management
...
- Fix token missing issue after email code registration/login
- Add last login time update for code-based login
- Support email login in addition to username login
- Fix password login for code-registered users (allow setting password)
- Fix referral code parameter passing from URL hash
- Add email column to user management table
- Improve profile page layout (align card heights, reorganize layout)
- Add i18n support for Register Bonus, Referral Bonus, Code Lock Minutes, Code Max Attempts
- Fix billing service add_credits to support reference_id parameter
- Update password handling documentation
2026-01-14 20:42:10 +08:00
TIANHE
61a5e5e6aa
feat: Multi-user system with PostgreSQL - WIP temporary save
2026-01-14 05:29:55 +08:00
TIANHE
f43312a858
creat
...
Signed-off-by: TIANHE <TIANHE@GMAIL.COM >
2025-12-29 03:06:49 +08:00