Commit Graph

19593 Commits

Author SHA1 Message Date
Feanil Patel
0ccbd23d02 Merge pull request #20918 from amitvadhel/INCR-465
INCR-465: Updates on Python 3.x and disable: import-error
2019-07-01 10:37:01 -04:00
jansenk
4c93bcbf8f Add put endpoint for program enrollments, rework program enrollment view 2019-07-01 09:33:30 -04:00
amitvadhel
80715c80f6 INCR-465: Updates on Python 3.x and disable: import-error 2019-06-28 22:08:53 +03:00
adeelehsan
2d369490dd Flag added to load limited courses on Dashboard
Dashboard is set to load 250 courses instead of
all the courses. A flag is also added to change
the number the courses to load.

PROD-204
2019-06-28 22:51:41 +05:00
Michael Youngstrom
139cdb8ba2 Switch testing from ecs to ec2 (#20846) 2019-06-27 22:04:02 -04:00
Feanil Patel
c5b86eb5c7 Merge pull request #20384 from open-craft/symbolist/video-xblock
VideoModule to VideoBlock [SE-602]
2019-06-27 16:23:00 -04:00
Uzair Rasheed
c3af0ed3f1 Merge pull request #20848 from edx/LEARNER-7155/update-entitlement-support-view
Update enrollment support view
2019-06-28 00:11:10 +05:00
adeelehsan
72c5cb09e3 Merge pull request #20889 from edx/aehsan/INCR-471
Python3 update
2019-06-27 19:17:53 +05:00
Usama Sadiq
7920d2cb91 Merge pull request #20888 from edx/usama/INCR-470
INCR-470
2019-06-27 18:53:26 +05:00
uzairr
789a48e27b Update enrollment support view
Currently, entitlement view is not displaying any message if there
are no records against a query.To improve user experience, changes
have been made so that a proper message would be displayed.

LEARNER-7155
2019-06-27 14:48:05 +05:00
uzairr
575589f8a5 Python-modernize on edx-platform (369 of 380) 2019-06-27 13:21:50 +05:00
usama sadiq
7a5f0b7d24 Pylint Warning Supression Removed 2019-06-27 12:15:06 +05:00
usama sadiq
23b2039c87 Python3 Update
Added future absolute_import
changed unicode() with six.text_type()
2019-06-27 12:15:06 +05:00
Adeel Khan
9e53071ef0 Fixes template for incorrect trans escaping. 2019-06-27 11:40:43 +05:00
Feanil Patel
729495e1aa Merge pull request #20871 from amitvadhel/INCR-475
Incr 475
2019-06-26 14:51:15 -04:00
Feanil Patel
615b9c7dae Merge pull request #20868 from amitvadhel/INCR-474
Incr 474
2019-06-26 14:17:09 -04:00
atesker
c99e4ebb80 backend - send simple history via api
EDUCATOR-4353 code review comments
2019-06-26 10:01:12 -04:00
Uzair Rasheed
88835c3cc4 Merge pull request #20865 from edx/INCR-478/python-modernize-375-of-380
Python-modernize on edx-platform (375 of 380)
2019-06-26 18:57:12 +05:00
Christie Rice
3415824451 REVMI-280 Add course name and announcement to message (#20895) 2019-06-26 09:23:33 -04:00
usama sadiq
d2c78b7734 Update to Python3
Added the import statements
2019-06-26 11:18:51 +05:00
Usama Sadiq
0105e7bdce Merge pull request #20866 from edx/usama/INCR-481
INCR-481
2019-06-26 11:12:29 +05:00
Simon Chen
d48ba26d50 Update LMS API to send correct response status code 2019-06-25 19:40:42 -04:00
Calen Pennington
39efc54a27 Merge pull request #20884 from cpennington/discount-no-previous-purchase
REVEM-289: Discount no previous purchase
2019-06-25 17:12:19 -04:00
Calen Pennington
f07f2121ba Make has_non_audit_enrollments exclude entitlements 2019-06-25 16:44:36 -04:00
Calen Pennington
388fac3b9c Make has_non_audit_enrollments exclude honor courses correctly 2019-06-25 16:44:36 -04:00
Douglas Hall
0f045ab5db Add analytics tracking to Discover New header link. (#20896) 2019-06-25 16:36:59 -04:00
Feanil Patel
52a5c81589 Merge pull request #20883 from amitvadhel/INCR-459
INCR-459: Run python-modernize and isort
2019-06-25 15:20:18 -04:00
Simon Chen
a86e8d4f19 EDUCATOR-4361 Add PUT api endpoint to the edx-plaform program course enrollment view 2019-06-25 15:12:22 -04:00
Ned Batchelder
aa13a634a6 Merge pull request #20821 from edx/nedbat/drf-yasg
Upgrade djangorestframework and install drf-yasg to get better OpenAPI support
2019-06-25 13:49:13 -04:00
Feanil Patel
0af26561b2 Merge pull request #20876 from amitvadhel/INCR-473
INCR-473: Make compatible with Python 3.x
2019-06-25 12:57:02 -04:00
Nadeem Shahzad
441d2e44b9 Merge pull request #20818 from edx/nadeem/OPS-4041
Defaults to common.py lms (OPS-4041)
2019-06-25 18:47:12 +05:00
nadeemshahzad
993a21181a defaults to common.py 2019-06-25 13:01:29 +00:00
adeelehsan
1b227232c5 Python3 update
INCR-471
2019-06-25 15:47:00 +05:00
Adeel Khan
298d3554fe Fix templates for XSS code injection via translations
This would patch all templates (django/mako)
for a possible XSS code injection via
translation files by html escaping them..

LEARNER-4632
2019-06-25 14:22:42 +05:00
Hammad Ahmad Waqas
34589393ac Merge pull request #20840 from edx/hammad/WL-1492
WL-1492 | Remove arbitrary code rendering on course about page
2019-06-25 11:20:07 +05:00
amitvadhel
8a01c9b0a5 INCR-459: Run python-modernize and isort 2019-06-24 21:20:19 +03:00
Christie Rice
eeb265e276 REVEM-376 Disable waffle flags by default (#20880) 2019-06-24 11:31:10 -04:00
Christie Rice
b8401beaae REVEM-374 Remove course prices from dashboard (#20856) 2019-06-24 08:56:05 -04:00
Mushtaq Ali
07addf5f22 Merge pull request #20853 from edx/mushtaq/fix-csrf-referer-not-trusted
Add CSRF_TRUSTED_ORIGINS settings
2019-06-24 16:18:10 +05:00
DawoudSheraz
b37e679c39 remove staff exemption from the library_content transformer 2019-06-24 11:05:11 +05:00
amitvadhel
b6b1b0c602 INCR-473: Make compatible with Python 3.x 2019-06-23 13:29:43 +03:00
Ned Batchelder
b3a731550c Fix problems that drf-yasg uncovered.
These were originally fixed individually, but had to be reverted, and
are now combined in one commit.  The originals were:

7b9040f6b0 This enum was backwards
8774ff1f9b Use ref_name to disambiguate serializers that drf-yasg would otherwise assume are the same.
8a44397139 Is this field missing because it is None?
4a1154a7ca Give a safer buffer for clearing the rate limiting
64c47856dd DRF 3.7.4 changed how you delegate to another view, so don't
7359ca4fb2 Is this right? It fixes two tests
fdd66e5390 Adjust the expected error message for DRF 3.7.7
9257f68fd8 The default TIME_ZONE should be UTC
2019-06-21 18:04:15 -04:00
Ned Batchelder
2e9cae46cb Add drf-yasg
* Install drf-yasg

* Add drf-yasg settings and urls

* Pin drf to make drf-yasg work

* Adjust config-models version to be compatible

* Remove django-rest-swagger (the old way)
2019-06-21 17:47:26 -04:00
Douglas Hall
f9d599a1a0 Add Discover New link to LMS header. (#20875) 2019-06-21 15:41:06 -04:00
Calen Pennington
b14244fe01 Merge pull request #20862 from cpennington/mobile-fbe-fields
Allow a limited subset of fields in the Course Block View for blocks …
2019-06-21 12:25:56 -04:00
Manjinder Singh
a787cd51cf Merge pull request #20801 from edx/msingh/INCR-482
INCR-482: ran python modernization and isort
2019-06-21 11:10:37 -04:00
Andytr1
cac4ec0047 Merge pull request #20843 from edx/andytr1/grades_show_email_for_masters_track_only
EDUCATOR-4319 gradebook show student email only for master's track.
2019-06-21 09:29:58 -04:00
usama sadiq
7719314a22 Upgrade to Python3
Added absolute_import
Changed the use of unicode with six.text_type
2019-06-21 16:39:24 +05:00
Hammad Ahmad Waqas
63d7b7d6fa applying filter to remove dangerous html content before rendering in
course_about page on course overview field
2019-06-21 16:06:26 +05:00
amitvadhel
fb4aa2a407 INCR-474: Run python-modernize and isort 2019-06-21 14:00:24 +03:00