bmedx
6ece1708a6
Make sure httpretty usage cleans up after itself
2017-12-22 15:36:46 -05:00
bmedx
11a4030767
LMS urls cleanup for Django 1.11
...
- Remove usage of django.urls.patterns
- Change urls tuples to lists
- Make all string view names callables
- This is the second of several urls updates for LMS; a work in progress
2017-11-06 16:06:00 -05:00
bmedx
763fa4de99
Remove empty models.py files
2017-10-17 16:21:21 -04:00
John Eskew
2cd62c7bfb
Upgrade django-rest-framework version to edX fork, which is DRF v3.6.3
...
with a custom patch needed by edx-platform.
Upgrade django-filter as well to v1.0.4
Import DjangoFilterBackend from the correct module - django_filter.
Add django-filter to INSTALLED_APPS.
2017-07-14 16:05:13 -04: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
31fbde9c1f
Rename cohort methods to divided.
2017-04-27 14:58:08 -04:00
Andy Armstrong
da1ac4664e
Implement common redirect logic for all course tabs
...
LEARNER-76
2017-04-12 16:05:32 -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
wajeeha-khalid
7ae05625ee
MA-2871: return response_count on thread patch
2016-11-09 15:07:00 +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
wajeeha-khalid
7377634ea8
Merge pull request #13027 from edx/jia/MA-2139
...
MA-2139: Mark thread as read for learner on thread/comment creation
2016-09-16 13:57:09 +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
8582da4a97
Merge pull request #12286 from cpennington/shards-as-valued-attributes
...
Shards as valued attributes
2016-08-04 11:13:32 -04:00
wajeeha-khalid
ec9845b1c4
MA-2675: Skip null 'endorsed_by' in discussion requested_fields=profile_image
2016-08-04 11:08:08 +05:00
Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
Ned Batchelder
eef964f5f6
Fix unused-variable errors
2016-08-03 12:44:41 -04:00
Ned Batchelder
8b1978ba6c
Fix unused-import errors
2016-08-03 12:44:41 -04:00
wajeeha-khalid
be72ab766e
MA-2139: Mark thread as read on thread and comment creation/update/actions
2016-08-01 16:54:49 +05:00
wajeeha-khalid
551fd7eef0
MA-2646: handle profile_image in requested_fields for anonymous user
2016-07-29 11:42:56 +05:00
Jillian Vogel
e19fb06e9d
Merge pull request #12582 from open-craft/feature/discussion_xblock
...
Convert Discussion Module to XBlock
2016-06-29 20:49:35 +12: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
wajeeha-khalid
d4b5b07662
MA-2531: fix unread_comment_count for 'read' patch
2016-06-24 12:38:25 +05: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
05b2e65e0f
MA-2247 return student view data for discussion module
2016-05-09 17:37:31 +05:00
Ben Patterson
b9558a90f1
Create a 3rd explicit shard for unit tests.
...
More accurately, this creates a 4th shard because the
last shard is always the default.
2016-04-28 10:09:32 -04:00
wajeeha-khalid
a52cafcc9e
Merge pull request #10973 from edx/jia/MA-1815
...
jia/MA-1815 retrieve count for child comments
2016-04-14 13:25:35 +05:00
wajeeha-khalid
5b5fb2464d
TNL-3818: fixed recent activity mapping in thread-list sort for Forums Web
2016-04-13 17:47:31 +05:00
Ned Batchelder
2e1238b83e
Remove unused imports
2016-04-08 11:23:05 -04: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
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