Commit Graph

386 Commits

Author SHA1 Message Date
Ben Patterson
1032d37271 Revert "Public Course Import/Export API (continued)" 2015-10-23 20:02:34 -04:00
Peter Pinch
e7708e5a04 Merge pull request #8942 from mitocw/bdero/import-export-reprise
Public Course Import/Export API (continued)
2015-10-23 15:03:38 -04:00
Andy Armstrong
054aa95b26 Allow non-public XBlock assets in debug mode 2015-10-22 11:09:02 -04:00
tasawernawaz
450e625d97 Merge pull request #10280 from edx/tasawer/story/ecom-2538-fix-for-multiple-providers
Fix parameter name issue for multiple providers
2015-10-22 09:48:22 +05:00
AlasdairSwan
c622f03a6a Merge pull request #10288 from edx/release
Release 2015-10-21
2015-10-21 13:16:35 -04:00
Tasawer
65c93d7ad5 Fix for multiple provider ids
ECOM-2538
2015-10-21 13:54:59 +00:00
Ned Batchelder
a0c25f88c3 Merge pull request #10279 from edx/ned/cleaner-django-meta
No need for docstrings on "class Meta"
2015-10-21 09:35:40 -04: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
017477a8d7 MA-1281 User Account: added account_privacy field in GET and PATCH 2015-10-21 11:33:38 +05:00
Sarina Canelake
15d1aa3ad4 Merge pull request #10257 from edx/sarina/update-profile-wording
Create distinct terms for gender, education sign up terms
2015-10-20 20:06:14 -04:00
Sarina Canelake
105d611cc9 Create distinct terms for gender, education sign up terms 2015-10-20 18:55:51 -04:00
David Ormsbee
4ac9725793 Remove foreign key constraint on CourseOverviewTab -> CourseOverview
This will allow v1 code of CourseOverview to delete entries. While
this is not a good thing in general (and future versions will ignore
entries with higher versions than they support), this is necessary
to prevent errors with the existing code in a rollback situation.
Otherwise, old code trying to delete CourseOverview entries will
fail with a foreign key constraint violation.
2015-10-20 15:30:31 -04:00
David Ormsbee
3cd348008d CourseOverview will only delete old versions of saved data.
Previously, CourseOverview would delete data for any version
that didn't match the current one. That could cause problems
during deploys, when multiple versions of CourseOverview
were active. They would overwrite each other, and that could
cause problems if the old one overwrote the new one -- in
our case, the new one created a new table with foreign key
links that the old one was unaware of, and trying to delete
it would have caused an error.
2015-10-20 15:03:50 -04:00
J. Cliff Dyer
257dcc54f2 Accept raw image data as Content-type: image/*
MA-1416

Created a TypedFileUploadParser that validates the mimetype and then
takes the content and puts it on request.FILES['file'].  Subclasses the
existing FileUploadParser.

Use namedtuple in IMAGE_TYPES as per style guide:
https://github.com/edx/edx-platform/wiki/Python-Guidelines#classes-vs-dictionaries
2015-10-20 13:23:28 -04:00
Sarina Canelake
8970eae710 Merge pull request #10182 from open-craft/logistration-translations
Translate education/gender options in registration form LOC-73
2015-10-19 13:57:21 -04:00
Matjaz Gregoric
58e92b52ef LOC-73: Translate education/gender options in registration form.
The education level and gender choices weren't being translated for
display on the combined login/registration form.
2015-10-19 16:21:30 +02:00
Matt Drayer
1eab25f292 mattdrayer/increment-edx-lint: Bump to v0.2.9 and address pylint/pep8 violations
* Fix paver violations to stablize edx-lint update
* Parens, Line2Long
* Fix missing docstrings
* Fix PEP8 issues
* Address PR feedback (thanks @nedbat!)
2015-10-19 10:11:59 -04:00
Justin Abrahms
82c6ab50d4 Don't double-create temp directories. 2015-10-15 09:47:41 -07:00
Ahsan Ulhaq
7fa9d73a4c Update Credit Eligibility Table for Skips
ECOM-2551
2015-10-15 19:03:07 +05:00
wajeeha-khalid
90fe71dbfe MA-1248 - CourseEnrollmentAPI: added discussion URL 2015-10-09 19:04:55 +05:00
Usman Khalid
f6193c872e Merge pull request #10059 from edx/usman/use-included-staticfiles-app
Upgrade django pipeline to v.1.5.3.
2015-10-08 16:10:36 +05:00
Clinton Blackburn
c1686a939c Merge pull request #10072 from edx/release
Hotfixes for 2015-10-06
2015-10-07 10:09:03 -04:00
Clinton Blackburn
d9007455c1 Removed mailing address from provider request
Given the time crunch this is the safest option for dealing with newlines.

ECOM-2492
2015-10-06 14:15:14 -04:00
Usman Khalid
dbcd1bf430 Use django.contrib.staticfiles instead of django-staticfiles.
TNL-3137
2015-10-06 19:52:38 +05:00
wajeeha-khalid
9472f70d64 MA-1341 User Account: returned updated value from Patch
updated docstring
2015-10-06 17:45:49 +05:00
Clinton Blackburn
17f0193362 Merge pull request #10044 from edx/merge-release-into-master
Merging changes for hotfix/2015-10-05
2015-10-05 16:11:31 -04:00
Brian Beggs
143ca802ae Merge pull request #10043 from edx/revert-9934-usman/use-included-staticfiles-app
Revert "Upgrade django-pipeline and staticfiles"
2015-10-05 15:29:17 -04:00
Bill DeRusha
fe23052511 Merge pull request #9979 from edx/bderusha/boardman-traffic
Add IP to all python Segment tracking calls
2015-10-05 14:55:55 -04:00
Clinton Blackburn
f967cfce8b Merged release to master
Resolved conflicts from hotfix-2015-10-05
2015-10-05 14:46:32 -04:00
Brian Beggs
0ca679e244 Revert "Upgrade django-pipeline and staticfiles" 2015-10-05 14:40:28 -04:00
Clinton Blackburn
775ca26c3a Limited grades to seven characters
ECOM-2433
2015-10-05 11:58:08 -04:00
Clinton Blackburn
0dba843608 Multiple credit fixes
- Added support for Unicode characters when creating the signature
- Using <textarea> for form data to support newline characters
- Generating form with jQuery instead of relying on existing DOM element
- Removed duplicated credit request code
- Corrected spaing on dashboard
- Enabled functionality by default

Dashboard cleanup
-- Cleaned styles
-- Added wrapper class to use for hiding the actions
-- Cleaned JS toggling of error container
-- Corrected dashboard and receipt text

ECOM-2172
2015-10-05 09:35:10 -04:00
Usman Khalid
0ce679fc06 Merge pull request #9934 from edx/usman/use-included-staticfiles-app
Upgrade django-pipeline and staticfiles.
2015-10-02 22:37:24 +05:00
David Baumgold
0219e18fa8 Merge pull request #10023 from edx/release
Release into master
2015-10-02 12:58:50 -04:00
Usman Khalid
2b59d46a31 Use django.contrib.staticfiles instead of django-staticfiles.
TNL-3137
2015-10-02 18:26:25 +05:00
Bill DeRusha
ca6633bd98 Add IP to all python Segment tracking calls 2015-10-01 21:21:16 -04:00
Bill DeRusha
bcb71a3255 Rename SEGMENT_KEY to have a unique key name for both CMS and LMS 2015-10-01 19:40:27 -04:00
Cliff Dyer
b85ea12a15 Merge pull request #9958 from edx/cdyer/MA-1280-restful-conventions
Make the profile_image api more restful.
2015-10-01 17:13:33 -04:00
Clinton Blackburn
8f1ff11b47 Limited grades to seven characters
ECOM-2433
2015-10-01 15:10:48 -04:00
J. Cliff Dyer
e200015cfc Make the profile_image api more restful. MA-1280
Deprecate the views at /api/profile_images/v1/{username}/upload and
/api/profile_images/v1/{username}/remove and replace them with GET and
POST methods at /api/user/v1/accounts/{username}/image
2015-10-01 18:39:24 +00:00
muzaffaryousaf
b2ebb680de DRF uses query_params instead of QUERY_PARAMS.
TNL-3442
2015-09-30 20:45:40 +05:00
Ned Batchelder
8ec2de9359 DRF 3.1 now uses request.data instead of request.DATA 2015-09-29 15:25:55 -04:00
Bill DeRusha
a6873cb883 Merge pull request #9875 from edx/bderusha/segment-cleanup
Segment Clean Up
2015-09-29 10:33:03 -04:00
Brian Beggs
d9de52751d Merge remote-tracking branch 'origin/release' into bbeggs/2015-09-22-release-to-master 2015-09-28 20:58:34 -04:00
Ben Patterson
2fd6add524 Revert "Merge DRF 3.1 in to master" 2015-09-28 17:12:43 -04:00
Brian Beggs
53524efbd8 Fixes for rebasing of the release on 2015-09-23 2015-09-28 11:52:33 -04:00
Will Daly
322db6de7a TNL-3316: Error on Insights performance report
Preserve DRF v2 behavior of defaulting to None
for missing keys in the grading policy dictionary.
2015-09-28 11:52:32 -04:00
Will Daly
d11ccad0fc 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-28 11:52:30 -04:00
Brian Beggs
144c347387 Fixes for rebasing of the release on 2015-09-23 2015-09-25 12:40:58 -04:00
Will Daly
d6c7d8d383 TNL-3316: Error on Insights performance report
Preserve DRF v2 behavior of defaulting to None
for missing keys in the grading policy dictionary.
2015-09-25 12:40:57 -04:00