release: Multi-Hoster-Upload 2.1.9

This commit is contained in:
Sucukdeluxe
2026-08-11 17:11:30 +02:00
parent 32d4fc41d8
commit 69273b05d1
8 changed files with 109 additions and 7 deletions
+10 -1
View File
@@ -1348,6 +1348,7 @@ async function addDroppedFiles(fileList) {
..._pendingFiles.map(f => f.path)
]);
const newFiles = [];
let duplicateCount = 0;
for (const file of files) {
let filePath = '';
@@ -1361,7 +1362,11 @@ async function addDroppedFiles(fileList) {
if (folderFiles && folderFiles.length > 0) {
for (const fp of folderFiles) {
const p = typeof fp === 'string' ? fp : (fp && fp.path);
if (!p || existingPaths.has(p)) continue;
if (!p) continue;
if (existingPaths.has(p)) {
duplicateCount++;
continue;
}
const name = typeof fp === 'string' ? p.split('\\').pop().split('/').pop() : (fp.name || p.split('\\').pop().split('/').pop());
const size = typeof fp === 'string' ? null : (fp.size || 0);
newFiles.push({ path: p, name, size });
@@ -1377,12 +1382,16 @@ async function addDroppedFiles(fileList) {
if (!existingPaths.has(filePath)) {
newFiles.push({ path: filePath, name: fileName, size: file.size });
existingPaths.add(filePath);
} else {
duplicateCount++;
}
}
if (newFiles.length > 0) {
_pendingFiles.push(...newFiles);
openHosterModal();
} else if (duplicateCount > 0) {
showCopyToast('Auswahl ist bereits in den Upload-Aufträgen.');
}
} finally {
_addingDropped = false;
+1
View File
@@ -193,6 +193,7 @@
['Quelldatei nach vollständigem Upload dauerhaft löschen', 'Permanently delete source file after complete upload'],
['Löscht die Originaldatei endgültig, sobald alle dafür ausgewählten Hoster erfolgreich abgeschlossen sind. Der Papierkorb wird nicht verwendet.', 'Permanently deletes the original file after all selected hosts have completed successfully. The Recycle Bin is not used.'],
['Quelldateien dauerhaft löschen?', 'Permanently delete source files?'],
['Auswahl ist bereits in den Upload-Aufträgen.', 'The selection is already in the upload jobs.'],
['Nach einem vollständigen Upload zu allen ausgewählten Hostern wird die Originaldatei ohne Papierkorb endgültig von diesem PC gelöscht.', 'After a complete upload to all selected hosts, the original file is permanently deleted from this PC without using the Recycle Bin.'],
['Dauerhaftes Löschen aktivieren', 'Enable permanent deletion'],
['Hoster-Einstellungen', 'Host settings'],
+2
View File
@@ -3495,6 +3495,7 @@ input[type="checkbox"] {
}
.accounts-list {
flex: 1 1 auto;
min-height: 0;
padding: 12px 16px 16px;
gap: 8px;
@@ -3503,6 +3504,7 @@ input[type="checkbox"] {
}
.accounts-list-footer {
flex: 0 0 auto;
margin: 0;
padding: 8px 16px;
border-top: 1px solid var(--border);