1. 24 Aug, 2019 2 commits
  2. 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
      97301b3a
    • 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
  3. 21 Sep, 2018 2 commits
  4. 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
      fb9ca893
  5. 11 Sep, 2018 1 commit
  6. 13 Jul, 2018 1 commit
  7. 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
      662d24f2