Commit Graph

62402 Commits

Author SHA1 Message Date
0x29a
cf47f6385f refactor: xmodule/error_module.py -> xmodule/error_block.py 2022-12-19 17:48:49 +01:00
0x29a
11caff0d2d refactor: xmodule/editing_module.py -> xmodule/editing_block.py 2022-12-19 17:48:49 +01:00
0x29a
0df1411636 refactor: xmodule/course_module.py -> xmodule/course_block.py 2022-12-19 17:48:49 +01:00
0x29a
7e33dce1ab refactor: xmodule/conditional_module.py -> xmodule/conditional_block.py 2022-12-19 17:48:49 +01:00
0x29a
4c005e86e8 refactor: xmodule/capa_module.py -> xmodule/capa_block.py 2022-12-19 17:48:49 +01:00
0x29a
7f2e68c2fd refactor: xmodule/annotatable_module.py -> xmodule/annotatable_block.py 2022-12-19 17:48:49 +01:00
Ahtisham Shahid
abfac4912a feat: added archived topics in v3 api (#31443)
* feat: added archived topis in v3 api

* fix: resolved issue with failed test

* fix: updated functions docs

* feat: added test for util function
2022-12-19 16:29:12 +05:00
Jenkins
751653fac9 chore(i18n): update translations 2022-12-18 15:58:35 -05:00
Bianca Severino
47fe66a3c7 fix: add cookie and ccpa links to footer 2022-12-16 16:17:32 -05:00
Bianca Severino
c9b776fa7a fix: add cookie and ccpa links to footer 2022-12-16 14:34:36 -05:00
Alexander J Sheehan
7636ce883b Merge pull request #31453 from openedx/asheehan-edx/bumping-enterprise-3.59.2
chore: bumping enterprise version to 3.59.2
2022-12-16 12:19:46 -05:00
Alex Sheehan
ea385c7139 chore: bumping enterprise version to 3.59.2 2022-12-16 16:29:08 +00:00
Michael Roytman
29aa3a21d1 Merge pull request #31452 from openedx/mroytman/bump-xblock-lti-consumer-7.2.0
Fix PII sharing bugs and enable PII sharing in LTI 1.3
2022-12-15 16:13:44 -05:00
michaelroytman
ce56c40009 feat: update xblock-lti-consumer library to fix PII sharing bugs and enable PII sharing in LTI 1.3
This commit upgrades the version of the lti-consumer-xblock library from version 7.1.0 to version 7.2.0. Version 7.2.0 includes a number of fixes to bugs relating to personally identifiable information (PII) sharing in LTI launches in both LTI 1.1 and LTI 1.3. Version 7.2.0 also enables PII sharing (username and email) in LTI 1.3 launches.

Please see the CHANGELOG entry for these versions for a full description of the changes: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#720---2022-12-15.
2022-12-15 14:58:34 -05:00
bszabo
05542a3f52 Merge pull request #31344 from openedx/bszabo/TNL-10136-reapply-course-enrollment-changes
feat: TNL-10136 tease course enrollment from student model
2022-12-15 13:17:59 -05:00
alangsto
a1322abb0d fix: update docker logger settings to better match normal log settings (#31448)
* fix: update docker logger settings to better match normal log settings

* feat: add docker-production settings for cms
2022-12-15 09:17:12 -05:00
Bernard Szabo
5332b5e6db feat: TNL-10136 Duplicate lines
Remove block of 3 lines duplicated in last rebase exercise
2022-12-15 08:32:48 -05:00
John Nagro
7653e408c1 feat: release edx-enterprise 3.59.1 (#31450)
- also adjusting retirement and GDPR tests to reflect new schema
2022-12-14 19:08:26 -05:00
Andrew Shultz
d4ab851386 Merge pull request #31445 from openedx/ashultz0/mail-more-goals
fix: mail goals during the whole day, not just the morning
2022-12-14 11:32:31 -05:00
Muhammad Adeel Tajamul
e04d53a9a1 feat: added support for new topics for mobile (#31441)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-12-14 13:21:31 +05:00
Muhammad Adeel Tajamul
6ef0aba48d feat: added discussion enabled for unit in studio (#31394)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-12-14 13:21:03 +05:00
Bernard Szabo
6d25e192f1 feat: TNL-10136 fix small rebase errors
Too many blank lines, missing import between student model files
2022-12-13 18:23:13 -05:00
Bernard Szabo
6e75002bb4 feat: TNL-10136 fix dependencies
Multiple commits squashed. Common theme was to resolve dependencies with master branch
2022-12-13 18:02:25 -05:00
Bernard Szabo
89086d482a feat: TNL-10136 fix build errors
blank lines in __init__
private method that needed to be public
importlib and importlib-resources dependencies
2022-12-13 17:19:41 -05:00
Bernard Szabo
377edc2f4d feat: TNL-10136 Propagate changes from last PR 2022-12-13 17:19:41 -05:00
Bernard Szabo
d5a5e25fef feat: TNL-10136 fix lint errors
And import cross-references
And wrap-around lines
2022-12-13 17:19:40 -05:00
bszabo
ef7d9d7066 feat: TNL-10136 student.py -> user.py 2022-12-13 17:19:40 -05:00
Bernard Szabo
d16b76ee75 feat: TNL-10136 course_enrollment.py hygiene
inclusion in __init__
docstring
2022-12-13 17:19:40 -05:00
Bernard Szabo
2d544f94be feat: TNL-10136 tease course enrollment from student model
Reapply changes developed in bszabo/TNL-10136-student-course-enrollment branch to current master
2022-12-13 17:19:34 -05:00
Andy Shultz
646c5c7fbd fix: mail goals during the whole day, not just the morning
Goal mail jobs can easily take 4 hours to run and sometimes
fail. Restricting the allowable mail window to three morning hours
only means many goal mails will be missed.

Extend the window to the whole day so that mails are actually sent. It
will still prefer to send mail in the morning because that is the
first time it could encounter the goal and it will mark it as sent
afterwards.
2022-12-13 15:42:12 -05:00
bszabo
5dc8dc54e1 Merge pull request #31412 from openedx/youtube-scrape-transcripts-squashed
Youtube scrape transcripts squashed
2022-12-13 15:05:03 -05:00
Shafqat Farhan
9a0fbe1a57 Merge pull request #31444 from openedx/shafqat/VAN-1206
fix: VAN-1206 - Resume last course URL defaults to request path for new users with no enrollments
2022-12-14 00:18:19 +05:00
Shafqat Farhan
21e92698cc fix: VAN-1206 - Resume last course URL defaults to request path for new users with no enrollments 2022-12-13 21:41:18 +05:00
Andrew Shultz
e4476d3941 Merge pull request #31425 from openedx/ashultz0/wait-for-exam-update
wait for exam block to actually be committed before trying to update off it
2022-12-13 11:00:46 -05:00
Kaustav Banerjee
99cd4a4715 feat: disable allowed enrollment if enrollment closed 2022-12-13 15:49:25 +01:00
Saleem Latif
d7f2b555c7 Merge pull request #31434 from openedx/saleem-latif/ENT-6518-updates
ENT-6518: chore: Updated edx-enterprise version to 3.59.0
2022-12-13 11:31:39 +05:00
Tim McCormack
b8a34f0c57 build: Set Django version for tests more safely; drop support for non-GHA (#31387)
We have a need to lock the version of Django for production and tests, but
also to test on newer versions of Django so that we can get the repo ready
for long-term-support releases.

We've been doing that by extracting the `django==x.y.z` from the
pip-compiled files and moving it to a django.txt that is then co-installed
but can be overridden during tests. The problem is that this can result
in broken packages.

The approach here is to have `make test-requirements` continue to
ensure a consistent set of packages, and then install a different
Django on top of that in the CI script -- and call `pip check` to make
sure that combination isn't broken.

Adding Django 4.0 to the unit-tests.yml matrix will now correctly
result in this error and a failing job:
`django-splash 1.2.1 has requirement Django<4.0, but you have django 4.0.8.`

The other half of this is to change other CI runners to remove their
ability to control the Django version, since it's complicated to make
this work, and we probably only need it in unit-tests.yml. Convert them
to just use `make test-requirements`.

Also:

- Simplify handling of `pip --src` by setting `PIP_SRC` (rather than our
  own `PIP_SRC_DIR`, which pip ignores because `--src-dir` isn't an option
  that it knows). This is needed to allow `make test-requirements` to do
  the pip calls. An alternative would be to set a pip-options env var for
  the make target to use, but `PIP_SRC` already exists.
- Remove outdated modifications to common_constraints
- Add comment explaining why pylint tests need dev-requirements
2022-12-12 21:45:15 +00:00
connorhaugh
cec560b3ab feat: one problem type for new problem editor (#31423)
* feat: one problem type for new problem editor

* fix: add comment, fix lint

* fix: remove print statement

* fix: lint fix
2022-12-12 15:09:43 -05:00
Andy Shultz
0b68c84286 fix: convert exam update into a lambda on commit
Current behavior for both old and new exams paths on exam creation is
that the signal fires, the update code kicks off a celery task which
looks for a new exam, and that exam is not found so no actual update
is done. Or the old version is visible but the updated version is not.

By waiting until the change is actually committed, we should find the
new exam when we search for it.

This is currently an invisible bug just because of the large numbers
of updates that working on a course provides, the exam will be correct
unless it was the absolute last thing that was touched, in which case
it will be out of date.
2022-12-12 13:40:22 -05:00
Andrew Shultz
ceab37bd20 Merge pull request #31438 from openedx/ashultz0/devstack-worker-clear-cache
fix: update devstack with worker for cache and proper redis
2022-12-12 13:39:23 -05:00
Andy Shultz
569403f4ae fix: update devstack with worker for cache and proper redis
https://github.com/openedx/edx-platform/pull/31261 fixed celery
cache behavior when not running a worker and made sure production
would keep the old cache behavior, but missed these secret alternate
settings files, bring them up to date.

Also fixes the cms file to have the actual broker URL.
2022-12-12 11:17:54 -05:00
Zachary Hancock
35b3eacc96 feat: update lti-consumer lib (#31437)
Adds support for a platform setting to disable sharing of pii over the LTI names and roles provisioning service.
2022-12-12 09:54:33 -05:00
Saleem Latif
0fcd4334f8 chore: Updated edx-enterprise version to 3.59.0 2022-12-12 17:26:02 +05:00
Jenkins
c1ad89b37e chore(i18n): update translations 2022-12-11 16:00:41 -05:00
Kira Miller
7a321e4fb3 Merge pull request #31428 from openedx/kiram15/bug-fix
chore: version bump
2022-12-09 14:41:03 -05:00
Kira
b717a76d64 chore: version bump 2022-12-09 12:04:03 -05:00
Pooja Kulkarni
fe6cbc5f6f Merge pull request #31408 from open-craft/agrendalath/fix_site_language
fix: use language specified in SiteConfiguration
2022-12-09 11:20:52 -05:00
Mehak Nasir
9efd04b178 fix: full post content is returned for preview (#31426) 2022-12-09 21:10:30 +05:00
Bernard Szabo
7630ef955a feat: TNL-9460 Drop duplicate tests
Two failing tests add no coverage relative to other tests
2022-12-09 10:58:09 -05:00
Sameen Fatima
7819221ce5 chore: upgrade edx-enterpise to 3.58.17 (#31419) 2022-12-09 10:35:09 +05:00