Commit graph

3 commits

Author SHA1 Message Date
bb2f75ec1c Really fix setting priority for tasks
When selecting the task to replace the task with based on priority, be
sure to limit the options to tasks with the same story id.
2013-08-18 23:19:25 +02:00
aa06a99982 Fix priorities for tasks
When setting and changing priorities no attention was paid to the
`story_id', which means that no two tasks could have the same priority,
even when belonging to other stories. This creates a weird situation
where the tasks of a certain story would become unmanageable because
there are gaps between the priorities. This could make it seem like
priority changing was impossible.
2013-08-18 16:55:56 +02:00
781befeb23 Rewrite with ningle
Replaces restas with ningle. Restas had 2 problem I could not overcome:
1) It would only let me return a status code or a response, not, for
example, a 403 status code with some json. 2) It would not allow me to
place it under a subdirectory.

Both of these problems possibly (likely) have solutions with restas, but
I already found out how to do these things with ningle.

This rewrite is sloppy and messy. The code should be cleaned up soon.
2013-07-29 02:09:34 +02:00