Pan Luo
2b29ad2066
Fix failed test_course_about_in_cart
...
This test failed since d240785 on devstack.
The self.request_factory.get() just return a request object, which is
being passed to views.course_about() directly without being processed by
edxmako.middleware. The REQUEST_CONTEXT.request in
d240785b17/common/djangoapps/edxmako/middleware.py (L39)
is None, instead of request object, which contains the LANGUAGE_CODE and
other stuff used by the view.
Also cleaned up the use of MakoMiddleware. Using the method in
edxmako.tests module.
2015-07-08 23:46:51 -07:00
Kyle McCormick
5b630a7704
MA-779 Make has_access work on CourseOverview objects
2015-07-08 12:05:38 -04:00
Matt Drayer
c25e37ea93
Merge pull request #8734 from edx/ziafazal/SOL-1011
...
ziafazal:SOL-1011: Certificate URL should use 'download_url' field and not 'verify_uuid'
2015-07-07 15:40:34 -04:00
Davorin Šego
ad5a98e40a
Merge pull request #8282 from Stanford-Online/giulio/default-course-about-images
...
Default "Course About" image
2015-07-07 00:24:54 +02:00
Matt Drayer
a8f909fe77
Merge pull request #8659 from edx/ziafazal/SOL-1006
...
ziafazal/SOL-1006: Disable course 'start date' for inactive web-enabled certificates
2015-07-06 16:45:24 -04:00
Giulio Gratta
84f7aef917
Default "Course About" image
...
Templates that display the image now check if courses specifies an image, if they don't the default image is displayed
Path set in both common.py and aws.py to allow for easy overriding in one place.
Addresses SOL-926
Some code provided by Davorin Sego
2015-07-06 10:29:12 -07:00
Usman Khalid
fe54b085c6
Added ability to disable xblock types in LMS.
...
TNL-2305
2015-07-03 20:58:40 +05:00
Will Daly
bfe01605b4
Merge pull request #8700 from edx/will/remove-provider-course-m2m-relation
...
Credit eligibility/provider refactor
2015-07-02 12:36:37 -07:00
Matt Drayer
4526b929b0
Merge pull request #8491 from edx/mattdrayer/fix-progress-template
...
mattdrayer/SOL-1018: Fixed progress template for better web certificates support
2015-07-02 13:51:49 -04:00
Ali Mohammad
eb70f2303c
Merge pull request #8749 from edx/rc/2015-06-29
...
Merge back into master
2015-07-02 13:34:42 -04:00
Will Daly
e2acf3ab87
Credit eligibility/provider refactor
...
* Remove m2m relation between credit course and credit providers.
* Separate eligibility and provider APIs into different modules.
* Add API call for retrieving a user's eligibilities.
* Cache credit course list.
* Style the dashboard purchase button.
* Display a link for the credit provider on the dashboard.
* Add analytics events for clicks on the purchase button.
* Expose more credit models to Django admin and add search functionality.
2015-07-02 10:03:52 -07:00
Zia Fazal
ad1f4951fc
get_certificate_url should return certificate download_url in case of non html certificates
2015-07-01 16:14:37 +05:00
Ahsan Ulhaq
7787974dd5
Order of Credit Eligibility line items
...
Displayed eligibility line items on the Progress page of a Credit course
in the order of appearance in the courseware.
ECOM-1782
2015-07-01 13:40:39 +05:00
Adam Palay
4bb4efe9d9
Merge remote-tracking branch 'origin/release' into rc/2015-06-29
...
Conflicts:
requirements/edx/github.txt
2015-06-29 16:55:57 -04:00
Adam Palay
61431015c2
update xblock only to mark field values as dirty if they've changed (TNL-2475)
...
force save "download_video" field if not set
set timezone to UTC explicitly
2015-06-29 14:28:45 -04:00
Awais
b8e04f30a1
ECOM-1597 adding signals to update min-grade requirement.
2015-06-29 15:01:19 +05:00
Zia Fazal
bcbd1464d4
New course cannot be started till web certificate is active
...
fixed broken test
changes based on feedback on 6/24
fixed broken unit test after feedback changes
added more checks and updated tests
fixed broken bok choy test
Fixed pylint quality error
trying to fix pylint quality error
2015-06-29 12:53:21 +05:00
Sarina Canelake
9f46d9f0c5
Regression test: dark lang stays set through multiple pages
2015-06-26 13:15:44 -04:00
Sarina Canelake
cf80c96f0b
Add i18n roundtrip regression tests for language pref and dark lang
...
Tests would have caught issues raised in LOC-87
2015-06-26 13:15:44 -04:00
Sarina Canelake
5fcdafd0cf
Add i18n regression tests (LOC-72, LOC-85)
2015-06-26 13:15:42 -04:00
Calen Pennington
ba971db1ba
Merge pull request #8594 from cpennington/pass-xblock-parents
...
Pass xblock parents
2015-06-26 12:15:41 -04:00
Matt Drayer
700eb8b702
mattdrayer/fix-progress/template: Improved web certificates support
2015-06-26 10:43:26 -04:00
Calen Pennington
fdf81042f5
Pass XBlock parents down to their children when constructing them, for caching
2015-06-25 13:59:46 -04:00
Nimisha Asthagiri
8b5e5c5910
Merge branch 'release'
2015-06-25 13:11:41 -04:00
Sarina Canelake
e7cbcfff20
Merge pull request #8618 from edx/sarina/revert-8402
...
Revert "Merge pull request #8402 from edx/sarina/annotate-middleware"
2015-06-22 16:05:49 -04:00
Matt Drayer
f0f3766443
mattdrayer/ECOM-1773: Fixed invalid URL reversal
2015-06-22 14:04:43 -04:00
Sarina Canelake
1e21945e22
Revert "Merge pull request #8402 from edx/sarina/annotate-middleware"
...
This reverts commit 09425c3d8f , reversing
changes made to 410b9282af .
2015-06-22 13:55:53 -04:00
Diana Huang
d779466f09
Make course tab refreshing safer.
2015-06-19 14:53:49 -04:00
Calen Pennington
e3d820a7a4
Merge pull request #8519 from jazkarta/check-ccx-enabled
...
WIP: Limit application of CCX overrides to enabled courses and providers
2015-06-17 16:15:01 -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
Awais
4d5a4b035d
ECOM-1683 removing regen-cert code.
2015-06-16 20:08:57 +05:00
Sarina Canelake
ed2f73e6d2
Add i18n regression tests (LOC-72, LOC-85)
2015-06-12 18:14:26 -04:00
Nimisha Asthagiri
037ef3be77
Video module support for student_view_json.
2015-06-12 09:27:17 -04:00
Will Daly
26f1ecb6a5
Merge pull request #8458 from edx/will/remove-v2-footer
...
Remove V2 of the EdX.org footer
2015-06-11 10:43:30 -04:00
Edward Zarecor
c12c5c926d
fixing post-release merge conflicts with DKH
2015-06-10 16:56:21 -04:00
Will Daly
1cc776ff19
Remove V2 of the EdX.org footer
2015-06-10 13:13:32 -04:00
Diana Huang
cddd387beb
Merge pull request #8367 from edx/diana/merge-course-view-and-tab
...
Refactor and merge CourseViewType and CourseTab.
2015-06-08 16:08:27 -04:00
Diana Huang
7461a2fd37
Refactor and merge CourseViewType and CourseTab.
...
TNL-2321
2015-06-08 15:18:39 -04:00
Diana Huang
a224d06a89
Allow multiple external_link tabs for one course.
2015-06-08 10:10:45 -04:00
asadiqbal
6f0606a00b
asadiqbal08/SOL-961: Student-generated certificate flow shows "download" certificate button
2015-06-07 20:44:42 -04:00
Nimisha Asthagiri
d240785b17
MA-722 Render xBlock API Support
2015-06-05 11:18:48 -04:00
Mushtaq Ali
c575c89853
Bug - Unicode character in tab number shouldn't return 500 #TNL-2055
...
Adding user to AUTHORS file
2015-06-04 12:33:06 +05:00
Diana Huang
15291aa43b
Merge pull request #8015 from edx/andya/add-tab-extensions
...
Add extensible course view types for edX platform
2015-06-02 17:08:45 -04:00
Diana Huang
dae137feaa
Convert all tabs to the new plugin framework.
2015-06-02 15:05:16 -04:00
Jonathan Piacenti
d499b22498
Analytics events for badges.
2015-06-02 18:32:50 +00:00
Andy Armstrong
94e1c42314
Add extensible course view types for edX platform
2015-06-02 13:12:40 -04:00
Ned Batchelder
cc5c1001d1
Fix simplifiable-range pylint warnings.
2015-06-02 09:47:13 -04:00
Alexander Kryklia
4c7bfb44dd
Add Video Bumper.
...
Fix n-click behaviour on poster.
Fix unit tests.
Fix handler for non_en lang for bumper.
Add more tests.
Fix docstrings.
Fix pep8.
Fix static redirection with bumper.
Fix button in IE11.
Add video_bumper field in bok_choy.
Fix pylink violations.
Update docstrings and some clean up.
Rename edx_video_id in bumper tests.
Fix too long lines in help text.
Address ui comments.
Fix bumper events.
Refactor bumper-transcripts code, fix bugs, address comments.
Squashed commits:
Fix download transcript button.
[74e0c8c] Fix quality
[a759f33] Fix error, when sub contains extension.
[b30755c] Revert "Add video files to host for transcripts."
This reverts commit cf8a96bf84346e17b6ad57ad4cc6a27d7a9118cd.
[36f038a] Add video files to host for transcripts.
[23f1655] Fix pep8 and pyling issues.
[0f1f9d2] Update acceptance test.
[765a27d] Wait for ajax in captions.
[8ae72a3] Fix logic.
[063450f] Fix unit tests.
[d1075fc] Fix handlers tests.
[25d31ad] Update bumper_utils.
[cb5f9df] Remove maxDiff.
[8738b1a] Code cleanup.
[87dbcb7] Fix issues with transcripts.
[ec899de] Fix transcripts in serializers.
[444b1fc] Fix transcripts typo.
[d524cb5] Fix bumper.
[f62cf22] Fix video mongo tests.
[8f1b55a] Fix dispatches.
[53bc308] Add more fixes.
[d5e3723] Fix test_video_handlers and rename the method.
[93efc23] Fix mobile tests.
[740e2ae] Fix pep8 and pylint.
[47cfb66] Address comments, add fixes.
[4e499d9] Add fixes.
[8353553] Add improvements.
Updated dispatch values)
.
Use ddt in bumper handler tests.
Move common metadata to single place.
Fix style.
Update docstring.
Fix poster button.
Improve bumper events.
Fix test after rebase.
Address comments.
Download transcript: use def video lang, not bump.
Renamed date_last_view_bumper to bumper_last_view_date.
Rename do_not_show_again_bumper to bumper_...
Address comments.
Fix tests for download for en lang.
Fix bumper logic.
Update strings.
Update resizer.
Remove resizer.
Fix unit tests.
Add tests.
Fix bumper events.
Clean up tests.
Fix pylint violations.
Fix pep8 and pylint violations.
Update docs and method names.
Update events.
Make /static/ prefix a must.
Fix wrong code.
2015-05-31 14:45:31 +03:00
Ned Batchelder
eb3b8c5ce4
TNL-2269 Compute language direction every time.
...
The old code would compute the language direction once when the template
was loaded.
TNL-2269
2015-05-28 16:13:59 -04:00
Will Daly
6af5fc1452
ECOM-1339 Branding API footer
...
Serve branded footer JSON/HTML/CSS/JS from an API endpoint
in the branding app. Refactor OpenEdX and EdX.org footer templates
to use the Python version of the API, ensuring that the API
values are consistent with the footer included in main.html.
Detailed changes:
* Added footer API end-point to the branding app.
* Footer API allows the language to be set with querystring parameters.
* Footer API allows showing/hiding of the OpenEdX logo using querystring parameters.
* Deprecate ENABLE_FOOTER_V3 in favor of the branding API configuration flag.
* Move no referrer script into main.html from the edx footer template.
* Rename rwd_header_footer.js to rwd_header.js
* Cache API responses.
Authors:
Awais Qureshi, Aamir Khan, Will Daly
2015-05-28 08:30:45 -04:00