MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit af119810 authored by Marc Duez's avatar Marc Duez
Browse files

server : autodelete file if the associated database row is removed

parent edea84d3
......@@ -104,7 +104,7 @@ db.define_table('sequence_file',
Field('sequencer','text'),
Field('producer','text'),
Field('size_file','integer'),
Field('data_file', 'upload', length=1000000000000))
Field('data_file', 'upload', length=1000000000000, autodelete=True))
......@@ -128,21 +128,21 @@ db.define_table('data_file',
Field('config_id', 'reference config'),
Field('run_date','date'),
Field('scheduler_task_id', 'integer'),
Field('data_file', 'upload', length=1000000000000))
Field('data_file', 'upload', length=1000000000000, autodelete=True))
db.define_table('fused_file',
Field('patient_id', 'reference patient'),
Field('config_id', 'reference config'),
Field('fuse_date','date'),
Field('status', 'string'),
Field('fused_file', 'upload', length=1000000000000))
Field('fused_file', 'upload', length=1000000000000, autodelete=True))
db.define_table('analysis_file',
Field('patient_id', 'reference patient'),
Field('config_id', 'reference config'),
Field('analyze_date','date'),
Field('status', 'string'),
Field('analysis_file', 'upload', length=1000000000000))
Field('analysis_file', 'upload', length=1000000000000, autodelete=True))
if db(db.auth_user.id > 0).count() == 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment