Commit Graph

591 Commits (9bc84067d77593eea56656e52a98ef34119faaa9)

Author SHA1 Message Date
ikame 9bc84067d7 Fix neighbors fetching in user stories
* Order the received queryset if it doesn't have ordering.
* Do not order UserStory model by "ref" because the query:
  `queryset.filter(Q(project__gt=1) | Q(order__gt=2) | Q(ref__gt=26))`
  give the wrong result. We need to use the query:
  `queryset.filter(Q(project__gt=1) | Q(order__gt=2))`
  because in SQL there's no short-circuiting.
2014-02-26 22:11:05 +01:00
ikame e9dfbe7378 US #50: Return neighbors when fetching an US/Issue
The response for an UserStory/Issue now contains:

{
    ...
    "neighbors": {
        "previous": {
            "id": ...,
            "ref": ...,
            "subject": ...
        },
        "next": {
            ... same as above
        }
    }
}

If there's a neighbor missing the response will contain the empty dict {}:

{
    ...
    "neighbors": {
        "previous": {},
        ...
    }
}

Neighbors are looked up applying the same filters defined in the
corresponding ViewSets and the same ordering defined in those filters or
ultimately, in the model's meta. In other words, using the same params
you use to filter the object list, can be used to filter the neighbors
when fetching the object's details.
2014-02-26 12:47:55 +01:00
David Barragán Merino d165d55a56 US 41: Task #100: Add fields to activate and desactivate kanban and backlog 2014-02-25 19:17:21 +01:00
David Barragán Merino 8177eeef26 Now a user story can be assigned 2014-02-25 13:57:44 +01:00
David Barragán Merino 0156557cea Smallfix: Change wrong related name of the field assigned_to in the Task model 2014-02-25 13:45:12 +01:00
Jesús Espino b2077f3b9c Bug#132: Adding bulk of tasks 2014-02-25 09:35:47 +01:00
David Barragán Merino ff1612e282 US #57: Task #90: Create a blocked abstract model 2014-02-22 06:12:25 +01:00
David Barragán Merino 960b10ab2a Changed travis settings 2014-02-22 04:22:42 +01:00
Jesús Espino 0cf50f29b0 Adding talky support 2014-02-19 23:08:47 +01:00
Jesús Espino 17ab00e2cd Initial integration with appear-in 2014-02-19 22:14:45 +01:00
Jesús Espino e7582432e8 SmallFix: Fixing issue with site admin project links 2014-02-18 18:14:36 +01:00
Jesús Espino ab42052968 Fixing tests and documentation 2014-02-18 17:59:23 +01:00
Jesús Espino 0779f5f447 US#12: Roles per project 2014-02-18 16:42:49 +01:00
ikame 86af080429 Updating installation instructions
Include the command to load the initial_role fixture.
2014-02-17 12:50:49 +01:00
ikame 787ee05d67 Fixing incomplete initual_user.json fixture 2014-02-17 12:50:09 +01:00
Jesús Espino f2037bbc20 Adding type on issues filter 2014-02-16 16:51:27 +01:00
David Barragán Merino eee81190ca Move static dir to base app 2014-02-06 19:07:02 +01:00
David Barragán Merino a95b1b2b53 Set prefix to static url patterm call 2014-02-06 18:58:18 +01:00
David Barragán Merino 9337a97555 Fix, fix, fix template syntax 2014-02-06 18:42:43 +01:00
David Barragán Merino c19b9ad52a A First attempt to place the Taiga logo in the emails 2014-02-06 18:35:33 +01:00
Jesús Espino 2dc604a396 Working the search getting all optionally 2014-02-05 17:51:23 +01:00
David Barragán Merino 98f33e1a5b Fix Bug #142 2014-02-05 15:04:32 +01:00
David Barragán Merino 791f8fe592 Add active memberships to the project detail serializer 2014-02-05 14:21:28 +01:00
David Barragán Merino 22dcf032cc Bug #140 fixed 2014-02-04 17:40:15 +01:00
Jesús Espino 7b083b9916 Smallfix: Removing requirement of authenticated sites permissions 2014-02-04 17:25:08 +01:00
David Barragán Merino 5fcd96449b Fixed probles with the new version (1.8.0) of django-reversion 2014-01-31 09:35:10 +01:00
David Barragán Merino 3da860bd29 Fixed bug #135 2014-01-30 19:01:27 +01:00
Andrey Antukh 1cbb204790 Update requirements. 2014-01-30 15:57:23 +01:00
David Barragán Merino fffa8762c5 Bug #135: Now we can filter unassigned issues 2014-01-29 14:55:15 +01:00
Jesús Espino 99b9066965 US#49: Renaming app to Taiga 2014-01-27 17:33:43 +01:00
Andrey Antukh ef579f6823 Remove grapelli urls. 2014-01-24 10:36:23 +01:00
Andrey Antukh 8e4bab5c02 Remove celery import from settings. 2014-01-24 10:17:53 +01:00
Andrey Antukh fe5b2bbeba Update requirements.txt. 2014-01-24 09:51:33 +01:00
Andrey Antukh dcf19b8136 Fix warnings of django 1.7 check system on settings. 2014-01-24 09:51:33 +01:00
David Barragán Merino aba160c765 Change Greenmine to Taiga 2014-01-22 22:38:02 +01:00
David Barragán Merino a124f032fa Move trend icon to the top of the file 2014-01-20 23:22:45 +01:00
Andrey Antukh 1abb0062e7 Merge pull request #26 from bitdeli-chef/master
Add a Bitdeli Badge to README
2014-01-20 12:35:23 -08:00
Bitdeli Chef 5bf01486bf Add a Bitdeli badge to README 2014-01-20 20:38:44 +00:00
Jesús Espino 7cbf8fcf04 Fixed typo 2014-01-12 11:10:50 +01:00
Jesús Espino 2b2f670909 Simplified the by username ordering filter on issues 2014-01-12 10:51:23 +01:00
Jesús Espino 3878b9919d Adding better ordering on owner and assigned_to values in issues 2014-01-10 23:51:05 +01:00
David Barragán Merino 0e980ac48c Changed Greenmine to the real name: Taiga 2014-01-10 15:22:51 +01:00
David Barragán Merino 7e28fa6af0 Fixed another minor error in the project admin panel 2014-01-10 10:40:16 +01:00
David Barragán Merino 88e4a8f4c3 Fixed a minor error in the project admin panel 2014-01-10 10:16:34 +01:00
Jesús Espino 1e33dc32e7 Adding subject to ordering of issues 2014-01-09 22:32:51 +01:00
Jesús Espino 90d0e0ee18 Implementing iocaine 2014-01-08 12:28:43 +01:00
Jesús Espino b72b735097 Added milestone_slug field on userstories 2014-01-08 12:27:49 +01:00
Jesús Espino f2ec19e61f Adding resolver API endpoint 2014-01-08 11:39:58 +01:00
Jesús Espino 0575a80e7a Now issues filters are ordered by order and returned as a list of tuples 2014-01-03 13:25:23 +01:00
Jesús Espino 725bf978c1 Fixed issue #122: Now the deletion of task force the recalculation of US and milestone closed/open status 2014-01-02 17:05:23 +01:00