1. 05 Sep, 2019 1 commit
  2. 03 Sep, 2019 1 commit
    • 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
  3. 24 Aug, 2019 2 commits
  4. 23 Oct, 2018 2 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
    • 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
  5. 21 Sep, 2018 2 commits
  6. 17 Sep, 2018 1 commit
    • rgaudin's avatar
      Fixed #230: adjust password requirements for Wikifundi · fb9ca893
      rgaudin authored
      - changed wikifundi configuration so it is less restrictive.
      - removed rule preventing login and password from being identical
      - fixed a revealer issue on GUI (proper error message was not displayed, only color code)
      - updated contents.json to use new tarball including new MW config
      - fix tar extraction command (-om) so extraction can work on exfat
  7. 11 Sep, 2018 1 commit
  8. 13 Jul, 2018 1 commit
  9. 27 Jun, 2018 1 commit
    • rgaudin's avatar
      added factorized downlad helpers · 662d24f2
      rgaudin authored
      	new requests based downloader with retries and delays
      	helpers for contents.json contents retrieval from cache and/or remote
      	uncompression of archives