3dc5dd8fe9
- Fix register/login: dict-style access on UserTable ORM objects - Fix HTMX auth: inject JWT token in all HTMX request headers - Fix FS7 search: use DLE AJAX endpoint /engine/ajax/search.php - Fix ZT search: use ?p=series&search=QUERY (not DLE format) - Fix provider health: load hardcoded providers + domain manager - Add self.id to all anime/series providers - Redesign homepage: Netflix-style horizontal scroll cards (.hc) - Redesign search results: grouped by title, poster + synopsis + 3 buttons - Add Télécharger dropdown: season download + episode picker - Fix navbar CSS: restore .tabs flex layout, remove orphan rules - Fix HTMX spinner: remove inline display:none, use CSS indicator - Add AGENTS.md files across project for developer documentation
19 lines
514 B
JavaScript
19 lines
514 B
JavaScript
/**
|
|
* Downloads management (Legacy - Modernized to HTMX)
|
|
* This file is kept for backward compatibility but internal polling is disabled.
|
|
*/
|
|
|
|
async function loadDownloads() {
|
|
if (typeof htmx !== 'undefined') {
|
|
htmx.trigger('#downloads-container-inner', 'refresh');
|
|
}
|
|
}
|
|
|
|
// Disable legacy intervals
|
|
window.loadDownloads = loadDownloads;
|
|
window.handleCleanupDownloads = () => {
|
|
if (typeof htmx !== 'undefined') {
|
|
htmx.ajax('POST', '/api/downloads/cleanup', { swap: 'none' });
|
|
}
|
|
};
|