bmedx
6ece1708a6
Make sure httpretty usage cleans up after itself
2017-12-22 15:36:46 -05:00
Kyle McCormick
c22aeceab7
Truncate title in thread created event to 1000 chars
...
EDUCATOR-341
2017-06-20 11:56:53 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
cahrens
3abc7dc07e
isort updates
2017-06-05 13:47:48 -04:00
cahrens
8951ac8c61
Refactor server-size code to enable enrollment tracks.
...
EDUCATOR-11
2017-06-05 12:59:50 -04:00
John Eskew
3b57542ab0
Revert "Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance"
...
This reverts commit f97f052591 , reversing
changes made to 800bcd8e20 .
2017-05-30 12:42:54 -04:00
John Eskew
76389d8678
Run all files touched in inheritance/partition work through isort.
2017-05-25 13:24:08 -04:00
John Eskew
66f3aa5ccf
Move fields.py, inheritance.py, and partitions to openedx/core.
2017-05-25 13:24:08 -04:00
cahrens
121078eb67
Change default value for "always cohort".
...
TNL-6815
2017-04-07 13:02:25 -04:00
wajeeha-khalid
b837427bd5
MA-2554: DiscussionAPI - fixed unread_comment_count
2016-11-15 11:33:07 +05:00
Toby Lawrence
2acb4a6cad
[PERF-386] Utilize ForumsConfig to enable and disable forums.
...
This specifically enables/disables the underlying comment service client
used to make calls to the service. When disabled, this client will now
throw an exception which can be propagated upwards so that callers can
make the right decision about how to notify users of the error, or
handle retry, etc etc.
2016-11-03 10:20:19 -04:00
wajeeha-khalid
03f888b795
MA-2663: Donot mark thread unread on any action but creation
2016-09-19 19:16:23 +05: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
Robert Raposa
bced90d2ee
Performance enhancements for Discussions API.
...
- Default to with_responses=False, except when required.
- Clean up search call unused params.
2016-09-09 11:42:51 -04:00
Toby Lawrence
26891bc0fd
Default to not requesting responses when grabbing a single thread.
...
We're often grabbing the metadata of a specific thread to then be able
to perform other operations, but we never need the actual responses or
comments of a thread unless we're displaying it in the normal forum
view.
This change sets a default of with_responses=False, which instructs the
comment service to not send back the responses/comments for the given
thread. We only ask for responses in the case of rendering a single
thread or inline discussion.
2016-09-07 23:17:11 -04:00
Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
Ned Batchelder
8b1978ba6c
Fix unused-import errors
2016-08-03 12:44:41 -04:00
E. Kolpakov
33b3dfcc92
Converts Discussion XModule to Discussion XBlock
...
* Renames discussion_module to discussion_xblock
* Moves common/lib/xmodule/xmodule_discussion to openedx/core/lib/xblock_builtin/xblock_discussion
2016-06-29 06:47:04 +12:00
Calen Pennington
d49e1e91cb
Separate discussion blackout tests into a separate ModulestoreTestCase
2016-06-07 09:16:29 -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
wajeeha-khalid
3c0502726c
MA-2318: get DiscussionTopic against topic id
2016-06-02 11:33:39 +05:00
wajeeha-khalid
18956af053
jia/MA-1815 retrieve count for child comments
2016-04-06 13:51:22 +05:00
Ben Patterson
c504029b39
Create a third shard for lms unit tests.
...
This will leverage the nose attrib plugin to allow us
to break tests apart on our build system to run
in parallel on separate nodes.
2016-03-17 12:01:42 -04:00
wajeeha-khalid
72aeb2c8da
implemented test event data for thread/comment vote
2016-02-11 22:30:41 +05:00
wajeeha-khalid
e723fb6aec
MA-1930 add result count in paginated endpoints
2016-01-28 13:41:27 +05:00
Ehtesham
43fdf9a63d
[MA-1862] converting function signature to take kwargs
2016-01-19 12:54:29 +05:00
Ehtesham
73aceb5d8a
[MA-1862] updating api tests
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
c9c1a4bc71
jia/MA-1748 patch read states for users
2015-12-03 12:08:20 +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
wajeeha-khalid
7de5882372
MA-860; No moderator permissions on closed thread
2015-11-17 14:02:35 +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
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
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
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