Commit Graph

48705 Commits

Author SHA1 Message Date
uzairr
aa39f2c438 Improve 403 error handling
Currently, ajax calls in courseware is handling 403 like 401.In this
PR, proper modifications have been done to make it coherent with its
intended behaviour.

LEARNER-7131
2019-02-26 19:05:48 +05:00
Waheed Ahmed
491c2e9e57 Merge pull request #19870 from edx/waheed/LEARNER-4304-segregate-account-settings-js-strings
Segregate learner account settings strings.
2019-02-26 18:06:35 +05:00
AsadAzam
69f2334934 Merge pull request #19867 from edx/asad/Educator-3928-add-logs
Added logs
2019-02-26 16:17:33 +05:00
Waheed Ahmed
375f1c0209 Segregate learner account settings strings.
This would let the team order translations for the beta language message
to ensure that it remains translated for a wide set of partially supported
languages.

LEARNER-4304
2019-02-26 14:24:51 +05:00
David Ormsbee
7da2308bc1 Merge pull request #19635 from open-craft/giovanni/bb-728-add-problem-response-report-api-upstream
[BB-728] Add problem response report API
2019-02-25 21:45:04 -05:00
Robert Raposa
f9a4fa6d06 Merge pull request #19871 from edx/robrap/reduce-thresholds
Reduce xsslint thresholds.
2019-02-25 13:31:07 -05:00
albemarle
ced18f5cc1 Merge pull request #19866 from edx/transifex-bot-update-translations2019-02-24
Update translations
2019-02-25 13:22:33 -05:00
Julia Eskew
0b1c37746b Merge pull request #19874 from edx/juliasq/add_skip_auth_flag_to_dot_app_cmd
Add skip-authorization flag for DOT application creation.
2019-02-25 13:18:49 -05:00
Julia Eskew
d74ec765b5 Add skip-authorization flag for DOT application creation. 2019-02-25 12:42:21 -05:00
Robert Raposa
0339bb8783 Reduce xsslint thresholds. 2019-02-25 12:13:48 -05:00
emma-green
507cfb8942 Merge pull request #19849 from edx/emma-green/REVEM-176/C/Hacky-cache-course_runs-to-programs
add course to program caching
2019-02-25 10:41:51 -05:00
Stu Young
98326d7986 Merge pull request #19847 from edx/testeng/bokchoy_auto_cache_update_e403eee0109f7f5f12f75aded566044bb302816b
Bokchoy db cache update
2019-02-25 10:36:16 -05:00
Nimisha Asthagiri
3b411890a6 Merge pull request #19510 from CredoEducation/text-input-problem-pr
Bugfix: Text Input problem type expects numeric answer when correct answer starts with a number
2019-02-25 10:28:32 -05:00
Dave St.Germain
954c8e1a67 Merge pull request #19771 from edx/dahlia/masters-track
Added master's track
2019-02-25 10:11:24 -05:00
David Ormsbee
0857a1cfe5 Merge pull request #19865 from edx/ormsbee/log_b64_cookie
Improve SafeCookieData Error Logging
2019-02-25 09:30:20 -05:00
asadazam93
12d20697c5 Added logs 2019-02-25 17:18:47 +05:00
edX Transifex Bot
cc2e40c497 Update translations 2019-02-24 20:38:22 +00:00
David Ormsbee
40e1e1e59e Improve SafeCookieData Error Logging
1. Use request.session instead of request.user, since request.user
won't necessarily be properly set.

2. Be extra paranoid by putting logging after session cookie deletion,
so that even if there is some error related to logging, the important
work will complete and the browser won't get left in a broken state.

3. Write out the full contents of the Cookie header (up to 4096 bytes)
in the log as a base64 encoded string. This way we can look at broken
cookie states and diagnose what's breaking them (the Python parser will
just silently skip anything past a corrupted cookie entry). We base64
encode mostly to prevent people from maliciously injecting garbage into
our logs.
2019-02-24 13:57:19 -05:00
Nimisha Asthagiri
0983091df0 Merge pull request #19846 from eduNEXT/lmm/date
Fix date internationalization
2019-02-23 14:21:52 -05:00
David Ormsbee
475a4bd659 Merge pull request #19860 from edx/ormsbee/log_ssmw_delete_cookie
Log when SafeSessionMiddleware deletes cookies
2019-02-22 19:26:40 -05:00
David Ormsbee
1d7c082562 Merge pull request #19859 from edx/ormsbee/cookie_logging
Add cookie size monitoring New Relic metrics.
2019-02-22 19:26:31 -05:00
David Ormsbee
76620e0bf2 Add cookie size monitoring New Relic metrics.
This adds middleware that will create custom parameter metrics in
New Relic to track the size of all the cookies being received for
our domain. The custom fields are "cookies_total_size" and a
separate named parameter for every cookie size, e.g.
"cookies.csrftoken.size".

This is intended to help us track cookie growth and better diagnose
issues where users lose their sessions. It is toggled by the
'request_utils.capture_cookie_sizes' Waffle Flag.
2019-02-22 18:18:41 -05:00
David Ormsbee
fc52fcccab Log when SafeSessionMiddleware deletes cookies 2019-02-22 17:12:18 -05:00
Ned Batchelder
1f37e7899c Merge pull request #19840 from cclauss/patch-1
Missing named argument in formatting call
2019-02-22 17:00:27 -05:00
Christie Rice
61923a7369 Merge pull request #19857 from edx/crice/REVEM-197_mockProgramInfo
REVEM-197 Add mock program info to user metadata
2019-02-22 15:41:18 -05:00
Christie Rice
7cc0a8bf2d REVEM-197 Add mock program info to user metadata 2019-02-22 14:50:59 -05:00
Michael Youngstrom
fff3417efe Merge pull request #19705 from edx/youngstrom/incr-improvements
INCR-17: Unpin and upgrade sortedcontainers for python3 support
2019-02-22 14:38:14 -05:00
Calen Pennington
e3d08a7b84 Merge pull request #19553 from cpennington/permissions-adr
Record a plan for converting has_access to user.has_perm
2019-02-22 13:43:58 -05:00
Emma Green
57b7150b09 add course to program caching 2019-02-22 13:18:23 -05:00
Calen Pennington
c9ee6ed78d Record a plan for converting has_access to user.has_perm 2019-02-22 12:24:30 -05:00
adeelehsan
c9d9734776 Merge pull request #19856 from edx/aehsan/LEARNER-6943/adding_logs_for_cached_data
Adding Logs
2019-02-22 18:12:05 +05:00
adeelehsan
84d2ab7640 Adding Logs
logs added to investigate
course run response returned
cache

Learner-6943
2019-02-22 17:12:00 +05:00
Waheed Ahmed
11edfd69be Merge pull request #19833 from edx/waheed/LEARNER-5562-disbale-pdf-cert-generation
Disable PDF certificate generation/regeneration.
2019-02-22 16:10:15 +05:00
Waheed Ahmed
e3fb888268 Disable PDF certificate generation/regenration.
Since PDF generation is discontinued long time ago, disable PDF certificate
generation/regenration from support tool and on all other places.

LEARNER-5562
2019-02-22 15:22:36 +05:00
Zainab Amir
7de41a025a Show dates in drop-down for program dashboard
LEARNER-5538 : Show dates in dropdown for program dashboard
2019-02-22 14:04:37 +05:00
edX Transifex Bot
151ec44f70 Update translations 2019-02-22 03:38:00 -05:00
Zainab Amir
1937ee1c27 Populate software secure photo verification
Populate software secure photo verification. The field that will be updated is 
- expiry_date
2019-02-22 11:46:34 +05:00
Zainab Amir
00c6681480 LEARNER-5538 : Show dates in dropdown for program dashboard 2019-02-22 11:14:29 +05:00
Zainab Amir
019f6c4dcf LEARNER-6945 Populate software secure photo verification 2019-02-22 11:01:57 +05:00
Luis Moreno
c5f396b142 Fix to pass xss commit linter 2019-02-21 22:04:28 -04:00
Luis Moreno
12931ae442 Fix date format 2019-02-21 20:29:08 -04:00
Michael Youngstrom
9631fc2f88 Unpin sortedcontainers for python3 support 2019-02-21 17:27:13 -05:00
Troy Sankey
6426b94aa7 Merge pull request #19850 from edx/pwnage101/pii-annotations-can-be-long
PII annotations can be longer than 120 characters now
2019-02-21 16:22:16 -05:00
Jeremy Bowman
5c7a8e3ac1 Merge pull request #19622 from cclauss/Fix-parens-for-Python3
Fix explicit tuple parameters for Python 3
2019-02-21 15:45:09 -05:00
Julia Eskew
c68e391029 Merge pull request #19830 from edx/juliasq/pii_ci_integration
Add PII check to CI quality check.
2019-02-21 15:42:56 -05:00
Troy Sankey
35f6822f92 PII annotations can be longer than 120 characters now
PLAT-2424
2019-02-21 15:39:12 -05:00
edx-cache-uploader-bot
af31d6cc18 Updating migrations 2019-02-21 14:29:54 -05:00
Julia Eskew
731d076cdc Add app_name prefix to the generated PII report. 2019-02-21 14:11:59 -05:00
Matt Hughes
6608d57290 Merge pull request #19820 from edx/matthugs/allow-track-partitioning-for-masters
Allow educators to partition masters students as content groups
2019-02-21 13:06:42 -05:00
Farhanah Sheets
5b38c7e39e Merge pull request #19825 from edx/aehsan/learner-6238/update_deprecated_pygeoip_to_geoip2
update pygeopip to geoip2
2019-02-21 13:02:47 -05:00