Commit Graph

29 Commits (ec29efa606d3f2f24664ff9742619c04f148b32a)

Author SHA1 Message Date
Alejandro Alonso f3641f5cfb Refactoring and improving watchers 2015-08-26 15:10:13 +02:00
David Barragán Merino 44eee5212a Improve votes module 2015-08-26 13:35:17 +02:00
Alejandro Alonso 32c6452bfa Removing descriptions from list API 2015-08-06 18:50:38 +02:00
David Barragán Merino 45186558a7 Added owner extra info to serializers 2015-06-26 13:13:55 +02:00
David Barragán Merino debf641767 Make minor improvements over Membership and Project serializers 2015-06-18 17:45:07 +02:00
Alejandro Alonso 01eae65564 Adding extra fields to userstories, tasks and issues APIs required in home 2015-05-04 12:10:13 +02:00
David Barragán Merino 910d71eefc Add code of django-restframwork to taiga 2015-04-14 11:15:15 +02:00
David Barragán Merino 2893213932 US #55: Custom fields - Create model to save the custom attributes values and update the history 2015-03-04 12:59:27 +01:00
Alejandro Alonso 7558bbee79 Fixing problem when PATCH in a resource using prefetch_related 2015-02-03 09:54:51 +01:00
Alejandro Alonso d985e93be0 Splitting tags if containing , 2014-12-23 17:34:34 +01:00
Jesús Espino 18e38792b5 Changed how external reference is obtained 2014-11-18 13:03:38 +01:00
Andrey Antukh bc95282cfd Add proper validation of watchers for issues, tasks and userstories serializers. 2014-10-23 20:45:11 +02:00
Jesús Espino 1e48340c48 Adding initial version of exporter/importer 2014-08-28 17:33:41 +02:00
Anler Hp 68a579338f Refactoring issues bulk creation 2014-08-01 15:02:10 +02:00
David Barragán Merino d7842045a5 Remove attachments from serializer 2014-07-28 20:48:58 +02:00
Andrey Antukh 3083b7f232 Notifications & History: modify all related models and resources for work with new api. 2014-06-12 00:12:15 +02:00
Anler Hp 9923e50603 Generic voting application
The stars application has been removed in favor of a more generic voting
application that works with any model. Starring a project is just a
special case of voting a project.

Usage.

Add a vote:

    votes.add_vote(<model instance>, user)

Remove a vote:

    votes.remove_vote(<model instance>, user)

Get the queryset of users that voted an object:

    votes.get_voters(<model instance>)

Get the number of votes an object has:

    votes.get_votes(<model instance>)

Get the objects of type <model> voted by an user:

    votes.get_voted(user, <model>)

The issues application is already making use of the votes application
through the following urls:

        /api/v1/issues/<id>/upvote      <- url name is "issues-upvote"
        /api/v1/issues/<id>/downvote    <- url name is "issues-downvote"
2014-06-02 12:03:09 +02:00
Jesús Espino e824932f4c Add mdrender module 2014-05-09 12:29:12 +02:00
David Barragán Merino e8a2b9fbb3 Refactor attachments 2014-05-09 12:09:49 +02:00
David Barragán Merino 09eced41a0 Update notifications to use the new history module 2014-05-09 11:05:09 +02:00
Andrey Antukh 0529bf19c3 Replace license on taiga.projecrs.issues module. 2014-04-21 16:33:05 +02:00
David Barragán Merino 564dd8df8d Close all back task of US #80: Generate US from issues 2014-03-25 19:19:33 +01:00
David Barragán Merino a631dc7163 US #71: Watchers 2014-03-12 14:00:21 +01:00
David Barragán Merino 0b2aefbb4b Close Bug #201: Fix comments 2014-03-10 10:03:45 +01:00
David Barragán Merino 449548696d US #70: Task #124: Show attachments info in the issues list 2014-03-08 19:48:00 +01:00
David Barragán Merino 3990e3aa64 Remove unnecessary field from IssueSerializer 2014-03-08 19:48:00 +01:00
David Barragán Merino 225cfbc7a0 Minor improvements 2014-03-06 18:37:24 +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
Jesús Espino 99b9066965 US#49: Renaming app to Taiga 2014-01-27 17:33:43 +01:00