Eric Fischer
fdc6d91588
update_in_cache on lms worker ( #12689 )
...
This commit "undoes"a previous hotfix, and allows a cms course_publish
signal to trigger a block_structure update_course_in_cache task, which
is run on an lms worker queue.
Changes:
-exposes ALTERNATE_QUEUE_ENVS
-adds routing layer in celery.py
-moves prior dev_with_worker settings file to devstack_with_worker
-moves course_block api functionality into openedx/core/djangoapps/content/block_structure
2016-06-16 18:01:06 -04:00
wajeeha-khalid
05b2e65e0f
MA-2247 return student view data for discussion module
2016-05-09 17:37:31 +05:00
Carol Tong
26ea2dff56
Merge pull request #12311 from edx/carol/doc/DOC-2862_All
...
DOC-2862: Add doc for Courses API
2016-05-06 17:08:32 -04:00
Carol Tong
a1394e9945
Add documentation for Courses API
2016-05-06 15:40:21 -04:00
Calen Pennington
853bfe7a36
Add a TestCase mixin for enabling caches in tests
...
By default, disable all caching in tests, to preserve test independence.
In order to enable caching, inherit from CacheSetupMixin, and specify
which cache configuration is needed.
[EV-32]
2016-05-04 14:51:30 -04:00
Nimisha Asthagiri
c6954902e3
Create courseware/views folder
2016-05-03 09:02:45 -04:00
Ben Patterson
1db84e79df
Additional shard balancing changes for unit tests.
2016-04-28 10:09:32 -04: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
Nimisha Asthagiri
2396cc493d
Fix Next Button's 404 error
...
MA-2305
2016-04-26 20:21:08 -04:00
Clinton Blackburn
00b48e54a1
Exposing absolute/CDN image URLs via Course API
...
ECOM-4013
2016-04-01 09:42:57 -04:00
Clinton Blackburn
1185fff1ec
Added pacing field Course API
...
ECOM-3994
2016-03-30 14:36:43 -04:00
George Schneeloch
6b8f372178
Added visible_to_staff_only field to course blocks API
2016-03-15 16:06:30 -04:00
Nimisha Asthagiri
a1458b99f8
Merge pull request #11684 from CredoReference/feature/edx-23-new
...
New optional parameters for course blocks API: lti_url, block_types_filter
2016-03-11 17:09:41 -05:00
lenacom
7e4f3fd00c
fixed comment
2016-03-10 16:47:35 +03:00
lenacom
2f2c6fc5da
fixed comments
2016-03-10 11:21:06 +03:00
lenacom
23b617492c
removed a trailing space
2016-03-09 18:07:47 +03:00
lenacom
3aafbe591a
fixed test changed by mistake
2016-03-09 16:57:45 +03:00
lenacom
f07bc1ce28
fixed comments
2016-03-09 16:52:02 +03:00
Sanford Student
6490551f1b
MA-2103
2016-03-08 16:17:01 -05:00
lenacom
016c8200ae
fixed comments
2016-03-01 09:39:24 +03:00
lenacom
236cf4e30d
removed check for 'root'
2016-02-29 19:12:44 +03:00
lenacom
f048a28fa0
added ending comma
2016-02-29 16:23:15 +03:00
lenacom
ae439310e1
New optional parameters for course blocks API: lti_url, block_types
2016-02-29 15:58:05 +03:00
Nimisha Asthagiri
70469c16b2
Block Structure API: Replace has_block with __contains__
2016-02-22 11:25:46 -05:00
Nimisha Asthagiri
d969f48646
Course Blocks API: Support accessing a substructure MA-1604
2016-02-18 10:03:58 -05:00
Nimisha Asthagiri
05767b433d
Collect Course Blocks on Course Publish and Management Command
...
MA-1368
2016-02-03 16:56:22 -05:00
Nimisha Asthagiri
66397c35b9
Refactor Block Cache to separate Collect and Transform phases
2016-02-03 16:54:29 -05:00
Nimisha Asthagiri
3a6fbae60c
Reorder transformers to fix MA-1981.
2016-01-26 15:46:15 -05:00
Nimisha Asthagiri
59605159b4
Course Blocks API: support for all blocks when no username
2016-01-05 15:06:55 -05:00
Nimisha Asthagiri
a00c2a7c47
Course API: Change field name from course_id to id
2015-12-28 16:24:54 -05:00
Nimisha Asthagiri
3d84e29218
Update Course Catalog API to include About Overview field.
2015-12-28 15:03:22 -05:00
Nimisha Asthagiri
8e3f4e058d
Update Course Catalog API to support filters
2015-12-23 12:31:31 -05:00
Robert Raposa
5e69224c32
Deprecate escaping in display_name_with_default
...
- Remove escaping in display_name_with_default
- Move escaped version to deprecated display_name_with_default_escaped
- Does not include any other changes to remove double-escaping
Thanks to agaylard who initiated this work:
https://github.com/edx/edx-platform/pull/10756
TNL-3425
2015-12-22 11:52:04 -05:00
Renzo Lucioni
2cee39d535
Modify Course API to filter visible courses by org
...
Org to filter by is provided to the Course API list view using a querystring argument. Filtering ultimately occurs at the database layer. ECOM-2761.
2015-12-14 15:32:46 -05:00
Nimisha Asthagiri
bb53c03e24
Optimize Course Catalog/About API with Course Overviews
2015-12-10 17:15:42 -05:00
Nimisha Asthagiri
91153aea83
Update Course About API to include effort and video
...
MA-1661
2015-12-04 16:03:06 -05:00
Nimisha Asthagiri
d170c92f3b
Refactor course_image_url
2015-12-04 11:25:40 -05:00
J. Cliff Dyer
f53de2c04a
Paginate results of Courses API list endpoint
...
* Catalog results are now paginated
* Implements the new namespaced pagination described at
https://openedx.atlassian.net/wiki/pages/viewpage.action?pageId=47481813
* API level code returns pythonic business objects
* View layer performs serialize at the view layer
* Convert views to use DRF generic views
* Removes an unintentional authentication decorator that caused
the detail endpoint to return a 401 for anonymous users
MA-1724
2015-12-01 08:13:18 -05:00
Michael Frey
29b6ccf5e4
Added new Course List API.
2015-11-24 15:54:03 +00:00
Ned Batchelder
f5d0f3ff55
Remove useless pylint suppressions
2015-11-22 07:41:19 -05:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Nimisha Asthagiri
46523b1061
Transformer: ProctoredExamTransformer
2015-11-05 23:29:12 +00:00
Nimisha Asthagiri
0698076440
Transformer: StudentViewTransformer
2015-11-05 23:29:12 +00:00
Nimisha Asthagiri
ced7fde37f
Transformer: BlockNavigationTransformer
2015-11-05 23:29:12 +00:00
Nimisha Asthagiri
9abebe0599
Transformer: BlockDepthTransformer
2015-11-05 23:29:11 +00:00
Nimisha Asthagiri
75a2355b74
Transformer: BlockCountsTransformer
2015-11-05 23:29:11 +00:00
Nimisha Asthagiri
ae4bc5d0c5
Transformer: BlocksAPITransformer
2015-11-05 22:30:44 +00:00
Nimisha Asthagiri
00e9237153
Course Blocks API
2015-11-05 22:30:44 +00:00