Commit Graph

60763 Commits

Author SHA1 Message Date
Awais Qureshi
573c841bf6 test: running migrations on mysql57 on ubuntu20. (#29770)
* chore: Running migrations check on mysql57 (ubuntu20).
2022-01-19 11:23:07 +05:00
Kshitij Sobti
8fa962b1c8 feat: Add Studio UI to edit discussions toggle [TNL-7349] (#29720)
Adds a UI in studio to toggle discussions for a units if a course is using a discussion provider that supports it and per-unit discussion control is enabled.

Co-authored-by: Kshitij Sobti <kshitij@opencraft.com

Co-authored-by: Agrendalath <piotr@surowiec.it>
2022-01-19 11:21:32 +05:00
Kshitij Sobti
d5c9d61a98 feat: Allow fetching details of inactive providers (#29511) 2022-01-19 11:18:16 +05:00
Tim McCormack
05704eea39 fix: When xsslint fails with error, list which file it failed on (#29780)
In my case, xsslint was failing with a UnicodeDecodeError -- having this
try/except block helped me discover that it was reading files in my
virtualenv.
2022-01-18 20:24:49 +00:00
Dillon Dumesnil
e458c7eb36 Merge pull request #29747 from openedx/ddumesnil/goal-celly-modal-aa-1138
feat: AA-1138: Adds ability to have Weekly Goal Celebration Modal in MFE

Adds celebrate_weekly_goal to the CourseEnrollmentCelebration and includes logic
for only returning True if the db field is true and the learner has hit their goal
this week. Adds ability to set to false via the API already used by the frontend.
Default db value is False, but all new enrollments after merge will be set to True.
2022-01-18 06:13:43 -08:00
John Nagro
d94e2be670 fix: edx-enterprise 3.38.2 (#29767)
- django admin fixes
2022-01-18 08:51:07 -05:00
Mubbshar Anwar
4c0f9ddc9a feat: save program (#29697)
save for later program
VAN-792
2022-01-18 13:49:10 +05:00
edX requirements bot
4e835c61b2 chore: Updating Python Requirements (#29776) 2022-01-18 11:32:01 +05:00
Kshitij Sobti
2bbf447ab5 feat: banner for staff users that displays a message for testing the new MFE experience (#29698)
Adds a new banner allowing staff users to preview and switch between the new and legacy forum experience.
2022-01-18 11:18:59 +05:00
Giovanni Cimolin da Silva
5bd86ba583 Merge pull request #29635 from open-craft/chris/LX-2398
Feat: Wrap the choice label with a <div> on choicegroup.html
2022-01-17 19:05:34 -03:00
edx-pipeline-bot
ba2a6df4ec Merge pull request #29771 from openedx/private_to_public_bf46daa
Mergeback PR from private to public.
2022-01-17 05:31:01 -05:00
Attiya Ishaque
bf46daa494 Merge pull request #236 from edx/attiya/VAN-817
fix: Add security fix in LMS logout redirect_url.
2022-01-17 14:27:01 +05:00
Jillian Vogel
ca1a44f15d Merge branch 'master' into chris/LX-2398 2022-01-17 11:11:59 +10:30
Dillon Dumesnil
7b1fead04c feat: AA-1138: Adds ability to have Weekly Goal Celebration Modal in MFE
Adds celebrate_weekly_goal to the CourseEnrollmentCelebration and includes logic
for only returning True if the db field is true and the learner has hit their goal
this week. Adds ability to set to false via the API already used by the frontend.
Default db value is False, but all new enrollments after merge will be set to True.
2022-01-14 13:59:22 -05:00
alangsto
68dd185a0a feat: update certificate generation command (#29761)
MST-1161. The regeneration command for unverified certs has to be used to regenerate all unverified certs after the release of the honor code feature on January 19th. Because of this, the command is now updated to regenerate all unverified certificates if no specific course keys are provided. I've also included an option to include excluded keys, so that all unverified certs, except for those in an excluded course key, can be regenerated.
2022-01-13 14:32:20 -05:00
Simon Chen
ee10f84ed6 chore: upgrade edx-proctoring to 4.8.4 (#29760)
Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
2022-01-13 13:54:09 -05:00
edX requirements bot
163e9fb975 chore: Updating Python Requirements (#29755) 2022-01-13 20:50:56 +05:00
Carla Duarte
9a7a91f409 Merge pull request #29756 from openedx/ciduarte/AA-1168
fix: update assessment visibility copy in studio
2022-01-13 10:18:48 -05:00
Bianca Severino
9ca7c9a0b2 Merge pull request #29753 from openedx/bseverino/proctoring-4.8.3
chore: upgrade edx-proctoring to 4.8.3
2022-01-13 09:31:36 -05:00
Kyle McCormick
b4a92ee1be docs: COURSEGRAPH_JOB_QUEUE is a setting, not a toggle (#29759)
This will fix a pylint failure that currently exists
because toggle_default is expected to be 'True' or 'False'.
2022-01-13 09:31:19 -05:00
Kyle McCormick
06d2f14634 docs: document COURSEGRAPH_JOG_QUEUE toggle 2022-01-13 08:53:48 -05:00
Carla Duarte
b40010912e fix: update assessment visibility copy in studio 2022-01-12 14:34:14 -05:00
Manny
db32ff2cdf chore: Upgrade edx-enterpirse to 3.38.0 (#29754) 2022-01-12 13:07:44 -05:00
Brian Beggs
7183e7dd89 Merge pull request #29751 from edx/bbeggsenterprise-3.37
Upgrade edx-enterpirse to 3.37.0
2022-01-12 11:52:36 -05:00
Bianca Severino
29cb920690 chore: upgrade edx-proctoring to 4.8.3 2022-01-12 11:41:52 -05:00
Brian Beggs
11c1e2649f chore: Upgrade edx-enterpirse to 3.37.0 2022-01-12 11:24:31 -05:00
Bianca Severino
4c824d0716 Merge pull request #29750 from edx/bseverino/name-affirmation-2.1.0
chore: upgrade edx-name-affirmation to 2.1.0
2022-01-12 11:06:03 -05:00
Bianca Severino
356f712ab2 chore: upgrade edx-name-affirmation to 2.1.0 2022-01-12 10:20:04 -05:00
SaadYousaf
2c6989feab fix: correct studio sequence navigation bar with correct Next and Previous button actions 2022-01-12 16:20:05 +05:00
Ahtisham Shahid
2ac33f8113 feat: created ADR for zoom lti configuration (#29748) 2022-01-12 12:04:18 +05:00
Ahtisham Shahid
f517cb571f Zoom lti pro configurations ADR (#29694)
* feat: Zoom lti pro configurations ADR
2022-01-12 10:55:40 +05:00
Matt Hughes
81a9ecb9e7 fix: wrong slicing in history records of grade overrides in gradeb'k
JIRA:AU-468
2022-01-11 16:30:59 -05:00
Kira Miller
ede92861ad Merge pull request #29743 from edx/kiram15/ENT-4287
feat: associate name to username in saml config
2022-01-11 12:26:13 -05:00
Tim McCormack
262c44784b chore: Update 15 repos in code owner mappings (tCRIL migration) (#29745)
These repos have moved from edx to openedx org and so their URLs need to be
updated in order for the script to match them up.
2022-01-11 17:04:57 +00:00
Kira
4d1275a521 feat: associate name to username in saml config 2022-01-11 09:19:37 -05:00
Chris Deery
dddcadb706 feat: [AA-922] remove deprecated Goals backend (#29705)
* feat: [AA-922] remove deprecated Goals backend

While the new Weekly Learning Goals were being rolled out, the previous goal setting feature still existed behind a waffle flag.
The Weekly Learning Goals now become the one and only learning goal feature.

This change does not remove the old goals feature from the legacy backend, and therefore it does not remove any of the data that was used by the old goals feature.
The goals are now driven by the single pre-existing Waffle flag ENABLE_COURSE_GOALS

 - Removed COURSE_GOALS_NUMBER_OF_DAYS_GOALS waffle flag, replacing it where needed with the existing ENABLE_COURSE_GOALS

 - modified the API to remove the old goal_options, keeping the redundant weekly_learning_goal_enabled flag

 - updated tests

 - refactor tests to fit 50 line limit in lint
2022-01-11 09:02:03 -05:00
Ali Akbar
9e55bb7efa Merge pull request #29613 from edx/aakbar/PROD-2598
fix: add integer check for lms_user_id
2022-01-11 16:18:49 +05:00
edX requirements bot
551acc1a0e chore: Updating Python Requirements (#29740) 2022-01-11 13:35:28 +05:00
AliAkbar
2989341b7c fix: add integer check for lms_user_id 2022-01-11 11:30:35 +05:00
Long Lin
dc9fc1e600 chore: bump edx-enterprise version to 3.36.13 2022-01-10 14:51:55 -05:00
Rebecca Graber
0e9499de7d feat: log an encrypted string of the full cookie header when over threshold (#29735)
* feat: log an encrypted string of the full cookie header when over threshold
2022-01-10 13:02:47 -05:00
Kyle McCormick
29ed3d911a build: expose working openedx/lms and openedx/cms docker images (#29549)
This commits prepares edx-platform's experimental Dockerfile
for optional use in devstack. Presently, the image built by this
Dockerfile isn't used anywhere.

Notable changes:
* Drop the openedx/edx-platform image name in favor of
  openedx/lms and openedx/cms.
* Drop the newrelic stages and tags.
* Create openedx/lms-dev and openedx/cms-dev image
  variants which use Django devserver, install dev
  requirements, and specify devstack Django settings.
* Add config files at (lms,cms)/envs/devstack-experimental.yml,
  extracted from the existing edxapp docker image.
* Adds three new scripts, each of which replaces an Ansible
  or Paver-supported function with a pure bash + Django
  management command implementation.
2022-01-10 11:20:10 -05:00
Robert Raposa
5d79972260 fix: safe session bug when request has no user (#29731)
* fix: safe session bug when request has no user

Fixes a bug during safe session monitoring when
request has no user.

ARCHBOM-1940

* fixup! add comment and loosen if condition
2022-01-07 19:19:59 -05:00
Binod Pant
79a170c9cc fix: Degreed2 integrated channel fix for date parsing (#29729)
avoids interruption of content metadata export when one item has invalid dates by returning 0 duration

ENT-5292
2022-01-07 15:04:00 -05:00
Abdurrehman
72b9d0962c docs: adding annotations for few rate limit keys (#29545) 2022-01-07 11:30:03 -05:00
Azan Bin Zahid
a5dfbd5795 Merge pull request #29607 from edx/azan/PROD-2437
feat: add onboarding status wrapper
2022-01-07 18:07:23 +05:00
Waheed Ahmed
fa7ef8661b fix: login by email (#29727) 2022-01-07 13:07:05 +05:00
Waheed Ahmed
ed45aee9dd refactor: separate user lookup queries for login (#29711)
Using a single query to get a user using both username and email fields
generates a massive `key_len` and causes DB overload. Separated these
lookups into two separate queries.
VAN-819
2022-01-07 11:06:07 +05:00
Robert Raposa
8fa1d4d0b6 fix: conditionally set safe session monitoring (#29724)
Fixes a bug where a custom attribute was being set
even for cases where we did not have the appropriate
data, and an exception was being raised.

ARCHBOM-1940
2022-01-06 16:49:58 -05:00
Robert Raposa
973fb3c4c6 fix: enhance safe session setting documentation (#29723)
Adds note to documentation around the requirement
for setting SAFE_SESSIONS_DEBUG_PUBLIC_KEY to log
encrypted headers.

ARCHBOM-1940
2022-01-06 13:44:53 -05:00