Robert Raposa
f555ffd585
Refactor and improve js_utils helpers
...
- Rename escape_json_dumps to dump_js_escaped_json
- Rename escape_js_string to js_escaped_string
- Update js_escaped_string to output empty string for None
- Introduce dump_html_escaped_json
- Move dump_js_escaped_json after the pipe as new best practice
- Introduce additional uses of helpers
- Introduce new djangolib directory and move js_utils
2016-02-03 17:13:21 -05:00
Peter Fogg
8ed051e3cf
Merge pull request #10642 from edx/feature/self-paced
...
Course home page improvements.
2016-02-03 15:06:59 -05:00
Christina Roberts
9a786d08a2
Merge pull request #11395 from edx/christina/fix-test-typo
...
Fix unit tests so they are testing aria-expanded.
2016-02-03 14:41:49 -05:00
Peter Fogg
244843d929
Track events on the course home page.
...
Events are added for accessing the courseware, entering the verified
upgrade flow, and toggling a course update.
ECOM-2983
2016-02-03 13:58:24 -05:00
Peter Fogg
0c1dc272d4
Change "Go to Course" to "Resume Course" on course home page.
...
ECOM-2960
2016-02-03 13:58:23 -05:00
Peter Fogg
71a00bf946
Revert "Move Course Handouts to Course Resources and Tools."
...
This reverts commit e8909e4439f22a7568d95a7672ab60d4a36f7322.
2016-02-03 13:58:23 -05:00
Bill DeRusha
e75f7950d4
Updates XBlock renders its own template. Adds expand and collapse JS + jasmine tests.
...
ECOM-2809
2016-02-03 13:58:23 -05:00
Peter Fogg
75bef91e17
Fix query counts after Django 1.8 merge.
2016-02-03 13:58:23 -05:00
Peter Fogg
9b7ce7f3f2
Lighten course tab font weight.
2016-02-03 13:58:22 -05:00
Peter Fogg
c22677c171
Move Course Handouts to Course Resources and Tools.
...
The existing course handouts section is moved underneath Course
Updates and News, with updated styling.
ECOM-2808
2016-02-03 13:58:22 -05:00
Peter Fogg
786c4456ea
Last-accessed courseware on the home page.
...
ECOM-2806
2016-02-03 13:58:22 -05:00
Matt Drayer
71a6779dfa
Merge pull request #11138 from fghaas/no-video-if-unset
...
lms: Only show welcome video if show_homepage_promo_video is set
2016-02-03 13:08:31 -05:00
Ahsan Ulhaq
96d030b6d9
Reverse and Rename Courseware and Course Info Tabs
...
ECOM-2678
2016-02-03 12:20:53 -05:00
Peter Fogg
fd397964b3
Styling and template changes for the Course Home page.
...
ECOM-2810
2016-02-03 12:20:53 -05:00
clrux
8a2d989369
Merge pull request #11247 from edx/clrux/ac-313-fixup
...
CMS: Removing H1 and H2 from editor options; updating editor icons
2016-02-03 09:28:44 -05:00
Florian Haas
fef6f64a7b
lms: Only show welcome video if show_homepage_promo_video is set
...
While show_homepage_promo_video would previously toggle the control to
play the welcome video on and off, the YouTube embed iframe would be
included in index.html unconditionally. This created the ugly
situation that YouTube would try to pull in a non-existent video, and
that a DoubleClick tracking beacon would be introduced to the start
page for no reason.
Instead, make sure show_homepage_promo_video toggles the entire modal
video section on and off, suppressing it altogether unless
show_homepage_promo_video is set.
2016-02-03 09:37:27 +01:00
Chris Rodriguez
4ae40e7bdd
Updating icons on problem type editor
2016-02-02 15:41:04 -05:00
Chris Rodriguez
81d86eea42
Changing H2 to H3 in problem templates
2016-02-02 15:41:02 -05:00
Matjaz Gregoric
bb0c2901c7
Merge pull request #11319 from open-craft/remove-comprehensive-theme-finders
...
Remove ThemingAware storage mixins and ComprehensiveThemeFinder
2016-02-02 17:57:36 +01:00
Adam
979552512d
Merge pull request #11380 from edx/fix-typo
...
fix typo on certificate page
2016-02-02 10:49:42 -05:00
Diana Huang
4b1a37ef02
Merge pull request #11370 from edx/diana/static-i18n-compiled-files
...
Complete static i18n PR
2016-02-01 17:13:43 -05:00
Diana Huang
1e1f5abe10
Check in new static i18n JS files.
2016-02-01 15:54:14 -05:00
Diana Huang
cd0bb4c7e0
Add ability to generate static i18n files.
2016-02-01 15:54:10 -05:00
cahrens
8f19128d83
Fix unit tests so they are testing aria-expanded.
2016-02-01 14:01:05 -05:00
Douglas Hall
263c71a6d7
Fix PHX-246
2016-01-29 20:45:07 -05:00
Douglas Hall
dce3d9ca81
Merge pull request #11014 from edx/douglashall/PHX-219/subsection_gating
...
PHX-219 Subsection Gating
2016-01-29 11:05:39 -05:00
Adam Palay
cf28ed9491
fix typo on certificate page
2016-01-29 09:12:46 -05:00
zubair-arbi
da8a2d9b4c
add edx-organizations api urls in lms
...
ECOM-3558
2016-01-29 18:29:07 +05:00
Zia Fazal
6e861f266b
Merge pull request #11352 from edx/ziafazal/WL-209
...
ziafazal/WL-209:Cert Social Sharing customization
2016-01-29 16:50:17 +05:00
Zia Fazal
06e38e1c24
added branding to 404 and 500 error pages
...
changes based on feedback
renamed a definition and added test coverage
fixed broken tests
2016-01-29 15:46:51 +05:00
Asad Iqbal
87d9a07931
Merge pull request #11242 from edx/asadiqbal08/WL-243-manual-lang
...
WL-243 LMS Language Selection
2016-01-29 14:07:46 +05:00
M. Rehan
b427da7185
Merge pull request #11350 from edx/mrehan/unwanted-discussion-modules
...
Fix - skip orphans while getting discussion modules
2016-01-29 12:46:02 +05:00
Matjaz Gregoric
266f593d2d
Remove ThemingAware storage mixins and ComprehensiveThemeFinder.
...
Collectstatic failed in production when comprehensive theme contained custom css files.
This patch fixes that problem by removing ComprehensiveThemeFinder from STATICFILES_FINDERS
and ComprehensiveThemingAware mixin from STATICFILES_STORAGE.
Comprehensive theme static dirs are added to the top of the STATICFILES_DIRS entry,
which means that the default django FilesystemFinder will find theme static files,
and since the theme folder is at the top of STATICFILES_DIRS, theme files will take
precedence over default LMS/CMS static files.
This change means that theme static file URLs are no longer prefixed with themes/<theme-name>/,
but since we currently only support one comprehensive theme at a time, that shouldn't be a problem.
If/when we want to make the choice of a theme dynamic per-request (microsites?), we will have to
bring custom theme finders and storage mixins back, but for now, we don't need them.
2016-01-29 08:28:18 +01:00
Matjaz Gregoric
3259df5412
Merge pull request #11315 from open-craft/comprehensive-theme-on-django-templates
...
Make comprehensive theme work with django templates.
2016-01-29 08:17:23 +01:00
M. Rehan
31b180beb3
Skip orphans while getting discussion modules
2016-01-29 11:09:00 +05:00
Douglas Hall
22eda46e5f
Merge pull request #11368 from edx/hotfix/2016-01-28_release_into_master
...
Merging release into master
2016-01-28 14:12:29 -05:00
Douglas Hall
37a7fdc0f2
Added subsection gating feature
2016-01-28 14:05:20 -05:00
Douglas Hall
22430f610b
Merge branch 'release' into hotfix/2016-01-28_release_into_master
2016-01-28 12:40:00 -05:00
Peter Fogg
6e6c397776
Reenable course home improvements check.
...
This was disabled some time ago due to PLAT-900, which caused cached
objects to be unpickled and used in new code which could expect to
find new fields that didn't exist on the old objects. That issue is
now fixed.
ECOM-2853
2016-01-28 11:33:45 -05:00
asadiqbal
99b883b7be
WL-243 LMS Language Selection
2016-01-28 20:07:26 +05:00
Douglas Hall
2447540d5f
Updated proctored/timed exam header bar text; Upgraded edx-proctoring to pull in additional text changes
2016-01-28 09:40:14 -05:00
Christine Lytwynec
092eae9ff3
Merge pull request #11130 from edx/clytwynec/ac-75
...
AC-75 and AC-73
2016-01-28 08:52:40 -05:00
Ahsan Ulhaq
0c55f17d81
Merge pull request #11347 from edx/ahsan/credentials-feature-changes
...
Credentials Feature changes reverted in release
2016-01-28 15:28:49 +05:00
Zia Fazal
463e8c82cf
Cert Social Sharing customization
...
changes after feedback from matte
2016-01-28 14:26:48 +05:00
Ahsan Ulhaq
9220420925
Add jwt auth in LMS
...
ECOM-3419
2016-01-28 14:00:58 +05:00
Awais Jibran
7d8936e328
Merge pull request #11346 from edx/aj/ecom-3525-add-logging-in-remove-user-from-cert-exception
...
Add logging when user is removed from exception list
2016-01-28 13:56:52 +05:00
Ahsan Ulhaq
70eaf18936
caching for requests to credentials service
...
ECOM-3278
2016-01-28 13:05:50 +05:00
Ahsan Ulhaq
5181513629
Show message for earned programs credentials
...
ECOM-3015
2016-01-28 13:05:50 +05:00
Ahsan Ulhaq
b11e312d2c
Create placeholder django apps for credentials
...
ECOM-3057
2016-01-28 13:05:49 +05:00
Nimisha Asthagiri
08a2bc9620
Merge pull request #11358 from edx/release
...
Hotfix for MA-1981 and safe sessions
2016-01-27 15:53:20 -05:00