Commit Graph

61012 Commits

Author SHA1 Message Date
Braden MacDonald
dcb7ef8821 feat: Read course indexes from MySQL, not MongoDB (#29184)
Description
This is a follow up to #29058 and #29413. This is the next step in moving part of the modulestore data (the course indexes / "active versions" table) from MongoDB to MySQL.

There are four steps planned in moving course index data to MySQL:

Step 1: create the tables in MySQL, start writing to MySQL + MongoDB  done
Step 2: migrate all remaining courses to MySQL  done
Step 3: switch reads from MongoDB to MySQL (this PR)
Step 4 (much later, once we know this is working well): stop writing to MongoDB altogether.
Supporting information
OpenCraft Jira ticket: MNG-2557

Status
 Tested with a large Open edX instance is in progress.

Testing instructions
Try making changes in Studio and verify that they work fine.

Deadline
None
2022-03-09 10:21:09 -05:00
AsadAzam
835285d494 feat: added readme and adr (#30030)
* feat: added readme and adr

* refactor: fixed typos
2022-03-09 20:09:21 +05:00
Alexander J Sheehan
850ecc49c3 Merge pull request #30031 from openedx/asheehan-edx/enterprise-version-bump-3-40-11
chore: bumping enterprise version to 3.40.11
2022-03-09 10:04:22 -05:00
Alexander Sheehan
efbc972fc5 chore: bumping enterprise version to 3.40.11 2022-03-09 09:17:55 -05:00
Muhammad Soban Javed
0588c92dd7 Merge pull request #29046 from open-craft/gabor/celery-bump
[SE-4860] Upgrade Celery to v5.2.1
2022-03-09 13:03:36 +05:00
Gabor Boros
df50d379c1 chore(dependencies): upgrade dependencies
Signed-off-by: Gabor Boros <gabor.brs@gmail.com>
2022-03-08 21:37:06 +01:00
Gabor Boros
0b0ea1ce80 chore(dependencies): bump celery dependencies
Bump celery and related dependencies to minimum necessary version.

Signed-off-by: Gabor Boros <gabor.brs@gmail.com>
2022-03-08 21:27:34 +01:00
Rebecca Graber
eba76109c4 feat: remove xss-commitlint test (#30025) 2022-03-08 14:18:45 -05:00
Simon Chen
0940fc5e49 fix: Loosen the restriction on updating exam_type (#30022)
Currently, if a subsection was a special exam, we do not allow it to be changed back as a special exam. This PR would loosen that change to only disallow reintroducing the exam back to proctored exam. Timed exam can be updated however the user wants

Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
2022-03-08 13:00:59 -05:00
Syed Muhammad Dawoud Sheraz Ali
b4bd552365 Merge pull request #29999 from openedx/prod-2708/add-paid-unpaid-modes
feat: paid unpaid named course modes
2022-03-08 21:48:32 +05:00
aliadnan
b1b5281f2b feat: remove check for password reset API if request is comming from support tools 2022-03-08 16:55:35 +05:00
edX requirements bot
4018b2672a chore: Updating Python Requirements (#30024) 2022-03-08 11:34:22 +05:00
Michael Terry
37601a03f1 Merge pull request #30021 from openedx/mikix/guard-course-end
fix: add some extra guards for a None course.end value
2022-03-07 15:49:13 -05:00
Michael Terry
dbb1e4c8dd fix: add some extra guards for a None course.end value
This has bit us in the past, and here are a few more places
where it doesn't hurt to be cautious.

AA-1198
2022-03-07 15:25:53 -05:00
Jansen Kantor
0d5b827b31 chore: bump ORA to 4.0.2 (#30020) 2022-03-07 11:54:46 -05:00
Juan David Buitrago
860dfde5b2 refactor: modified the imports to use openedx-events library (#29930)
* refactor: modified the imports to use openedx-events library

* chore: upgrade openedx-events to latest version

* fix: ran isort to avoid style errors

Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co>
2022-03-07 19:42:13 +05:00
Abdurrahman Asad
f9c9832b28 fix: post preview body shows html tags in legacy discussion (updated) (#30017)
fix: post preview body shows HTML tags in legacy discussion
2022-03-07 18:28:03 +05:00
uzairr
7bc56c46ed feat: paid unpaid named course modes
Add executive education variants for paid and unpaid modes.

PROD-2708
2022-03-07 16:30:46 +05:00
Mohammad Ahtasham ul Hassan
68e0885ca8 fix: fixed django4 warnings (#29644) 2022-03-07 15:50:17 +05:00
AsadAzam
533b971d83 feat: added live course app plugin (#29998) 2022-03-07 12:15:45 +05:00
Kshitij Sobti
4431aaa012 docs: ADR for adding context to discussion topic links (#29928)
Discussion topic links don't contain enough useful information if the unit they
are linked to is deleted. This ADR proposes storing more information for each
discussion topic to overcome this limitation.
2022-03-07 11:16:15 +05:00
Maxim Beder
7e742e2042 feat: add flag to toggle learners tab (#29955) 2022-03-07 11:14:45 +05:00
Robert Raposa
8178a039ae Revert "fix: post preview body shows html tags in legacy discussion (#30007)" (#30016)
This reverts commit 89f92a1a9d.
2022-03-04 10:20:28 -05:00
Kira Miller
058bd56832 Merge pull request #30014 from openedx/kiram15/version-bump
fix: version bump
2022-03-04 09:12:38 -05:00
Chris Deery
b61b29196b feat: [AA-1206] remove redundant fields from API (#29920)
* feat: [AA-1206] remove redundant fields from API

Part of a larger effort to clean up the MFE BFF endpoints.
Remove the redundant fields username and course_access, both of which are also available in the course home metadata call.
2022-03-04 09:01:02 -05:00
Muhammad Ammar
65aa26bd81 Merge pull request #29997 from openedx/ammar/ent-5454-api-to-fetch-enterprise-learner-enrolled-programs
feat: api to fetch all programs where an enterprise learner is enrolled
2022-03-04 18:27:15 +05:00
Abdurrahman Asad
89f92a1a9d fix: post preview body shows html tags in legacy discussion (#30007)
fix: post preview body shows HTML tags in legacy discussion
2022-03-04 17:48:17 +05:00
muhammad-ammar
c35025fd9d feat: api to fetch all programs where an enterprise learner is enrolled 2022-03-04 17:42:30 +05:00
Sameen Fatima
0d9e845f1b feat: Created an API to fetch progress details about a learner's program (#29975) 2022-03-04 16:11:28 +05:00
Mohammad Ahtasham ul Hassan
a838ab4b01 fix: fixed django4 warnings (#29643) 2022-03-04 15:03:02 +05:00
Kira
3adcbcf665 fix: version bump 2022-03-03 17:16:06 -05:00
connorhaugh
23690712ba fix: capa numerical response with scientic notation (#30010)
I found a potential location for a solution to the numericalinput bug. The problem stemmed from. In the convert markdown -> xml process, here, the checkIsNumeric function rejects the input if stringValue.match(/[a-z]/i) which says: does this value contain any letters, regardless of case? This rejection would cause uses of e and i in answers like the described problem to be string input problems. A simple fix would be to replace that match with regex like '/[a-df-hj-z]/i'.
2022-03-03 16:16:17 -05:00
Nathan Sprenkle
e86b6fe358 fix: ESG init gradeStatus key (#30009)
* fix: change gradingStatus to gradeStatus in ESG init call
2022-03-03 12:58:14 -05:00
Simon Chen
0b158a8a42 feat: provide new verification details endpoint for support-tools (#30004)
Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
2022-03-03 10:33:14 -05:00
Maria Grimaldi
c6cd064194 test: favor CourseOverview when getting course listing for groups 2022-03-03 10:04:39 -05:00
Maria Grimaldi
3322d18446 perf: improve course listing performance for non-staff users 2022-03-03 10:04:39 -05:00
alangsto
361bbf1330 chore: update edx-name-affirmation version (#30008) 2022-03-03 09:24:07 -05:00
Kshitij Sobti
6042972235 fix: Use legacy view for legacy URLs (#30006)
If a user navigates to a legacy URL, then use the legacy view for discussions.
2022-03-03 16:19:12 +05:00
Justin Hynes
a94d5e1ae3 Merge pull request #30000 from openedx/jhynes/revert_microba-1666
revert: reverts 53041a2 after reports of bulk email message issues
2022-03-02 14:41:39 -05:00
Justin Hynes
bbb0bc77d9 revert: reverts 53041a2, causing email issues
[MICROBA-1666]

This reverts commit 53041a2d34 after course team started reporting issues of images in emails not respecting dimensions set with the email editor.

After a brief investigation we found unexpected attributes (like `width` and `height` of an image) being stripped from the HTML.
2022-03-02 14:03:55 -05:00
Bianca Severino
b50de1d6e5 Merge pull request #29993 from openedx/bseverino/confirm-name-change
[MST-1362] Add REST endpoint to confirm name changes
2022-03-02 09:49:51 -05:00
Mohammad Ahtasham ul Hassan
4260bd2af5 fix: fixed django40 warnings (#29655)
* fix: fixed django40 warnings
* fix: fix quality failures

Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
2022-03-02 16:08:04 +05:00
Usama Sadiq
193efadd30 Remove django-countries pin (#29990)
* fix: remove django-countries pin
django-countries==7.3.1 resolved the issue with Python<3.9 so
the constraint can be removed now.
2022-03-02 11:36:17 +05:00
Muhammad Adeel Tajamul
d0e6b2dd20 Merge pull request #29982 from openedx/tnl-9619
fix: post summary taking more than one lines
2022-03-02 07:14:26 +05:00
Jansen Kantor
05b8da5d93 feat: teams csv export split username / external key columns (#29981)
When doing import, we ran into an issue where there was a learner with an external program key that was the
same as an existing, completely unrelated edX account username. Rather than try to guess which learner we want
or do the lookups backwards, it seemed that splitting these columns to avoid any ambiguity would be the most
straightforward and simple approach
2022-03-01 20:04:32 -05:00
Bianca Severino
f177855e1b feat: add REST endpoint to confirm name changes 2022-03-01 16:22:31 -05:00
Bianca Severino
3d4cdbcfe9 Merge pull request #29991 from openedx/bseverino/name-affirmation-2.3.0
chore: upgrade edx-name-affirmation to 2.3.0
2022-03-01 11:45:01 -05:00
Bianca Severino
d54c5e6350 chore: upgrade edx-name-affirmation to 2.3.0 2022-03-01 11:22:56 -05:00
Michael Terry
5e80b692c8 Merge pull request #29987 from openedx/mikix/no-enrollment-old-mongo
feat: mark Old Mongo courses as invitation-only
2022-03-01 10:13:42 -05:00
Awais Qureshi
fe57074dab feat!: Remove django-admin default login (#29876)
* feat!: Remove django-admin default login
2022-03-01 17:38:36 +05:00