Commit Graph

58 Commits (11b6cc061c8084d44f5f5139cecfc1b413f4fb8a)

Author SHA1 Message Date
David Barragán Merino 11b6cc061c Transfer project ownership to no admin members too 2016-03-18 09:28:21 +01:00
Alejandro Alonso 3d3e8f2d49 Adding logo_small_url to user likes and watches APIs 2016-01-21 18:44:18 +01:00
Alejandro Alonso 50e00b6d45 Task #3517 #3516: Order by fans and activity (last week/moth/year/all time) 2016-01-21 18:44:18 +01:00
Andrey Antukh 9c4472a787 Add alejandro.alonso copyright preamble to test sources. 2016-01-08 16:08:46 +02:00
Andrey Antukh 501145bdcd Fix my email on copyright preamble on test source files. 2016-01-08 15:58:30 +02:00
David Barragán Merino f992d372df Update license message 2016-01-04 08:51:06 +01:00
Alejandro Alonso 3fc725c080 Refactoring likes and votes 2015-10-23 10:51:23 +02:00
David Barragán Merino 9b56a414f0 Fix dates in license messages. Change 2014 to 2014-2015 2015-10-13 11:27:15 +02:00
Alejandro Alonso bd09e23b61 External applications support 2015-09-09 09:39:54 +02:00
Alejandro Alonso bccdc2fae1 Adding votes and watched projects to sample_data 2015-08-26 15:19:01 +02:00
Jesús Espino aaf89ebb04 Issue#2943: Regenerate refs for tasks, issues and user stories on project change 2015-06-24 20:15:02 +02:00
David Barragán Merino 22e62b4f65 US #55: Custom fields - Change 'values' field in CustomAttributesValues models to 'attributes_values' 2015-03-04 12:59:27 +01: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
David Barragán Merino 84db9956d5 US #55: Custom fields - Tests 2015-03-04 12:59:27 +01:00
Jesús Espino 8e69be800e Fixed duplications and flake8 errors on factories.py 2015-02-24 13:13:24 +01:00
David Barragán Merino 6db1eca874 Refactor some tests 2015-02-24 11:28:01 +01:00
David Barragán Merino 6e13e774d6 Upgrade django-pgjson to 0.2.1 2015-02-09 16:11:31 +01:00
Alejandro Alonso da156401b0 Adding name to webhooks and logs_counter to webhooks API 2015-01-22 12:53:01 +01:00
Jesús Espino 47107eb079 US #1678: Add webhooks to the backend 2015-01-14 16:04:22 +01:00
Xavier Julián 4fe73aef52 US #1680: Emails redesign 2015-01-12 18:04:41 +01:00
Alejandro Alonso 55ac4ce664 Fixing bug when deleting comments by project owners 2014-12-02 13:00:26 +01:00
Alejandro Alonso 0fd7142802 US#90 Github webhooks integration 2014-11-11 19:18:18 +01:00
Andrey Antukh bc95282cfd Add proper validation of watchers for issues, tasks and userstories serializers. 2014-10-23 20:45:11 +02:00
Andrey Antukh 81591a6294 [backport] Fix wrong handling patch request with user_stories list on milestone resource. (fix #1163) 2014-10-02 04:19:24 +02:00
David Barragán Merino 7a88df1e08 Change django.db.models.loading.get_model (deprecated in django 1.7) to django.apps.apps.get_model 2014-09-25 11:32:50 +02:00
Andrey Antukh 6224a9d4ce Improve attachments factories and fix tests related to storage refactor. 2014-09-17 15:05:10 +02:00
Andrey Antukh 3061425a67 Improvements and fixes on tests. 2014-09-16 10:48:43 +02:00
Andrey Antukh c1b011fa99 Refactor test factories to new factoryboy version (more compatible with django 1.7) 2014-09-16 10:48:42 +02:00
Jesús Espino 6d78c79018 Adding import api 2014-09-08 12:33:32 +02:00
Jesús Espino 26e462e182 Fixed issue #298: Now permissions on API listings works 2014-08-08 13:43:07 +02:00
Anler Hp 47a28cc3dc Create membership for user creating project <=> role exists 2014-08-07 16:30:28 +02:00
Jesús Espino dd7d478d05 Adding permissions and testing for resend-invitation service 2014-07-31 14:09:09 +02:00
Anler Hp 2ca0039852 Fixing commits related to Task #439 2014-07-30 11:43:38 +02:00
Anler Hp 0b02cc4523 Task #422 - Create issues in bulk 2014-07-29 13:43:57 +02:00
Anler Hp 8eed0d03e5 Task #399 - Memberships' resend-invitation handler
In order to resend and invitation email you just POST to detail-url
`memberships-resend-invitation`
2014-07-25 10:50:30 +02:00
Jesús Espino d97edb464c [HUGE CHANGE] Changed the permissions system 2014-07-24 12:19:06 +02:00
Anler Hp 75cecbed70 Task #349 - API fails when DELETE-ing an userstory
Link - https://kaleidos.taiga.io/#/project/taiga/tasks/349
2014-07-23 11:21:52 +02:00
David Barragán Merino 2e6ddbf98f Merge pull request #55 from taigaio/attachments
Check permissions when accessing attachments
2014-07-22 23:32:54 +02:00
Jesús Espino d32a9562be A lot of refactoring on close us code signals code 2014-07-21 21:23:40 +02:00
Anler Hp 52f476fb34 Check permissions when accessing attachments
Attachment files dispatching is now done through `RawAttachmentView`
view that checks for appropiate permissions.

When using the development server this view just redirects to the real
media path of the file.

When using the production server the special redirection header
`X-Accel-Redirect` is used instead to improve efficiency by instructing
the server to dispatch the file instead of django, but you also need the
following configuration (Nginx):

location /attachment-files {
    internal;
    alias /path/to/taiga/media/attachment-files;
}

It's recommended to also restrict the direct access from outside to the
`attachment-files` directory by using some configuration like this:

location /media/attachment-files {
    deny all;
}
2014-07-04 12:15:48 +02:00
Anler Hp cfc35d5ed2 Required estimated-start/end dates for milestones 2014-06-27 14:07:50 +02:00
Anler Hp c89c6e7c31 Merge pull request #51 from taigaio/tags
Tags using pg arrays
2014-06-23 11:34:02 +02:00
David Barragán Merino 767024d0d5 Add more licenses agreements to the tests module 2014-06-19 22:46:31 +02:00
Anler Hp df8a7fb73c create_membership factory function 2014-06-18 14:13:20 +02:00
Anler Hp ac5e163dc5 Implement tags using pg arrays 2014-06-18 10:14:29 +02:00
David Barragán Merino d6546dc518 Refactor searches module 2014-06-17 15:10:00 +02:00
Andrey Antukh 39bb7bcfcd Add additional factories for tests. 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
Anler Hp fcf4747e93 Service for adding, removing and listing votes 2014-05-30 12:43:34 +02:00
Andrey Antukh a998ac0660 Remove global imports from test factories. 2014-05-28 12:55:33 +02:00