1. 24 Aug, 2019 2 commits
  2. 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
  3. 26 Nov, 2018 1 commit
  4. 21 Nov, 2018 1 commit
  5. 24 Oct, 2018 1 commit
  6. 23 Oct, 2018 1 commit
    • 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
  7. 24 Sep, 2018 2 commits
    • rgaudin's avatar
      Fixed #241: Added a Cache Folder management tool · 8832c2af
      rgaudin authored
      - command line tools:
      	- kiwix-hotspot cache --build-dir . show
      		list all files in cache, showing which ones are to be kept (latest version)
      	- kiwix-hotspot cache --build-dir . clean
      		remove all obsolete (non latest or alien) files from cache
      	- kiwix-hotspot cache --build-dir . reset
      		removes the cache folder completely (option to keep latest master)
      
      - GUI interface
      	- Clean button appearing next to build-folder selector when build-dir is set
      	- Opens a popup displaying usage and offering Clean or Reset (no option) actions
      	- Async, cancellable actions
      	- Displays new disk usage and free space after operation completed
      8832c2af
    • rgaudin's avatar
  8. 21 Sep, 2018 3 commits
  9. 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
  10. 11 Sep, 2018 1 commit
  11. 06 Sep, 2018 1 commit
  12. 31 Aug, 2018 1 commit
    • rgaudin's avatar
      Issue #214: Improve SD card writing · c892639b
      rgaudin authored
      - add a delay after diskpart to prevent Bad file descriptor error
      - speed up process by writing chunks of 25MiB
      - properly close device and image on error
      - additional logging
      - fixed SD challenge offset
      - copy is properly cancellable
      - dont consider failed-to-write as a complete failure (use success image name)
      - in case of failure to write, invite user to use Etcher via File menu entry
      c892639b
  13. 27 Aug, 2018 1 commit
  14. 22 Aug, 2018 1 commit
  15. 24 Jul, 2018 1 commit
  16. 27 Jun, 2018 1 commit
    • rgaudin's avatar
      added new util functions · 77b4e9b3
      rgaudin authored
      	factorized clear variables for GB and GiB
      	added ProgressHelper, a progression manager to be used by CLILogger and Logger (GUI)
      	changed human_readable_size() to it uses `humanfriendly` lib
      	moved the CLILogger from cli.py as now used on both cli.py and image.py
      	removed compute_space_required as now superseeded in backend/content
      77b4e9b3
  17. 30 Apr, 2018 1 commit
    • rgaudin's avatar
      Include branding files into configuration JSON · 8b128fa4
      rgaudin authored
      - Files are encoded in base64
      - Files are put at the bottom of JSON file for easier reading
      - Support both GUI and CLI
      - Silently skips those files if those could not be retrieved
      - Extracted to a safe temp location first
      - Added a user-friendly display of configuration for CLI usage to check
      Ref Issue #160.
      8b128fa4
  18. 11 Apr, 2018 1 commit
  19. 16 Aug, 2017 2 commits
  20. 14 Aug, 2017 1 commit
  21. 21 Jul, 2017 1 commit
    • thiolliere's avatar
      use file chooser · 4d091bd2
      thiolliere authored
      (on travis we use temporary thiolliere pyinstaller repo. for macos)
      
      code refactor:
      download is no longer needed as we only download one file (it was useful
      when we were also downloading vexpress boot)
      
      a file chooser button ask for build directory
      
      an image with extensio building.img is created
      
      extension is changed to error.img or .img at the end of the process.
      
      we do not delete the file even on sd card installation.
      4d091bd2
  22. 13 Jul, 2017 1 commit
  23. 10 Jul, 2017 1 commit
  24. 03 Jul, 2017 1 commit
    • thiolliere's avatar
      change cancel event · d8ff398f
      thiolliere authored
      now cancel event register pid to kill
      and method cancel just kill all and prevent other to register new pid
      d8ff398f
  25. 19 Jun, 2017 2 commits
  26. 08 Jun, 2017 1 commit
  27. 18 May, 2017 1 commit
    • thiolliere's avatar
      add threading for gui · 572e2787
      thiolliere authored
      now gui show a spinning icon and run installation in another thread
      
      the main difficulty was cancel_event:
      because qemu process would continue even if the application ends we have
      to signal to the emulation about cancelling
      572e2787