Commit Graph

458 Commits (6d0e03c98d1d39b530096e07b95393335812e7a6)

Author SHA1 Message Date
David Barragán Merino e9e117cdba Fixed users permisions 2013-10-30 15:08:26 +01:00
David Barragán Merino 3555c49441 Cut some long lines 2013-10-30 15:08:26 +01:00
Andrey Antukh 76012d406a Update milestone field on task when user story is changed. 2013-10-30 14:44:34 +01:00
Andrey Antukh d2c4b13279 Now can filter users by it membership project filter alias. 2013-10-30 12:01:02 +01:00
Andrey Antukh 46a6db85ae Improved filter backend to support filter alias. 2013-10-30 12:00:43 +01:00
Andrey Antukh 7938646f80 Minor change on points management (now conserve points on membership is deleted). 2013-10-30 11:25:00 +01:00
David Barragán Merino 8a9f317be0 Removed uuid and fixed modified_date and created_date 2013-10-29 22:22:12 +01:00
David Barragán Merino 165b0eeb3a Fixed an error when we try to update an US 2013-10-29 22:22:12 +01:00
David Barragán Merino a5162a7758 Fixed Issue emails 2013-10-29 22:22:12 +01:00
David Barragán Merino 8d88d7116e Fixed Task emails 2013-10-29 22:22:11 +01:00
David Barragán Merino 4ca6623f54 Fixed US emails 2013-10-29 22:22:11 +01:00
David Barragán Merino 5a2b203936 Fixed Milestone emails 2013-10-29 21:36:31 +01:00
David Barragán Merino d3676316f3 Fixed Project emails 2013-10-29 21:36:31 +01:00
David Barragán Merino 028d4334a0 Fixed the 'recovery password' email 2013-10-29 21:36:31 +01:00
David Barragán Merino dd473cca41 Fixed thre base email 2013-10-29 21:36:30 +01:00
David Barragán Merino d3a5e2d9ed Added more url of the front app 2013-10-29 21:36:30 +01:00
David Barragán Merino 886e4554bc Now only sent emails when:
- any notifiable_fields is update
    - an object is create
    - an object is delete
2013-10-29 21:36:30 +01:00
Andrey Antukh 3c496eb547 Fixed reversion mixin: remove usage of unexistent method. 2013-10-29 21:16:10 +01:00
Andrey Antukh 60e028e38b Put a unified way to generate history to issues and user stories. 2013-10-29 20:57:30 +01:00
Andrey Antukh 61ce2d1acc Replace reversion middleware with api view mixin.
This is done because django 1.6 has transactions at view level and
current authentication is done at view level instead of using django auth
middleware.
2013-10-29 20:56:03 +01:00
Andrey Antukh 6ea5a1acd5 Fix a WTF use of order instead of id on points. 2013-10-29 17:41:29 +01:00
David Barragán Merino eb8917ec5f Fixed the recovery password email 2013-10-27 21:24:24 +01:00
David Barragán Merino 1ac1f877c6 Fixed base email template 2013-10-27 21:23:38 +01:00
David Barragán Merino 73d5b3e955 Removed greenmine.base.mail because it's no longer necessary 2013-10-26 16:13:33 +02:00
David Barragán Merino 62ac26473d Moved the base email template 2013-10-26 16:07:20 +02:00
David Barragán Merino 45b36bce30 Fixed the local.exmple settings file 2013-10-26 15:55:45 +02:00
Andrey Antukh a7ba212a63 Change exceptions on token parsing. 2013-10-26 00:57:32 +02:00
Andrey Antukh a2d2bd7d01 Remove all "u" string prefixes. 2013-10-26 00:36:46 +02:00
Jesús Espino 327154eb66 Adding better email for reset password (with direct link to reset password) 2013-10-25 12:56:19 +02:00
David Barragán Merino bbf6d5be09 Fixed all tests 2013-10-24 18:18:07 +02:00
Jesús Espino 4e17a1fda2 More anonymous default emails on settings 2013-10-24 17:54:15 +02:00
Andrey Antukh f8a2d402b1 Port userstory email changes emails to new template. 2013-10-24 17:42:51 +02:00
Andrey Antukh ca5fa599dd Add email base template. 2013-10-24 17:42:51 +02:00
Andrey Antukh ac7889ff18 Add front django app for resolve front urls. 2013-10-24 17:42:51 +02:00
Andrey Antukh b01ed2f451 Add monky patch for django import_module method. 2013-10-24 17:42:51 +02:00
Jesús Espino 859b2709c4 Retorning to BooleanField (not NullBooleanField) on notifications mixin 2013-10-24 17:25:32 +02:00
Jesús Espino b6b0d7b00e Now no error 500 raised, but the mail test not works correctly 2013-10-24 15:26:17 +02:00
Jesús Espino a5c39e64d5 Exposing notify_level and notify_changes_by me on the users api 2013-10-24 13:10:41 +02:00
Jesús Espino 83e944e84b Adding migration for WatcherMixin change 2013-10-24 12:58:39 +02:00
Jesús Espino 9b9388bfef Adding initial migrations 2013-10-24 12:51:04 +02:00
Jesús Espino 6373248910 Fixed #24: Now you can change the notify changes by me in the admin 2013-10-24 10:17:09 +02:00
Andrey Antukh 31675ff757 Minor improvements on admin interface. 2013-10-24 09:03:17 +02:00
Andrey Antukh 7b90163436 Fix typo on models. 2013-10-24 00:28:42 +02:00
Andrey Antukh 0611f820a8 Put to read only fields on admin some fields that can contain a lot of values. 2013-10-24 00:25:24 +02:00
Andrey Antukh 78ad9694cd Add admin improvements. 2013-10-23 23:51:45 +02:00
Andrey Antukh 9df3b927e1 Disable grappelli, have a lot of incompatibilities with django 1.6/python3 2013-10-23 23:51:10 +02:00
Andrey Antukh f9187d8718 Change default value for notify_changes_by_me for WatcherMixin 2013-10-23 22:30:46 +02:00
Andrey Antukh b94465500d Minor improvements on tasks api tests. 2013-10-23 20:28:06 +02:00
Andrey Antukh 13dfdcb52e Now use again ATOMIC_REQUESTS. 2013-10-23 20:10:35 +02:00
Andrey Antukh ae87c52ca5 Add task diff for testing. 2013-10-23 20:10:09 +02:00
Andrey Antukh 3de111fc58 Remove unused files. 2013-10-23 20:09:44 +02:00
Andrey Antukh 487a50b900 Replace AtomicMixin with mixins subclasses. 2013-10-23 16:38:41 +02:00
Andrey Antukh 7d2d047177 Add storage subclass. 2013-10-23 15:48:40 +02:00
Andrey Antukh 8fbd7e2e07 Properly catch wrong signature exception. 2013-10-23 15:00:38 +02:00
Andrey Antukh fa2864ba19 Fix wrong role points output. 2013-10-23 14:07:14 +02:00
Andrey Antukh de95fb2a91 Fix #17 - Implemented stateless, oauth2 like authentication. 2013-10-23 12:35:45 +02:00
David Barragán Merino 274c8fe647 Added the file size to the serializer 2013-10-23 10:20:13 +02:00
David Barragán Merino a08986dd01 Issue #16: Implement the API for memberships 2013-10-22 21:36:33 +02:00
David Barragán Merino cc8543c2e6 Fix an error in WikiAttachmentViewSet 2013-10-22 14:56:20 +02:00
David Barragán Merino e24b3261a0 Enhancements into the admin panel with the Attachment inlines 2013-10-22 13:58:18 +02:00
David Barragán Merino d865ab1615 Now the sample-data command generate attachments and a main wiki page per project 2013-10-22 13:58:03 +02:00
David Barragán Merino dfde44a12a Added two more reloes 2013-10-21 12:09:01 +02:00
David Barragán Merino 6ec795c600 Added a serializer to use for the project list 2013-10-21 12:05:57 +02:00
David Barragán Merino 9ad0e979c8 Added an API mixin to use a diferent serializers in the list action method 2013-10-21 10:05:51 +02:00
Andrey Antukh 00d8a9cd3b Cleaning obsolete settings. 2013-10-19 01:07:58 +02:00
David Barragán Merino c4e9c10941 Added memberships to the serializer of the project 2013-10-17 15:39:10 +02:00
David Barragán Merino 6b5aad4bef Moved list_of_milestones method from the model to the serializer 2013-10-17 15:39:10 +02:00
David Barragán Merino 3df7eea9e9 Made improvements in the user serializer 2013-10-17 15:39:10 +02:00
Andrey Antukh 57586a7980 Implemented a properly separation between computable and not computable roles. 2013-10-17 12:23:14 +02:00
David Barragán Merino 4866010c26 Fixed tests 2013-10-17 10:29:24 +02:00
David Barragán Merino 9851ceeb7e Added color to the users and assigned to a project 2013-10-17 01:12:05 +02:00
David Barragán Merino 948112982a Fixup 2013-10-17 00:45:11 +02:00
David Barragán Merino 9c9f17e4e1 Added a field to order the roles 2013-10-17 00:44:32 +02:00
David Barragán Merino b8ac8ebd2c Added roles front, back, UX and design 2013-10-17 00:34:10 +02:00
David Barragán Merino 8239519a90 Fixed the Task pre_save signal 2013-10-16 23:36:19 +02:00
David Barragán Merino e3d8259644 Fixed sample data command 2013-10-16 21:59:01 +02:00
David Barragán Merino 3213d1f549 Removed greenmine.questions of the installed apps 2013-10-16 20:41:34 +02:00
David Barragán Merino 6deed1231c Fixed some sample texts 2013-10-16 20:41:34 +02:00
Andrey Antukh ad8263e837 Remove unused code. 2013-10-16 20:33:17 +02:00
Andrey Antukh f84d44fb9a Minor changes on auth/users api/models 2013-10-16 20:15:46 +02:00
David Barragán Merino 103771e143 Changed the name to a post_save handler function 2013-10-16 18:26:08 +02:00
David Barragán Merino f52905dba9 Created necessary RolePoint objects at UserStory post_save signal and cleaned the sample_data command 2013-10-16 18:23:15 +02:00
Andrey Antukh cfc4087526 Remove unused serializers from users app. 2013-10-16 17:47:38 +02:00
Andrey Antukh e13f5dfe42 Refactoring user resource. 2013-10-16 17:14:48 +02:00
Andrey Antukh 4b7b2727a3 Remove old reimplementation of routes. 2013-10-16 17:14:48 +02:00
Andrey Antukh 3a08114eea Refactoring base api classes. 2013-10-16 17:14:48 +02:00
Andrey Antukh 68f0dd7928 Add password recovery email templates. 2013-10-16 17:14:47 +02:00
David Barragán Merino 7ae7266b2c Changed projects to a list of dicts 2013-10-16 13:44:21 +02:00
David Barragán Merino 7df1762d29 Set null to true 2013-10-16 13:44:21 +02:00
David Barragán Merino 53520b9f80 Fixed the default value of the project atttribute total_milestones 2013-10-16 13:44:21 +02:00
Andrey Antukh 3ca696af12 Remove haystack from installed apps. 2013-10-15 23:16:03 +02:00
Andrey Antukh 77009e2f1a Remove templates used by haystack indexes. 2013-10-15 23:10:05 +02:00
Andrey Antukh 851d5df3a8 Remove haystack indexes modules. 2013-10-15 23:10:05 +02:00
Andrey Antukh 63e53fec5d Reimplemented search api using postgresql full-text-search capability. 2013-10-15 23:07:49 +02:00
Jesús Espino 235a5df443 Removing travis python 2.7 testing, greenmine only works with python 3 2013-10-15 17:51:34 +02:00
Jesús Espino 0397ae87c0 Adding travis settings and configuring the .travis.yml 2013-10-15 17:37:07 +02:00
David Barragán Merino 7af6ce3b59 Fixed help text 2013-10-15 16:39:26 +02:00
David Barragán Merino c80e6399b3 Fixed tests 2013-10-15 12:42:58 +02:00
Jesús Espino b2bd68e8f3 Now user story return the last userstory revision comment 2013-10-15 11:08:13 +02:00
David Barragán Merino a17017d2c6 Made a refactor of the constants 2013-10-15 10:50:58 +02:00
Jesús Espino dd4c39fe27 Better browseable api 2013-10-15 09:58:12 +02:00
Jesús Espino 55fd3cc0f0 Adding null=True to the userstore status field 2013-10-15 09:38:06 +02:00
Jesús Espino 1611e97446 Adding on_delete SET_NULL to userstories foreign keys to milestones 2013-10-15 09:35:25 +02:00
Jesús Espino af5d4bfbab Adding milestone id to the sprint milestones list 2013-10-14 18:39:35 +02:00
David Barragán Merino 579c84a9a6 Created tests to wiki app 2013-10-11 09:40:13 +02:00
David Barragán Merino e0257ba7c6 Created tests to issues app 2013-10-11 09:40:13 +02:00
David Barragán Merino 5f1c5030b7 Created tests to tasks app 2013-10-11 09:40:13 +02:00
David Barragán Merino 0c929607b3 Created tests to userstories app 2013-10-11 09:40:13 +02:00
Andrey Antukh 7ad7fe9081 Add precondition viewset method implementation. 2013-10-11 09:40:13 +02:00
David Barragán Merino 7bac976b8b Created tests to milestones app 2013-10-11 09:40:13 +02:00
David Barragán Merino 7c4ab12ec5 Created tests to projects app 2013-10-11 09:40:12 +02:00
David Barragán Merino fd14b1132c Created tests to users app 2013-10-11 09:40:12 +02:00
Andrey Antukh 04dfceaecf Change header name on header pagination mixin. 2013-10-11 08:44:11 +02:00
Andrey Antukh 81fcc4351a Add default pagination settings for rest framework. 2013-10-10 16:45:56 +02:00
Andrey Antukh ab3e2b5336 Fixed import of points object. 2013-10-10 16:45:17 +02:00
Andrey Antukh 0d365b6b9a Implemented headers pagination and conditional pagination mixins. 2013-10-10 16:44:20 +02:00
David Barragán Merino c98adad075 Refactor: Moved some models to projects app 2013-10-09 17:20:51 +02:00
Andrey Antukh 789984307b Add total points method to user story model. 2013-10-09 15:30:08 +02:00
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 8847e088f6 Document some method related to create role points relations. 2013-10-09 13:21:34 +02:00
Andrey Antukh c2fb79d4e7 Remove some unused lines from project models. 2013-10-08 19:31:16 +02:00
Andrey Antukh 67e543c1c7 Remove notifications from project model. 2013-10-08 17:46:38 +02:00
Andrey Antukh 1636a9c838 Code cleaning on notification app. 2013-10-08 17:46:23 +02:00
Jesús Espino 3cd8d913fa Adding required=False to milestone generated fields 2013-10-07 17:37:43 +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 14a2d7f283 SmallFix: Fixed lost import reversion 2013-10-07 17:15:16 +02:00
Jesús Espino 6b6b4a4df2 Implemented milestone points calculations 2013-10-07 15:31:32 +02:00
Andrey Antukh 83deab108b Set postgresql as default database configuration on common settings 2013-10-07 13:20:50 +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 05d36688f8 Remove unused commented code. 2013-10-05 11:45:04 +02:00
David Barragán Merino 7af3f25596 Smallfixes in the attachment of the objects 2013-10-04 10:35:23 +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 6794d06036 Cleaning wiki application. 2013-10-03 20:19:38 +02:00
Andrey Antukh f81aee8f14 Minor refactor on base/filters. 2013-10-03 20:19:38 +02:00
Andrey Antukh d390dd54d0 Fix grappelli dashboard. 2013-10-03 19:56:10 +02:00
Andrey Antukh 130c98a702 Now compatible with python 3.3 2013-10-03 19:50:44 +02:00
David Barragán Merino 41277a1f83 Made a refactor of questions app 2013-10-03 19:39:06 +02:00
David Barragán Merino 4620e14028 Fixed a problems with the get_history method 2013-10-03 19:37:27 +02:00
David Barragán Merino 89f6740344 Added a missing import 2013-10-03 19:37:27 +02:00
Andrey Antukh 2ea5a94de2 Minor fixes on wiki pages. 2013-10-03 18:21:15 +02:00
David Barragán Merino 164e45b4b0 Update owner only on created 2013-10-03 17:46:55 +02:00
David Barragán Merino cb3694d414 Fixed the settings for tests 2013-10-03 17:46:09 +02:00
Andrey Antukh 5359cc06a0 Fix a lot of import fixes. 2013-10-03 15:08:13 +02:00
Andrey Antukh 4ebec2dcfb Reorder imports on issues api module. 2013-10-03 12:23:47 +02:00
Andrey Antukh bd77a001de Change docstring at custom restfw auth backend. 2013-10-03 12:16:58 +02:00
David Barragán Merino 4ec6e6c67a Removed unnecessary import sentence 2013-10-03 11:38:50 +02:00
David Barragán Merino 3dc9a7bb19 Fixed the sample_data command 2013-10-03 11:06:58 +02:00
David Barragán Merino 218f9fa793 Smallfix: Removed an 'i' 2013-10-03 11:06:58 +02:00