From: Martin Mares Date: Tue, 5 Jun 2007 11:42:44 +0000 (+0200) Subject: Pieces of the TODO list. X-Git-Tag: python-dummy-working~394 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=85256eb5631be64ce54eb5e1d39a64049273553a;p=eval.git Pieces of the TODO list. --- diff --git a/submit/TODO b/submit/TODO new file mode 100644 index 0000000..6793a79 --- /dev/null +++ b/submit/TODO @@ -0,0 +1,6 @@ +- MO_ROOT vs. MO_PUBLIC + +submitd: +- Checking of contest time +- Keeping history and pruning status files +- Remember hashes diff --git a/submit/commands.c b/submit/commands.c index 432e2de..93d9ae9 100644 --- a/submit/commands.c +++ b/submit/commands.c @@ -202,9 +202,6 @@ cmd_submit(struct conn *c) if (!fb) return; - // FIXME: Check contest time - // FIXME: Keep history of submitted tasks - task_lock_status(c); struct odes *tasko = task_status_find_task(c, task, 1); struct odes *parto = task_status_find_part(tasko, pname, 1); @@ -230,8 +227,6 @@ cmd_submit(struct conn *c) obj_set_attr_num(vero, 'L', obj_find_anum(c->request, 'S', 0)); obj_set_attr(vero, 'S', "submitted"); obj_set_attr(vero, 'X', ext); - // FIXME: hash - // FIXME: remove old versions from the status file? task_submit_part(c->user, tname, pname, ext, last_ver, fb); obj_set_attr_num(parto, 'V', last_ver); task_unlock_status(c, 1);