Commit Graph

57609 Commits

Author SHA1 Message Date
zia.fazal@arbisoft.com
d45d978aab Added annotations for ENABLE_ANNOUNCEMENTS feature flag
fixed quality violations

Changed indentation
2021-03-04 16:44:40 +05:00
edX requirements bot
d5c4ca3c68 Updating Python Requirements (#26517) 2021-02-15 12:21:11 +05:00
Robert Raposa
0517603b6d feat: 403 logging for exchange_access_token (#26511)
The mobile app is getting unexpected 403s from
/oauth2/exchange_access_token/, but we have been unable
to pinpoint from where they are coming. This commit
introduces a temporary exception handler to provide stack info
for 403s on this endpoint to try to track down the source.

Requires the ENABLE_403_MONITORING setting to be set to
True to enable the logging.

ARCHBOM-1667
2021-02-12 15:34:55 -05:00
Felipe Montoya
f02d16ec3f Merge pull request #26428 from jramnai/tsd-login_attempts_annotations
[TSD] add annotations for login failure settings and feature flags
2021-02-12 14:36:56 -05:00
Matt Tuchfarber
1d854382e3 Merge pull request #26510 from edx/tuchfarber/fix_log
fix: Correct logging message to match function
2021-02-12 14:17:32 -05:00
Felipe Montoya
b39f1a1727 Merge pull request #26492 from jramnai/tsd-language_selector
[TSD] add annotation for the header & footer language selector
2021-02-12 13:50:34 -05:00
Matt Tuchfarber
63a144dda7 fix: Correct logging message to match function
The logging text was duplicated from a different function
2021-02-12 13:20:52 -05:00
Braden MacDonald
50dd1e8eca Merge pull request #26416 from BbrSofiane/bbrsofiane/tsd-schedules_enable_debugging
[TSD] Annotate schedules debugging toggle
2021-02-12 09:15:54 -08:00
Olivia Ruiz-Knott
5c95258115 Merge pull request #26461 from edx/ork/MICROBA-989_notify-credentials-takes-usernames
feat: allow notify_credentials to take a list of usernames
2021-02-12 10:45:15 -05:00
Felipe Montoya
467575443c Merge pull request #26266 from BbrSofiane/bbrsofiane/tsd-comprehensive_theming_settings
[TSD] Annotate comprehensive theming settings
2021-02-12 10:44:37 -05:00
Manjinder Singh
a5e3675ce2 docs: annotate comprehensive theming settings 2021-02-12 15:05:55 +00:00
Carla Duarte
ab0fa47865 Merge pull request #26457 from edx/ciduarte/AA-511
AA-511: update dashboard certificate button styling
2021-02-12 09:48:39 -05:00
Jayram
67c5cca44b docs: add annotations for MAX_FAILED_LOGIN_ATTEMPTS_LOCKOUT_PERIOD_SECS settings
docs: added related settings description for login attempts
2021-02-12 20:16:43 +05:30
Sofiane Bebert
a006bdde17 add annotation for DEBUG_MESSAGE_WAFFLE_FLAG 2021-02-12 12:22:19 +00:00
Usama Sadiq
36d4c712c3 Merge pull request #26497 from edx/jenkins/upgrade-python-requirements-00a0672
Python Requirements Update
2021-02-12 14:42:06 +05:00
Aarif
e6a0d35009 replaced unittest assertions pytest assertions (#26240) 2021-02-12 12:31:37 +05:00
edX requirements bot
4124f31f74 Updating Python Requirements 2021-02-11 23:45:40 -05:00
Michael Roytman
00a0672f4b Merge pull request #26496 from edx/mroytman/MST-617-bump-version-edx-proctoring-3.4.0
Bump version of edx-proctoring library to 3.4.0 to add interstitial for ready to resume state.
2021-02-11 17:20:10 -05:00
Michael Roytman
201e0f5314 feat: Install version 3.4.0 of the edx_proctoring library into edx-platform.
This release adds an interstitial in the proctored exam experience for learners with exam attempts in the ready_to_resume state, impacting Learners.
2021-02-11 16:38:15 -05:00
Bianca Severino
84ad5682e1 Merge pull request #26384 from edx/bseverino/instructor-onboarding-view
[MST-572] Add onboarding status view to instructor dashboard
2021-02-11 16:26:01 -05:00
Bianca Severino
1d667e8b0f Add onboarding status view to instructor dashboard 2021-02-11 15:32:13 -05:00
Felipe Montoya
111fbbca8b Merge pull request #26469 from msaqib52/saqib/TSD-ENABLE_HTML_XBLOCK_STUDENT_VIEW_DATA
[TSD] add annotations for ENABLE_HTML_XBLOCK_STUDENT_VIEW_DATA feature flag
2021-02-11 14:24:48 -05:00
Feanil Patel
4cef913a85 Merge pull request #26489 from edx/feanil/flaky_anon_id_test
test: Don't add a delta to ensure we get rate limited.
2021-02-11 14:16:07 -05:00
stvn
0aa75a4b2b Merge PR #26335 bd03/type-hints
* Commits:
  style: Add more type-hints to discussions app
2021-02-11 11:00:38 -08:00
David Ormsbee
691472e475 [feat]: Don't use Mathjax if an HTMLBlock has no math. (#26478)
Mobile apps load HTML (and other) XBlocks individually using the
render_xblock endpoint. This is an attmept to reduce the number
of requests and JS processing needed to do so by detecting when
we have math content in HTMLBlocks and only adding the Mathjax
resources when necessary.

This is controlled by the "courseware.optimized_render_xblock"
CourseWaffleFlag. For maximum safety, we currently only optimize
in this way when directly hitting HTMLBlocks, and not for
ProblemBlock or VerticalBlock.

This was made as part of edX's Hackathon XXV.
2021-02-11 13:31:17 -05:00
Matt Hughes
37924e65ce fix: ajax call used for attempt status throws fewer 500s 2021-02-11 13:20:22 -05:00
Jayram
b1a101902f docs: add annotations for SHOW_FOOTER_LANGUAGE_SELECTOR feature flag 2021-02-11 23:01:25 +05:30
Jayram
5e678ab6d6 docs: add annotations for SHOW_HEADER_LANGUAGE_SELECTOR feature flag 2021-02-11 22:59:22 +05:30
Feanil Patel
6f1691e5b6 test: Don't add a delta to ensure we get rate limited.
The rate limiting library computes the rate limit by chunking time since
the epoch into chunks of whatever your period is. It then adds some
consistent offset based on your key.  This means that at certain times,
you are closer to the end of your rate limit time period than others.
So moving 1 minute into the future would put you into the next time
chunk and your rate limit would be reset.

I updated the test to test rate limit at the same time as the initial
call to ensure that we don't end up on the other side of a time chunk
boundary by accident.  We were seeing times in CI where it
would occasionally fail because time chunking wasn't in our favor.
2021-02-11 11:32:49 -05:00
Aarif
01ac3c2ed3 replaced unittest assertions pytest assertions (#26308) 2021-02-11 17:41:41 +05:00
Aarif
2ea9ea916a replaced unittest assertions pytest assertions (#26287) 2021-02-11 17:40:23 +05:00
Bianca Severino
2e72791491 Create command to update expiration_date for old SoftwareSecurePhotoVerification entries (#26471) 2021-02-10 16:55:51 -05:00
Feanil Patel
14e11cad3d Merge pull request #26460 from edx/feanil/always_squelch
feat: Update the user_authn app to not log PII by default.
2021-02-10 13:58:04 -05:00
alangsto
9104983369 update edx-proctoring version (#26472)
updated for quality
2021-02-10 13:41:17 -05:00
Felipe Montoya
7c06896f83 Merge pull request #26243 from regisb/regisb/annotate-git-export
[TSD] Annotate git export settings and toggles in CMS
2021-02-10 12:48:51 -05:00
stvn
b17bbc8d66 style: Add more type-hints to discussions app 2021-02-10 08:42:05 -08:00
oliviaruizknott
52814f7378 test: add test to notify_credentials for multiple usernames 2021-02-10 11:25:23 -05:00
stvn
ef77ddc18d Merge PR #26345 bd03/admin/enabled
* Commits:
  fix: Add DiscussionsConfiguration.enabled to admin page
2021-02-10 08:25:16 -08:00
stvn
d8d4b4a0cc Merge PR #26346 bd03/models/str
* Commits:
  style: Cleanup DiscussionsConfiguration.__str__
2021-02-10 08:23:49 -08:00
Feanil Patel
62c0aa4917 feat: Update the user_authn app to not log PII by default.
Instead of optionally not logging usernames and emails, do so by
default.  This mostly removes some complexity from the app and is makes
it so that it's more secure by default.

I considered the question of allowing people to log usernames and
e-mails if they wanted to but opted not to for a couple of reasons:

* It would involve adding a new feature flag that would be the opposite
of the SQUELCH_PII_IN_LOGS which would be a bit confusing.  When do you
use which one? or do you need both? etc.
* There is still a way to correlate the messages to eachother and in
most cases also to a specific user(email being the exception).
2021-02-10 10:14:58 -05:00
Usama Sadiq
959a29fad5 Merge pull request #26453 from edx/usamasadiq/lower-pylint-upper-threshold
Lower the pylint threshold to 200
2021-02-10 19:43:52 +05:00
David Ormsbee
9d1f5e1224 fix: reduce the size of the commons.js asset. (#26462)
The size of commons.js has gradually grown until it is now 4 MB in
dev mode. This change brings it back down to 880 KB. This does
cause the size of some other JS assets to increase, some by as much
as 500 KB. This still seemed like a worthwhile tradeoff.
2021-02-10 09:34:18 -05:00
Waheed Ahmed
5c9c6176b6 Add skip_authn_mfe query param option.
Added to serve old login/register pages for the e2e tests
until new tests added or old ones are fixed for the Authn MFE.
2021-02-10 19:17:46 +05:00
Usama Sadiq
f6cfb62faf Merge pull request #26467 from edx/usamasadiq/bom-2244-remove-constraints
Remove duplicate constraints
2021-02-10 18:55:01 +05:00
Usama Sadiq
bb7c554517 Merge pull request #26468 from edx/jenkins/upgrade-python-requirements-2d14ace
Python Requirements Update
2021-02-10 18:24:49 +05:00
usamasadiq
eb0f44a135 Lower the pylint threshold to 200 2021-02-10 18:15:10 +05:00
Saqib
e014535dd8 add toggle annotations for ENABLE_HTML_XBLOCK_STUDENT_VIEW_DATA feature flag 2021-02-10 17:59:34 +05:00
edX requirements bot
9b41842422 Updating Python Requirements 2021-02-10 07:54:49 -05:00
Jawayria
60f43f123f Merge pull request #26446 from edx/jawayria/bom-2345-pylint-amnesty
BOM-2345: Applied pylint-amnesty
2021-02-10 17:44:08 +05:00
usamasadiq
2d14acee54 Remove duplicate constraints 2021-02-10 17:40:02 +05:00