1. 31 Aug, 2018 4 commits
  2. 28 Aug, 2018 3 commits
  3. 27 Aug, 2018 3 commits
  4. 26 Aug, 2018 1 commit
  5. 24 Aug, 2018 3 commits
  6. 22 Aug, 2018 3 commits
  7. 20 Aug, 2018 8 commits
  8. 14 Aug, 2018 1 commit
    • rgaudin's avatar
      Fixed #202: JSON failed to save on Windows · 7c4a818d
      rgaudin authored
      edupi_resources is saved either as-is or as a relative path depending on it being an URL or not.
      If it is not set, it should be saved as None and not check for it being remote or not.
  9. 13 Aug, 2018 1 commit
  10. 12 Aug, 2018 2 commits
  11. 02 Aug, 2018 9 commits
  12. 01 Aug, 2018 1 commit
  13. 31 Jul, 2018 1 commit
    • 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