1. 05 Sep, 2019 1 commit
  2. 03 Sep, 2019 2 commits
    • rgaudin's avatar
      aria2 downloader fixes · be0bc782
      rgaudin authored
      - disable --http-accept-gzip if filename looks like a *zip
      - Using a provided ca-certificates file for aria2 downloads
      - using in-memory metalink download and renaming target if necessary
      - concat metalink fname with path to ensure proper windows-friendly paths
      - display move paths and sleep
      - make sure we don't catch [MEMORY] line as metalink target
      be0bc782
    • rgaudin's avatar
      removed encoding on saving binary data · 0e7eac85
      rgaudin authored
      0e7eac85
  3. 24 Aug, 2019 4 commits
  4. 14 Aug, 2019 1 commit
  5. 27 Jun, 2019 1 commit
    • rgaudin's avatar
      Fixing sizes · 5984585f
      rgaudin authored
      - fixed typo in margin calculation. now at least 2GB and up to 2%
      - Increased KA-Lite video sizes by 20% (the amount of space it "consumes" on disk)
      5984585f
  6. 07 Jun, 2019 2 commits
  7. 06 Jun, 2019 1 commit
  8. 05 Jun, 2019 1 commit
  9. 09 May, 2019 1 commit
    • rgaudin's avatar
      Removed ideacube · 1de0d964
      rgaudin authored
      - static homepage generated in installer (using ideascube template)
      - shared static for all system pages
      - changed default user from `ideascube` to `user`
      - `default` cert replaced with actual FQDN one
      - ZIM files copied directly into data/packages/
      - new master to include those changes
      - `default` cert replaced with actual FQDN one
      1de0d964
  10. 03 May, 2019 1 commit
  11. 13 Dec, 2018 1 commit
  12. 02 Dec, 2018 2 commits
  13. 29 Nov, 2018 2 commits
  14. 26 Nov, 2018 2 commits
  15. 21 Nov, 2018 1 commit
  16. 20 Nov, 2018 1 commit
  17. 13 Nov, 2018 1 commit
    • rgaudin's avatar
      SD-card partition check enhancement · 500beda9
      rgaudin authored
      - Moved SD-card partition check back to button action
      - SD-card partition check timesout after 10s to prevent some freezes
      500beda9
  18. 11 Nov, 2018 2 commits
  19. 07 Nov, 2018 2 commits
  20. 29 Oct, 2018 2 commits
  21. 27 Oct, 2018 2 commits
  22. 26 Oct, 2018 1 commit
    • rgaudin's avatar
      Windows-specific fixes: · 6eefb4ef
      rgaudin authored
      - tempfile needs delete=False in catalogs download.
      - windows is already in admin mode
      - device path for etcher-cli is eventually identical to others
      - build_zim_store() can't be called from within the thread (freezes UI forever)
      6eefb4ef
  23. 25 Oct, 2018 1 commit
    • rgaudin's avatar
      Fixed #220: using Etcher-cli to write and verify SD-card · 479ad4fb
      rgaudin authored
      - Using v1.4.5 on Linux and macOS
      - Using 1.1.2 on Windows (later versions are buggy)
      - etcher-cli used with auto-check and auto-unmount options
      - etcher-cli requires sudo on macOS and linux (in win32, we already run as admin)
        so password is asked at writing stage
      - no more password on macOS and linux to change SD card device mode on start
        linux still ask for loop device mode change though
      479ad4fb
  24. 24 Oct, 2018 1 commit
  25. 23 Oct, 2018 4 commits
    • rgaudin's avatar
      Use the main ideascube catalog URL as test URL · 97301b3a
      rgaudin authored
      - Testing URL is required to be working for Kiwix Hotspot to function
      - Safer as previous URL (favicon) might be removed
      - Kiwx Hotspot unusable anyway if this new file is not available
      97301b3a
    • rgaudin's avatar
      Using an offline copy of the YAML catalog in Qemu · 3a3d2972
      rgaudin authored
      - copy parsed YAML_CATALOGS to QEMU (/home/pi/catalog_xxx.yml) during setup step
      - using those files via file:// URLs in move-content steps
      Qemu stages should now be 100% offline.
      3a3d2972
    • rgaudin's avatar
      Use a proxies configuration for downloads · b496b52f
      rgaudin authored
      - introduced a preferences JSON file (stored in homedir) via get_prefs() and save_prefs()
      - preferences can contain HTTP_PROXY and HTTPS_PROXY values
      - introduced a proxies variable via get_proxies()
      - proxies conf has "http" and "https" keys.
      those replicates the preference ones and contains full proxy URI: http://username:pass@server:port
      - preferences and proxies are read on startup
      - when present, proxies are superseeded by environment variables (HTTP_PROXY and HTTPS_PROXY)
      - proxy URI in prefs file or env can be socks:// (useful for tests using SSH)
      - test_connection() tests one HTTP and one HTTPS URLs
      b496b52f
    • rgaudin's avatar
      Issue #246: moved catalogs download out of imports · 4bd7df19
      rgaudin authored
      - YAML_CATALOGS replaced by get_catalogs() (cached)
      - UI starts without catalogs
      - catalogs downloaded asynchronously on startup
      - catalogs checked or attempted to download on ZIM Select button click: raise error if failed
      4bd7df19