Commit Graph

25929 Commits

Author SHA1 Message Date
Calen Pennington
ef23c19bf4 Prevent queries into split using deprecated CourseLocators, BlockUsageLocators, or DefinitionLocators 2014-09-29 22:35:41 -04:00
Calen Pennington
1a682dacd1 Include caching definitions in split bulk operations 2014-09-29 22:35:41 -04:00
Calen Pennington
40c3253d81 Use more idiomatic python for deleting an attribute 2014-09-29 22:35:41 -04:00
Calen Pennington
57f9701ab2 Clean up exception definitions 2014-09-29 22:35:41 -04:00
Calen Pennington
4b0686836b Make modulestores properly propogate **kwargs 2014-09-29 22:35:41 -04:00
Calen Pennington
a14fbe4c6b Clean up coverage counting a little bit 2014-09-29 22:35:41 -04:00
Calen Pennington
f9c78e07a7 Turn the course envelope into an actual object that just stores an existing course_key 2014-09-29 22:35:40 -04:00
Calen Pennington
eea1552e0b Upgrade to a more performant version of opaque-keys 2014-09-29 22:35:40 -04:00
Calen Pennington
0aaf481782 Turn on bulk operations for xml export 2014-09-29 22:35:40 -04:00
Calen Pennington
52beec8878 Switch inheritance in split-mongo over to using InheritingFieldData. 2014-09-29 22:35:40 -04:00
Calen Pennington
687708c3d0 Use InheritanceMixin in more modulestore tests 2014-09-29 22:23:02 -04:00
Calen Pennington
234c18053d Inherit from JSONField rather than Field for json-based fields 2014-09-29 11:56:40 -04:00
Calen Pennington
d60117d7c2 Make Studio CoursePage objects generate the correct CourseLocator based on whether the DEFAULT_STORE is set or not 2014-09-29 11:56:40 -04:00
Calen Pennington
3f065a5fef Export xml from the destination store during cross-modulestore import/export tests 2014-09-29 11:56:40 -04:00
Calen Pennington
b57a5a6007 Make xml exports more comparable by sorting and indenting json 2014-09-29 11:56:38 -04:00
Calen Pennington
8acef4c637 Allow Timedelta and RelativeTime fields to handle from_json being passed timedelta objects 2014-09-29 10:32:15 -04:00
Calen Pennington
ab75ef9963 Teach mongo_connection to retry read operations in the face of AutoReconnect errors 2014-09-29 10:32:15 -04:00
Calen Pennington
46c6a5de8a Bump version of PyContracts so that it will disable the 'check' function 2014-09-29 10:32:15 -04:00
Calen Pennington
7c1438034b Fix BulkAssertionMixin so that it actually asserts the truth/falsity of the contained assertions 2014-09-29 10:32:15 -04:00
Julia Hansbrough
c5ae921dea Merge pull request #5328 from edx/flowerhack/auto-login
Automatically log in users who access third party login after trying to register for a course
2014-09-25 10:40:33 -04:00
Will Daly
afa39a862e Merge pull request #5383 from edx/will/account-and-profile-rebase
Add Django apps for student account and profile
2014-09-25 09:34:10 -04:00
Will Daly
7f8c6bb058 Add Django apps for student account and profile.
Add Python APIs for account/profile information to user_api
Updating profile page to have social linking

Authors: Renzo Lucioni, Alasdair Swan, Stephen Sanchez, Will Daly
2014-09-25 08:36:22 -04:00
Anton Stupak
85af48a31c Merge pull request #5276 from edx/anton/forums-topic
Change the topic of a previously posted post.
2014-09-25 10:58:09 +03:00
John Eskew
fcf57a8e0d Merge pull request #5370 from edx/jeskew/wrap_studio_views_in_bulk_ops
Wrap studio views in bulk operations to minimize mongo calls.
2014-09-24 20:41:33 -04:00
John Eskew
46cd9b0ad9 Add bulk_operations wrapper around all course-query-intensive Studio views. 2014-09-24 19:23:00 -04:00
Julia Hansbrough
6b061ad23b Response to CR 2014-09-24 21:20:49 +00:00
John Eskew
2f06073306 Pass _get_course_module() depth param down into modulestore get_course() instead of hard-coded zero. 2014-09-24 16:23:30 -04:00
Carlos Andrés Rocha
ed68b0ab8a Merge pull request #5385 from rocha/use-strings-in-session-key-value-store
Use strings instead of tuples as keys in SessionKeyValueStore.
2014-09-24 16:17:16 -04:00
Stephen Sanchez
c28162b5b4 Merge pull request #5335 from edx/sanchez/add_course_info_to_wiki
Making the django main template navigation course aware.
2014-09-24 16:16:15 -04:00
Waqas Khalid
52dd273490 Merge pull request #5363 from mlkwaqas/waqas/tnl315-cannot-remove-discussion-admin
Course admin should be able to de-admin dicussion admins
2014-09-25 01:15:21 +05:00
Carlos Andrés Rocha
fc04d8f262 Use strings instead of tuples as keys in SessionKeyValueStore
Some Django packages expect only strings as keys in the user session,
and it is also a recommended practice in the Django manual.
2014-09-24 15:17:46 -04:00
polesye
00c7e60e07 TNL-171: Change topic of a previously posted post. 2014-09-24 20:28:14 +03:00
Waqas Khalid
d0d225d8a9 Course admin should be able to de-admin dicussion admins
As a global staff or course staff once you added yourself
in the discussion admins you cannot revoke it back unless
you remove yourself as course staff. Any of the course staff
member should be able to remove others from discussion admins
whether they are course staff or not.

TNL-315
2014-09-24 22:26:31 +05:00
Julia Hansbrough
5d5ff8d9c1 Docs 2014-09-24 17:24:42 +00:00
Julia Hansbrough
3fbbe57cef Add auto-registration to third party login flow 2014-09-24 17:24:42 +00:00
Julia Hansbrough
5b3c69bc87 Tests fixed 2014-09-24 17:24:42 +00:00
Julia Hansbrough
4d77b0552f Move server-side validation to enroll method 2014-09-24 17:23:25 +00:00
Sarina Canelake
3cdfdae8bb Merge pull request #5305 from lduarte1991/lduarte-harvardx-pr28
Fixes check for Image Annotation Tool to include ID from image server and fix scrolling bug
2014-09-24 13:10:50 -04:00
AlasdairSwan
328c076bf0 Merge pull request #5333 from edx/alasdair/header-footer-accessibility-updates
Alasdair/header footer accessibility updates
2014-09-24 13:08:15 -04:00
Waheed Ahmed
f14dd9d3c5 Disabled student view if course is not yet released for students.
LMS-6617

Fixed wiki merge url regex.
TNL-413

ECOM-345 changed any lists that could display with only 1 item to divs

ECOM-345 Added aria tags for header

ECOM-364 Accessibility update for footer

added my name to the authors file

Addressing feedback from code review - removing unnecessary element references in selectors

Updated header aria-label to be main
2014-09-24 16:52:21 +00:00
Stephen Sanchez
eb7611286c Making the django main template navigation course aware. 2014-09-24 15:57:00 +00:00
lduarte1991
29cddbca2c Annotation Tools: Non-critical highlights == undefined fixes
i.e. they should be fixed but don’t cause the whole thing to break.

 - PR fixes

 - Reverted Fix
2014-09-24 11:21:53 -04:00
Waqas Khalid
f94c677a79 Merge pull request #5279 from mlkwaqas/waqas/tnl404-new-post-hidden-breadcrumb
New post should show category/subcategory breadcrumb when created.
2014-09-24 19:20:46 +05:00
Waqas Khalid
2c3cef75bc New post should show category/subcategory breadcrumb when created.
When the new post is created under the subcategory and it appear
after the creation, it doesn't have the link of category/subcategory
after thread body. When we reload the page the link appears. Link
should appear after creation.

TNL-404
2014-09-24 18:19:51 +05:00
zubair-arbi
c7418a306c Merge pull request #5240 from edx/zub/bugfix/tnl-324-downloadvideoexportimport
Don't set 'download_video' field on importing video from xml until expli...
2014-09-24 18:12:10 +05:00
Waqas Khalid
298ad30a22 Merge pull request #5142 from mlkwaqas/waqas/tnl150-stop-comment--on-closed-thread
Don't allow commenting while the thread is closed
2014-09-24 17:51:17 +05:00
Waqas Khalid
fcf46546c3 Don't allow commenting while the thread is closed
When someone closes thread there is still option to add
comment which cause error when submitted. User shouldn't
be able to comment while the thread is closed.

TNL-150
2014-09-24 15:28:34 +05:00
Waheed Ahmed
aa5781c14c Merge pull request #5294 from edx/waheed/tnl235-fix-video-transcript-not-follow
Fixed transcript not follow with video on seek.
2014-09-24 14:16:15 +05:00
Waheed Ahmed
ca1da6c8ed Fixed transcript not follow with video on seek.
TNL-235
2014-09-24 13:08:50 +05:00
Clinton Blackburn
7e1b44663b Merge pull request #5352 from edx/insights-name-fix
Properly Setting ANALYTICS_DASHBOARD_NAME for AWS
2014-09-23 17:45:17 -04:00