David Barragán Merino
047b0acb20
Fix the history of an attachment
2014-09-15 16:14:35 +02:00
David Barragán Merino
d796d0c1b4
Add copyright to some files
2014-09-14 12:47:06 +02:00
Jesús Espino
6d78c79018
Adding import api
2014-09-08 12:33:32 +02:00
Andrey Antukh
0b375be614
Replace direct JSONRender usage with taiga own json module on all tests.
...
So unify the json interface in all tests code.
2014-09-06 02:00:09 +02:00
Andrey Antukh
f0ec998576
Remove unused import.
2014-09-05 22:29:31 +02:00
Andrey Antukh
d460f777f7
Add access-control-max-age header to cors middleware for avoid options pre-flight.
2014-09-04 11:27:20 +02:00
Jesús Espino
fdb0a327c1
Add initial project import api
2014-09-01 15:55:10 +02:00
Alejandro Alonso
3b48c1fa95
Adding pagination disabled for history
2014-08-28 13:11:04 +02:00
Jesús Espino
a9ecac7c1c
Fixed bug #763 : Now filter of us and issues filter by subject and reference
2014-08-28 11:24:19 +02:00
Jesús Espino
e0a5e6cca5
Updating the taiga email logo
2014-08-20 08:39:13 +02:00
Jesús Espino
94adbca28e
Fixed bug #729 : Adding full_url_static jinja function and used it in base email
2014-08-20 08:30:12 +02:00
Jesús Espino
0d9311613d
On retrieve not apply the filter, only check the permissions
2014-08-19 10:07:20 +02:00
Jesús Espino
8a256883d9
Now supersusers can view everything
2014-08-18 10:20:37 +02:00
David Barragán Merino
d8e79afdc9
Shorten some long lines
2014-08-14 23:53:27 +02:00
Jesús Espino
58304d8fd9
Fixed again the #355 bug
2014-08-12 10:25:51 +02:00
Jesús Espino
b317c7521e
This reverts commit d9246b1ec0
.
2014-08-12 09:17:58 +02:00
Jesús Espino
2817b3b120
Adding pre_save to the bulk actions
2014-08-11 20:19:38 +02:00
Jesús Espino
d9246b1ec0
Fixed bug #355 and other minor errors
2014-08-11 20:03:37 +02:00
Jesús Espino
195bdd2523
Adding colorize tags on server functionality
2014-08-11 11:51:08 +02:00
Jesús Espino
8eb40aa6a7
Fixed again filtering based on permissions
2014-08-08 15:00:05 +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
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
Anler Hp
7c81fbbe97
Fixing wrong response codes
2014-08-01 09:29:18 +02:00
Anler Hp
55a5abec73
Refactoring bulk members creation
2014-07-31 14:23:31 +02:00
Anler Hp
6229770c0f
Task #436 - Filter user stories by subject
2014-07-29 11:07:47 +02:00
Jesús Espino
c0bf954d46
Adding count of members to roles list
2014-07-28 18:36:11 +02:00
Jesús Espino
2439037b1c
Neigbourgs optimization from 18000ms to 300m ✨
2014-07-28 17:26:27 +02:00
Anler Hp
33fac4b43a
Auto generate slug for projects
2014-07-25 14:19:37 +02:00
Jesús Espino
fde268d8ab
Fixed small problem with browsable api
2014-07-24 14:16:34 +02:00
Jesús Espino
d97edb464c
[HUGE CHANGE] Changed the permissions system
2014-07-24 12:19:06 +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
David Barragán Merino
346ee5e51e
Add copyright
2014-07-20 19:01:34 +02:00
Anler Hp
82ddeb69a7
USs: class-based to function-based services
2014-07-11 01:04:27 +02:00
Anler Hp
40260c82ad
Tasks: class-based to function-based services
2014-07-11 01:04:17 +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
David Barragán Merino
a2b8a38016
Revert last commit in base.utils.urls
2014-07-02 13:29:29 +02:00
David Barragán Merino
625c705807
Update urls.py
2014-07-02 08:14:51 +02:00
Anler Hp
a8085a2feb
Return user photo cropped and with absolute url
...
Remember to run `pip install -r requirements.txt` to install the
additional dependencies.
2014-07-01 14:38:26 +02:00
Anler Hp
e2b8687980
Bugfix: Reload version attr in OCC
2014-06-26 09:59:44 +02:00
Anler Hp
c89c6e7c31
Merge pull request #51 from taigaio/tags
...
Tags using pg arrays
2014-06-23 11:34:02 +02:00
Anler Hp
a8e54fb785
Support parametrized urls in the api root view
...
Generating the api root view was failing because urls like this
`issues/(?P<issue_id>\\d+)/voters`
cannot be reversed without the appropriate params.
2014-06-23 10:21:04 +02:00
Anler Hp
f3dd200791
Bugfix
2014-06-18 14:12:42 +02:00
Anler Hp
c33503eebf
tags to pg array migrations
2014-06-18 10:14:29 +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
David Barragán Merino
4860c7cbb9
Add github login functionality to the Auth API
2014-06-12 12:16:37 +02:00
David Barragán Merino
fa68d034e5
Create a connectors module and make a github one
2014-06-12 12:16:37 +02:00
Andrey Antukh
88608144bc
Add some utils function for text management for query.
2014-06-12 00:12:15 +02:00
Jesús Espino
262776043f
Timeline service implementation
2014-06-05 10:08:42 +02:00
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