Commit Graph

1891 Commits

Author SHA1 Message Date
Jeremy Bowman
7ba83dd533 Merge pull request #16908 from edx/jmbowman/PLAT-1847
PLAT-1847 Fix cms tests under Django 1.9
2017-12-14 13:49:55 -05:00
Tasawer Nawaz
0a0a17c8fe Merge pull request #16900 from edx/tasawer/learner-3165-fix-retries-logic-in-award-program-certificate
Fix retries logic in award program certificate task
2017-12-14 12:15:50 +05:00
Matt Tuchfarber
fc195ddff9 Merge pull request #16736 from edx/tuchfarber/WL_1343_instructor_ordering
Order program instructors based on new program field
2017-12-13 17:12:54 -05:00
Eric Fischer
39757aa5b0 Merge pull request #16906 from edx/efischer/zendesk_503
Log payload on 503 errors
2017-12-13 15:45:54 -05:00
Jeremy Bowman
d44e6297ae PLAT-1847 Fix cms tests under Django 1.9 2017-12-13 15:29:02 -05:00
Matt Tuchfarber
a4f5c14cf9 Order program instructors based on new program field
This collects the instructors from the courses in the program like before. There is now a field in the program model in discovery that allows you to list instructors for the program.

Depends on this PR: https://github.com/edx/course-discovery/pull/1244
2017-12-13 14:43:44 -05:00
Eric Fischer
fde7700543 Log payload on 503 errors
EDUCATOR-1956
2017-12-13 13:31:23 -05:00
Tasawer Nawaz
a02dac29f1 Fix retries logic in award program certificate task
LEARNER-3165
2017-12-13 21:00:27 +05:00
Nimisha Asthagiri
c1d0252999 Merge pull request #16674 from open-craft/tomaszgy/completion_in_blocks_api
Add block completion value as optional field in course_blocks.api.
2017-12-13 10:38:36 -05:00
Bill Filler
dd4d13af5f Merge pull request #16611 from edx/afzaledx/WL-1219
Added extended profile fields to the Account settings page.
2017-12-13 08:48:06 -05:00
Ahsan Ulhaq
50c8a80f32 Show white listed ceretificates on progress page
White listed certificates should appear on the progress page
even if the user has not passed the course
LEARNER-3546
2017-12-13 10:06:37 +05:00
Harry Rein
2711fb521a Allowing a user to fulfill their entitlement on the programs dashboard.
LEARNER-3438

The user can now enroll in a session, unenroll from a session or change session
from a new course enrollment card on the programs dashboard.
2017-12-12 10:35:26 -05:00
Tomasz Gargas
d4edf33f09 Remove a check for READ_VERSION==0 in BlockStructureBlockData._add_transformer.
Signed-off-by: Tomasz Gargas <tomasz@opencraft.com>
2017-12-12 14:22:10 +01:00
Brian Mesick
9b10dd70f2 Merge pull request #16866 from edx/bmedx/TestGetProgramsWithType_maxdiff
Increase diff output for theses tests to debug potential issues
2017-12-11 18:40:45 -05:00
Brian Mesick
44703269b5 Merge pull request #16814 from edx/bmedx/course_lang_bulk_update_cmd
Add command to bulk move user language prefs from one code to another
2017-12-11 16:53:31 -05:00
bmedx
b1d4daf638 Increase diff output for theses tests to debug potential issues 2017-12-11 15:00:49 -05:00
Brian Mesick
98456e11a1 Merge pull request #16840 from edx/bmedx/django111_conditional_birdcage
Make all uses of birdcage conditional, should fix 1.11 errors
2017-12-11 14:51:48 -05:00
bmedx
2579785a54 Make all uses of birdcage conditional, should fix 1.11 errors 2017-12-11 13:21:06 -05:00
McKenzie Welter
853cd9a0a7 show programs in which user holds a course entitlement on programs listing page 2017-12-11 12:22:36 -05:00
Afzal Wali
f589dc9d29 WL-1219
Added extended profile fields to the Account settings page.
2017-12-11 18:42:59 +05:00
Tasawer Nawaz
a6f4f1762b update logging in award program certiicate task LEARNER-3165 2017-12-11 17:16:25 +05:00
Diana Huang
8752480aac Merge pull request #16829 from edx/diana/registration-form-improvements
LEARNER-3469 - More registration form cleanup.
2017-12-08 13:00:20 -05:00
Uzair Rasheed
1225bde736 Merge pull request #16807 from edx/LEARNER-3385/content-injection-on-registration
Verify 'Full Name' field does not allow HTML in Signup form
2017-12-08 21:34:09 +05:00
Eric Fischer
648bfeae37 Merge pull request #16832 from edx/dahlia/raise_zendesk_rate_limit
raise zendesk_proxy rate limit
2017-12-08 09:43:00 -05:00
Diana Huang
0ecc0558a3 More registration form cleanup. 2017-12-08 09:39:01 -05:00
uzairr
8ffac2061d Verify 'Full Name' field does not allow HTML in Signup form
'Full Name' field in the signup form is allowing HTML as an input
which makes spoofing easily.To avoid it, validation is added
that will ensure 'Full Name' field does not allow HTML.

LEARNER-3385
2017-12-08 19:18:18 +05:00
Harry Rein
4c352e2f2b Merge pull request #16472 from edx/HarryRein/course-run-selection-dashboard
Allow users to fulfill entitlements and change enrollments from the course dashboard.
2017-12-07 16:39:04 -05:00
Eric Fischer
1a7ffc73c2 raise zendesk_proxy rate limit 2017-12-07 16:04:01 -05:00
bmedx
6294baf456 Add command to bulk move user language prefs from one code to another 2017-12-07 15:06:09 -05:00
Tyler Hallada
95bb6e3db0 Use pytest-style asserts in test_signals.py 2017-12-07 13:43:49 -05:00
Tyler Hallada
6e791c58ea Fix hold back error
Also add try/except that prevents enroll failure caused by Schedule creation
exception in the future.

Address PR comments

Split one-line docstrings on their own line

Add period to the end of docstring summaries

Use kwargs.get to be more defensive

Disable pylint unused-argument about sender param
2017-12-07 13:43:47 -05:00
Albert St. Aubin
28837c020f Allowing a user to fulfill their entitlement on the course dashboard.
The user can now enroll in a session, unenroll from a session or change session
from a new course enrollment card on the course dashboard.
2017-12-07 12:41:12 -05:00
Albert (AJ) St. Aubin
292848cfe7 Merge pull request #16617 from edx/aj/entitlement_session_backend
Aj/entitlement session backend
2017-12-07 12:05:17 -05:00
Albert St. Aubin
0ea3753d94 Added Entitlement enroll and unenroll logic to the Enrollment API
[LEARNER-3136]

This commit containts the logic and API endpoint for a user to Enroll,
Unenroll, and switch-session on a Course Entitlement.
2017-12-07 10:54:59 -05:00
Eric Fischer
35611e81ec Merge pull request #16769 from edx/dahlia/zendesk_proxy_client
Zendesk proxy client
2017-12-06 15:47:01 -05:00
Jeremy Bowman
0974e5b055 Merge pull request #16812 from edx/jmbowman/PLAT-1749
PLAT-1749 Support Django 1.10+ CSRF tokens
2017-12-06 15:31:16 -05:00
Eric Fischer
8743cda0d6 Zendesk Proxy
This change creates a new lms/cms endpoint which accepts unauthenticated
requests to securely create zendesk tickets. This allows javascript code to
create tickets without exposing ZENDESK_OAUTH_ACCESS_TOKEN

EDUCATOR-1889
2017-12-06 13:32:44 -05:00
Jeremy Bowman
19709cd36f PLAT-1749 Support Django 1.10+ CSRF tokens 2017-12-06 13:18:00 -05:00
Nimisha Asthagiri
8acf3434c0 Revert "Merge pull request #16728 from edx/pacing/remove-create-schedules-from-course-waffle-flag"
This reverts commit 8b652ad352, reversing
changes made to b212af2488.
2017-12-06 11:58:39 -05:00
Jeremy Bowman
9b92a3b73a Merge pull request #16800 from edx/jmbowman/PLAT-1427
PLAT-1427 Adapt to build_attrs change in Django 1.11
2017-12-06 10:40:57 -05:00
Uzair Rasheed
6b146db12b Merge pull request #16690 from edx/LEARNER-3337/validate-username-field
Verify 'Full Name' field does not allow HTML.
2017-12-06 14:29:57 +05:00
Jeremy Bowman
54d14098c0 PLAT-1427 Adapt to build_attrs change in Django 1.11 2017-12-05 17:29:35 -05:00
Jeremy Bowman
da8cf6b528 PLAT-1382 Populate ALLOWED_HOSTS for tests 2017-12-05 14:22:30 -05:00
Jeremy Bowman
cc6e3219ed Merge pull request #16774 from edx/jmbowman/PLAT-1801
PLAT-1801 Preserve new user login behavior under Django 1.10+
2017-12-05 14:16:35 -05:00
Nimisha Asthagiri
7245f7696e Fix quality issues in ace_common 2017-12-05 11:38:16 -05:00
Nimisha Asthagiri
7ef443f7ce Update usages to ace_common 2017-12-05 11:38:16 -05:00
Nimisha Asthagiri
c6ee8eb68d Move ACE Common code out of Schedules 2017-12-05 11:36:14 -05:00
Tyler Hallada
26d42de464 Merge pull request #16773 from edx/thallada/schedules-no-escape-txt
Schedules: turn off HTML escaping for email text fields
2017-12-05 11:07:09 -05:00
Jeremy Bowman
103c723c6d PLAT-1801 Preserve new user login behavior under Django 1.10+ 2017-12-05 10:20:25 -05:00
uzairr
333e3315cb Verify 'Full Name' field does not allow HTML.
'Full Name' field in the student account settings is allowing HTML
as an input which makes spoofing easily.To avoid it, validation is
added that ensures 'Full Name' field does not allow HTML as input.

LEARNER-3337
2017-12-05 13:33:30 +00:00