Commit Graph

60155 Commits

Author SHA1 Message Date
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
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
Manjinder Singh
9ef8332a60 Revert "feat: adding code owner for a Celery event"
This reverts commit 2c37fec345.
2021-10-08 17:30:16 -04:00
Manjinder Singh
2c37fec345 feat: adding code owner for a Celery event 2021-10-08 17:29:06 -04:00
Mubbshar Anwar
23c94b7ec5 fix: add opt in/out event (#28985)
add opt in/out event for Braze.

VAN-738
2021-10-08 22:39:54 +05:00
Sarina Canelake
ccabea1dbb Merge pull request #28915 from igobranco/igobranco/add-pt_pt-locale
Add pt_PT locale
2021-10-08 13:04:21 -04:00
Ivo Branco
4c4c8f24ee feat(locale): add pt_PT locale 2021-10-08 14:28:29 +00:00
Mubbshar Anwar
66291c3aa6 feat: record opt in/out attribute (#28883)
* feat: record opt in/out attribute

save opt in/out attribute comming from frontend-app-authn register page.
VAN-738

* feat: VAN-738 - Send marketing event property and email subscription

* feat: VAN-738 - Send marketing event property and email subscription

* feat: VAN-738 - updated conditions

* feat: VAN-738 - added is_active for braze during registration

* feat: VAN-738 - added is_active for braze during registration

* feat: VAN-738 - fixed pep8 violation

Co-authored-by: Shafqat Farhan <shafqat.farhan@arbisoft.com>
2021-10-08 18:29:18 +05:00
AsadAzam
3d3bdbe98d feat: put teams app availability behind waffle flag (#28969)
* feat: Put teams app availability behind waffle flag

* refactor: updated comment
2021-10-08 18:24:18 +05:00
Soban Javed
e4379e277e feat: upgrade Django version to 3.2
- Remove django-cookie-samesite as it isn't required on Django 3.2
2021-10-08 14:47:07 +05:00
Matthew Piatetsky
d73d267761 fix: pluralize times per week and increase width of unsubscribe element (#28978) 2021-10-07 17:08:43 -04:00