Skip to content

v2.0.0 - Robustness, Security & Performance

Latest

Choose a tag to compare

@ceeeeb ceeeeb released this 16 Feb 10:22
· 2 commits to main since this release

What's Changed

Security

  • Replace os.system() with subprocess.run() — Password no longer visible in ps aux when running nextcloudcmd

Bug Fixes

  • Fix useSynchronize boolean handling — Use cfg.getboolean() instead of string comparison
  • Fix sync path doubling album name — synchronize_pics no longer appends album_name to local_rep when it already includes the album subdirectory

Robustness

  • Auto-reconnection before upload — Detects expired sessions and reconnects automatically (covers network drops, server restarts)
  • Unified connection checks — Single _check_connection() method that pings the Nextcloud server directly instead of google.com

Performance

  • Non-blocking uploads — Uploads run in a background thread so the UI is not frozen during events
  • Upload lock — Prevents concurrent uploads with threading.Lock()

Cleanup

  • Removed unused imports (json, traceback, ImageDraw, ImageFont, os.path, urllib)