TL;DR
-
Fixes #784: auto-accept folder links. New opt-in setting in Settings → Downloads ("Auto-accept folder links (skip confirmation and download everything)"). When enabled, adding folder links no longer opens the "Folder link detected!" dialog for every folder — the folder is resolved in the background and the whole tree is queued automatically. Default off, so existing behavior is unchanged.
-
Fixes #783: per-file public links are now optional. MegaBasterd used to export a public MEGA link (the
laction) for every uploaded file, unconditionally, with no way to disable it. There is now an opt-in setting in Settings → Uploads ("Auto-generate a public download link for each uploaded file"). Default on to preserve current behavior; turn it off to keep uploads private. When off the file stays private, no link is created and the "Copy file link" button stays disabled.
What changes
-
FolderLinkDialog— new headless resolve mode (auto_downloadconstructor arg +awaitAutoDownloadReady()), selected by theauto_download_folderssetting. It skips the modal dialog, the cached-vs-fresh prompt and the per-folder error popups; a one-shotCountDownLatch— released from afinallyso an unexpected node payload can never wedge the preprocess pipeline — unblocks the caller once the links are ready. -
Upload— the per-filegetPublicFileLinkexport is gated on the newupload_generate_file_linkssetting (defaultUPLOAD_GENERATE_FILE_LINKS = true); the upload-log line null-guards the link. -
SettingsDialog— two new checkboxes (Downloads and Uploads tabs). -
MainPanel—isAuto_download_folders(), loaded from settings. -
i18n —
auto_download_foldersandupload_generate_file_linksadded to all 8 bundles.
Other
- Version bumped to 8.58 in
pom.xmlandMainPanel.VERSION. - No changes to the file-data transfer/decrypt path, the resume queue, the account-login flow, the MEGA error-popup machinery, or the upload transfer pipeline itself.