Robert Raposa
29fe2c7b0c
Move markup helpers to djangolib
2016-02-05 02:42:43 -05:00
Nimisha Asthagiri
599173c6b6
Merge pull request #11198 from edx/block-cache/collect-phase
...
Refactor Block Cache to separate Collect and Transform phases
2016-02-03 20:18:09 -05:00
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
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
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
fd397964b3
Styling and template changes for the Course Home page.
...
ECOM-2810
2016-02-03 12:20:53 -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
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
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
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
Douglas Hall
37a7fdc0f2
Added subsection gating feature
2016-01-28 14:05:20 -05:00
Ahsan Ulhaq
9220420925
Add jwt auth in LMS
...
ECOM-3419
2016-01-28 14:00:58 +05:00
Tasawer
394601f301
Update 'certificate_url' field for view certificate on learner dashboard.
...
ECOM-3281
2016-01-28 13:08:38 +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
8a280559dd
Added configuration model for credentials
...
ECOM-3033
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
Giovanni Di Milia
e63194c1cd
Added CCX REST APIs
...
CCX REST APIs
OAUTH2 authorization for CCX APIs
- oauth2 authorization required for ccx list.
- Course-instructor permission for ccx api endpoint
- Protection for detail view too.
Tests for CCX REST APIs and OAUTH2 authorization
2016-01-27 11:04:28 -05:00
Nimisha Asthagiri
e76e05fa77
Specially handle login redirect for mobile apps
2016-01-26 17:23:04 -05:00
Nimisha Asthagiri
f3cb692472
Safe Session Cookies Middleware
2016-01-26 17:23:03 -05:00
jsa
46638d7f75
fix reference to reverted test method.
2016-01-26 13:18:00 -05:00
Adam Palay
c37715a7c7
Merge remote-tracking branch 'origin/release' into merge-release-into-master
...
Conflicts:
requirements/edx/base.txt
requirements/edx/github.txt
2016-01-26 11:25:41 -05:00
Matt Drayer
b575d50ae0
Merge pull request #11287 from edx/ziafazal/WL-287
...
ziafazal/WL-287: moved IS_EDX_DOMAIN dependent features to edx.org theme
2016-01-25 22:27:25 -05:00
Cliff Dyer
f0908249ca
Merge pull request #11301 from edx/cdyer/exif-rotation
...
Preserve EXIF orientation data for profile images. (MA-1559)
2016-01-25 15:27:17 -05:00
Adam Palay
46066c04af
resolve quality violation
2016-01-25 15:04:19 -05:00
J. Cliff Dyer
2b6ae74885
fixup: dedupe test code.
2016-01-25 19:22:58 +00:00
Jim Abramson
a48b8b27bf
Merge pull request #11318 from edx/jsa/ecom-3523
...
Add COURSE_CERT_AWARDED signal and celery task stub
2016-01-25 14:10:49 -05:00
Adam Palay
bb2d75d80e
Revert "Merge pull request #11241 from edx/feature/credentials-phase-1"
...
This reverts commit 46df454536 , reversing
changes made to 039e6cdfe6 .
2016-01-25 12:46:57 -05:00
Adam Palay
6b937a8db3
Revert "Merge pull request #11311 from edx/jsa/fail-safe-reverse"
...
This reverts commit 0d1765e190 , reversing
changes made to d2eaa63353 .
2016-01-25 12:45:50 -05:00
jsa
9d141ae7a1
Add config switch + signal for generating program certs.
...
ECOM-3523
2016-01-25 10:54:28 -05:00
J. Cliff Dyer
d5a96ee0ff
Preserve EXIF orientation data for profile images.
...
When creating profile images from an uploaded file, ensure that EXIF
orientation information is preserved, so profile images appear
right-side-up.
https://openedx.atlassian.net/browse/MA-1559
2016-01-25 15:23:23 +00:00
Matjaz Gregoric
9b89bd3245
Make comprehensive theme work with django templates.
...
Comprehensive theming did not work with django templates (used by course wiki).
The reason it didn't work was that in order for the theme to work, theme template folder
has to be added to django template dirs setting *before* django startup.
After django startup, modifying `settings.DEFAULT_TEMPLATE_ENGINE['DIRS']` has no effect,
because at that point the template engine is already initialized with a copy of the
template dirs list.
Instead of running the theme startup code as an autostartup hook, we manually run it
*before* `django.setup()`. This is fine because theme startup code doesn't have to do
anything else besides modifying some settings and doesn't actually need django to be
initialized.
2016-01-25 08:45:52 +01:00
Zia Fazal
c0648ab164
moved IS_EDX_DOMAIN dependent feature to edx.org theme
2016-01-22 15:32:19 -05:00
jsa
f65c5b9ce3
ensure reverse migration to delete a specific row won’t fail.
2016-01-22 14:55:51 -05:00
Saleem Latif
2d83449240
Remove microsite_configuration/microsite.py references from individual templates
...
* mattdrayer: Updated get_themed_template_path
2016-01-22 14:27:58 -05:00
Awais Jibran
c2255ef0d6
Merge pull request #11226 from edx/aj/ecom3384-course-image-breaking
...
Studio - Schedule & Details tab broken
2016-01-22 18:56:15 +05:00
Ahsan Ulhaq
46df454536
Merge pull request #11241 from edx/feature/credentials-phase-1
...
Feature/credentials phase 1
2016-01-22 18:39:53 +05:00
Awais Jibran
8a6699a46d
Studio breaks DEFAULT_COURSE_ABOUT_IMAGE_URL is not set in settings in cms
...
ECOM-3384
2016-01-22 16:49:57 +05:00
Ahsan Ulhaq
bcb8afb2c4
Add jwt auth in LMS
...
ECOM-3419
2016-01-22 13:00:36 +05:00
Peter Pinch
02a7d6eb47
Merge pull request #10931 from mitocw/gdm_push_ccx_info_to_connector_#128
...
Added CCXCon app and CCXCon URL in course advanced settings
2016-01-20 14:28:48 -05:00
Giovanni Di Milia
bb36ab013f
Added CCXCon app
...
The CCXCon app is used to push course updated to the CCXCon
externale service.
2016-01-20 10:47:37 -05:00
Saleem Latif
6c8c67cad5
Remove microsite_configuration/templatetags/microsite.py references from individual templates.
2016-01-20 14:36:07 +05:00
Ahsan Ulhaq
8798ee0f53
Add credentials service user
2016-01-20 12:51:48 +05:00
Tasawer
6e14461adc
Update 'certificate_url' field for view certificate on learner dashboard.
...
ECOM-3281
2016-01-20 12:51:48 +05:00
Ahsan Ulhaq
8fb998fee7
caching for requests to credentials service
...
ECOM-3278
2016-01-20 12:51:28 +05:00
Ahsan Ulhaq
4ce58a6f67
Show message for earned programs credentials
...
ECOM-3015
2016-01-20 12:50:30 +05:00
Ahsan Ulhaq
2cec045d92
Added configuration model for credentials
...
ECOM-3033
2016-01-20 12:50:29 +05:00