- 04 Nov, 2016 1 commit
-
-
Mathieu Giraud authored
Thanks to landscape.io.
-
- 21 Oct, 2016 1 commit
-
-
HERBERT Ryan authored
Added email notifications to admins when disk space passes below the allowed threshhold
-
- 20 Oct, 2016 1 commit
-
-
HERBERT Ryan authored
-
- 19 Oct, 2016 3 commits
-
-
HERBERT Ryan authored
mail variable from db model not available here. Temporarily disable notification email.
-
HERBERT Ryan authored
check for available disk space test was wrong and returning the opposite of the desired result
-
HERBERT Ryan authored
This function can be called when one needs to check disk space. If the disk space is below a specified percentage threshhold, the function notifies the system administrators. A boolean is returned to indicate the disk space situation.
-
- 17 Oct, 2016 1 commit
-
-
Utility function to prevent from having a None value. This can be useful when giving values from the DB to functions that only expect defined values (eg. when sorting)
-
- 15 Jun, 2016 1 commit
-
-
HERBERT Ryan authored
More of the old permission system is being replaced by the new method
-
- 10 May, 2016 3 commits
-
-
Mikaël Salson authored
Safe encoding for first names and last names systematically. Not only when we cannot view the full names.
-
Mikaël Salson authored
Prefer using unicode(s).encode('utf-8') than unicode(s, 'utf-8'). Why? Don't know.
-
Mikaël Salson authored
It can be (and will be) useful elsewhere.
-
- 09 Jul, 2015 2 commits
-
-
- 29 Jun, 2015 2 commits
-
-
Vidjil Team authored
JSON files produced by Vidjil can be huge (dozens or hundreds of megabytes) and we do not want to load them all. We just load a short prefix of the file. Since the json module expects a well-formed JSON string we use the cleanup_json_sample to close the JSON input
-
Vidjil Team authored
-
- 22 Jun, 2015 3 commits
-
-
-
Useful when we want all the values
-
-
- 18 Jun, 2015 3 commits
-
-
-
This prevents an ambiguity because filter() is called in advanced_filter()
-
This prevents encoding issues between the different strings when they are concatenated
-
- 30 Apr, 2015 1 commit
-
-
- 24 Apr, 2015 1 commit
-
-
Marc Duez authored
-
- 22 Apr, 2015 2 commits
-
-
-
One which directly takes the names in parameters (avoiding DB calls), another taking te patient ID. The former is the recommended when the function is called many times. Additionnally if the last parameter of anon_names is provided no DB call is performed.
-
- 21 Apr, 2015 1 commit
-
-
- 13 Apr, 2015 3 commits
-
-
- 08 Apr, 2015 3 commits
-
-
-
-
Mathieu Giraud authored
-
- 20 Mar, 2015 1 commit
-
-
- 19 Mar, 2015 5 commits
-
-
-
-
Vidjil Team authored
This is used in several places in models/task.py and in modules/vidjil_utils.py.
-
-
-
- 14 Mar, 2015 2 commits
-
-
-
It may be useful to inspect some data referred in a log.
-