Commit Graph

63715 Commits

Author SHA1 Message Date
Braden MacDonald
a013c08ae6 fix: incorrect type hints in a few places (#33104) 2023-08-28 10:34:08 -07:00
Kira Miller
776f4bf94e feat: adding unenrollments to event bus (#33085)
* feat: adding unenrollments to event bus

* fix: quality fixes

* fix: tweaks to pass tests

* fix: more tweaks for testing

---------

Co-authored-by: John Nagro <jnagro@edx.org>
2023-08-28 09:08:49 -06:00
Awais Qureshi
2f8475c307 Revert "Revert "feat!: upgrading django-storages to 1.10.1 (#32571)" (#33109)" (#33111)
This reverts commit 191b825a2c.
2023-08-28 14:46:21 +05:00
Awais Qureshi
191b825a2c Revert "feat!: upgrading django-storages to 1.10.1 (#32571)" (#33109)
This reverts commit 9281ea4a9a.
2023-08-28 14:05:38 +05:00
Ejaz Ahmad
07de29f721 Merge pull request #33056 from openedx/eahmadjaved/ENT-7542
feat: add hook to modify courserun data for executive education courses
2023-08-28 14:04:07 +05:00
Usama Sadiq
a0076c1243 fix: fix django 41 deprecation warnings (#33099) 2023-08-28 13:32:39 +05:00
Awais Qureshi
9281ea4a9a feat!: upgrading django-storages to 1.10.1 (#32571)
* feat!: upgrading django-storages to 1.10.1
2023-08-28 13:13:28 +05:00
jajjibhai008
fa70214578 feat: add hook to modify courserun data for executive education courses 2023-08-28 11:56:23 +05:00
mubbsharanwar
345ae69bad fix: move recommendations to edx-recommendations
Move recommendations related code to separate plugin edx-recommendations.

VAN-1596
2023-08-28 11:38:43 +05:00
Dmytro
fc90c852b2 fix: TypeError during student.send_activation_email task (#32623)
Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2023-08-28 11:21:07 +05:00
Jenkins
75f24ff513 chore(i18n): update translations 2023-08-27 17:05:27 -04:00
Syed Muhammad Dawoud Sheraz Ali
a4d77003b3 Revert "feat: add skill_tagging plugin configs (#32932)" (#33102)
This reverts commit fc5e7926c1.
2023-08-25 21:42:30 +05:00
leangseu-edx
4526300c55 chore: add constraint for ora2 2023-08-25 11:56:34 -04:00
Sameen Fatima
fc5e7926c1 feat: add skill_tagging plugin configs (#32932) 2023-08-25 15:04:25 +02:00
Saleem Latif
ad894ac41d Merge pull request #33094 from openedx/saleem-latif/upgrade-edx-enterprise-fc4b9e3
feat: Upgrade Python dependency edx-enterprise
2023-08-25 16:03:25 +05:00
Saleem Latif
4136147d58 chore: Added new settings required by edx-enterprise latest version. 2023-08-25 15:40:33 +05:00
saleem-latif
208acd7d01 feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/saleem-latif/ENT-7362`
2023-08-25 15:07:47 +05:00
Irtaza Akram
ff03d5920b fix: middleware get_response parameter deprecation (#33098) 2023-08-25 14:59:08 +05:00
Irtaza Akram
0c46334636 fix: ugetext and ngettext deprecation warnings (#33097) 2023-08-25 14:58:53 +05:00
Ejaz Ahmad
e88f4e42ba Merge pull request #33095 from openedx/jajjibhai008/upgrade-openedx-filters-fc4b9e3
feat: Upgrade Python dependency openedx-filters
2023-08-25 12:28:34 +05:00
jajjibhai008
bcada127c0 feat: Upgrade Python dependency openedx-filters
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-08-25 07:01:28 +00:00
bszabo
fc4b9e3254 Bszabo/tnl 10766 gaps (#33001)
* feat: TNL-10766 detect block read request

* feat: TNL-10766 add parent and child descriptors

* feat: TNL-10766 simple parent/child return

* feat: TNL-10766 combine results

* feat: TNL-10766 tuples to dictionaries

* feat: TNL-10766 no parent for root block

* feat: TNL-10766 Lint removal

* feat: TNL-10766 test for children w hasattr

* feat: TNL-10766 hasattr + value test

* feat: TNL-10766 fix lint


Missing blank lines & the like

* feat: TNL-10766 more lint fixes

* feat: TNL-10766 undo body to data conversion

* feat: TNL-10766 preserve historical data/fields usage

---------

Co-authored-by: Bernard Szabo <bszabo@edx.org>
2023-08-24 17:44:35 -04:00
Usama Sadiq
2ffcc1aa3f build: distinguish unit test and pylint successful checks (#32452)
We will be able to use these composite checks to block
PR merges instead of blocking on every single individual
unit test and pylint check.

Closes: https://github.com/openedx/edx-platform/issues/32238
2023-08-24 17:38:52 +00:00
Rômulo Penido
ecc4a0d53d feat: add taxonomies for org api (#32871)
* feat: add taxonomies for org api

* chore: run CI

* feat: Add retrieve object_tags REST API (#577)

* chore: update requirements

---------

Co-authored-by: Yusuf Musleh <yusuf@opencraft.com>
2023-08-24 10:32:07 -07:00
Awais Qureshi
63a080885c feat!: setting AWS_DEFAULT_ACL default value in lms.py. (#32816)
* feat!: setting AWS_DEFAULT_ACL default value in lms.py.

 https://django-storages.readthedocs.io/en/1.10.1/backends/amazon-S3.html
2023-08-24 15:29:23 +05:00
Irtaza Akram
3c17b41445 Merge pull request #33087 from openedx/fix-requires-system-checks-deprecation-warning
[django4.2]: fix: requires_system_checks deprecation warning
2023-08-24 12:28:09 +05:00
Dmytro
fa45caa138 fix: float "&nbsp;" symbol in the preview_body (#32484)
Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2023-08-24 11:12:52 +05:00
irtazaakram
9562bdf5eb fix: requires_system_checks deprecation warning 2023-08-24 10:29:35 +05:00
Jenkins
4c439041ef chore: geoip2: update maxmind geolite country database 2023-08-23 16:59:12 -04:00
Braden MacDonald
f491f5bde8 fix: refactor MakoService to allow specifying template more explicitly (Take 2) (#33077)
* fix: refactor MakoService to allow specifying namespace per template (#33061)

* fix: instr. dashboard broken by bulk email reusing HtmlBlock studio_view

* fix: lint issue from unused import
2023-08-23 11:48:06 -07:00
Mohamed Akram
d83d769c6f chore: run js tests on all pull requests 2023-08-23 17:22:36 +02:00
ruzniaievdm
b84d45410c feat: add api for help tokens (#33073) 2023-08-23 09:48:16 -04:00
Mubbshar Anwar
6eba79af41 fix: update dashboard recommendations endpoint (#33072)
- Update recommendations endpoint from learner recommendations to edx recommendations.
- Added docstring to tell contributors that the recommendations related code has been moved to edx-recommendations plugin.

VAN-1596
2023-08-23 16:53:32 +05:00
Moeez Zahid
7ae64a5eb4 refactor: Add logging to mobile_api app (#33064) 2023-08-23 16:20:20 +05:00
Ejaz Ahmad
6a346c2126 Merge pull request #33083 from openedx/jajjibhai008/upgrade-edx-enterprise-02f6a46
feat: Upgrade Python dependency edx-enterprise
2023-08-23 15:52:26 +05:00
jajjibhai008
88ecbfd89e feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-08-23 09:38:53 +00:00
Awais Qureshi
02f6a46ad5 Remove matplotlib pin (#32787)
* chore: upgrading matplotlib to latest version.
---------

Authored-by: awais786 <awais786@users.noreply.github.com>
2023-08-23 14:28:38 +05:00
Zainab Amir
45fd0b57cf feat: add user details to registration response (#33078) 2023-08-23 11:45:43 +05:00
Awais Qureshi
a4b11c02e0 chore: adding test to verify default-acl behaviour. (#33074)
* chore: adding test to verify default-acl behaviour.
2023-08-22 17:01:28 +00:00
Feanil Patel
5960840f51 Merge pull request #32496 from ManpraXSoftware/edx-depr31
feat: BLOCK_STRUCTURES_SETTINGS['PRUNING_ACTIVE'] toggle removed depr31
2023-08-22 12:58:02 -04:00
Eugene Dyudyunov
4340a832f7 Add the default enrollment start date on course creation (#30954)
* fix: main page course listing

The course is visible on the main page right after creation when the feature toggle `CREATE_COURSE_WITH_DEFAULT_ENROLLMENT_START_DATE` is on.

So anonymous users can see them and access the course about page
for the courses without valid data (e.g. they will see the default
course overview)

When courses list filtering is processed it checks the `see_exists`
permission for the anonymous user.
Actually, `see_exists` means `can_load` OR `can_enroll`.

`can_load` is False in our case because the course start in the future.

But `can_enroll` returns True because the course's enrollment_start
and enrollment_end dates are blank:
```
enrollment_start = courselike.enrollment_start or datetime.min.replace(tzinfo=UTC)
enrollment_end = courselike.enrollment_end or datetime.max.replace(tzinfo=UTC)
if enrollment_start < now < enrollment_end:
    debug("Allow: in enrollment period")
    return ACCESS_GRANTED
```

Set the enrollment_start the same as a course start by default
2023-08-22 10:42:19 -04:00
Yagnesh1998
a5b1fdad38 feat: remove the registration.enable_failure_logging temporary Waffle… (#32977)
* feat: remove the registration.enable_failure_logging temporary WaffleFlag depr84
2023-08-22 10:03:28 -04:00
Robert Raposa
a3cb678a16 Merge pull request #33069 from openedx/robrap/remove-basic-auth
feat!: remove BasicAuthentication default
2023-08-22 09:18:07 -04:00
Usama Sadiq
7710e60328 fix: fix middleware get_response parameter deprecation warning (#33067) 2023-08-22 15:52:30 +05:00
bszabo
68e9a03708 Revert "fix: refactor MakoService to allow specifying namespace per template (#33061)" (#33070)
This reverts commit d60cdc2305.
2023-08-21 16:32:58 -04:00
Kristin Aoki
98cb27da36 feat: add file size length to returned json (#33068) 2023-08-21 16:26:14 -04:00
Robert Raposa
71136240ad feat!: remove BasicAuthentication default
Removed BasicAuthentication as a default from DRF
endpoints that have not overridden the authentication
classes. It appears this is not in use, and was just
implicitly a default because it came from DRF's
defaults.

See DEPR: https://github.com/openedx/edx-platform/issues/33028
2023-08-21 15:45:58 -04:00
Robert Raposa
c9734e3399 fix: change session_auth_result value to n/a
Changes one of the values of the custom attribute
session_auth_result from 'skipped' to 'n/a'.
2023-08-21 14:42:30 -04:00
German
3f20c75043 feat: [ACADEMIC-16209] Unit summary settings (#32855)
* feat: [ACADEMIC-16209] Unit summary settings

[https://jira.2u.com/browse/ACADEMIC-16209](https://jira.2u.com/browse/ACADEMIC-16209)

1. Add unit xpert unit summaries settings behind flag `summaryhook_summaries_configuration` added [here](https://github.com/edx/ai-aside/pull/45/files)
2. Only show the checkbox when the value is a `boolean` otherwise the feature is considerer `disabled` by the flag.
3. Update block handler to update this value via `api` exposed [here](https://github.com/edx/ai-aside/pull/43)
4. Create `AiAsideSummary` configuration class to provide access to the `ai_aside.api` endpoints.
2023-08-21 14:55:22 -03:00
Braden MacDonald
d60cdc2305 fix: refactor MakoService to allow specifying namespace per template (#33061) 2023-08-21 10:05:38 -07:00