Skip to content

SambaLite v3.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 13:22
· 1 commit to main since this release

SambaLite v3.3.0

Downloads

  • APK: For direct installation (sideloading)
  • AAB: For Google Play Store and other app stores
  • mapping.txt: R8 mapping file to de-obfuscate stack traces of this release

Verification

Both files include SHA256 checksums for integrity verification.

Changelog

Added

  • Start screen shows when a folder sync does not work (#40): The card of a sync only showed its last successful sync, so a sync that failed looked like one that had never run ("Never synced"). The card now names the problem in front of it, for example "Failed · Last sync: 2 hours ago", in the color of the problem, for failed syncs, syncs with file errors and overdue ones. The menu of a card has "Show status", which opens the details of that sync in the System Monitor. Translations in all 7 languages.
  • One notification when several folder syncs have the same problem (#40): Every sync notified on its own, so a server that could not be reached produced one notification per sync, up to 25 within seconds. Several syncs of one run now share one notification, for example "25 folder syncs have problems" with the common cause and the first names; tapping it opens the System Monitor. The same holds when they work again or become overdue. A single sync still notifies as before, with "Mute for this sync". The notification about problems is removed once all syncs work again.

Fixed

  • Sync from the server created copies like "file (1)" of existing files (3.3.0-rc1): If Android could not list a local folder during a run, the sync took it for empty, downloaded every file of that folder again and Android stored them as "name (1)", "name (2)", … next to the existing ones, in every such run again; whole music folders were downloaded several times until the storage was full. A local folder that cannot be listed completely is now skipped in that run and shown as an error. A file or folder that Android would store under a changed name because the name is already taken is no longer created.
  • Folder syncs restored from an Android backup could only be deleted and created again (#40, reported by @LuCarhub): An Android backup brings back the list of folder syncs, but not the saved connections, which are encrypted with a key that stays on the old device. Such a sync was shown and could be edited, but it never ran, and neither the start screen nor the System Monitor said why; the same happened to a sync whose connection was gone for another reason. It now shows "Connection no longer exists", and "Edit Sync" offers the saved connections to choose from. The sync keeps its folders and settings and starts afresh on the chosen connection. A "Sync Now" of such a sync no longer reports "completed".
  • Crash when creating a folder, renaming or deleting failed after the file browser was closed: The result of these operations arrives in the background. If one of them failed, for example because the connection was lost, and the file browser had been closed in the meantime, the app crashed while showing the error (BadTokenException). The error is now shown only while the file browser is still open.
  • Crash when closing the app while the network scan finished: If the start screen was closed at the moment the "Scan" for SMB servers in the connection dialog ended, the app crashed (NullPointerException). Closing the start screen now stops a running scan at once instead of waiting up to two seconds for it.

Changed

  • Up to 25 folder syncs instead of 5 (#40, tested by @LuCarhub): The limit of 5 sync configurations was too low for users who back up many separate folders. Up to 25 folders can now be set up for sync. They are still synced one after the other, each at its own interval.
  • Folder syncs with many files or deeply nested folders run much faster (#40): A run in which nothing changed asked the Android storage four times per file (name, type, size, date) and asked the server for every subfolder whether each level of its path exists, so the number of server requests grew with the square of the nesting depth. The sync now reads the data of all files of a folder with one request and takes the existing subfolders from the server listing it already has. A sync from the server also takes the size of each file from that listing instead of asking the server for it file by file. Measured on the emulator with nothing to transfer: 3,000 files in one folder 3 s instead of 57 s, 100 nested folders over a connection with 5 ms delay 5.5 s instead of 110 s, a tree of 3,279 files in 1,093 folders 34 s instead of 154 s, the same tree from the server at 5 ms delay 76 s instead of 219 s.
  • System Monitor stays readable with many folder syncs (#40): The line on the state of all syncs named every sync with a problem, so one unreachable server filled a third of the screen with up to 24 of them. It now names up to three further syncs, or two and the number of the rest ("17 more"). The cards of syncs that do not work come first, then those that need a look, paused syncs last; before, a single failing sync could be several screens down.