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
47a28cc3dc
Create membership for user creating project <=> role exists
2014-08-07 16:30:28 +02:00
Anler Hp
08ca07454a
Failing test
2014-08-06 14:09:41 +02:00
Jesús Espino
defb061175
Applied template based on creation_template field
2014-08-05 17:07:11 +02:00
David Barragán Merino
9331fe057f
Create task with tags when pupalate the DB with the sample data command
2014-08-05 17:05:27 +02:00
David Barragán Merino
4d41668d44
Fix an error when save an object without tags
2014-08-05 17:01:50 +02:00
Jesús Espino
a650ccf64c
Now the Membership for owner is created on post_save of the project (on creation only)
2014-08-05 17:01:15 +02:00
Jesús Espino
5dd9085deb
Removed unused permissions
2014-08-05 14:44:38 +02:00
Jesús Espino
2f2a1e902b
Fixed problem with permissions and attachments
2014-08-05 14:39:12 +02:00
Jesús Espino
f71102d929
Added i_am_owner to project serializer
2014-08-05 10:29:46 +02:00
Alejandro Alonso
606fc3004a
Making the error message for bad email change token more explicit
2014-08-05 10:06:21 +02:00
Jesús Espino
3bd022e0e8
Adding my_permissions field on project serializer
2014-08-05 10:06:13 +02:00
Jesús Espino
64a8a137ab
Now taking care of delete_last_milestone permission
2014-08-04 19:07:29 +02:00
Jesús Espino
2e80668ba8
Rewrited the permissions on project templates
2014-08-04 18:18:11 +02:00
David Barragán Merino
0bbe0b5697
Bamedized some unnecessary attrs of ProjectDetailSerializer and fix a bug in front
2014-08-04 17:31:04 +02:00
Alejandro Alonso
3e9c836c7f
Adding change email functionality
2014-08-04 10:15:32 +02:00
Jesús Espino
4d67615248
Removing public field from proyect, using only is_private
2014-08-01 15:12:48 +02:00
Anler Hp
196ac5684f
Fix api auth tests
2014-08-01 15:07:57 +02:00
Anler Hp
68a579338f
Refactoring issues bulk creation
2014-08-01 15:02:10 +02:00
Anler Hp
ed603de65f
fixing permissions tests
2014-08-01 14:29:30 +02:00
Anler Hp
cfec7e12e2
Updating bulk param names in tests
2014-08-01 14:15:19 +02:00
Anler Hp
7944c36e6b
Refactoring update order in bulk user-stories
2014-08-01 14:15:19 +02:00
Jesús Espino
b567a55598
Adding remove avatar url permissions test
2014-08-01 14:02:46 +02:00
Anler Hp
5515243ed8
Refactoring bulk tasks creation
2014-08-01 13:45:00 +02:00
Jesús Espino
3f628eba52
Fixed auto creation of notify policy objects
2014-08-01 13:39:45 +02:00
Jesús Espino
fa150250c9
Adding removeAvatar action to users service
2014-08-01 12:36:56 +02:00
Anler Hp
58cc11e3d4
Refactoring bulk user stories creation
2014-08-01 11:05:58 +02:00
Anler Hp
7c81fbbe97
Fixing wrong response codes
2014-08-01 09:29:18 +02:00
Jesús Espino
fd0ad58b52
Some notify policy api improvements
2014-07-31 18:11:04 +02:00
Jesús Espino
d17cd5f6d4
Adding api for manage notification levels (tests for permissions needed)
2014-07-31 17:31:40 +02:00
Jesús Espino
c035e88aa2
Better image format check
2014-07-31 17:09:05 +02:00
Jesús Espino
81e5609261
Adding test for change avatar
2014-07-31 16:46:09 +02:00
Jesús Espino
43c8699328
Adding test for change avatar permissions
2014-07-31 16:32:33 +02:00
Anler Hp
55a5abec73
Refactoring bulk members creation
2014-07-31 14:23:31 +02:00
Jesús Espino
dd7d478d05
Adding permissions and testing for resend-invitation service
2014-07-31 14:09:09 +02:00
Jesús Espino
883fd81d06
Adding bulk_create membership tests
2014-07-31 13:46:51 +02:00
Jesús Espino
d4f476dce9
Is owner now take care about ownership in the membership relation
2014-07-31 13:46:42 +02:00
Jesús Espino
b0807854fe
Fixed stats test
2014-07-31 13:23:49 +02:00
Jesús Espino
c0c05c7d33
Fixed test_users_resources test
2014-07-31 13:23:49 +02:00
Anler Hp
cb66dc168f
Change projectId param to project_id bulk members
2014-07-31 13:04:13 +02:00
Jesús Espino
83ad29dec1
Fixed stats tests
2014-07-31 12:40:39 +02:00
Anler Hp
724087e26d
Create memberships in bulk on the same project
2014-07-31 12:19:51 +02:00
Jesús Espino
b0d96d16df
Some tests fixed
2014-07-31 12:00:43 +02:00
Jesús Espino
e55acc11c2
Adding test for create of membership
2014-07-31 10:45:59 +02:00
Anler Hp
5cd3a717d4
Upgrading django testclient extensions library
2014-07-31 10:43:22 +02:00
Jesús Espino
1789aa6f06
Adding tests for bulk_create issues
2014-07-31 10:08:23 +02:00
Jesús Espino
bb88966635
Fixed some errors and tests on mdrender
2014-07-31 08:59:12 +02:00
Jesús Espino
0de2bfa06a
Fixed small problem with previous commit
2014-07-30 15:55:34 +02:00
Jesús Espino
c2b43b1fa1
Adding read-only to a lot of fields of the users serializer
2014-07-30 15:51:38 +02:00
Jesús Espino
e163282351
Now change password directly need the current password
2014-07-30 15:42:34 +02:00