wajeeha-khalid
72aeb2c8da
implemented test event data for thread/comment vote
2016-02-11 22:30:41 +05:00
wajeeha-khalid
3312eb2d22
refactored code into exclusive functions
2016-02-11 21:31:44 +05:00
wajeeha-khalid
fe9b1a0d80
add analytics event to thread/comment vote
2016-02-11 21:31:44 +05:00
wajeeha-khalid
e723fb6aec
MA-1930 add result count in paginated endpoints
2016-01-28 13:41:27 +05:00
Ehtesham
df649ba21c
[MA-1862] changing default value to fix quality
2016-01-19 14:31:38 +05:00
Ehtesham
43fdf9a63d
[MA-1862] converting function signature to take kwargs
2016-01-19 12:54:29 +05:00
Ehtesham
1297f0af45
[MA-1862] changing next to next_link, next is builtin
2016-01-19 12:54:29 +05:00
Ehtesham
8c94fdcf90
[MA-1862] updating views tests
2016-01-19 12:54:29 +05:00
Ehtesham
73aceb5d8a
[MA-1862] updating api tests
2016-01-19 12:54:28 +05:00
Ehtesham
e9622f0d0c
[MA-1862] fixing pagination tests
2016-01-19 12:54:28 +05:00
Ehtesham
a13bf52dbf
[MA-1862] using NamespacedPageNumberPagination class for pagination
2016-01-19 12:54:28 +05:00
wajeeha-khalid
588833ff43
MA-1051: DiscussionAPI - Removed http errors from api.py and refactored to more specific errors
2015-12-16 21:23:51 +05:00
wajeeha-khalid
0847183458
MA-1046 added valid form field test
2015-12-16 19:06:35 +05:00
wajeeha-khalid
c9c1a4bc71
jia/MA-1748 patch read states for users
2015-12-03 12:08:20 +05:00
wajeeha-khalid
fee7946988
Merge pull request #10758 from edx/jia/MA-1742
...
MA-1742; return read status for GET thread details
2015-12-02 21:13:52 +05:00
wajeeha-khalid
092cc4b278
MA-1211; Discussion API - make boolean params case insensitive
2015-12-01 11:25:27 +05:00
wajeeha-khalid
bbe35dcaef
MA-1742; return read status for GET thread details
2015-11-30 11:54:08 +05:00
wajeeha-khalid
6ea7c23631
MA-1593; include post in comment count
2015-11-25 17:40:06 +05:00
Ned Batchelder
f5d0f3ff55
Remove useless pylint suppressions
2015-11-22 07:41:19 -05:00
wajeeha-khalid
e662e869d6
MA-1190; patch 'read' attribute for thread
2015-11-19 15:33:35 +05:00
Sven Marnach
cf5d276aea
Emit events when users vote on forum posts.
2015-11-18 16:21:50 +01:00
wajeeha-khalid
7de5882372
MA-860; No moderator permissions on closed thread
2015-11-17 14:02:35 +05:00
wajeeha-khalid
4ea70aeb19
MA-862; accept application/merge-patch+json for comment/thread update
2015-11-13 12:52:21 +05:00
christopher lee
0646f9bfcf
MA-1637 Discussion API now uses the view_auth_classes for permissions
...
Added missing unit tests.
2015-11-09 13:05:37 -05:00
Nimisha Asthagiri
00e9237153
Course Blocks API
2015-11-05 22:30:44 +00:00
wajeeha-khalid
509b2a4453
MA-1044 DiscussionTopic - Added bulk operations
2015-11-05 18:24:20 +05:00
wajeeha-khalid
16ab4f4333
Merge pull request #10105 from edx/jia/MA-1189
...
MA-1189 - Discussion API: implemented GET comment children
2015-10-30 11:37:41 +05:00
wajeeha-khalid
c5afa44e35
used recursive to optionally get response comments from comment service
2015-10-22 15:53:35 +05:00
wajeeha-khalid
fa285e09a4
MA-1189 - Discussion API: implemented GET comment children
2015-10-22 15:53:34 +05:00
wajeeha-khalid
a3c6faefc5
MA-1359 & MA-1457 DiscussionAPI: return response_count for thread GET/POST
2015-10-22 12:22:46 +05:00
wajeeha-khalid
b5c74652aa
MA-1240 - DiscussionAPI: fixed thread-list order-by RecentActivity
2015-10-14 11:06:21 +05:00
wajeeha-khalid
90fe71dbfe
MA-1248 - CourseEnrollmentAPI: added discussion URL
2015-10-09 19:04:55 +05:00
Ned Batchelder
8ec2de9359
DRF 3.1 now uses request.data instead of request.DATA
2015-09-29 15:25:55 -04:00
Brian Beggs
14d7a7525b
fixed PEP-8 violations
2015-09-28 21:42:28 -04:00
Brian Beggs
cc73bc0b61
added test to discussions_api client to test JSON response that is absent of the resp_total key
2015-09-28 21:03:19 -04:00
Brian Beggs
d9de52751d
Merge remote-tracking branch 'origin/release' into bbeggs/2015-09-22-release-to-master
2015-09-28 20:58:34 -04:00
Ben Patterson
2fd6add524
Revert "Merge DRF 3.1 in to master"
2015-09-28 17:12:43 -04:00
Will Daly
d11ccad0fc
Upgrade djangorestframework to v3.1
...
* Upgrade edx-submissions
* Upgrade edx-ora2
* Upgrade edx-val
* Upgrade edx-proctoring
* Update all edx-platform code that depends on DRF, including:
- auth_exchange
- cors_csrf
- embargo
- enrollment
- util
- commerce
- course_structure
- discussion_api
- mobile_api
- notifier_api
- teams
- credit
- profile_images
- user_api
- lib/api (OAuth2 and pagination)
2015-09-28 11:52:30 -04:00
Will Daly
8555630df7
Upgrade djangorestframework to v3.1
...
* Upgrade edx-submissions
* Upgrade edx-ora2
* Upgrade edx-val
* Upgrade edx-proctoring
* Update all edx-platform code that depends on DRF, including:
- auth_exchange
- cors_csrf
- embargo
- enrollment
- util
- commerce
- course_structure
- discussion_api
- mobile_api
- notifier_api
- teams
- credit
- profile_images
- user_api
- lib/api (OAuth2 and pagination)
2015-09-25 12:40:57 -04:00
wajeeha-khalid
242c4c83f6
Merge pull request #9759 from edx/jia/MA-1212
...
MA-1212 - Discussion API: add response_count field in GET single thread
2015-09-22 19:43:05 +05:00
wajeeha-khalid
ab4d85a5d1
MA-1305 - formatted author label to Staff & Community TA
...
refactor community_ta and staff in docstrings
2015-09-22 17:03:04 +05:00
wajeeha-khalid
3f453e892d
added response count in thread
...
MA-1212 - added response count field in tests
removed unneccessary function
"MA-1212 - added response count in thread retrieval service and updated tests"
updated serializerz test for response count
MA-1212
exclude response count from thread get list
removed response_count field from update and create thread services
made resp_total dynamic for cs thread in test_serielizer
quality fixed
improved quality
add TODO JIRA ticket on removed fields
2015-09-22 16:55:36 +05:00
christopher lee
ccc921bce8
MA-1149 fixed vote bug in discussion api
...
An incorrect response was being returned when voting for a comment
or thread.
2015-09-17 09:55:03 -04:00
wajeeha-khalid
bbad9ae772
MA-1182 - added test for not enrolled in course, removed commented out nose test code, formatted import statements according to edx standards
2015-09-14 11:43:21 +05:00
wajeeha-khalid
1059456d69
added GET method for Threads in Dicussion API
2015-09-10 19:23:38 +05:00
David Ormsbee
e9378881e8
Use SharedModuleStoreTestCase in Discussion API serializer tests.
2015-08-28 11:43:48 -04:00
Peter Fogg
38fb6eaede
Add signals for user's discussion activity.
...
These signals are caught by the Teams app and used to update
`last_activity_at` on both teams and individual users.
TNL-2497
2015-08-26 12:07:54 -04:00
christopher lee
5b35ab3668
Added optional mark_as_read field to comments in Discussion API
...
Currently when GETting comments, the thread of the comment will be
marked as read. This change makes this effect optional as well as
setting the default to not mark the thread as read.
2015-08-12 12:25:06 -04:00
Ben McMorran
4a78271851
Move is_commentable_cohorted to django_comment_client
2015-07-30 20:59:34 +00:00
Christopher Lee
384fa77ee6
Merge pull request #8585 from edx/clee/discussion-api-order-and-sort-threads
...
Thread sort key and direction for discussion api
2015-07-28 18:50:48 -04:00