Commit Graph

20 Commits (213854d8d572de2269ae3890193bc866d4bde4ba)

Author SHA1 Message Date
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 195bdd2523 Adding colorize tags on server functionality 2014-08-11 11:51:08 +02:00
Anler Hp 3428a0bd01 Fix validation of fields in partial updates
For some reason validation of fields in partial updates wasn't
triggered. Investigating I found that in the case of partial updates
every field is marked as not-required when constructing the serializer:

rest_framework/fields.py:173
        if self.partial:
            self.required = False

but I couldn't a find where the place (if such a place exists) where the
fields that came in the PATCH request are marked as required again in
order to trigger their validation.

Basically this hotfix does that, mark as required every field present in
the PATCH request so their validation is performed.
2014-08-07 16:30:34 +02:00
Anler Hp 5515243ed8 Refactoring bulk tasks creation 2014-08-01 13:45:00 +02:00
Jesús Espino d97edb464c [HUGE CHANGE] Changed the permissions system 2014-07-24 12:19:06 +02:00
Andrey Antukh 2b087678b9 Remove domains. 2014-05-26 17:33:12 +02:00
Anler Hp 8003abbbef Moving neighbors logic into standalone module 2014-05-22 18:34:03 +02:00
David Barragán Merino 9acddf613a Improve JSON serializer field 2014-05-13 16:11:50 +02:00
David Barragán Merino 07a6f7232d Minor fixes 2014-05-09 12:32:23 +02:00
David Barragán Merino 09eced41a0 Update notifications to use the new history module 2014-05-09 11:05:09 +02:00
David Barragán Merino 234ee7a2bc Remove the coding lines 2014-04-25 12:33:16 +02:00
Jesús Espino 9cda1b5700 US#45: Testing and adding migrations on project templates 2014-04-25 07:13:17 +02:00
Jesús Espino ee75818a18 US#45: Working the base of the proyect template system 2014-04-25 07:13:17 +02:00
David Barragán Merino 2c973f50cd Change license to AGPL-3.0 (minor fixes) 2014-04-23 13:03:47 +02:00
Jesús Espino d9ab184d0a Bug#199: Now work correctly the filtering of next/prev on retrieve actions 2014-03-07 14:15:57 +01:00
David Barragán Merino 6d514f644e Fix Bug #181: Search in textareas does not work 2014-03-05 11:44:07 +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 5fcd96449b Fixed probles with the new version (1.8.0) of django-reversion 2014-01-31 09:35:10 +01:00
Jesús Espino 99b9066965 US#49: Renaming app to Taiga 2014-01-27 17:33:43 +01:00