Commit Graph

60486 Commits

Author SHA1 Message Date
Kevin Valencia
fa258de357 Update from_addr for default from bulk emails (#29001)
* fix: update from_addr for default from bulk emails

Co-authored-by: Kevin Valencia <kevin@bitmaker.la>
2021-12-06 10:28:55 -05:00
Jawayria
87c2a59d2b Merge pull request #29439 from edx/jawayria/bom-2606-39
chore: Applied lint-amnesty on openedx/features
2021-12-06 17:23:30 +05:00
Jawayria
a1c4b82cd5 Merge pull request #29435 from edx/jawayria/bom-2606-31
chore: Applied lint-amnesty on openedx/core/djangoapps
2021-12-06 15:23:46 +05:00
Jawayria
86d7cce373 Merge pull request #29436 from edx/jawayria/bom-2606-30
chore: Applied lint-amnesty on openedx/core/djangoapps/content
2021-12-06 15:23:25 +05:00
Jawayria
9cd4f96955 Merge pull request #29437 from edx/jawayria/bom-2606-29
chore: Applied lint-amnesty on openedx/core/djangoapps
2021-12-06 15:23:13 +05:00
Jawayria
5a855fedf3 Merge pull request #29438 from edx/jawayria/bom-2606-38
chore: Applied lint-amnesty on openedx/tests
2021-12-06 15:22:51 +05:00
Jawayria
61f3ef0724 chore: Applied lint-amnesty on openedx/core/djangoapps 2021-12-06 14:06:57 +05:00
Jawayria
959b6cef6c chore: Applied lint-amnesty on openedx/core/djangoapps/content 2021-12-06 14:06:13 +05:00
Jawayria
3adfe1de97 chore: Applied lint-amnesty on openedx/core/djangoapps 2021-12-06 14:05:13 +05:00
Jawayria
4347c35072 chore: Applied lint-amnesty on openedx/tests 2021-12-06 14:01:53 +05:00
Jawayria
328c181a38 chore: Applied lint-amnesty on openedx/features 2021-12-06 13:58:45 +05:00
Kshitij Sobti
606fb95059 feat: return user roles and privilege information in course metadata (#29448)
The frontends need to be aware of a user's privileges in order to know what operations are supported. This adds the user roles and privilege information to the discussion metadata API.
2021-12-06 11:21:25 +05:00
edX Transifex Bot
ed73fd3b29 chore(i18n): update translations 2021-12-06 02:41:48 +05:00
Jansen Kantor
898e84a044 chore: bump submissions to 3.4.2 (#29506)
* chore: bump submissions to 3.4.2

* fixup! chore: bump submissions to 3.4.2
2021-12-04 09:31:44 -05:00
Adam Stankiewicz
e5654cd185 build: bump edx-enterprise (#29505) 2021-12-03 13:41:36 -05:00
Matthew Piatetsky
59dd149137 fix: use the same logo in ace emails as we use in our braze emails (#29494) 2021-12-03 10:51:18 -05:00
Shafqat Farhan
a1c34aa7cd Merge pull request #29502 from edx/shafqat/VAN-666
feat: VAN-666 - Reject new password that is detected as vulnerable on password reset
2021-12-03 20:30:44 +05:00
Shafqat Farhan
84cba23c0b feat: VAN-666 - Reject new password that is detected as vulnerable on password reset 2021-12-03 19:19:21 +05:00
Régis Behmo
13342835b0 feat: theme-agnostic view to fetch theme assets (#29461)
It is possible to set custom logos in microfrontends, for instance with the
LOGO_URL setting. Ideally, we would like that MFEs share the same logos as the
LMS. But this is made difficult when comprehensive theming is enabled, and the
logo is overridden by a custom theme. In that scenario, the logo url becomes
/static/mytheme/images/logo.png. But the MFEs do no know that the "mytheme"
theme is enabled. To resolve this issue, we introduce here a view, at the
"/theming/asset/<path>" url, that redirects to the corresponding asset in the
theme that is currently enabled. Thus, MFEs only have to set
`LOGO_URL=http://lmshost/theming/asset/images/logo.png` to point to the themed
logo.

Related issue: https://github.com/overhangio/tutor-mfe/issues/25
2021-12-02 16:38:12 -05:00
Tim McCormack
02b9e059a2 feat: Remove monitoring for now-concluded verify-all work (#29495)
The removed attributes were needed in order to inform the move of the
`_verify_user` function call up out of the try/except block. That work has
concluded (https://github.com/edx/edx-platform/pull/29324) so the
monitoring can be removed.

Also:

- Bring a comment on some other monitoring up to date
- Make long-needed corrections to an existing docstring
- Remove malformed-cookie logging, since we haven't been using it
2021-12-02 18:45:48 +00:00
Thomas Tracy
038d68d53c feat: [MICROBA-1531] bulk email deny list logic (#29465)
* feat: [MICROBA-1531] bulk_email deny list logic
2021-12-02 13:11:55 -05:00
Mubbshar Anwar
1886e940ea fix: event not firing (#29499)
segment event was not working due to null user id for anonymous users
VAN-741
2021-12-02 23:03:27 +05:00
Usama Sadiq
780a6f3c2d Revert "chore: install codejail from pypi (#29481)" (#29501)
This reverts commit 21551095ac.
2021-12-02 22:19:15 +05:00
Jawayria
3a78775662 Merge pull request #29441 from edx/jawayria/bom-2606-37
chore: Applied lint-amnesty on openedx/core/lib
2021-12-02 19:13:06 +05:00
Jawayria
e83da77008 Merge pull request #29440 from edx/jawayria/bom-2606-40
chore: Applied lint-amnesty on openedx/features
2021-12-02 19:06:22 +05:00
Jawayria
3168673ecf Merge pull request #29443 from edx/jawayria/bom-2606-41
Applied lint-amnesty on lms/djangoapps/courseware
2021-12-02 19:03:05 +05:00
alangsto
e358faed38 feat: only show verification deadline if integrity signature is not enabled (#29493)
The verification deadline should only show up on the dates outline if the integrity signature is not enabled for that course. If the integrity signature flag is enabled, this date should be hidden.
2021-12-02 09:01:16 -05:00
Mohammad Ahtasham ul Hassan
21551095ac chore: install codejail from pypi (#29481)
* chore: install codejail from pypi

* chore: Updating Python Requirements

* chore: Updating Python Requirements

* fix: fixed failing tests

* fix: fixed pytest failures

* fix: fixed failing test bug

* Update mocks.py

Co-authored-by: edX requirements bot <testeng+edx-requirements-bot@edx.org>
2021-12-02 17:07:29 +05:00
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
Jawayria
dba7d78c74 chore: Applied lint-amnesty on openedx/core/lib 2021-12-02 15:11:13 +05:00
Jawayria
abd4cdc819 chore: Applied lint-amnesty on lms/djangoapps/courseware 2021-12-02 15:08:55 +05:00
Jawayria
c227712f03 chore: Applied lint-amnesty on openedx/features 2021-12-02 15:02:24 +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