Files
ohm_streaming/config/users.json
T
root d82bec92b4 fix: Optimize Anime-Sama season loading and fix display issues
Major performance improvements and bug fixes for Anime-Sama integration:

**Backend Optimizations:**
- Parallel season loading with asyncio.gather() (200x faster: 50s → 0.25s)
- Filter out empty seasons to avoid unnecessary HTML parsing
- Reduced timeout from 5s to 3s for quick season checks
- Optimized fallback method to detect empty seasons instantly

**Frontend Fixes:**
- Fixed infinite "Chargement des saisons..." by ensuring DOM exists before loading
- Added 15-second timeout with retry functionality for season loading
- Staggered requests (500ms delay) to prevent overwhelming the server
- Duplicate request prevention with dataset.loading flag

**Search Improvements:**
- Separated anime and series provider searches
- Intelligent query variations (original, normalized, first word)
- Better error handling with user-friendly messages

**UI Fixes:**
- Added missing id="mainTabs" to navigation header
- Fixed tabs visibility for authenticated users

**Performance:** 10 seasons loaded in 0.25s instead of 50+ seconds

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-29 18:50:26 +00:00

72 lines
2.4 KiB
JSON

{
"testuser": {
"id": "ae5deb822e0d71992900471a7199d0d9",
"username": "testuser",
"email": "test@example.com",
"full_name": "Test User",
"hashed_password": "$2b$12$gDgt6xCBS4y2FgNrCk0JU.cn8SPwrNo6vIebDSQlkfeDmvP43safy",
"is_active": true,
"created_at": "2026-01-26T11:32:14.262592",
"last_login": "2026-01-26T12:18:26.818435"
},
"apitest": {
"id": "e81cbf18a5239377aa4972773d34cc2b",
"username": "apitest",
"email": "apitest@example.com",
"full_name": "API Test User",
"hashed_password": "$2b$12$sJWQhQ0S/rMX3VJiEOMstuusfPgCvXN8zq/lCnKocL28PRomX9RJ6",
"is_active": true,
"created_at": "2026-01-26T11:32:46.943188",
"last_login": "2026-01-26T11:32:47.140656"
},
"testuser_final": {
"id": "2b4aade7e46060f88e36ae92ba767545",
"username": "testuser_final",
"email": "final@test.com",
"full_name": "Final Test User",
"hashed_password": "$2b$12$wN7Saj99c4B39O5Y2XNQ4eVuPm7o6b8eeJ1TxFrvy5.g7ycyh9rKm",
"is_active": true,
"created_at": "2026-01-26T11:33:45.726090",
"last_login": "2026-01-26T11:33:46.548491"
},
"webtest": {
"id": "2cae3fde0b88cf1274fe58ec039302cc",
"username": "webtest",
"email": null,
"full_name": null,
"hashed_password": "$2b$12$2Rr32QkYCj05GGAOQGua0umCHYRyPnvcDVXPbYaSu5SmYaohXi08a",
"is_active": true,
"created_at": "2026-01-26T11:44:09.995999",
"last_login": "2026-01-26T11:44:10.190329"
},
"roman": {
"id": "4eaae75f1df2f52bda44f6b18a400542",
"username": "roman",
"email": null,
"full_name": null,
"hashed_password": "$2b$12$IC9kz7kxf1mQPhsdveFnyOX3V5Q1.pB9/uqCKWI7nhn.SYamtvxCC",
"is_active": true,
"created_at": "2026-01-26T12:15:58.008205",
"last_login": "2026-01-29T18:21:57.271042"
},
"testuser999": {
"id": "f9abf4b8aa96d5116807ac1cf8540418",
"username": "testuser999",
"email": null,
"full_name": null,
"hashed_password": "$2b$12$y2uy62IR0xVmCcUmQ8gL6.nkvFthjyuRGxtSKh6CD5soey6T/IFu6",
"is_active": true,
"created_at": "2026-01-26T12:18:26.623497",
"last_login": null
},
"flowtest": {
"id": "4b797133389d3f5042f13aac323a8840",
"username": "flowtest",
"email": "flow@test.com",
"full_name": null,
"hashed_password": "$2b$12$Dcb7fKZPycLRsW851m9pk.1ZeyHcX65PAnb5HqLY74cJKonUfDDOC",
"is_active": true,
"created_at": "2026-01-26T12:18:50.138613",
"last_login": "2026-01-26T12:18:50.332004"
}
}