Simon Chen
d543a23fe5
fix: User unretirement admin template use static instead of admin_static template library ( #29052 )
...
TNL-8884. This change would fix the issue where the undeleting a user results in 500. This is a change needed after the django version is upgraded to django 3.2
Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan >
2021-10-18 12:33:38 -04:00
Matt Hughes
f4974aebd5
fix(program-portals): prevent resume course links from 404ing ( #27046 )
...
* fix(program-portals): prevent resume course links from 404ing
From time to time course teams will delete a problem in an active
course. When this happens and that particular problem is the last
completed subsection for a learner, some naive attempts to provide a
"continue course" that takes the learner back to where they left off
may result in 404s. This checks whether a learner would be able to
access the block returned from completion data before we try to create
a link to that part of the course structure to hand to that learner.
It's used on the Master's program learner portal pages.
JIRA:EDUCATOR-5313
Co-authored-by: Zach Hancock <zhancock@edx.org >
2021-10-18 11:12:21 -04:00
alangsto
17f2d24eba
chore: update edx-proctoring version ( #29051 )
2021-10-18 10:47:29 -04:00
julianajlk
4b2161e591
temp: Add logs for CourseMode selection errors ( #28964 )
...
REV-2355
2021-10-18 10:41:55 -04:00
Meysam
9726d149e9
fix: display right-to-left for rtl-languages in mobile ( #28861 )
2021-10-18 10:20:17 -04:00
Ned Batchelder
79a7ad52a7
build: use the correct base branch for xsscommitlint
...
It might not be master!
(cherry picked from commit fc894e1fd8977ac450118887a1914ca248e3571c)
2021-10-16 07:39:46 -04:00
Albert (AJ) St. Aubin
32d35acf63
feat: update the text for unearned certificates
...
[MICROBA-1536]
2021-10-15 15:48:58 -04:00
Feanil Patel
cc385b2d41
Merge pull request #29040 from edx/feanil/add_notices_to_code_owners
...
fix: Add the notices to plugin mapping.
2021-10-15 14:43:09 -04:00
Feanil Patel
2cd130a2d2
Merge pull request #29039 from edx/feanil/set_code_owner
...
fix: Decorate celery task to set code owner attribute.
2021-10-15 14:29:19 -04:00
Feanil Patel
6a671f26b3
fix: Add the notices to plugin mapping.
...
The notices app is a plugin to edx-platform that needs to be tracked correctly for ownership.
2021-10-15 14:05:34 -04:00
Rebecca Graber
835666a0bf
fix: do not log error for sessions where user is changed to None ( #29036 )
2021-10-15 13:55:26 -04:00
Feanil Patel
bc00e64409
fix: Decorate celery task to set code owner attribute.
...
See https://edx.readthedocs.io/projects/edx-django-utils/en/latest/monitoring/how_tos/add_code_owner_custom_attribute_to_an_ida.html\#handling-celery-tasks fo more details.
2021-10-15 13:55:12 -04:00
Régis Behmo
4dd5365501
build: nudge devs about Maple release in github
2021-10-15 13:27:58 -04:00
Rebecca Graber
2200b5382e
feat: only log requests that fail user verification in SafeSessionMiddleware ( #29028 )
...
* feat: only log requests that fail user verification in SafeSessionMiddleware
ARCHBOM-1923
2021-10-15 10:52:13 -04:00
Feanil Patel
03bf61da8d
Merge pull request #29033 from edx/feanil/mark_expected_user_change_in_lti_post
...
fix: Mark user change as expected in LTIToolLaunchView.post
2021-10-15 10:46:07 -04:00
Felipe Montoya
2100537e1f
Merge pull request #27795 from eduNEXT/eric/codejail_rest_service
...
Optionally run Codejail in a external service using REST API.
2021-10-15 09:36:00 -05:00
Feanil Patel
f9a28d1654
fix: Mark user change as expected in LTIToolLaunchView.post
...
The lti user gets authenticated and logged in as a part of the LTI View
Post. This results in the request user changing during the request. We
mark it here so that it does not produce a false alarm in our
SafeSessions middleware.
2021-10-15 10:10:39 -04:00
Eric Herrera
2a371e800b
fix: Constrain nltk version for py35 sandbox
...
nltk 3.6.3 drops support for python 3.5.
2021-10-15 08:19:48 -05:00
Eric Herrera
fe6882819a
fix: Address more PR comments
...
Address @felipemonotoya recommendations related to add versioning to safe_exec_remote functions.
2021-10-15 08:19:48 -05:00
Marco Morales
b2ddc436c3
Merge pull request #28989 from edx/marco/remove-non-profit
2021-10-14 11:41:05 -04:00
Felipe Montoya
f12ad2f4df
Merge pull request #27157 from eduNEXT/fmo/initial_hook_framework_docs
...
[BD-32] Hooks framework documentation
2021-10-14 10:39:29 -05:00
Feanil Patel
edff3eaaa9
Merge pull request #29022 from edx/iamsobanjaved/django-32-upgrade
...
feat: upgrade Django version to 3.2
2021-10-14 10:42:05 -04:00
Eric Herrera
fc7104cde5
fix: Address PR comments
...
Address fixes recommended by @timmc-edx.
2021-10-14 08:11:40 -05:00
Eric Herrera
d672d309e8
fix: Improve and fix codejail service integration
...
Address recommendations and fixes discussed in PR.
Use similar structure to notes app.
Fix errors detected in tests.
2021-10-14 08:11:40 -05:00
Eric Herrera
3a736eefa2
feat: Codejail as external service (optional)
...
Add codejail service settings (endpoint and feature flag).
Add conditional to allow running codejail using a REST API service when flag is enabled.
2021-10-14 08:11:40 -05:00
edX requirements bot
b764db1b25
chore: Updating Python Requirements ( #29024 )
2021-10-14 16:05:18 +05:00
Soban Javed
8fbee9c23f
feat: upgrade Django version to 3.2
...
Removing samesite cookies package as we dont need this on Django 3.2
2021-10-14 15:43:10 +05:00
Muhammad Soban Javed
04492c28f8
Merge pull request #29020 from edx/iamsobanjaved/remove-pyjwt-makefile
...
refactor: remove pyjwt related temporary solution
2021-10-14 15:00:02 +05:00
edX requirements bot
6f600d495c
chore: Updating Python Requirements ( #29010 )
2021-10-14 13:53:43 +05:00
Soban Javed
c40fb1e129
refactor: remove pyjwt related temporary solution
...
As we have upgraded pyjwt in edx-platform and also removed these pins from common constraint files in edx-l;int, so we don't need this anymore.
https://github.com/edx/edx-lint/pull/203
2021-10-14 13:02:22 +05:00
Awais Jibran
e2da7fa93d
Merge branch 'master' into marco/remove-non-profit
2021-10-14 12:17:56 +05:00
edX Transifex Bot
28234f2e9b
geoip2: update maxmind geolite country database
2021-10-14 02:09:26 +05:00
Felipe Montoya
678c159cf8
docs: adding the first version of documentation for open edx events
...
Includes:
- general documentation
- links to individual events definitions and location
- adding examples to events docs
- adding annotations at the trigger location
2021-10-13 15:28:24 -05:00
Feanil Patel
986e495a5b
Merge pull request #29015 from edx/revert-28885-iamsobanjaved/check-django32-make-upgrade
...
Revert "feat: upgrade Django version to 3.2"
2021-10-13 16:05:09 -04:00
John Nagro
a7c1a6157b
fix: refactor moodle _post to use body params ( #29014 )
...
release edx-enterprise 3.30.10
ENT-5043
2021-10-13 15:24:57 -04:00
Feanil Patel
73478561a5
Revert "feat: upgrade Django version to 3.2"
2021-10-13 15:09:36 -04:00
Albert (AJ) St. Aubin
b294b847e2
feat: Update the text for certificates.
...
[MICROBA-1542]
2021-10-13 13:23:01 -04:00
Tim McCormack
fe3d855986
feat: Don't warn about expected user changes in safe-sessions ( #28983 )
...
This is intended to silence a rare false positive that seems to happen
when someone logs in on a browser that already has an active session
for another user. We believe there should be no further positives once
this case is handled.
- login and logout views annotate the response to indicate the session
user should be changing between the request and response phases
- safe-sessions middleware skips the verify-user check when this
annotation is present
Also:
- Adds a test around existing behavior for unexpected user-changes
- Remove logging control based on `is_from_log_out`. This reverts most
of af9e26f/PR #11479 for two reasons:
- The safe-sessions `_verify_user` code has since changed to check for
`request.user.id == None`
- A commit later in the PR changes the login and logout pages to
signal that the user/session change is expected
2021-10-13 15:53:16 +00:00
Feanil Patel
3cc1389d68
Merge pull request #28993 from edx/iamsobanjaved/django32-samesite-cookies
...
fix: update samesite cookie settings name for Django 3.2
2021-10-13 11:11:39 -04:00
Feanil Patel
7d932f94fe
Merge pull request #28885 from edx/iamsobanjaved/check-django32-make-upgrade
...
feat: upgrade Django version to 3.2
2021-10-13 11:10:04 -04:00
alangsto
37a5381997
chore: update proctoring version ( #29009 )
2021-10-13 11:07:45 -04:00
Usama Sadiq
db99cbf79c
Use latest pip & pip-tools in jenkins_env ( #29004 )
...
* fix: replace pip-sync with pip install in env creation
* fix: use pip-tools==6.4.0 with pip==21.3
2021-10-13 18:40:18 +05:00
Shafqat Farhan
29368ce2df
Merge pull request #28996 from edx/shafqat/VAN-739-revert
...
fix: VAN-739 - removed is_active property from Segment
2021-10-11 20:11:15 +05:00
Attiya Ishaque
e7021933fc
feat: Add feature flag for year of birth field ( #28992 )
2021-10-11 19:44:56 +05:00
Shafqat Farhan
feb732d859
fix: VAN-739 - removed is_active property from Segment
2021-10-11 19:23:14 +05:00
Muhammad Ammar
2bc74c9c9e
Merge pull request #28994 from edx/ammar/upgrade-edx-enterprise-to-3.30.7
...
chore: upgrade edx-enterprise to 3.30.7
2021-10-11 18:34:32 +05:00
muhammad-ammar
ac316b07b2
chore: upgrade edx-enterprise to 3.30.7
2021-10-11 17:49:02 +05:00
SaadYousaf
91fcad813d
fix: update discussion features with support level added to API response
2021-10-11 17:40:44 +05:00
Soban Javed
c7bd6679f5
fix: update samesite cookie settings name for Django 3.2
...
As django-cookies-samesite package is set to be removed from base requirements when we upgrade to Django 3.2, we should follow the settings name provided by Django.
https://docs.djangoproject.com/en/3.2/ref/settings/#session-cookie-samesite
2021-10-11 15:22:01 +05:00
Marco Morales
d62b65e293
removed non-profit language in base open edx templates
2021-10-08 23:03:24 -04:00