Ahsan Ulhaq
20e6c7625c
LMS: Modification in enrollment API
...
Added CourseEnrollmentAttribute model
ECOM-1719
2015-06-16 10:39:04 +05:00
Will Daly
2175b5baa4
Merge pull request #8509 from edx/will/deprecate-course-about-v0
...
Deprecate course details API v0
2015-06-15 13:14:32 -04:00
Calen Pennington
9821323946
Merge pull request #8504 from cpennington/bdero/ccx-query-tests
...
A version of #8260 that is consistent on jenkins and locally
2015-06-15 11:51:33 -04:00
Calen Pennington
1e0163a27a
Make RequestCache.clear_request_cache a classmethod
2015-06-15 09:50:44 -04:00
Sarina Canelake
7b09ab5e00
dark_lang: only allow released langs in accept header LOC-72, LOC-85
...
Only return languages we've actually released LOC-85
Perform fuzzy matching to greedily serve the best released language LOC-72
2015-06-12 18:14:26 -04:00
Sarina Canelake
e4cd2982d4
Store released dark_lang codes as all lower-case
2015-06-12 18:14:25 -04:00
Sarina Canelake
182beed2b6
Port django.utils.translation.trans_real.parse_accept_lang_header from Django 1.8
...
Add to dark_lang middleware
2015-06-12 18:14:25 -04:00
Sarina Canelake
d312d0e152
Port django.middleware.locale.LocaleMiddleware from Django 1.8
2015-06-12 18:14:24 -04:00
Calen Pennington
83fce4d61f
Merge pull request #8395 from jazkarta/ccx-custom-ids
...
MIT CCX: Use CCX Keys
2015-06-12 16:19:12 -04:00
Will Daly
c31a510607
Deprecate course details API v0
2015-06-12 15:59:20 -04:00
Nimisha Asthagiri
4921ec48c8
MA-792 Course Blocks and Navigation API (user-specific)
2015-06-12 09:27:20 -04:00
cewing
6a0c9aee9d
MIT CCX: Use CCX Keys
...
Implement the use of CCX opaque keys throughout the ccx code base
include the new custom ccx id package in the github checkouts list
update the coach dashboard wrapper to get CCX information from the incoming course_id, if possible
update function signatures for all view functions to expect CCX as passed by the dashboard wrapper (default to None), remove calls to get_ccx_for_coach as the ccx is passed in.
update reverse calls in python view code to use a CCXLocator for the URL instead of a CourseLocator
use CCXLocator where necessary
use course id to find ccx, instead of thread local
remove unused method and related tests
use course id for getting ccx
provide course id to the get_current_ccx method
ensure the course id passed in is a CourseKey instance of some type whether it starts out as a string or not
use the provided block to figure out what the course_id should be, then get the ccx for that
redirect to ccx dashboard using coach ccx if no ccx is passed in
update student dashboard listing for ccx to build an appropriate url from a CCXLocator, not from the course locator.
refactor building the ccx locator so we don't have to do it repeatedly
begin test refactoring after ccx_keys introduction
Ensure that when access checking happens, the course_locator form of a ccx locator is used. This ensures that the access check happens against the course and it is not necesarry to duplicate the entire access control structure for the course.
pick up api change in ccx-keys
create and conditionally use a wrapper for the mixed modulestore returned by xmodule.modulestore.django.modulestore
the wrapper will strip and restore ccx values from CourseKey and UsageKey objects
fix return values on a few methods
remove unused symbol
pull updated ccx-keys package
set course_id on the caching descriptor system to avoid api incompatibilities in some subsystems
use ccx.course instead of self.course
fix get method to find course keys from blocks that are not themselves keys but have a location attribute (which will be a key)
if an item coming out of the db has children, restore the ccx to them as well
if the block passed in has a CCX key, unwrap that before we try to look up the override, otherwise it will never be found.
pick up a change in the ccx keys package that allows for stripping CCX identity from a usage key
begin writing tests to cover this modulestore wrapper
remove the switch_pocs view, the url pattern for it, and the tests that covered it
remove the ccx context and the middleware responsible for setting the current CCX. These are no longer needed
all dashboard views should raise 404 if a ccx is not provided by the coach_dashboard decorator
code quality
prevent errors resulting from trying to `get` a ccx based on non-unique criteria.
remove obsolete usage of ACTIVE_CCX_KEY
fix setUp method for grading tests to properly create grades for the ccx rather than for the course.
clean up reverse calls
code quality
adding docstrings to clarify purpose of this patch
fix bug in getting ccx for coach
fix grading views to properly fetch a ccx-ified course so that grades for that version will be calculated
fix small errors in modulestore implementation
fix errant merge marker
update call to get_current_ccx after key refactoring merged with tab changes
2015-06-12 00:01:24 -07:00
Edward Zarecor
c12c5c926d
fixing post-release merge conflicts with DKH
2015-06-10 16:56:21 -04:00
Will Daly
5198257cbe
Merge pull request #8461 from edx/will/verify-student-cleanup
...
Remove unused code left over from ECOM-188.
2015-06-10 14:44:51 -04:00
Matt Drayer
4dd55609ab
Merge pull request #8430 from edx/asadiqbal08/SOL-971
...
SOL-971
2015-06-10 14:21:42 -04:00
Will Daly
69306da49a
Remove unused code left over from ECOM-188.
2015-06-10 13:08:23 -04:00
Awais
d5ca25e197
ECOM-1644 minor message updation.
2015-06-10 22:08:23 +05:00
asadiqbal
302d7a0152
SOL-971
...
Allow microsites to override content
more test checks
Fix pylint error (duplicate import)
SOL-971 Changes
2015-06-10 19:26:30 +05:00
Awais Qureshi
16bbdc7fca
Merge pull request #8329 from edx/awais786/ECOM-1494-remove-midcourse-models
...
ECOM-1494 removing models.
2015-06-10 18:24:39 +05:00
Tyler Nickerson
767ccbd1e7
Merge pull request #8235 from edx/nickersoft-include-expired
...
Added optional GET parameter to the enrollment API that includes expired course modes
2015-06-10 09:01:04 -04:00
Awais
ed02d9cc5c
ECOM-1494 removing models only.
2015-06-10 11:19:51 +05:00
Nickersoft
8c1d3ae412
Added includes_expired parameter to enrollment API
...
- Adding ?include_expired=1 to course detail requests will now include expired course verifications
2015-06-09 17:12:30 -04:00
Sarina Canelake
85f5708d6b
Merge pull request #8388 from edx/sarina/allow-preview-of-launched-langs
...
Allow released languages to be previewed under dark lang
2015-06-09 15:04:46 -04:00
Awais
956e41348e
ECOM-1644 Implementing course-access roles.
2015-06-09 15:29:19 +05:00
Jim Abramson
a7ebe17dfb
Merge pull request #8414 from edx/jsa/fix-deactivate-enrollment
...
Jsa/fix deactivate enrollment
2015-06-08 13:09:54 -04:00
jsa
445d0dabb6
Correct deactivation logic in enrollment api and test.
...
XCOM-396
2015-06-08 11:06:52 -04:00
Sarina Canelake
780ec6ee2c
Allow released languages to be previewed under dark lang
2015-06-06 09:49:06 -04:00
Sarina Canelake
e53b9c83d9
Use Django 1.4 @ensure_csrf_cookie method PLAT-664
2015-06-06 08:48:36 -04:00
Nimisha Asthagiri
d240785b17
MA-722 Render xBlock API Support
2015-06-05 11:18:48 -04:00
Tim Krones
f711a32e3d
TNL-1652: Allow instructors to obtain CSV file listing students who may
...
enroll in a course but have not signed up yet.
2015-06-04 20:50:04 +02:00
Jim Abramson
373d948c8b
Merge pull request #8356 from edx/jsa/xcom-388
...
Add tests for enrollment deactivation under various modes.
2015-06-04 10:48:12 -04:00
jsa
445a0c938b
Add tests for enrollment deactivation under various modes.
...
A bug with the creation of inactive honor enrollment modes was caught and fixed along the way.
XCOM-388
2015-06-04 09:40:54 -04:00
Peter Fogg
63c3af737c
Add student bio max_length to migrations.
2015-06-03 17:07:02 -04:00
Ben McMorran
9d336c33eb
TNL-1897 Implement Course Team API
2015-06-03 18:04:17 +00:00
Braden MacDonald
ce83f5cf35
Merge pull request #8077 from open-craft/keyed-config-model-2
...
Keyed ConfigurationModel + Admin functionality
2015-06-02 16:12:41 -07:00
Calen Pennington
8f6be8ab96
Allow for keyed ConfigurationModels + New Admin UI
2015-06-02 14:50:45 -07: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
Muhammad Shoaib
65c4f1df89
SOL-236 Manual Enrollments
2015-06-02 13:19:32 -04:00
Andy Armstrong
94e1c42314
Add extensible course view types for edX platform
2015-06-02 13:12:40 -04:00
Christina Roberts
46cb847eb9
Merge pull request #8306 from edx/christina/delete-unused-methods
...
Delete change_email_request and lang_pref_set_language
2015-06-02 11:30:35 -04:00
cahrens
410beb8485
Delete unused methods.
...
This functionality is provided to the user_api accounts and preferences api.
TNL-1701
2015-06-02 10:03:19 -04:00
Ned Batchelder
cc5c1001d1
Fix simplifiable-range pylint warnings.
2015-06-02 09:47:13 -04:00
Matt Drayer
af7277cdd9
New Feature: Certificates Web View
...
- SOL-465: Initial implementation of certificates web view and signatories (names/titles)
- SOL-718 Close button is working properly
- SOL-801 Backbone Signatories Modeling
- SOL-803 Underscore template: Editor (Add)
- SOL-802 Signatories: Underscore template - Details
- SOL-804 Signatories: Underscore template: Editor (Edit)
- Add signatory delete Django view
- SOL-805 Signatory editor (Delete)
- Add Coffeescript router
- SOL-716 Jasmine Tests
- Added missing minified JS library
- client side validation of signatory fields
- SOL-390 signatories names
- Remove obsolete extends Sass files
- input maxlength limiting for signatory information
- SOL-389: Course title override
- SOL-466: Add capability to upload digitized signatures in Studio
- ziafazal: fixed css for upload signature image
- ziafazal: completed deletion of signature images
- UX-1741: Add initial static rendering/styling for Open edX web certs
* creating new global static dir
* adding static version of edX UX pattern library assets
* adding web certificates static assets
* adding static (+abstracted) web certificates rendering
* creating two tiers of rendering (base + distinguished)
* providing sample assets for certificate rendering
* supporting RTL layouts
* adding certifcates assests to edX static asset pipeline
* temporarily hiding the mozilla open badges share action
* wiring print button to print view/page
* fixup! addressing conflict artifact in valid cert template
* fixup! adding missing %hd-subsection sass extend + components comment clean up
* fixup! correcting pattern library .hd-4 font-weight value
- SOL-468 Linked Student View for Web View Credential
- SOL-467: Add capability to upload organization logos for certificates
- SOL-391 / SOL-387: Signatory related info (assets) in certificates web view
- kelketek: Fixes for static asset collection in certificate HTML view.
- SOL-398 Web View: Public Access
- mattdrayer: Post-merge branch stabilization
- catong: Initial changes to Studio template and Help config file
- ziafazal: Branch stabilizations
- SOL-387: Display organization logo on LMS web view
- talbs/mattdrayer: Branch Stabilizations
- talbs: converting backpack action to use a button HTML element
- talbs: revising placeholder assets + their rendering in cert view
- mattdrayer: Username web view wireup
- SOL-386 Certificate Mode Previews
- SOL-905: Make organization logo and signatory signature uneditable
- SOL-922: Improve test coverage
- SOL-765: Add LinkedIn sharing
- [marco] temporary styling adjustment to account for smaller linkedin share image / fake button
- SOL-921: Address hardcoded template items
- SOL-927: Deleting certificate should delete org logo image also
* updated invalid template
* removed hr
* fix invalid certificate error
- clrux: Add i18n to certificate templates and partials
- mattdrayer: Pylint violations
- SOL-920 Certificate Activation/Deactivation
- mattdrayer: Added LMS support
- SOL-932: Fix preview mode support in certificate view
- SOL-934: Fixed bug reported and broken tests
- SOL-935 removed the 'valid' word from web view title
- talbs: RTL support updates/fixes
* revising certificate type icon/name vertical alignment
* removing unused older certificate template
* revising styling for message/banner actions
* abstracting accomplishment type to use course mode + adding in honor/verified-specific placeholders
- mattdrayer: JSHint violations
2015-06-01 19:48:04 -04:00
Daniel Friedman
9e0dcb7239
Add JSON response to auto_auth with anonymous_id
2015-06-01 14:21:42 -04: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
Awais Qureshi
5c5ec5c471
Merge pull request #8157 from edx/awais786/ECOM-1494-deprecate-midcourse-code
...
Awais786/ecom 1494 deprecate midcourse code
2015-05-28 12:25:48 +05:00
Nimisha Asthagiri
8aae4023f9
MA-738 OAuth2 token exchange for session cookie.
2015-05-27 07:35:31 -04:00
Awais
d0df626685
ECOM-1494 removing code from models.
2015-05-27 16:32:26 +05:00
Sarina Canelake
29c86032ec
Merge pull request #8181 from IONISx/tusbar/fix-enrollment-api-doc
...
Fix documentation comment for enrollment API
2015-05-26 16:13:14 -04:00