Andrey Antukh
5ca3bad10f
Add monkey patching for strange behavior for method serializer with obj as None.
2013-10-09 15:28:19 +02:00
Andrey Antukh
1636a9c838
Code cleaning on notification app.
2013-10-08 17:46:23 +02:00
David Barragán Merino
797e37d3c0
Fixed BasePermission to check object owner and project owner too
2013-10-07 17:16:25 +02:00
Jesús Espino
31d96b7cb1
SmallFix: now using rest framework model viewsets as base class of our viewsets
2013-10-07 10:34:02 +02:00
Andrey Antukh
ed8f6bae27
Convert all __unicode__ methods into __str__.
2013-10-05 11:47:53 +02:00
Andrey Antukh
de28c23403
Fixing search result.
2013-10-04 10:11:06 +02:00
Andrey Antukh
e49da9db67
Fixing fixtures.
2013-10-04 10:05:43 +02:00
Andrey Antukh
f81aee8f14
Minor refactor on base/filters.
2013-10-03 20:19:38 +02:00
Andrey Antukh
130c98a702
Now compatible with python 3.3
2013-10-03 19:50:44 +02:00
Andrey Antukh
5359cc06a0
Fix a lot of import fixes.
2013-10-03 15:08:13 +02:00
Andrey Antukh
bd77a001de
Change docstring at custom restfw auth backend.
2013-10-03 12:16:58 +02:00
David Barragán Merino
2993912924
Smallfix: Fixed the fixture
2013-10-03 11:06:57 +02:00
David Barragán Merino
e67c8146bf
Smallfix: Added some deleted base class
2013-10-03 11:06:57 +02:00
Andrey Antukh
9ae1a9b0a4
Add base.decorators module.
2013-10-03 11:03:50 +02:00
Andrey Antukh
ec61beb1ed
Now LoginView and LogoutView are AuthView
2013-10-03 11:03:06 +02:00
Andrey Antukh
4375f98276
Reorder users api imports.
2013-10-03 11:02:30 +02:00
Andrey Antukh
7e3f1b88f5
Add exceptions hierarchy.
2013-10-03 11:00:32 +02:00
David Barragán Merino
c93baac1c3
Refactor of scrum app (but not finished yet).
...
TODO:
- Migrate Wiki app to new django-restframework version.
- Migrate Questions app to new django-restframework version.
- Added tests
s Please enter the commit message for your changes. Lines starting
2013-10-02 20:03:50 +02:00
David Barragán Merino
d8516a20c7
Refactor: greenmine.base
2013-10-01 13:17:02 +02:00
David Barragán Merino
fa3d982d6c
Smallfix: Added backspaces and encoding
2013-09-30 18:02:01 +02:00
David Barragán Merino
9b1ab20d0a
Smallfix: Fixed some problems with Routers
2013-09-30 18:02:01 +02:00
David Barragán Merino
09b1de6196
Created a backend filter to filter the queryset by project__memberships
2013-09-30 17:36:53 +02:00
Andrey Antukh
fd06b683bb
Improved regenerate.
2013-07-29 22:45:28 +02:00
Andrey Antukh
6dac3e9d35
Change default role name from Developer to Dev
2013-07-29 22:15:42 +02:00
Andrey Antukh
80f8b14e28
Filter nothing if filter_fields is not defined on a view.
2013-07-29 21:55:07 +02:00
Andrey Antukh
701220b21d
Reimplement login and logout as separate viewsets.
2013-07-29 21:55:07 +02:00
Andrey Antukh
317d0e8515
Add version to api.
2013-07-29 21:55:07 +02:00
Andrey Antukh
2d31e9754d
Port scrum api views to use viewsets and routers.
2013-07-29 21:55:07 +02:00
Andrey Antukh
ef2137a045
Add greenmine version router subclass.
2013-07-29 21:55:07 +02:00
Andrey Antukh
e86f393bfd
Minor fixes on search api viewset.
2013-07-29 21:55:07 +02:00
Andrey Antukh
a022085497
Refactoring base views (update to new viewsets)
2013-07-29 21:55:06 +02:00
Andrey Antukh
9eb35a898a
Add RecoverPassword api view.
2013-07-29 21:55:06 +02:00
David Barragán Merino
fbec917229
Made some minor fixes in the notifications app
2013-07-18 15:39:18 +02:00
David Barragán Merino
19177a4773
Added all the notifications fields to the user admin panel
2013-07-18 13:40:07 +02:00
Andrey Antukh
81024ec63f
Minor fixes on notification system.
2013-07-17 19:21:05 +02:00
Andrey Antukh
d2ada59b6f
Minor refactor.
2013-07-17 15:23:13 +02:00
David Barragán Merino
a16847ce58
Added email templates (not finished) and defined the notifiable fields for all models
2013-07-17 15:22:14 +02:00
Alejandro Alonso
e5f270abcd
User stories
2013-07-17 13:46:53 +02:00
David Barragán Merino
641ecfbc22
Added all notification emails
2013-07-17 11:08:06 +02:00
David Barragán Merino
a4925e8be5
Made a refactor of the notifications app
2013-07-17 10:48:20 +02:00
David Barragán Merino
066ed5124d
Smallfix: Fixed minor syntax error
2013-07-16 12:22:55 +02:00
Andrés Moya
2c8349f355
Add notifications module (not finished)
2013-07-16 12:21:18 +02:00
David Barragán Merino
fd7c55f080
Smallfix: Set user token not unique
2013-07-16 12:09:40 +02:00
David Barragán Merino
ab319206bc
Smallfix: Fixed the fixture, added a ,
2013-07-16 12:09:40 +02:00
Alejandro Alonso
0a58d85f8b
Updating initial user password
2013-07-16 12:09:40 +02:00
David Barragán Merino
b0ed850da2
Smallfix: Send print message to sys.stderr
2013-07-16 10:46:21 +02:00
David Barragán Merino
a7104009d2
Smallfix: Removed a commented code line
2013-07-16 10:45:37 +02:00
Andrés Moya
59b9e65fe5
Merge branch 'master' into notifications
...
Conflicts:
greenmine/base/models.py
greenmine/scrum/models.py
2013-07-15 11:09:23 +02:00
Andrés Moya
48b5dcb2a3
Add notifications module (not finished)
2013-07-15 11:00:13 +02:00
Andrey Antukh
f2bf3f457c
Add tasks attachments api views.
2013-05-15 19:08:01 +02:00
Andrey Antukh
b1b23c9f6b
Fixed wrong increment of ref value on tasks and user stories.
2013-05-15 19:07:37 +02:00
Jesús Espino
3e4d3034b6
Now greenmine session middleware is based on SessionMiddleware
2013-05-10 10:57:35 +02:00
Alejandro Alonso
bce92c42f0
Adding questions support
2013-04-26 10:49:32 +02:00
David Barragán Merino
7df355d92e
Added the UserDatail API
2013-04-26 10:28:13 +02:00
David Barragán Merino
af893793bb
Set a default color
2013-04-26 10:22:09 +02:00
Alejandro Alonso
22528bc9dc
Adding search api
2013-04-25 12:04:23 +02:00
Andrey Antukh
cd7daa0ed9
Fixes milestone creation.
2013-04-22 21:36:15 +02:00
Andrés Moya
fdc72d06ff
More fixes
2013-04-17 09:59:35 +02:00
Andrés Moya
66c72473af
Some small fixes
2013-04-17 09:35:17 +02:00
Andrés Moya
30ec03b196
Refactor blank, null and verbose names, review related fields
2013-04-16 18:31:34 +02:00
Andrés Moya
93daf68420
Start adding coding rules
2013-04-11 18:36:39 +02:00
Alejandro Alonso
d3cbb2cb24
Adding role list and user filter to the API
2013-04-08 17:03:22 +02:00
Andrey Antukh
14a68c207e
Api urls refactor.
2013-04-08 13:43:00 +02:00
Andrey Antukh
bc4aa2cb4f
Initial implementation of users list api call.
2013-04-08 12:07:27 +02:00
Andrey Antukh
31c86c8f8d
Minor fixes.
2013-04-04 17:19:43 +02:00
Andrey Antukh
ef7c15ec1d
Add initial_user fixture
2013-04-04 15:59:45 +02:00
Xavier Julián
b4824ae136
Fixed initial data json
2013-04-01 16:41:33 +02:00
Andrey Antukh
075a67b2a6
Fixing duplicated permissions introduced in the last commits.
2013-04-01 15:54:27 +02:00
Andrey Antukh
6494574ee1
Remove invalid line from initial_data.json fixture.
2013-04-01 13:51:48 +02:00
Andrey Antukh
378122ac42
Improve initial fixture.
2013-04-01 13:27:00 +02:00
Andrey Antukh
4e56c0b431
Add patch permission.
2013-04-01 12:21:39 +02:00
Andrey Antukh
e10bb00f8a
Add permission and membership objects to admin.
2013-04-01 12:21:05 +02:00
Jesús Espino
057063d1c4
Removing duplicated issues url on api_root
2013-04-01 09:55:57 +02:00
Jesús Espino
17039f9780
Merge branch 'master' into permissions
...
Conflicts:
greenmine/scrum/api.py
greenmine/scrum/models.py
2013-04-01 09:52:17 +02:00
Andrey Antukh
43f2b87d0d
Add issues to api.
2013-03-31 18:34:52 +02:00
Andrey Antukh
90b5888fbc
Create new auth backend for rest_framework based on session, but without csrf.
2013-03-31 04:06:09 +02:00
Jesús Espino
c2654c010b
Merge branch 'master' into permissions
2013-03-30 20:24:27 +01:00
Andrey Antukh
f9396d6ef2
Add patch method to corss middleware.
2013-03-30 14:40:42 +01:00
Jesús Espino
3fc0a9de67
Removing base/services.py now not needed
2013-03-30 13:38:23 +01:00
Jesús Espino
91aeb00297
Now working correctly the create and modify user on the admin
2013-03-30 13:30:57 +01:00
Jesús Espino
3ce98ae1b2
Defining more rest framework permissions handlers
2013-03-30 12:37:31 +01:00
Jesús Espino
3245393b55
Reestructuring permissions, now discarted django-guardian, and using custom permission system
2013-03-30 11:56:50 +01:00
Andrey Antukh
1a052a080c
Code cleaning on slug.py
2013-03-28 11:57:59 +01:00
Andrey Antukh
a6a41bc1d6
Add missing spaces on base/models.py
2013-03-28 11:57:03 +01:00
Jesús Espino
705cbeefc7
Fixed sample_data generation
2013-03-28 11:03:54 +01:00
Jesús Espino
de2df95eb0
Fixing some bugs and sample_data
2013-03-28 10:11:32 +01:00
Jesús Espino
faa75c45b3
Reestructuring the base api
2013-03-28 08:28:44 +01:00
Jesús Espino
6e3f9d63a3
Migrating wiki app to rest_framework
2013-03-28 08:13:37 +01:00
Jesús Espino
6d72a69dc8
Migrating questions app to rest_framework
2013-03-27 23:18:59 +01:00
Jesús Espino
e17a902e56
Migrating documents app to rest_framework
2013-03-27 23:04:00 +01:00
Jesús Espino
7bff4ae6c2
Removing reset password token from the api
2013-03-27 19:22:23 +01:00
Jesús Espino
b2cb2a065f
Now the login api return more data about the custom user
2013-03-27 19:20:42 +01:00
Jesús Espino
79c0630c3f
Now working the custom user
2013-03-27 19:10:01 +01:00
Jesús Espino
d349baa4f0
Removing profile and adding custom user model
2013-03-27 19:05:39 +01:00
Jesús Espino
4441ed8951
Adding better login rest actions
2013-03-27 18:47:08 +01:00
Andrey Antukh
a4f4c816c7
Add coors middleware.
2013-03-27 17:25:34 +01:00
Jesús Espino
e6011ae777
Restoring old login views
2013-03-27 17:17:47 +01:00
Jesús Espino
79d97cfaad
Migrated to rest-framework login and scrum
2013-03-27 16:53:39 +01:00
Andrey Antukh
38306a176e
Refactor choices.
2013-03-26 13:42:09 +01:00
Andrey Antukh
2c67e002ff
Make login view accept json instead of form encoded data.
2013-03-26 00:17:55 +01:00