Compare commits

...
4 Commits
Author SHA1 Message Date
MasutaYunikon 754a7296f6 Merge pull request #2 from Masutayunikon/release-please--branches--main
chore(main): release 1.0.1
2026-03-10 22:41:00 +01:00
MasutaYunikon 784e2d80a2 chore(main): release 1.0.1 2026-03-10 22:40:40 +01:00
MasutaYunikon 4ed8dc3a54 Merge remote-tracking branch 'origin/main' 2026-03-10 22:40:21 +01:00
MasutaYunikon 27027642eb fix: docker errors 2026-03-10 22:40:13 +01:00
2 changed files with 10 additions and 3 deletions

No files matched your search

+7
View File
@@ -1,5 +1,12 @@
# Changelog
## [1.0.1](https://github.com/Masutayunikon/FanKarr/compare/v1.0.0...v1.0.1) (2026-03-10)
### Bug Fixes
* docker errors ([2702764](https://github.com/Masutayunikon/FanKarr/commit/27027642eb55b75adb04446a88e5007e88f75948))
## 1.0.0 (2026-03-10)
+3 -3
View File
@@ -8,7 +8,7 @@ import {
registerDriver, getDriver, getAvailableClients,
listClients, addClient, removeClient, getClient,
sanitizeClient, dispatchDownload, dispatchList
} from './torrent-clients'
} from './torrent-clients/index.js'
import qbittorrentDriver from './torrent-clients/qbittorrent.js'
import { organizeTorrent, autoOrganizeAll } from './organize.js'
@@ -50,7 +50,7 @@ app.get('/api/torrent-clients/available', requireAuth, (_req, res) => {
res.json(getAvailableClients())
})
app.get('/api/torrent-clients', requireAuth, (_req, res) => {
res.json(listClients().map(c => sanitizeClient(c)))
res.json(listClients().map((c: any) => sanitizeClient(c)))
})
app.post('/api/torrent-clients', requireAuth, (req, res) => {
const { name, type, config } = req.body
@@ -222,7 +222,7 @@ app.post('/api/download', requireAuth, async (req, res) => {
const url = req.body.torrent_url ?? req.body.magnet
if (!url) { res.status(400).json({ error: 'torrent_url ou magnet requis' }); return }
const results = await dispatchDownload(url)
res.status(results.every(r => r.ok) ? 200 : 207).json({ results })
res.status(results.every((r: any) => r.ok) ? 200 : 207).json({ results })
})
// ── Downloads — liste torrents Fankai ──────────────────────────