- 28 Aug, 2015 1 commit
-
-
David Ormsbee committed
-
- 26 Aug, 2015 1 commit
-
-
These signals are caught by the Teams app and used to update `last_activity_at` on both teams and individual users. TNL-2497
Peter Fogg committed
-
- 12 Aug, 2015 1 commit
-
-
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.
christopher lee committed
-
- 28 Jul, 2015 1 commit
-
-
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.
christopher lee committed
-
- 27 Jul, 2015 1 commit
-
-
This is a new TestCase base class, intended for situations where you only want to initialize course content in the setUpClass(), as opposed to setUp(). This is done for performance reasons, since many test cases only use courses in a read-only fashion, particularly in LMS tests. This commit also converts the following modules to use this new base class: lms/djangoapps/ccx/tests/test_ccx_modulestore.py (38s -> 4s) lms/djangoapps/discussion_api/tests/test_api.py (2m45s -> 51s) lms/djangoapps/teams/tests/test_views.py (1m17s -> 33s)
David Ormsbee committed
-
- 23 Jul, 2015 1 commit
-
-
Discusion API now takes a view parameter when getting a thread list. This view parameter only takes "unread" or "unanswered" as possible values.
christopher lee committed
-
- 29 Jun, 2015 1 commit
-
-
This also fixes two bugs: * A thread created by a non-privileged user in a cohorted course would not have group_id set * Any user could set the endorsed field on creation of a comment
Greg Price committed
-
- 23 Jun, 2015 2 commits
-
-
Flagging/unflagging is done by issuing a PATCH request on a thread or comment endpoint with the "abuse_flagged" field set.
Greg Price committed -
This implements the "following" value for the "view" query parameter on the thread list endpoint.
Greg Price committed
-
- 19 Jun, 2015 3 commits
-
-
Add more extensive testing
Greg Price committed -
This will allow clients to determine what actions (e.g. following, endorsing, and editing content) a user can take on a piece of content.
Greg Price committed -
The comments service rejects whitespace-only content for certain strings, so the discussion API should also reject such content.
Greg Price committed
-
- 18 Jun, 2015 3 commits
-
-
Greg Price committed
-
Some old threads do not have the pinned field set, which the thread serializer should handle.
Greg Price committed -
The rendering in this commit does not prevent MathJax content from being rendered as the discussion JavaScript code does.
Greg Price committed
-
- 17 Jun, 2015 2 commits
-
-
The thread list endpoint now accepts the text_search parameter and also includes a text_search_rewrite field in its responses.
Greg Price committed -
Greg Price committed
-
- 16 Jun, 2015 1 commit
-
-
This endpoint returns course metadata relating to discussions as a starting point for clients.
Greg Price committed
-
- 15 Jun, 2015 1 commit
-
-
This bug caused any attempt to update a comment with a non-null parent_id to result in a 500 error without applying the update. The bug was introduced in commit 2c7590d1.
Greg Price committed
-
- 11 Jun, 2015 3 commits
-
-
christopher lee committed
-
Greg Price committed
-
This is done via PATCH on a comment instance endpoint.
Greg Price committed
-
- 08 Jun, 2015 2 commits
-
-
This depends on cs_comments_service commit 0487891.
Greg Price committed -
christopher lee committed
-
- 05 Jun, 2015 2 commits
-
-
Greg Price committed
-
Greg Price committed
-
- 04 Jun, 2015 1 commit
-
-
This is done via PATCH on a thread instance endpoint.
Greg Price committed
-
- 03 Jun, 2015 1 commit
-
-
Also added thread_list_url field.
christopher lee committed
-
- 02 Jun, 2015 1 commit
-
-
Diana Huang committed
-
- 29 May, 2015 1 commit
-
-
Greg Price committed
-
- 27 May, 2015 1 commit
-
-
This allows authors to follow the thread immediately upon creation.
Greg Price committed
-
- 26 May, 2015 1 commit
-
-
Also, fix the field-specific error format for all API endpoints. This requires cs_comments_service commit fdf017c918.
Greg Price committed
-
- 21 May, 2015 2 commits
-
-
Greg Price committed
-
Greg Price committed
-
- 20 May, 2015 1 commit
-
-
Greg Price committed
-
- 18 May, 2015 2 commits
-
-
This will make it easier to add the creation and update interfaces.
Greg Price committed -
The checks are now within the Python API instead of the DRF view. This will be necessary for certain operations (like fetching/editing threads) because the relevant course cannot be known until the thread is fetched from the comments service. This commit updates the existing endpoints to fit that pattern.
Greg Price committed
-
- 11 May, 2015 3 commits
-
-
The API's type field should come from the CS data's thread_type field, not its type field, which distinguishes comments from threads.
Greg Price committed -
Greg Price committed
-
Greg Price committed
-