1. 01 Feb, 2017 3 commits
  2. 31 Jan, 2017 14 commits
  3. 30 Jan, 2017 16 commits
  4. 27 Jan, 2017 2 commits
  5. 25 Jan, 2017 1 commit
  6. 24 Jan, 2017 3 commits
    • Mikaël Salson's avatar
      task.py: Get updated database version · ef909825
      Mikaël Salson authored
      This commit fixes the issue of having STOPPED jobs stuck in that state.
      I have assumptions on why the commit fixes the issue but no certainty.
      When entering the `schedule_run` controller, web2py loads the database
      in its current state. If someone then clicks on  to run the sample
      that is currently being preprocessed, the task will be put in STOPPED
      state to wait for the preprocess to finish.
      Once the preprocess is finished, we query the DB to know which
      tasks have been stopped. But as the DB has been loaded at the start
      of the controller, it is not up-to-date anymore and doesn't
      get all the STOPPED jobs. Doing a db.commit() just before
      querying the STOPPED jobs could refresh the loaded DB.
      Fix #2053.
    • Mathieu Giraud's avatar
      tests: test getLength() · 2ce78867
      Mathieu Giraud authored
    • Mathieu Giraud's avatar
  7. 23 Jan, 2017 1 commit
    • Ryan Herbert's avatar
      file.py add permissions check to edit_form · cf44a5a0
      Ryan Herbert authored
      when editing a file, a permissions check was missing after having
      submitted the form.
      Meaning if a user were to guess the correct identification string, it
      was possible to upload files to a sample_set which the user did not have
      access to.