Commit Graph

320 Commits (stable)

Author SHA1 Message Date
Andrey Antukh 0644ffa5cd Minor changes/improvements on exceptions tree. 2014-05-28 18:23:11 +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
Anler Hp 9bca29ce20 Creating reusable "filter_by_tags" function.
Moving the filtering-by-tag logic out of TagsFilter into a reusable function.
2014-05-22 18:34:03 +02:00
Andrey Antukh 3c4696962f Remove code from self destroy drf mixin related to pre/post hooks.
Because drf now has support for them.
2014-05-21 15:59:30 +02:00
Andrey Antukh bb595b8fdd Reference refactor.
(Merged from stable/reference-refactor)
2014-05-19 13:25:40 +02:00
Andrey Antukh 6f64090904 Improved 404 response message. 2014-05-13 18:12:47 +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 43750c3a19 Fixup history 2014-05-09 12:31:42 +02:00
Jesús Espino e824932f4c Add mdrender module 2014-05-09 12:29:12 +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 4887ca55a9 Fix a bug: Sent notifications when a user only add a comment 2014-04-24 12:54:47 +02:00
David Barragán Merino 2c973f50cd Change license to AGPL-3.0 (minor fixes) 2014-04-23 13:03:47 +02:00
Andrey Antukh b7df530546 Refactorized auth controllers.
Now controllers only have presentation logic. All domain
logic is moved to separate transactional service functions.
2014-04-21 17:31:40 +02:00
Andrey Antukh 9d41a48a46 Move taiga/base/users to taiga/users 2014-04-21 17:27:22 +02:00
Andrey Antukh c206f34644 Move taiga/base/auth to taiga/auth 2014-04-21 17:27:22 +02:00
Andrey Antukh a1dba18d33 Add new NotSupported exception. 2014-04-19 22:56:17 +02:00
Andrey Antukh 48d6d0cf28 Add own subclass of generic view set. 2014-04-19 22:56:02 +02:00
Andrey Antukh d296387651 Partial update method now is also transactional as its friend update method. 2014-04-19 22:55:10 +02:00
David Barragán Merino 420a9522c5 Refactor: create a notification service to use it outside of the ViewSet classes 2014-03-26 17:26:40 +01:00
Jesús Espino 292de17556 Fixing some users api tests 2014-03-26 14:51:52 +01:00
Jesús Espino 56df0634d6 Now users have better permissions management 2014-03-26 14:22:10 +01:00
Jesús Espino a7b584bdf2 Bug#226: Now owners can be visualized on the users list of a project 2014-03-26 13:28:57 +01:00
David Barragán Merino 68a49599ef Remove an space 2014-03-25 19:15:28 +01:00
Jesús Espino d254d04428 Fixed notifications problems 2014-03-24 12:30:23 +01:00
David Barragán Merino cf4cc209bf Fix reversion functionality 2014-03-23 18:38:00 +01:00
David Barragán Merino ac6a40e25b Fix some probles with the web API 2014-03-23 13:33:56 +01:00
David Barragán Merino 686e79ccb5 Merge pull request #32 from taigaio/domains-alias
Domains alias
2014-03-22 19:36:28 +01:00
Andrey Antukh 04fa6f6715 Downgrade to djangorestframework 2.3.13 and backport some usefull routers and decorators. 2014-03-22 18:38:30 +01:00
Andrey Antukh 3d932ba569 Fix domains module imports due to previous module relocation. 2014-03-22 18:09:29 +01:00
Andrey Antukh b633c8c115 Move taiga.base.domains to taiga.domains 2014-03-22 18:09:29 +01:00
Andrey Antukh 8318c928f0 Add mission apache license header on main domain modules. 2014-03-22 18:09:29 +01:00
Andrey Antukh 564b62fd1b Add tests for domain app. 2014-03-22 18:09:29 +01:00
Andrey Antukh cbcf9dddc3 Allow add domain aliases.
This implies some minor refactor of domains app code.
2014-03-22 18:09:29 +01:00
Andrey Antukh a3b8362a9e Move all logic from __init__.py to base. 2014-03-22 18:09:29 +01:00
Andrey Antukh 855c3c7eb5 Fix worong serialization of exceptions generated by domain application. 2014-03-22 14:29:10 +01:00
David Barragán Merino 93035ca646 Fix bug/enhancement #210: Generate a random hex color for a new users 2014-03-19 20:34:39 +01:00
Andrey Antukh 6b935fdd4e Move CORS middleware to separate module. 2014-03-15 21:19:54 +01:00
Andrey Antukh fe4ae3a90d Add x-session-id header to cors middleware.
And convert all simple quotes to double quotes.
2014-03-15 21:03:51 +01:00
Jesús Espino 4b0bc5f8da Fixed up the previous commit 2014-03-14 10:44:31 +01:00
Jesús Espino 418a0a4a7a Fixed problem with visibility of memberships of other domains 2014-03-14 10:08:24 +01:00
David Barragán Merino 4a02935230 Fix Bug #203 2014-03-11 12:36:51 +01: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
Andrey Antukh 438b0be904 Fix wrong user type check on domain model. 2014-03-06 17:21:43 +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 778fce6257 US #50: Neighbor taking into account issues ordering 2014-02-28 15:07:01 +01:00
Jesús Espino 7393ecbf03 some fixes on roles service 2014-02-28 14:26:35 +01:00
David Barragán Merino 56b9540b79 Fix Bug #165: Send emails on creation in bulk 2014-02-28 13:51:54 +01:00
Andrey Antukh 45cefd768a Add comment for auth view method. 2014-02-28 12:33:01 +01:00
Jesús Espino de8331066b Removing some permissions on listing and on default permissions of default roles 2014-02-28 09:04:47 +01:00
Jesús Espino 3156e16487 Adding name to permissions list service 2014-02-27 22:53:06 +01:00
Jesús Espino 7e6063ae62 Adding permissions list service 2014-02-27 22:45:07 +01:00
ikame f982da7ebb US #50: Neighbors nav for taskboard and kanban 2014-02-27 13:38:51 +01:00
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
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 787ee05d67 Fixing incomplete initual_user.json fixture 2014-02-17 12:50:09 +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 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
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
Jesús Espino 99b9066965 US#49: Renaming app to Taiga 2014-01-27 17:33:43 +01:00