1. 02 Aug, 2018 2 commits
  2. 01 Aug, 2018 1 commit
  3. 31 Jul, 2018 2 commits
    • rgaudin's avatar
      Loop device permission (mode) change on Linux · 7f65944e
      rgaudin authored
      On Linux, loop-device setup, mount, unmount and removal is done in userspace thanks to udisks2.
      Now that we format the third partition on the host (before copying large files into it),
      we need to have the permission to mkfs on the loop device.
      
      At this step, the following now applies:
      
      	check wether we can write on loop device (Sys requirements advises user to be member of the `disk` group)
      	change mode if we can't (requesting elevation)
      	restore mode after we've formatted (requesting elevation – usually before previous elevation expiration)
      
      Additionaly, to prevent unexpected request for elevation at the format step (usually 30-90mn into the process), on startup:
      	attempt to guess loop device path on start. This might fail or be wrong (another app uses the guessed loop before the format step) but that should be rare.
      	change mode of guessed loop device (along with SD card, so a single request right on startup)
      	restore mode at end of process (along with SD card)
      
      	if we could not properly guess, elevation will be requested at format step.
      
      Also enforcing usage of logger everywhere (subprocess calls for mount) as missing logger leads to painful diagnostics
      7f65944e
    • rgaudin's avatar
      95c94d8f
  4. 26 Jul, 2018 11 commits
  5. 25 Jul, 2018 8 commits
  6. 24 Jul, 2018 9 commits
  7. 23 Jul, 2018 1 commit
  8. 20 Jul, 2018 2 commits
  9. 14 Jul, 2018 1 commit
  10. 13 Jul, 2018 3 commits
    • rgaudin's avatar
      Fixed #184: reset UI on configuration load · 605a5398
      rgaudin authored
      605a5398
    • rgaudin's avatar
      using a new, wikifundi2 master · 4ecb161d
      rgaudin authored
      4ecb161d
    • rgaudin's avatar
      Add support for EduPi resources · 9f4f9639
      rgaudin authored
      	In ansible through edupi_has_resources variable (bool)
      	In backend via a fake-content shortcut
      	In process stage, by extracting the supplied file into the mount point
      	In move-content, by calling import-from-folder
      
      	supports both a URL and a File path.
      	supports CLI via --edupi-resources
      	supports GUI via 2 inputs (URL or FileChooser). URL superseeds local file.
      	supports config saving/loading
      9f4f9639