Commit Graph

60455 Commits

Author SHA1 Message Date
Ahtisham Shahid
00b53287d5 Added anonymous user id and extra params in program lti (#29429)
* fix: added anonymous user id and extra params in program lti

* refactor: updated flag name

* fix: fixed linter issues
2021-12-02 17:05:35 +05:00
Justin Hynes
ca867c105f Merge pull request #29410 from edx/jhynes/microba-1594_honor-certs-idv
fix: (MICROBA-1594) fix certificate generation logic for enrollment modes that don't require IDV but are cert eligible
2021-12-01 14:58:06 -05:00
Jansen Kantor
b360635251 chore: bump ora to 3.7.5 (#29490) 2021-12-01 14:16:14 -05:00
Justin Hynes
df71aebdcf fix: [MICROBA-1594] fix cert generation logic for eligible modes that don't require IDV
[MICROBA-1594]

* Update course certificate generation logic when ID verification fails to check if the enrollment mode requires IDV.

This change fixes an issue where Honor certificates could not be generated in an Open edX installation unless a manual IDV override was added for the student.
2021-12-01 14:12:56 -05:00
John Nagro
a86fff17aa feat: release edx-enterprise 3.35.2 (#29485)
ENT-5189
2021-12-01 12:28:48 -05:00
Tim McCormack
89699ed6a4 feat: Remove VERIFY_USER_CHANGE_UNCONDITIONAL toggle (now always enabled) (#29324)
We didn't see any errors after enabling this feature toggle, so remove it
in favor of the "True" setting.

Compare to PR #29306, which created the toggle.

ref: ARCHBOM-1952
2021-12-01 17:02:47 +00:00
Ben Warzeski
2f4fedc237 feat: update min grade cutoff from 997 to 99 (#29475) 2021-12-01 10:29:29 -05:00
Simon Chen
d1904bd99b fix: Ensure edX staff user can also see Honor Code modal dialog (#29479)
Co-authored-by: Simon Chen <schen@dhcp-10-31-112-124.dyn.mit.edu>
2021-12-01 10:13:27 -05:00
Awais Qureshi
da535080cc mysqlclient upgrade (#29418)
* fix: upgrading the mysqlclient==2.1.0
2021-12-01 16:15:54 +05:00
Mubbshar Anwar
fec7849b26 feat: save for later (#29089)
send favorite course through email to user

VAN-741
2021-12-01 16:10:20 +05:00
Syed Muhammad Dawoud Sheraz Ali
2325150cf8 feat: add referrer url when submitting Zendesk support ticket (#29474)
* feat: add referrer url as a custom field when submitting zendesk support ticket
2021-12-01 13:52:57 +05:00
Dillon Dumesnil
c30f99c12d Merge pull request #29301 from edx/ddumesnil/user-tours-aa-1055
feat: AA-1055: Add in User Tours to the platform
2021-11-30 11:10:49 -08:00
Dillon Dumesnil
2f2a6317a5 feat: AA-1055: Add in User Tours to the platform
User Tours are walkthroughs we are able to give in our frontends.
This sets up the backend support for them by creating the model,
setting up the initial backfill, adds in a signal handler to init
the UserTour model on User creation, and sets up some endpoints
to get user tour information and update it. It is also being
initialized with a waffle flag to control the rollout. The flag is
intended to control all tours and not allow for opting into only some tours.
2021-11-30 18:21:09 +00:00
Chris Pappas
edbf01605b chore: update edx-enterprise version to 3.35.1 (#29467) 2021-11-30 12:34:27 -05:00
JayRam Nai
5db9e01563 fix: toggle name for ENABLE_PASSWORD_RESET_FAILURE_EMAIL (#29317) 2021-11-30 10:10:23 -05:00
Jawayria
2ce75cbfa7 chore: Applied lint-amnesty on openedx/core/djangoapps (#29442) 2021-11-30 15:08:25 +05:00
Kira Miller
deee3f09be Merge pull request #29460 from edx/kiram15/ENT-5012-2
chore: version bump for edx-enterprise
2021-11-29 16:57:21 -05:00
Jillian Vogel
ad5ad72273 [BD-13] Deprecate ModuleSystem.render_template (fixed) (#29354)
* refactor: deprecates ModuleSystem.render_template

in favor of the added MakoSystem render_template method.

Related changes:
* Adds the MakoService to the StudioEditModuleRuntime,
  PreviewModuleSystem, LmsModuleSystem, and XBlockRuntime
* MakoService constructor takes a `namespace_prefix` string, so that the
  CMS PreviewModuleSystem can render to LMS templates, without needing
  the special render_from_lms helper method.
* ModuleSystem.render_template becomes a read-only property, so the
  constructor calls and test module systems are updated accordingly.
* Adds tests for the MakoService and module system shims.

(cherry picked from commit 457f959356)

* refactor: use MakoService.render_template to remove deprecation warnings

from block code.

(cherry picked from commit 8d62d337f5)

* refactor: use MakoService.render_template to remove deprecation warnings

from test code.

(cherry picked from commit 26b43465a4)

* test: Adds a test to verify the bug introduced by the previous changes

The AuthoringMixin is automatically added to all XBlocks (see
settings.XBLOCK_MIXINS), and AuthoringMixin.visibility_view expects the
"mako" service.

This test verifies the bug by testing the PureXBlock, which does not
require the "mako" service, and so fails when the visibility_view is
rendered.

* fix: AuthoringMixin needs mako service

which fixes the visibility_view for XBlocks which don't explicitly
require the mako service.

Also removes the unneeded class property _services_requested from
AuthoringMixin and StudioEditableBlock. This property is better provided
by the XBlockMixin class.
2021-11-29 14:42:52 -05:00
Kira
7a9154a89a chore: version bump for edx-enterprise 2021-11-29 11:49:12 -05:00
Aarif
81a642b90d fix: updated workflows to use v1 for checkout action to fix checkoing out wrong commit on master merge commits (#29456) 2021-11-29 21:37:13 +05:00
Braden MacDonald
448b75fe7f Add a data migration to copy all course index data into MySQL (Take 3) (#29413)
* feat: Add a data migration to copy all course index data into MySQL

* fix: Don't break the data migration if a course has no published version
2021-11-29 11:27:49 -05:00
Aarif
ff65cf6035 fix: update the image repo to be pushed into ECR (#29444) 2021-11-29 14:47:27 +05:00
edX Transifex Bot
0a73ac9089 chore(i18n): update translations 2021-11-29 02:41:27 +05:00
ansabgillani
92442637e8 feat: Add Program Enrollments API View 2021-11-26 21:23:29 +05:00
edX Transifex Bot
5c4042e6f0 geoip2: update maxmind geolite country database 2021-11-25 02:09:02 +05:00
alangsto
a1b967a2fb feat: remove verification status from profile data report (#29428)
The verification status should be removed from the student profile data report if the integrity signature toggle has been enabled.
2021-11-24 11:41:20 -05:00
Long Lin
52bb0104f9 chore: bump edx-enterprise version 2021-11-24 10:07:57 -05:00
Awais Jibran
72ec00cbb7 fix: include pii sharing values in the API (#29385) 2021-11-24 17:44:28 +05:00
Usama Sadiq
fa64403ccd Pin mysqlclient<2.1.0 (#29406)
* fix: pin mysqlclient<2.1.0
2021-11-24 15:59:55 +05:00
Michael Terry
d61da2c1bd Merge pull request #29412 from edx/mikix/remove-old-dashboard-adrs
chore: delete ancient unused ADRs for system dashboard
2021-11-23 16:12:03 -05:00
Michael Terry
ff453d1ad6 chore: delete ancient unused ADRs for system dashboard
This is long deprecated and these ADRs just document why it doesn't
exist. They've explained that long enough that we can just remove
this.
2021-11-23 15:47:27 -05:00
Chris Deery
0bf9a0e0ce fix: [AA-1106] completed status for unreleased (#29408)
Modify get_course_assignments so it does not mark unreleased content as completed
Add unit test
2021-11-23 14:33:50 -05:00
Olivia Ruiz-Knott
bb10334ebf Merge pull request #29405 from edx/ork/MICROBA_1573-allow_bulk_email_template_delete
feat: allow bulk email templates to be deleted
2021-11-23 13:41:18 -05:00
Chris Deery
bea16dad81 fix: [AA-1079] space separators for related programs (#29350)
fix css for spacing between related programs in course descriptions.
2021-11-23 13:30:17 -05:00
oliviaruizknott
eb1797d210 feat: allow bulk email templates to be deleted
There are some old bulk email templates in the database that we don’t
need anymore. We need to make this change in order to delete them. After
removing the templates we want to remove, we’ll leave in the ability to
delete.

[MICROBA-1573]
2021-11-23 10:59:46 -05:00
Muhammad Soban Javed
0cdaa91762 Revert "chore: Updating Python Requirements (#29390)" (#29404)
This reverts commit c12c3b0bf0.
2021-11-23 20:49:37 +05:00
connorhaugh
77debf191c chore: update lti-consumer version (#29386) 2021-11-23 09:44:11 -05:00
Kshitij Sobti
c8bd924e23 feat: Add support for using the discussions MFE UI instead of existing UI [BD-38] [TNL-9228] (#29285)
* feat: Add support for using the discussions MFE UI instead of existing UI

Adds a new course waffle flag that when set along with the discussions MFE URL shows the discussions MFE UI instead of the regular UI.

* test: add tests

* squash!: more consistent url name
2021-11-23 14:56:25 +05:00
edX requirements bot
c12c3b0bf0 chore: Updating Python Requirements (#29390) 2021-11-23 12:13:05 +05:00
Thomas Tracy
d1bde43e02 feat: [MICROBA-1531]Bulk email migration deny list (#29372) 2021-11-22 17:01:48 -05:00
Aarif
103cd5ac15 fix: removed the redundant tests collection github workflow (#29363) 2021-11-23 02:17:10 +05:00
Jeremy Ristau
cfdbb4c951 Merge pull request #29388 from edx/fix--block-browser-404s
fix: remove block browser 404s.
2021-11-22 15:34:35 -05:00
connorhaugh
2ebfe47077 fix: remove slashmark 2021-11-22 13:58:34 -05:00
Tim McCormack
4efd2d161a fix: Correctly create origin from URL in CORS CSRF middleware (#29366)
Deleting all instances of the path from the URL meant that referers like
`https://learning.edx.org/` were turned into `https:learning.edx.org`. The
solution here is to use `urlunparse` to put the URL back together, but only
with the desired components (scheme and authority/netloc).

This relates to our previous upgrade to django-cors-headers 3.x, which
changed to use origins instead of domains in its whitelist setting:

36df86d829 (diff-811d60a3e1d60ff694eace0242e77d6b810d8e9c63c36d7b3c2591a08ebbb94bR58)

Added regression test (fails on master, passes on branch.)

Also:

- Replace word "domain" with "origin" in few places to use the correct
  term. (We should probably change this more broadly in names and comments
  in this module as some point.)
- Simplify logging to just output what we know, and not try to recapitulate
  the logic too much.

ref: BOM-2961
2021-11-22 17:49:57 +00:00
connorhaugh
74bda16638 Revert "feat: Add a data migration to copy all course index data into MySQL (#29293)" (#29387)
This reverts commit b5299674d2.
2021-11-22 11:59:56 -05:00
jawad khan
d98c5ea1d3 fix: Enable upgrade banner for ios requests having 3172 as app version in header (#29351)
Replaces 3172(build number) with app number(2.26.3) in header which marks request as ios 2.26.3

LEARNER-8639
2021-11-22 21:02:04 +05:00
Braden MacDonald
b5299674d2 feat: Add a data migration to copy all course index data into MySQL (#29293) 2021-11-22 10:34:25 -05:00
Uzair Rasheed
f74c0e51cb Merge pull request #29364 from edx/allow-login-if-email-opt-in-enabled
feat: allow login if email opt-in is enabled
2021-11-22 13:02:11 +05:00
Abdurrehman
25f1640c58 fix: ALLOW_PUBLIC_ACCOUNT_CREATION flag does not show/hide signup btn above footer (#29261) 2021-11-22 11:31:54 +05:00
Ahtisham Shahid
987c641d82 feat: created API to get program discussion iframe (#29205)
fix: py lint issues fixed

feat: added test cases for API

fix: py lint issues fixed and added tests

fix: updated tests and refactored

fix: fixed return type in the function

fix: conflicts resolved and linter issue

refactor: updated code to accommodate backward compatibility

refactor: updated classes for code clean up

feat: added test for ProgramDetailFragment

feat: added a new flag for masters discussion

refactor: updated flag names and other refactors
2021-11-22 11:27:45 +05:00