]> mj.ucw.cz Git - moe.git/commitdiff
Pieces of the TODO list.
authorMartin Mares <mj@ucw.cz>
Tue, 5 Jun 2007 11:42:44 +0000 (13:42 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 5 Jun 2007 11:42:44 +0000 (13:42 +0200)
submit/TODO [new file with mode: 0644]
submit/commands.c

diff --git a/submit/TODO b/submit/TODO
new file mode 100644 (file)
index 0000000..6793a79
--- /dev/null
@@ -0,0 +1,6 @@
+- MO_ROOT vs. MO_PUBLIC
+
+submitd:
+- Checking of contest time
+- Keeping history and pruning status files
+- Remember hashes
index 432e2deb2dd0dd3fbbfacb77c0570d76d9b47f62..93d9ae9e52c836ca49d2e7a5d7479427c3fe28dd 100644 (file)
@@ -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);