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
d03f4a97c4
Merge pull request #12568 from edx/jia/MA-2419
...
MA-2419: make thread 'read' mutual exlusive to update fields
2016-06-02 19:29:03 +05: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
1d5fe0ed33
MA-2419: make thread 'read' mutual exlusive to update fields
2016-06-02 11:38:25 +05:00
Ned Batchelder
2e1238b83e
Remove unused imports
2016-04-08 11:23:05 -04:00
wajeeha-khalid
092cc4b278
MA-1211; Discussion API - make boolean params case insensitive
2015-12-01 11:25:27 +05:00
wajeeha-khalid
e662e869d6
MA-1190; patch 'read' attribute for thread
2015-11-19 15:33:35 +05:00
Nimisha Asthagiri
00e9237153
Course Blocks API
2015-11-05 22:30:44 +00: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
Sarina Canelake
ba8fd1c21d
Eliminate instances of unused-import Pylint violation
2015-07-13 17:33:25 -04:00
Christopher Lee
13dbfb8679
Merge pull request #8589 from edx/gprice/discussion-api-abuse-flagged
...
Add abuse flagging to discussion API
2015-06-23 18:08:58 -04:00
Greg Price
52a3306e2a
Add abuse flagging to discussion API
...
Flagging/unflagging is done by issuing a PATCH request on a thread or
comment endpoint with the "abuse_flagged" field set.
2015-06-23 17:22:54 -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
82b117f66e
Merge pull request #8543 from edx/gprice/discussion-api-comment-vote
...
Add comment voting to discussion API
2015-06-17 19:41:08 -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
0998df8c4b
Add comment voting to discussion API
2015-06-16 23:32:48 -04:00
Greg Price
37ebbc45e3
Add thread voting to discussion API
2015-06-05 16:12:54 -04:00
Greg Price
9ff8749716
Add ability to follow a thread in discussion API
2015-06-05 13:20:57 -04:00
christopher lee
f552eca7d6
MA-642 Add topic_id query to discussion/thread api
...
Also added thread_list_url field.
2015-06-03 11:29:48 -04:00
Greg Price
df3e6535dc
Add "following" parameter to thread creation
...
This allows authors to follow the thread immediately upon creation.
2015-05-27 10:58:14 -04:00
Greg Price
2451e06788
Add comment list endpoint to Discussion API
2015-05-20 13:13:19 -04:00
Greg Price
90f28dce31
Add thread list endpoint to the new discussion API
...
This is an initial implementation that only allows retrieval of all
threads for a course and only returns an easily computed subset of the
fields that are needed, in order to keep this change from getting too
large.
JIRA: MA-641
2015-05-05 11:45:09 -04:00