94 Commits
Author SHA1 Message Date
SucukdeluxeandClaude Opus 5.5 f64fe23019 feat: keep removed automatic uploads out of the queue
CI / verify (push) Canceled after 0s
The folder automation re-admitted a file every minute when the user had
removed its jobs while a hoster was still missing, because nothing
recorded the removal. Removing automatic jobs (selected, all, per hoster
or through MCP) now stores the file path and identity in
automation-dismissals.json. The automation skips such files until the
file changes or the user adds it manually again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:03:28 +01:00
Sucukdeluxe ff62172778 Merge uploader 2.1.87 fixes into statistics development branch 2026-10-24 13:26:53 +02:00
Sucukdeluxe dc1d042d73 Add persistent upload statistics alongside history
CI / verify (push) Canceled after 0s
2026-10-24 13:21:04 +02:00
SucukdeluxeandClaude Opus 5.5 0b30a9180a Migrate credential encryption to the async safeStorage API
CI / verify (push) Canceled after 0s
Electron 45 deprecates the synchronous safeStorage methods and Electron 46
removes them. Credential encryption now uses encryptStringAsync,
decryptStringAsync and isAsyncEncryptionAvailable.

- secret-store: async encryptField/decryptField/encryptCredentials/
  decryptCredentials, decryptFieldWithStatus exposes shouldReEncrypt.
  Unavailable or failing encryption still rejects with the existing
  SECRET_STORE_* codes; legacy plaintext stays readable.
- config-store: the first load runs asynchronously through init();
  writes encrypt before the atomic write. A synchronous load() of an
  encrypted config before init() fails with SECRET_STORE_NOT_READY and
  schedules a refresh. Values flagged with shouldReEncrypt are
  re-encrypted once after loading.
- main: await configStore.init() after app ready, before the first load.
- MCP access store and online backup keyring await the async helpers;
  MCP saves keep their call order.

Existing enc:v1 values written with encryptString stay readable: on
Windows both APIs use the same v10 format and Local State key, verified
in both directions with real Electron 41 and 45.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 07:57:54 +02:00
SucukdeluxeandClaude Opus 5.5 909149bd64 Update Electron to 45.0.0
CI / verify (push) Canceled after 0s
Clipboard writes are awaited because clipboard.writeText returns a Promise
since Electron 44. Preloads only load electron, so the removed sandbox shims
in Electron 45 do not apply; the synchronous safeStorage API is deprecated
but still available.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:38:53 +02:00
SucukdeluxeandClaude Opus 5.5 08f375621a Add an MCP full-access permission that runs every action without local confirmation
CI / verify (push) Canceled after 0s
With full access the installation grants every capability, destructive and
conditionally confirmed actions (queue retry/remove with source deletion,
history clear, app restart, ...) run without the local dialog, and the new
mhu_files_grant tool can add or widen directory grants. Narrowing or removing
grants and changing permissions stay local. Enabling full access in the
settings asks for local confirmation once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:02:18 +02:00
SucukdeluxeandClaude Opus 5.5 d12a5de45b Delete each uploaded source as soon as its links and queue state are saved
Previously sources were only removed when the whole upload batch ended. In
automation mode a batch keeps growing for hours, so hundreds of finished
files stayed on disk. A file is now removed once every required hoster
succeeded, its links are flushed to the upload log, the automation ledger
is written and the renderer confirmed the queue save. Without that evidence
the file still waits for the batch end as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 02:59:54 +02:00
SucukdeluxeandClaude Opus 5.5 d37e86690f Keep upload speed limits at the configured decimal MB/s
CI / verify (push) Canceled after 0s
The shared upload limiter started with a full second of tokens and refilled
up to one second during short idle gaps, so new uploads could briefly send
almost twice the limit. In a parallel-upload test it released 3.87 MB in one
second at a 2 MB/s limit. Uploads now reserve send time on one shared
schedule with at most a 200 ms burst and exact waits.

Speeds and limits used 1024-based kB and MB while being shown as kB/s and
MB/s, so a limit of 100 meant 104.9 MB/s. Limits, measured speeds, ETA and
the speed graph now use 1 MB = 1,000,000 bytes. Saved limits are converted
once so the displayed value stays the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 00:26:01 +02:00
Sucukdeluxe fe3797fd18 Reduce uploader shutdown stalls and add bounded runtime profiling
CI / verify (push) Canceled after 0s
2026-10-20 14:30:05 +02:00
Sucukdeluxe 80eb878f1b Fix immediate automation pause, restored queue rendering and bounded disk reads; release 2.1.75
CI / verify (push) Canceled after 0s
2026-10-20 13:56:04 +02:00
Sucukdeluxe 267a840853 Allow slow-storage shutdown recovery and release 2.1.74
CI / verify (push) Canceled after 0s
2026-10-20 13:16:33 +02:00
Sucukdeluxe c4439480bd Expand MCP controls and add cached system resource telemetry
CI / verify (push) Canceled after 0s
2026-10-20 13:12:21 +02:00
SucukdeluxeandClaude Opus 5.5 d3cba015b5 Let MCP resume a paused upload queue without a local confirmation; release 2.1.73
CI / verify (push) Canceled after 0s
mhu_queue_resume only lifts the shared pause and continues the queue
with the settings that were active before mhu_queue_pause, so it no
longer requires the local confirmation dialog when source deletion or
shutdown-after-finish is enabled. Starting, retrying and reconciling
uploads via MCP still require confirmation in that case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 12:11:05 +02:00
SucukdeluxeandClaude Opus 5.5 8138415b52 Relaunch once with an effective libuv threadpool; release 2.1.72
CI / verify (push) Canceled after 0s
Setting UV_THREADPOOL_SIZE in main.js had no effect: Electron
initialises libuv before the main script runs, so the uploader kept the
default four threads for upload reads, logs and queue saves. Packaged
builds now relaunch once at startup with UV_THREADPOOL_SIZE=32 before
the single-instance lock. Portable and development runs are unchanged.
App info and the startup marker report the effective threadpool size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 02:24:53 +02:00
Sucukdeluxe 8f5bcd94bf Make upload history access asynchronous and release 2.1.70
CI / verify (push) Canceled after 0s
2026-10-18 03:03:58 +02:00
Sucukdeluxe 1e289ee49b Make runtime diagnostics non-blocking and release 2.1.69
CI / verify (push) Canceled after 0s
2026-10-18 02:51:48 +02:00
Sucukdeluxe 9b06b4f852 Fix blocking upload logging and recover DoodStream socket failures; release 2.1.67
CI / verify (push) Canceled after 0s
2026-10-18 01:34:05 +02:00
Sucukdeluxe b456109c2d Preserve explicit upload cancellations across MCP updates
CI / verify (push) Canceled after 0s
2026-10-16 05:40:01 +02:00
Sucukdeluxe 1ff552fc40 Release v2.1.65: safe MCP updates and measured upload scheduling
CI / verify (push) Canceled after 0s
2026-10-16 05:36:42 +02:00
Sucukdeluxe cd2394dd22 Add guarded MCP file transfer and complete diagnostic access
CI / verify (push) Canceled after 0s
2026-10-15 17:31:34 +02:00
Sucukdeluxe 53706c44ea Retire legacy remote listeners after verifying MCP feature coverage
CI / verify (push) Canceled after 0s
2026-10-15 17:03:41 +02:00
Sucukdeluxe 93e0196dbe Add opt-in MCP access with local authorization and revocable identities
CI / verify (push) Canceled after 0s
2026-10-15 16:57:30 +02:00
Sucukdeluxe 63296e7ad3 Add CloudDrop log backfill and clear connection status
CI / verify (push) Canceled after 0s
2026-10-15 12:57:26 +02:00
Sucukdeluxe a9d1159f7e Release v2.1.60 with automatic startup and native crash diagnostics
CI / verify (push) Canceled after 0s
2026-10-15 11:49:23 +02:00
Sucukdeluxe ba01b17f8e Record visibility when startup paint probes are skipped
CI / verify (push) Canceled after 0s
2026-10-15 11:16:01 +02:00
Sucukdeluxe 2133d7a88c Add persistent startup diagnostics for intermittent blank windows
CI / verify (push) Canceled after 0s
2026-10-15 11:13:20 +02:00
Sucukdeluxe 6a279ed18e Rework upload sidebar with split statistics panel and mark development windows
CI / verify (push) Canceled after 0s
2026-10-15 05:14:53 +02:00
Sucukdeluxe 8ee9d84949 Show the current application version in the window title
CI / verify (push) Canceled after 0s
2026-10-15 04:57:28 +02:00
Sucukdeluxe 6182aa2262 Add persistent Clouddrop synchronization for successful upload logs
CI / verify (push) Canceled after 0s
2026-10-15 04:09:27 +02:00
Sucukdeluxe d19d7faa19 Recognize replaced automation files and update secure watcher for 2.1.53
CI / verify (push) Canceled after 0s
2026-10-03 11:42:30 +02:00
Sucukdeluxe f2e400c89e Make automation pause recoverable and fix log folder selection
CI / verify (push) Canceled after 0s
2026-10-03 11:36:17 +02:00
Sucukdeluxe f2c96bd9c5 Show VOE storage usage from the existing web account check
CI / verify (push) Canceled after 0s
2026-09-29 10:27:49 +02:00
Sucukdeluxe 2ba21993c8 Keep account fallback healthy across concurrent upload failures
CI / verify (push) Canceled after 0s
2026-09-29 10:20:06 +02:00
Sucukdeluxe 0a2c75fd8b Re-layout window content after the first show when sizes disagree
On remote desktop sessions the web contents could appear offset with white borders until the next start. After the window is shown, compare the renderer viewport with the content size and force one relayout on a mismatch or in an RDP session. The measured values are logged.
2026-09-26 10:18:59 +02:00
Sucukdeluxe b4c3c075b7 Allow read-only folder tests independently of monitoring state
CI / verify (push) Canceled after 0s
2026-09-22 06:07:27 +02:00
Sucukdeluxe de1b79ed4b Add encrypted operator recovery for online backup keys
CI / verify (push) Canceled after 0s
2026-09-22 04:34:52 +02:00
Sucukdeluxe 0e4a9613fb fix: preserve explicit Doodstream web login and reuse OTP sessions
CI / verify (push) Canceled after 0s
2026-09-12 14:38:10 +02:00
Sucukdeluxe 9e5c5126dd feat: add expiring backups and live account checks
CI / verify (push) Canceled after 0s
2026-09-01 15:43:20 +02:00
Sucukdeluxe 40ce83d413 fix: prevent repeated Doodstream OTP requests
CI / verify (push) Canceled after 0s
Coalesce concurrent and repeated Doodstream login checks by credential identity, keep the challenged cookie session for OTP verification, and rate-limit explicit code resends. Prefer an existing Doodstream API key during health checks and add regression coverage for imports with duplicate accounts, concurrent checks, expired challenges, and session reuse.
2026-08-31 18:45:37 +02:00
Sucukdeluxe bf33ab3e99 fix: defer secure credential loading until ready
CI / verify (push) Canceled after 0s
Load encrypted account credentials only after Electron reaches its ready state so Windows DPAPI is available during startup. Retry transient secure-storage discovery instead of caching an unavailable result for the process lifetime. Add hidden two-process DPAPI regression coverage for the real renderer IPC path and bump the public version to 2.1.40.
2026-08-27 16:07:21 +02:00
Sucukdeluxe d9c66fe20f fix: make automation completion evidence durable
CI / verify (push) Canceled after 0s
Persist successful watched-file uploads in a dedicated fsync-backed ledger before exposing completion to the renderer. Match entries by normalized full path, hoster, size, and modification time so restart reconciliation skips unchanged completed files while changed files and explicit manual retries remain available.

Remove restored queue ghosts from the ledger even when history and user upload logging are unavailable. Preserve per-hoster partial completion, capture missing file metadata asynchronously, fail closed on corrupted or unwritable evidence, and keep local persistence failures outside automatic upload retries.

Stream managed upload logs with bounded lines, bytes, files, directories, and result counts. Include numbered rotations, reject unconfirmed rows, share concurrent scans through a generation-safe cache, invalidate after successful appends, avoid synchronous configuration and directory reads, and close streams on every path.
2026-08-27 15:14:43 +02:00
Sucukdeluxe 58b92856a6 fix: prevent folder-monitor reuploads after completion
Discover base, daily, session, and fallback upload logs across configured, Desktop, and application-data locations without blocking the Electron main process.

Treat in-session completion keys as authoritative automation evidence so removing finished rows cannot cause periodic reconciliation to enqueue and upload the same file again.

Add real handler and done-remove-reconcile regressions covering custom extensions, mixed-case log names, fallback paths, stale evidence, and asynchronous log reads.
2026-08-27 13:22:35 +02:00
Sucukdeluxe 5a369f7598 fix: eliminate upload queue stalls under automation load
Move atomic configuration writes off the Electron main event loop and preserve concurrent queue and folder monitor state.

Make finish-and-pause interrupt queued admission waits without aborting active uploads, then resume only persistently marked automation jobs across active, idle, restart, and finalization races.

Reuse bounded automation evidence snapshots, refresh them during long drains, and cover high-load persistence, pause, resume, and hidden Electron behavior with regression tests.
2026-08-27 07:15:39 +02:00
Sucukdeluxe 70a9073bf0 fix: invalidate stale startup reconcile generations
Bind deferred startup reconciliation to an explicit FolderMonitor lifecycle generation and invalidate pending work on stop, pause, resume, import replacement, shutdown, and every non-deferred restart. This prevents an old startup request from surviving into a later productive monitor lifecycle.

Challenge each renderer document with a monotonic generation before accepting readiness, reject stale or foreign acknowledgements, and preserve exactly-once release across reloads and renderer initialization recovery. Add dynamic hidden Electron and lifecycle harness coverage for stale readiness, restart, close, shutdown, and ARIA regressions.
2026-08-26 17:26:47 +02:00
Sucukdeluxe a0041e9cda fix: gate startup reconcile on renderer readiness
Defer the productive FolderMonitor startup scan until the renderer has registered its candidate listener and acknowledged readiness. Keep the handshake idempotent across duplicate signals, reloads, window closure, shutdown, paused startup, and renderer initialization failure without delaying unrelated startup work.

Preserve the real over-limit queue count while clamping finite progressbar ARIA values, and cover both regressions with hidden Electron and preload ordering tests.
2026-08-26 17:03:13 +02:00
Sucukdeluxe afd3b70cf3 fix: harden automation reconciliation and pause lifecycle
Keep full folder scans recoverable under duplicate protection and classify every discovered file once before automatic admission.

Separate manual previews from automatic capacity limits, serialize renderer intake, normalize automation counters and intervals, and make Main authoritative for runtime timestamps.

Enforce persistent pause across startup, import, close recovery, resume failures, and reconciliation while preserving read-only paused scans and exactly one activation reconciliation.

Restore failed asynchronous rotation chunks, complete automation localization and unlimited queue accessibility, and tighten hidden integration cleanup coverage.
2026-08-26 15:47:31 +02:00
Sucukdeluxe 28a475401e fix: preserve rotation logs during quit fallback
Route synchronous account-rotation shutdown flushes through the internal log writer so failures under userData/logs retry userData/internal-logs in the same order as runtime writes.

Keep buffered lines until a target accepts the full chunk, report the successful fallback as the active path, and retain the buffer when every internal target fails.

Cover the real EISDIR primary-path case, complete fallback failure, and main-process quit delegation without launching Electron.
2026-08-26 12:37:17 +02:00
Sucukdeluxe d21b721de4 fix: keep internal audit logs in user data
Route upload audit and account rotation output through one internal userData log resolver with a contained fallback directory.

Report active writer paths to diagnostics and log reveal actions while preserving the configurable fileuploader.log fallback contract and leaving existing Desktop files untouched.

Cover primary paths, fallback containment, rotation, active path reporting, log opening, and upload log isolation with focused tests.
2026-08-26 12:27:13 +02:00
Sucukdeluxe 10bf08ea55 fix: close automation lifecycle races 2026-08-26 10:23:32 +02:00
Sucukdeluxe 9adb38de08 feat: persist automation pause state 2026-08-26 10:05:26 +02:00