Commit Graph

57618 Commits

Author SHA1 Message Date
edX cache uploader bot
bcdd70bf8e Updating Bokchoy testing database cache (#26562) 2021-02-16 17:07:45 +05:00
Zaman Afzal
e2fba3a14a ENT-4085 Bump edx-enterprise version (#26558) 2021-02-16 16:23:19 +05:00
Saad Yousaf
c40f0b0e3b Merge pull request #26239 from edx/saad/TNL-7729
[TNL-7729] - Add check to discussion endpoints to secure API when discussions are blacked out.
2021-02-16 15:20:49 +05:00
Aarif
dc6766dcce replaced unittest assertions pytest assertions for pavelib (#26514) 2021-02-16 14:57:50 +05:00
Awais Qureshi
624950b41c Merge pull request #26551 from edx/BOM-1437
9 tests are failing in this file in local devstack environments
2021-02-16 14:55:14 +05:00
Usama Sadiq
ad3826bdd1 Merge pull request #26501 from edx/usamasadiq/bom-2244-remove-constraints
Remove Vulture constraint
2021-02-16 14:22:08 +05:00
SaadYousaf
50e71479ee [TNL-7729] - Add check to discussion rest API to prevent users in blackout period. 2021-02-16 14:08:56 +05:00
usamasadiq
3c7ef6bece Remove vulture constraint 2021-02-16 12:49:11 +05:00
edX requirements bot
645eb0ffed Updating Python Requirements (#26550) 2021-02-16 12:23:17 +05:00
Awais Qureshi
d7dc8de053 BOM-1437
Fixing tests which were failing on running alone.
Main root cause was the mongodb client connection error.
On running all tests this mongodb connection establishes by some other test.
2021-02-16 10:35:59 +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