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
Nimisha Asthagiri
2f581448da
Refactor Courseware Index
...
MA-2189
2016-05-03 09:02:44 -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
wajeeha-khalid
86e954f642
version-based mobile app upgrade
2016-04-14 15:43:34 +05:00
Ned Batchelder
2e1238b83e
Remove unused imports
2016-04-08 11:23:05 -04: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
sanfordstudent
c518543cbd
Merge pull request #11602 from edx/sstudent/MA-1919
...
MA-1919 making mobile handout links accommodate jump to id's and cour…
2016-02-25 11:07:58 -05:00
Sanford Student
75a26b62b5
MA-1919 making mobile handout links accommodate jump to id's and course links
2016-02-25 10:20:13 -05:00
sanfordstudent
a7d6b13b7e
Merge pull request #11637 from edx/sstudent/MA-1038-permanent-fix
...
MA-1038
2016-02-24 14:01:03 -05:00
Sanford Student
3313b755fa
MA-1038
2016-02-23 14:20:51 -05:00
Nimisha Asthagiri
c088df0835
Remove unused Mobile latest_updates field
2016-02-18 12:12:05 -05:00
Nimisha Asthagiri
fa8ca11d8c
Remove unused Mobile Social Facebook endpoint
2016-02-18 12:12:04 -05:00
Sanford Student
f88e5bc1d8
MA-1918 returning None for courses with no handouts
2016-02-05 11:31:16 -05:00
Douglas Hall
37a7fdc0f2
Added subsection gating feature
2016-01-28 14:05:20 -05:00
Ayub-Khan
96e64464b5
-fix TNL-3556 Instructor tool "View as Specific Student" doesn't work on the course updates page.
...
-Added test for TNL-3556.
2016-01-05 17:50:23 +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
muzaffaryousaf
1616de5051
Bookmarks API.
...
TNL-2180
2015-12-17 22:07:30 +05:00
Nimisha Asthagiri
bb53c03e24
Optimize Course Catalog/About API with Course Overviews
2015-12-10 17:15:42 -05:00
chrisndodge
4334eb9bd1
Merge pull request #10885 from edx/release
...
Release
2015-12-08 15:21:48 -05:00
Nimisha Asthagiri
a5ddc3bf0a
Update Mobile API for PDF certificates and new Course Detail format.
...
MA-1767
2015-12-07 17:38:42 -05:00
Bill DeRusha
692e5d777a
Update copy for HCFA
...
Update Zendesk ticket to correctly add group.
Add logic to hide new audit certs
2015-12-07 14:18:55 -05:00
Peter Fogg
1ba1c213d5
Fix broken certificates-related tests.
2015-12-03 16:30:05 -05:00
Peter Fogg
8b97ca1b24
Merge pull request #10802 from edx/feature/remove-honor-code-certs
...
Remove default honor code.
2015-12-03 14:55:30 -05:00
Eric Fischer
88a389652b
CohortMembership Test Fixes
...
There are 3 main changes in this commit:
* CohortFactory now sets up memberships properly, so consuming tests do not
need to explicitly touch CourseUserGroup.users to add() users.
* test_get_cohort_sql_queries has been updated to 3 and 9 queries when using
and not using the cache, respectively. This is needed due to each operation
needing an extra queery to get the CourseUserGroup from the CohortMembership.
* Adding remove_user_from_cohort(), the counterpart to add_user_to_cohort().
This is also to keep tests from touching the users field directly, and keep
CohortMembership data in sync.
2015-12-02 15:03:52 -05:00
Nimisha Asthagiri
8c4eefd53f
Merge pull request #10724 from edx/mobile/support-web-certs-MA-1667
...
MA-1667: Update Mobile API to support Web Certificates
2015-11-30 14:41:47 -05:00
Nimisha Asthagiri
0b90326470
MA-1667: Update Mobile API to support Web Certificates
2015-11-25 13:49:27 -05:00
Nimisha Asthagiri
330120bb7a
MA-1712: Update Mobile API to include course_about
2015-11-25 13:48:45 -05:00
Peter Fogg
497622d4b4
Switch default course mode to 'audit'.
...
ECOM-2972
2015-11-25 11:22:29 -05: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
Ned Batchelder
322ca34b20
Remove pylint pragmas from "class Meta"
...
Also remove useless docstrings where they were added to keep pylint
quiet.
2015-10-21 07:37:00 -04:00
wajeeha-khalid
90fe71dbfe
MA-1248 - CourseEnrollmentAPI: added discussion URL
2015-10-09 19:04:55 +05:00
Brian Beggs
619768f741
removed course_enrollment hint from UserDetail mobile api view. TNL-3452
2015-10-01 13:50:58 -04:00
Ned Batchelder
8ec2de9359
DRF 3.1 now uses request.data instead of request.DATA
2015-09-29 15:25:55 -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
Waheed Ahmed
aff849281d
Revert "Test library failed to export after import"
...
This reverts commit 4c1c4619f0 .
2015-08-12 02:06:09 +05:00
Syed Hassan Raza
4c1c4619f0
Test library failed to export after import
2015-08-05 12:47:27 -07:00
Ned Batchelder
f54fe787c6
Remove needless 'disable=no-member' pragmas
2015-08-03 17:47:44 -04:00
tlindaliu
3b483d14bc
MA-851: Add access response information into view_course_access
2015-07-31 09:30:40 -04:00
tlindaliu
5aeccd520b
MA-834: Add new fields to course enrollments endpoint in mobile API
...
Fields are start_type, start_display, and courseware_access.
2015-07-21 22:44:50 -04:00
srpearce
b12d3f6303
Merge pull request #8773 from edx/sylvia/docs/DOC-2102
...
Sylvia/docs/doc 2102
2015-07-17 15:42:59 -04:00
Jesse Zoldak
c2b4cf210f
Skip test that had a hardcoded date expectation MA-1038
2015-07-17 13:05:58 -04:00
Sylvia Pearce
eea3b31105
Delete white spaces that are causing test failures
2015-07-17 16:12:53 +00:00
Sylvia Pearce
d2b6ac84d3
Reorganize and update API documentation
2015-07-15 14:31:02 -04:00
Sarina Canelake
ba8fd1c21d
Eliminate instances of unused-import Pylint violation
2015-07-13 17:33:25 -04:00
Kyle McCormick
d84c3bd7a9
MA-776 change UserCourseEnrollmentsList endpoint to use course_overviews
2015-06-22 18:33:12 -04:00
Carlos de la Guardia
d56303dd0f
Only enable the OverrideFieldData when there are active overrides on a course.
2015-06-17 15:26:10 -04:00
Nimisha Asthagiri
4921ec48c8
MA-792 Course Blocks and Navigation API (user-specific)
2015-06-12 09:27:20 -04:00
Ned Batchelder
cc5c1001d1
Fix simplifiable-range pylint warnings.
2015-06-02 09:47:13 -04:00