 
 
 router.param 'teamId', teamParam.id
+router.param 'taskId', taskParam.id
+
+
+router.get '/progress', sessionMiddleware.needsToBeAuthorizedSupervisor, (request, response, next) ->
+    teamTaskProgressController.list (err, teamTaskProgressEntries) ->
+        if err?
+            next err
+        else
+            response.json _.map teamTaskProgressEntries, teamTaskProgressSerializer
 
 
 router.get '/team/:teamId/progress', sessionMiddleware.needsToBeAuthorizedTeam, (request, response, next) ->

        else
            response.json _.map teamTaskProgressEntries, teamTaskProgressSerializer


router.post '/update', securityMiddleware.checkToken, sessionMiddleware.needsToBeAuthorizedAdmin, urlencodedParser, (request, response, next) ->
    valState = parseInt request.body.state, 10

teamScoreSerializer = require '../serializers/team-score'
contestSerializer = require '../serializers/contest'
teamParam = require '../params/team'
taskParam = require '../params/task'

teamTaskProgressController = require '../controllers/team-task-progress'
teamTaskProgressSerializer = require '../serializers/team-task-progress'
