From 85256eb5631be64ce54eb5e1d39a64049273553a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 5 Jun 2007 13:42:44 +0200 Subject: [PATCH] Pieces of the TODO list. --- submit/TODO | 6 ++++++ submit/commands.c | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 submit/TODO 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); -- 2.39.2