Commit Graph

305 Commits (fcaa0f7f3bf760da234ea61c3a930b2bf1e1736c)

Author SHA1 Message Date
David Barragán Merino f398501fb8 Refactor some tests (II) - Remove debug trace 2015-02-24 12:14:29 +01:00
David Barragán Merino 6db1eca874 Refactor some tests 2015-02-24 11:28:01 +01:00
David Barragán Merino 60ab6127aa Refactor day: Use taiga.base.response instead rest_framework.response 2015-02-17 12:25:37 +01:00
David Barragán Merino 5196f1c25d Refactor day: Move RoleViewSet from taiga.projects to taiga.users 2015-02-16 20:04:41 +01:00
Jesús Espino c517a8519c Allow auth plugins 2015-02-11 09:36:56 +01:00
Jesús Espino d98e9a2fc7 Fix wiki reference link title attribute 2015-02-10 17:17:16 +01:00
David Barragán Merino 6e13e774d6 Upgrade django-pgjson to 0.2.1 2015-02-09 16:11:31 +01:00
Jesús Espino fbb29666b7 Added users_me resource permissions test 2015-02-03 13:36:07 +01:00
David Barragán Merino a97fd2a91e Improve update-role-points test 2015-02-03 10:26:41 +01:00
Jesús Espino 2016586afa Merge pull request #215 from taigaio/issue/1886/500_api_filter_by_project_slug
Issue #1886: Bad request when use project.slug instead project.id in API...
2015-02-02 18:10:02 +01:00
David Barragán Merino 268b6a7ad4 Issue #1886: Bad request when use project.slug instead project.id in API calls 2015-02-02 18:05:21 +01:00
David Barragán Merino d4a40ad8d3 HTTP 404 for calls to search api with a wront project_id 2015-02-02 16:14:30 +01:00
David Barragán Merino 90d5eb88e9 Update test_importer_api.py 2015-01-22 21:18:12 +01:00
David Barragán Merino 779a2542d3 Update test_exporter_api.py 2015-01-22 21:15:59 +01:00
Alejandro Alonso da156401b0 Adding name to webhooks and logs_counter to webhooks API 2015-01-22 12:53:01 +01:00
Alejandro Alonso 395c35628e Import API in synchronous mode now returns the new project serialized 2015-01-21 11:49:41 +01:00
Alejandro Alonso 5a53e8f78a Refactoring project export 2015-01-20 10:52:39 +01:00
Alejandro 2fba748487 Merge pull request #209 from taigaio/us/1678/webhooks
US #1678: Add webhooks to the backend
2015-01-14 16:28:42 +01:00
Jesús Espino 47107eb079 US #1678: Add webhooks to the backend 2015-01-14 16:04:22 +01:00
David Barragán Merino 834d8dfe3f Use taiga.base.utils.json instead json 2015-01-14 10:54:42 +01:00
David Barragán Merino 64dde7870d Remove unnecessary import 2015-01-13 19:10:13 +01:00
Jesús Espino a8afd77f89 Add import/export functionality to the API 2015-01-13 13:43:09 +01:00
Alejandro Alonso df282a0c94 Fixing register test 2015-01-13 11:24:37 +01:00
Xavier Julián 4fe73aef52 US #1680: Emails redesign 2015-01-12 18:04:41 +01:00
Alejandro Alonso aee57d6110 Moving archived status from userstory to status 2015-01-02 10:44:45 +01:00
David Barragán Merino ce88a60073 tg-1783 #ready-for-test - Fix wiki links compatibility 2014-12-10 21:02:43 +01:00
Alejandro 4a911f309a Merge pull request #186 from taigaio/improving-occ-for-not-bothering-when-not-necesary
Improving OCC for detecting situations where the version is not valid bu...
2014-12-10 07:52:52 +01:00
Alejandro Alonso 5a87aa0ed7 Improving OCC for detecting situations where the version is not valid but the changes doesn't overwrite previous ones 2014-12-03 14:47:32 +01:00
Alejandro 354134e157 Merge pull request #184 from taigaio/us/1009/pgarray-query-refactoring
Refactor of tags queries using djorm-pgarray queries
2014-12-03 12:06:17 +01:00
David Barragán Merino 15ced7c44f tg-1736 #closed -> 404 instead 500 when call api/v1/projects/slug instead api/v1/project/id 2014-12-03 11:57:20 +01:00
Jesús Espino af1450ccf1 Refactor of tags queries using djorm-pgarray queries 2014-12-03 11:53:23 +01:00
Alejandro Alonso 53871e5a8a Detecting concurrent edition and failing properly if needed 2014-12-03 10:21:31 +01:00
David Barragán Merino 29df487bca Fix tests 2014-12-03 00:38:06 +01:00
Jesús Espino 1101c5a719 Add bulk update order in user story and taskboard for tasks 2014-12-02 19:20:36 +01:00
Jesús Espino 2bbfa56deb Add tests for ip filtering on gitlab/bitbucket hooks 2014-12-02 14:42:43 +01:00
Jesús Espino edcb186871 Fix some tests 2014-12-02 14:42:43 +01:00
Alejandro Alonso 3e46b439bf Bitbucket webhooks for commits 2014-12-02 14:42:42 +01:00
Jesús Espino d974befd6c Gitlab integration 2014-12-02 14:42:42 +01:00
Alejandro Alonso 55ac4ce664 Fixing bug when deleting comments by project owners 2014-12-02 13:00:26 +01:00
Alejandro Alonso aa75763a3d Fixing neighbor tests 2014-12-02 09:36:58 +01:00
Jesús Espino e9045eb14c Merge pull request #180 from taigaio/bug/1720/notify-policies-anonymous-user-error
Fixing anonymous user requests for notify policies
2014-12-01 13:16:14 +01:00
Alejandro Alonso d9c6e3bcf1 Fixing anonymous user requests for notify policies 2014-12-01 14:01:37 +01:00
Jesús Espino 0a0d8724cd Replacing test import of mock, using unittest.mock 2014-12-01 12:42:43 +01:00
Jesús Espino 929ab47249 Merge pull request #178 from taigaio/bug/1668/fix-wiki-links-in-markdown-2
Bug tg-1668 #closed - Convert relative links to absolute links
2014-12-01 10:32:23 +01:00
David Barragán Merino e1f95ec391 Add copyright policy 2014-11-30 11:27:16 +01:00
David Barragán Merino 8b63dc8fa3 Bug tg-1668 #closed - Convert relative links to absolute links 2014-11-29 19:19:39 +01:00
David Barragán Merino 0798b5856b Add copyright policy 2014-11-29 17:41:48 +01:00
David Barragán Merino 53266a512f US #1313: Setup throttling policy 2014-11-28 10:21:09 +01:00
Jesús Espino 5130b32b0f Merge pull request #170 from taigaio/bug/1668/fix-wiki-links-in-markdown
Fix wikilink extension: use absolute urls
2014-11-27 10:03:31 +01:00
Jesús Espino 88568e0268 Merge pull request #172 from taigaio/bug/1700/delete-empty-memberships
If two pending memberships exist in the same projecto I can't delete them
2014-11-27 09:55:40 +01:00
Jesús Espino 494f18300a Fix notification of objects without permissions 2014-11-27 09:35:20 +01:00
David Barragán Merino b1fe9b335e Remove unneeded code 2014-11-26 18:51:28 +01:00
Alejandro Alonso 00c8d33d0d If two pending memberships exist in the same projecto I can't delete them 2014-11-26 11:36:16 +01:00
David Barragán Merino 30ca702323 Fix wikilink extension: use absolute urls 2014-11-26 09:35:28 +01:00
Jesús Espino 72730fdb73 Fixed failing tests 2014-11-25 18:51:58 +01:00
Alejandro Alonso c285857844 Refactoring owner permissions, now only is_owner memberships are considered as owner users 2014-11-25 18:51:58 +01:00
Alejandro Alonso c9fc2268d0 Adding leave project API 2014-11-25 18:51:57 +01:00
Alejandro Alonso e7b963a674 Adding member stats to the API 2014-11-25 18:51:57 +01:00
David Barragán Merino fa1e0c6bf6 Fix some tests 2014-11-25 18:43:40 +01:00
Alejandro Alonso e2f0262918 Fixing validation of email and role in memberships 2014-11-19 22:53:37 +01:00
Alejandro Alonso d246808b54 Disabling membership creation if the role isn't valid for the project 2014-11-19 14:28:00 +01:00
Alejandro Alonso 3d96ce81bb Fixing update_roles when project point ? exists but is not null 2014-11-19 14:05:49 +01:00
Alejandro Alonso 4996ae3a24 Fixing error 500 when using duplicated names for project points 2014-11-19 14:00:37 +01:00
David Barragán Merino 99244b8393 Re-do github login 2014-11-18 15:35:42 +01:00
Jesús Espino 80445d7afd Merge pull request #156 from taigaio/bug/1552/us-points-undefined-when-tasks-points-are-undefined
User story points are undefined if the task points are undefined
2014-11-18 13:48:37 +01:00
Alejandro ac1b43bdb5 Merge pull request #157 from taigaio/external-references-change
Changed how external reference is obtained
2014-11-18 13:47:59 +01:00
Jesús Espino 7b498924e7 Add tests to bug #1553 resolution 2014-11-18 13:32:32 +01:00
Jesús Espino 18e38792b5 Changed how external reference is obtained 2014-11-18 13:03:38 +01:00
Alejandro Alonso f49d143c22 Fixing neighbors hell 2014-11-15 22:39:42 +01:00
David Barragán Merino 36519e94c9 Fix some tests 2014-11-11 19:33:22 +01:00
Jesús Espino 1822198549 Fixed test on Github link 2014-11-11 19:18:18 +01:00
Jesús Espino cc4f64c115 Fixed travis errors 2014-11-11 19:18:18 +01:00
Jesús Espino aa3a8c6be8 Adding regular expresion to convert github references to links to github 2014-11-11 19:18:18 +01:00
Alejandro Alonso 571bf5e0cc Fixing slug generation for issue status, task status and user story status 2014-11-11 19:18:18 +01:00
Alejandro Alonso 5718627daa Using 400 errors insted of 401 2014-11-11 19:18:18 +01:00
Alejandro Alonso 2e78d51eda Fixing bug when changing us's to a non existing status 2014-11-11 19:18:18 +01:00
Alejandro Alonso 2d90a5dac9 Making commit message actions case insensitive 2014-11-11 19:18:18 +01:00
Alejandro Alonso 88d11aba85 Adding API support for project modules configurations 2014-11-11 19:18:18 +01:00
Alejandro Alonso 0fd7142802 US#90 Github webhooks integration 2014-11-11 19:18:18 +01:00
David Barragán Merino 61141c321e Fix connectors_github tests 2014-11-06 19:36:34 +01:00
Jesús Espino c83ffa8529 Fix issue #1500: Now generated html is escaped 2014-10-31 13:10:34 +01:00
Alejandro 5ac3bf15ab Merge pull request #143 from taigaio/refactor/remove-projects-tags-call
Remove api/v1/projects/XX/tags call (Not necessary)
2014-10-30 18:09:48 +01:00
Alejandro Alonso 126e02ce39 Fixing error when importing issues, the finished date was set to none by signals. Added some tests 2014-10-29 13:27:49 +01:00
Alejandro Alonso 08b8d478e1 Making notifications work synchronously by default 2014-10-28 18:26:30 +01:00
Alejandro Alonso 38fc63425a Fixing tests 2014-10-28 18:08:50 +01:00
David Barragán Merino 77d03c000f Remove api/v1/projects/XX/tags call (Not necessary) 2014-10-27 18:11:17 +01:00
Alejandro Alonso a1d6875d88 Fixing task tests 2014-10-24 08:47:58 +02:00
Andrey Antukh bc95282cfd Add proper validation of watchers for issues, tasks and userstories serializers. 2014-10-23 20:45:11 +02:00
Alejandro Alonso 8593b82f8b Adding support for extra text in invitation 2014-10-22 12:53:22 +02:00
Jesús Espino bd519b3d64 Merge branch 'master' into stable
Conflicts:
	tests/integration/test_userstories.py
2014-10-20 13:43:44 +02:00
Alejandro Alonso a5c922be9e Fixing bug when selecting neighbors in an empty queryset of related elements 2014-10-20 12:33:24 +02:00
Alejandro Alonso 2cc65a17cb Fixing error when recovering the user token and the key doesn't exist 2014-10-20 09:40:51 +02:00
Alejandro Alonso 991e5a7f42 Fixing error 500 when importing two milestones with the same name 2014-10-20 00:50:39 +02:00
Alejandro Alonso 6fc97cf99d When creating a task with milestone and user_story associated checking the user_story is also associated to the milestone 2014-10-19 20:00:17 +02:00
Alejandro Alonso e71a9a1202 Fixing searchs, using an and for the words we search instead of an or 2014-10-16 13:14:43 +02:00
Andrey Antukh ae5ca20a76 [backport] Fix incorrect handling of userstory rolepoints update process.
The current implementation allows duplicate points values in one project,
and because of it, unexpected MultipleObjectsReturned can be raised with
previous update_role_points code. The new one fixes this.

Additionally, in some circumstances, the project does not have any points
with None as value, that causes also unexpected errors. The new
implementation fixes it creating a points instance with None as value
if it not exists.

Conflicts:
	tests/integration/test_userstories.py
2014-10-16 09:12:45 +02:00
Andrey Antukh eb8638fdda [backport] Fix wrong handling role points update.
Additionally it moves the logic from serializer to resource.
2014-10-15 23:54:28 +02:00
Andrey Antukh bcd87114cf [backport] Fix wrong handling moveTo parameter on role destroy. 2014-10-15 23:54:12 +02:00
Andrey Antukh 4056d5214b Fix incorrect handling of userstory rolepoints update process.
The current implementation allows duplicate points values in one project,
and because of it, unexpected MultipleObjectsReturned can be raised with
previous update_role_points code. The new one fixes this.

Additionally, in some circumstances, the project does not have any points
with None as value, that causes also unexpected errors. The new
implementation fixes it creating a points instance with None as value
if it not exists.
2014-10-15 23:45:10 +02:00
Andrey Antukh 84a7c47210 Rename project tests. 2014-10-15 23:27:54 +02:00