Matt Tuchfarber
510f877408
quality
2019-03-20 10:52:10 -04:00
Matt Tuchfarber
634866dd0c
Don't count a non-existing forums user as a failure
2019-03-14 11:15:25 -04:00
Matt Tuchfarber
5a164df3b7
quality
2019-03-14 10:44:40 -04:00
Matt Tuchfarber
cda681e2f1
fix python tests
2019-03-13 23:04:41 -04:00
Matt Tuchfarber
bb1964f9ef
make discussion api match others
2019-03-13 19:04:46 -04:00
Matt Tuchfarber
ab74bb4c97
Make discussion API bulk friendly
2019-03-13 15:59:28 -04:00
Matt Tuchfarber
58d6213939
quality
2019-03-11 12:54:45 -04:00
Matt Tuchfarber
7458cd8820
quality
2019-03-11 11:21:19 -04:00
Matt Tuchfarber
d19536e796
qiality
2019-03-11 10:47:06 -04:00
Matt Tuchfarber
1cd727762d
fix quality
2019-03-08 16:42:34 -05:00
Matt Tuchfarber
eec95cf538
Add discussion api
2019-02-28 16:35:09 -05:00
Guruprasad Lakshmi Narayanan
546c021d9c
Implement an alternative discussion settings, roles management API
...
This is intended to be used for server-to-server communication.
2019-02-20 19:20:30 +05:30
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04:00
Robert Raposa
fbc59231fc
Update edx-drf-extensions to 2.0.0.
...
Note: this version update is backward incompatible.
ARCH-255
2018-10-17 01:00:34 -04:00
Brian Mesick
48bff77b45
Merge pull request #18206 from edx/bmedx/fix_forum_retirement_404
...
Bubble up 404s from the forum service on user retirement
2018-05-15 21:48:44 -04:00
bmedx
23023203e5
Bubble up 404s from the forum service on user retirement
2018-05-15 17:49:06 -04:00
John Eskew
e82fe8290d
Pass retired_username to forums retirement endpoint instead of original username.
2018-05-15 11:55:31 -04:00
bmedx
98742c1c50
Update retirement APIs to match spec
2018-04-23 16:03:29 -04:00
bmedx
ada7ded553
Add an API endpoint for retiring a user from the cs_comments_service
2018-04-02 14:54:55 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Robert Raposa
f774ccf3f8
Remove support for sort_order (order_direction).
...
- Default of "desc" is all that is in use, and remains as-is.
- Discussion API keeps order_direction param, to minimize changes,
but it only accepts "desc".
- Discussion webapp simply no longer sends in the sort order.
2016-09-15 12:11:01 -04:00
wajeeha-khalid
f19af52054
MA-2050: add optional user profile details in GET thread & comment
2016-06-02 17:05:00 +05:00
wajeeha-khalid
3c0502726c
MA-2318: get DiscussionTopic against topic id
2016-06-02 11:33:39 +05:00
Ehtesham
a13bf52dbf
[MA-1862] using NamespacedPageNumberPagination class for pagination
2016-01-19 12:54:28 +05:00
wajeeha-khalid
e662e869d6
MA-1190; patch 'read' attribute for thread
2015-11-19 15:33: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
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
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
Ned Batchelder
8ec2de9359
DRF 3.1 now uses request.data instead of request.DATA
2015-09-29 15:25:55 -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
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
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
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
christopher lee
ed3bb27df8
Thread sort key and direction for discussion api
...
Discussion API for thread sorting now takes the sort_by
parameter for the sort key such as by comment_count or
vote_count. Also takes the sort_direction parameter for
sorting the thread results.
2015-07-28 14:34:30 -04:00
christopher lee
5d8d1619a0
Added unanswered/unread query params for thread in discussion api
...
Discusion API now takes a view parameter when getting a thread list.
This view parameter only takes "unread" or "unanswered" as possible
values.
2015-07-23 11:41:08 -04:00
Greg Price
54756317f1
Add followed thread retrieval to discussion API
...
This implements the "following" value for the "view" query parameter on
the thread list endpoint.
2015-06-23 13:38:34 -04:00
Greg Price
16d7a81b96
Add editable_fields to discussion API responses
...
This will allow clients to determine what actions (e.g. following,
endorsing, and editing content) a user can take on a piece of content.
2015-06-19 12:02:21 -04:00
Greg Price
de68c30486
Merge pull request #8530 from edx/gprice/discussion-api-text-search
...
Add text_search parameter to discussion API
2015-06-17 11:35:12 -04:00
Greg Price
fecbdcd052
Add text_search parameter to discussion API
...
The thread list endpoint now accepts the text_search parameter and also
includes a text_search_rewrite field in its responses.
2015-06-17 10:20:13 -04:00
Greg Price
d18b24b051
Add discussion API course endpoint
...
This endpoint returns course metadata relating to discussions as a
starting point for clients.
2015-06-16 11:27:54 -04:00
christopher lee
205c735865
Added comment deletion in the discussion API
2015-06-11 14:09:02 -04:00
Greg Price
895731f526
Add comment editing to discussion API
...
This is done via PATCH on a comment instance endpoint.
2015-06-11 11:39:01 -04:00
christopher lee
30884d192b
Added delete thread in discussion api
2015-06-08 15:43:39 -04:00