Commit Graph

61356 Commits

Author SHA1 Message Date
John Nagro
56280ed301 feat: release edx-enterprise 3.46.5 (#30358)
- https://github.com/openedx/edx-enterprise/pull/1551

ENT-5803
2022-05-09 11:04:00 -04:00
Simon Chen
192b35eb8f fix: add Learner as another role posted to LTI tools for the LTI embed (#30356)
Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan>
2022-05-09 10:12:28 -04:00
Justin Hynes
8f2eb38220 Merge pull request #30342 from openedx/jhynes/microba-1510_rest-apis
feat: add new REST APIs to support scheduled bulk email
2022-05-09 09:41:44 -04:00
Maria Grimaldi
aacfb393d6 Merge pull request #30130 from open-craft/pooja/convert-warning-back-to-html
[BB-6041] Convert password compliance warning to html
2022-05-09 09:05:44 -04:00
Waheed Ahmad
bab13f7281 fix: SFL event type (#30353)
Event type for save-for-later events is setting as null.
2022-05-09 17:01:26 +05:00
Maria Grimaldi
7c99323f10 Merge pull request #29949 from eduNEXT/MJG/certificate-creation-filter
[BD-32] feat: add certificate creation Open edX Filter
2022-05-06 14:32:00 -04:00
edX requirements bot
981b7b53be chore: Updating Python Requirements (#30341)
Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2022-05-06 22:57:35 +05:00
Maria Grimaldi
e8fa890af7 feat: add filter before certificate creation starts
- Add filters interactions with code that used generate_certificate_task
- Add unit-testing for filters
- Upgrade to latest library update
2022-05-06 13:57:21 -04:00
Tim McCormack
80f60ffb36 refactor: Move log_sensitive to edx-django-utils (#30349)
It was copied there in 4.7.0 (openedx/edx-django-utils#209) so it can be used in more IDAs.

Includes dropping dependency on PyNacl, which was only in use by that module.
2022-05-06 12:42:19 +00:00
Sarina Canelake
b56741cf83 docs: Update old edx.org email address 2022-05-05 18:43:32 -04:00
Justin Hynes
351d9e6759 feat: add new REST API to support scheduled bulk email
[MICROBA-1510]

* update InstructorTaskSchedule model delete behavior from CASCADE to DO_NOTHING.
* add utility function supporting cancellation of scheduled tasks to the instructor_task app
* add utility function to determine if a user has staff or instructor level access to a course to the student app
* adds a REST API for supporting retrieval and cancellation of scheduled bulk email tasks
* add unit tests for new functionality in the student app
* add unit tests for the new functionality in the bulk_email app
* remove use of CourseEmail object directly in another related test file
* add unit tests for the new REST API views.
2022-05-05 14:26:35 -04:00
Eugene Dyudyunov
8bd43207ca refactor!: switch from LegacyWaffle* to modern waffles (#30330)
This is a first stage for removing the LegacyWaffle* classes.

LegacyWaffleFlag usage replaced with WaffleFlag;
LegacyWaffleSwitche usage replaced with WaffleSwitch;
New CourseWaffleFlag added to the temporary module __future__ as FutureCourseWaffleFlag;
Updated all the imports to use CourseWaffleFlag from the __future__ module;

BREAKING CHANGE: A number of toggle related constants (e.g. ENABLE_ACCESSIBILITY_POLICY_PAGE)
changed types. They were strings, and are now toggle instances (e.g. WaffleSwitch). Although the entire
refactor should be self-contained in edx-platform, if any plugins or dependencies were directly
using these constants, they will break. If this is the case, try to find a better publicized way of
exposing those toggles.
2022-05-05 12:03:10 -04:00
John Nagro
f1bd793cc5 feat: release edx-enterprise 3.46.4 (#30344)
- https://github.com/openedx/edx-enterprise/pull/1550

ENT-5797
2022-05-04 10:59:27 -04:00
0x29a
76b5c52bd0 docs: fix release notes URL 2022-05-03 12:54:21 -07:00
Brian Citro
83af65dc1b Merge pull request #30343 from openedx/bcitro/ENT-5687
fix: release edx-enterprise 3.46.3
2022-05-03 15:10:23 -04:00
Brian Citro
b67608c1bf fix: release edx-enterprise 3.46.3 2022-05-03 14:47:59 -04:00
John Nagro
1503442cde fix: release edx-enterprise 3.46.2 (#30340)
- https://github.com/openedx/edx-enterprise/pull/1547

ENT-5788
2022-05-02 18:54:43 -04:00
Nathan Sprenkle
2c61a674be feat: get standalone file metadata (#30337)
* chore: fix some typos

* feat: get file metadata for a submission

* docs: update example collection

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-05-02 14:18:18 -04:00
John Nagro
5a77882b3f feat: release edx-enterprise 3.46.1 (#30339)
- https://github.com/openedx/edx-enterprise/pull/1546

ENT-5598
2022-05-02 12:20:26 -04:00
Diana Huang
521151e712 refactor: Remove edx.org theme. (#30333)
This theme is no longer in use. The theme in use
has been moved to its own private repo.
2022-05-02 09:42:46 -04:00
Maria Grimaldi
2e41384102 fix: cast course_id string to CourseKey object (#29686) 2022-04-29 10:35:49 -04:00
pkulkark
a502d755e6 Merge branch 'master' of github.com:openedx/edx-platform into pooja/convert-warning-back-to-html 2022-04-29 08:05:24 +05:30
Simon Chen
fcb29a6834 feat: introduce new setting to control IDV requirements for certificates (#30318)
Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan>
2022-04-28 11:10:04 -04:00
Ned Batchelder
e7caec5ab8 build: the Django matrix needs to use the pinned version also.
The logic here seems to work, but Django 4.0 won't install over our
other pinned requirements, so tests fail for Django 4.0.
2022-04-28 02:28:32 -07:00
Ned Batchelder
cff365043d feat(process_warnings): remove data noise from messages, so they group better 2022-04-28 01:32:36 -07:00
Ned Batchelder
3333f78cf7 fix(process_warnings): escape html text so that <class ..> doesn't disappear 2022-04-28 01:32:36 -07:00
Alex Dusenbery
fb9c808939 fix: edx-enterprise-3.46.0 | fix redirect_if_blocked signature
https://github.com/openedx/edx-enterprise/pull/1544
Make the signature in edx-enterprise match and use the same signature that
openedx.core.djangoapps.embargo.redirect_if_blocked() now uses.
2022-04-27 15:37:12 -04:00
ansabgillani
55df11b489 fix: remove sso history model 2022-04-27 23:52:22 +05:00
SaadYousaf
98262c088d feat: send email to moderators after content is reported 2022-04-27 22:18:56 +05:00
ansabgillani
8c7059c5bb fix: reverting SSO History changes to unblock stage 2022-04-27 21:09:44 +05:00
Mubbshar Anwar
ae697b1f46 fix: data integrity error (#30313)
while updating SavedCourse or SavedProgram objects data integrity exception was raising
VAN-938
2022-04-27 17:05:43 +05:00
Usama Sadiq
9211f3a67a BOM-3365: Remove python-slugify constraint & python transifex client (#30312)
* fix: remove python slugify constraint
* fix: remove python transifex-client package
2022-04-27 12:58:15 +05:00
ansabgillani
4af3d58b39 feat: Add SSO History for Support 2022-04-27 11:44:25 +05:00
edX requirements bot
4119e60fa9 chore: Updating Python Requirements (#30315) 2022-04-26 12:44:42 +05:00
Mubbshar Anwar
0ed58f32e7 feat: email linking for SSO (#30258)
Make email linking for SSO as default behavior.
VAN-331
2022-04-26 12:13:43 +05:00
Michael Terry
393fd971f5 Merge pull request #30295 from openedx/mikix/embargo-chain
fix: use safer ip-chain logic when checking ip for embargos
2022-04-25 11:41:12 -04:00
Feanil Patel
f2ec7b5053 chore: Cleanup last remenants of the edx-microsite code. (#30306)
There are still references to the word `microsite` because the
site-configuration code uses it to referr to it's sub-sites in a few
places.
2022-04-25 10:48:35 -04:00
jfavellar90
aefdda9df3 perf: Relax load in instructor dashboard page
Relax load when bringing all the course children when fetching a course in the instructor dashboard page.

When loading the Instructor dashboard, the course is fetched with
3cbc5b9cdc/lms/djangoapps/instructor/views/instructor_dashboard.py (L122)

 Please note that the parameter **depth** is zero, so the course is fetched with no children (sections, subsections, sequentials, etc). In a subsequent part of the code, the extensions tab is loaded, specifically in :

3cbc5b9cdc/lms/djangoapps/instructor/views/instructor_dashboard.py (L585)

Which eventually call the method **get_units_with_due_date**

3cbc5b9cdc/lms/djangoapps/instructor/views/tools.py (L121) .

This method iterates over the course and its children to find blocks with due dates. This iteration was taking too long unless the course is fetched with **depth** None, which brings all the children of the course, reason why this commit is created.
2022-04-25 09:43:50 -04:00
Kshitij Sobti
f3f604c25f fix: Disallow endorsements for replies to comments (#30310)
Disables the "endorsement" action for nested comments. Only top-level comments should support endorsement.
2022-04-25 16:13:10 +05:00
Kira Miller
4975051d6f Merge pull request #30297 from openedx/kiram15/ENT-5498
fix: allow for multiple customer idps
2022-04-23 12:25:54 -04:00
code-review-doctor
0f24c3b749 fix: some tests are skipped due to duplicate names (#29959)
Co-authored-by: Rebecca Graber <rebecca.s.graber@gmail.com>
2022-04-22 14:31:01 -04:00
Eugene Dyudyunov
4443608981 refactor: remove deprecated save option for anonymous_id_for_user (#30302)
https://github.com/openedx/public-engineering/issues/35
2022-04-22 13:41:10 -04:00
Simon Chen
3556151fc9 chore: upgrade edx-name-affirmation to 2.3.3 for new api docs (#30305)
Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
2022-04-22 11:52:17 -04:00
Michael Terry
b8ecfed67d fix: use safer ip-chain logic when checking ip for embargos
Specifically:
- check ALL ip addresses in the client ip chain for blocking
- check RIGHTMOST ip address in the client ip chain for allowing

Before, we always checked the LEFTMOST ip address in both cases.

AA-1234
2022-04-22 11:15:02 -04:00
Kira
392c8fdba8 fix: quality fixes 2022-04-22 10:05:36 -04:00
Ahtisham Shahid
446392bf6a fix: Updated course live docs url (#30293) 2022-04-22 19:04:12 +05:00
Michael Terry
93c5fdf735 Merge pull request #30303 from openedx/mikix/outline-children
fix: guard access to course block children in outline tab data
2022-04-22 09:35:02 -04:00
Demid
da4a6d6103 feat: Implement feature flag to disable students un-enrollment (#29326)
Implements a feature flag DISABLE_UNENROLLMENT that is used to disable students un-enrollment for all courses. The Unenrollment option should be disabled when this feature is set to True.

ref: BB-4951

Co-authored-by: tinumide <tinuade@opencraft.com>
Co-authored-by: Tim McCormack <tmccormack@edx.org>
2022-04-22 13:24:23 +00:00
Michael Terry
ea6b5b9e3c fix: guard access to course block children in outline tab data
In some cases the course blocks API was returning a dict without
a 'children' key, which was causing a traceback.

If the course blocks API has no children, that's IS a problem, but
still better than erroring out due to a KeyError.

AA-1267
2022-04-22 09:08:03 -04:00
pkulkark
c978974373 Merge branch 'master' of github.com:openedx/edx-platform into pooja/convert-warning-back-to-html 2022-04-22 16:38:29 +05:30