Commit Graph

65817 Commits

Author SHA1 Message Date
Rômulo Penido
aa952c9332 feat: allow copying library v2 XBlocks via existing copy REST API (#35211) 2024-08-08 09:31:33 -07:00
Ahtisham Shahid
e7dbc4883c fix: resolved content issue in renamed notification (#35252) 2024-08-08 19:10:47 +05:00
Ahtisham Shahid
63f327b682 feat: added events to bulk email tool (#35147)
* feat: added events to bulk email tool
2024-08-08 14:57:32 +05:00
Katrina Nguyen
d1bf43dd2a Merge pull request #35246 from openedx/knguyen2/version-bump-9302
chore: version bump
2024-08-07 11:15:52 -07:00
Katrina Nguyen
747d515bfb Merge branch 'master' into knguyen2/version-bump-9302 2024-08-07 10:12:10 -07:00
Tim McCormack
36200f4232 fix: Fix matching of /c4x/ in course asset view urlpatterns (#35247)
This was failing to capture /c4x/ URLs when the `content_server.use_view`
waffle flag was enabled, so we were returning 404s for those during our
rollout test.

Part of https://github.com/openedx/edx-platform/issues/34702
2024-08-07 17:05:03 +00:00
katrinan029
2228129dca chore: version bump 2024-08-07 15:34:42 +00:00
Diana Huang
35651daccb build: Downgrade xblock due to behavior regression. (#35244)
Xblock used to allow overrides of the built-in xblocks.
The latest version introduced a regression.
2024-08-07 10:58:49 -04:00
Awais Qureshi
99760f80f0 feat: Upgrading api list_course_role_members ( 2nd api ) (#35105)
* feat: upgrading simple api to drf compatible.
2024-08-07 16:40:27 +05:00
Ahtisham Shahid
9bd692413a fix: make course update email pref false (#35224)
fix: updated unit tests

fix: updated unit tests
2024-08-07 14:55:02 +05:00
edX requirements bot
834dc31073 chore: Upgrade Python requirements (#35241) 2024-08-06 19:18:33 +00:00
Diana Huang
94f4c488a6 build: Pin social-auth-app-django as a requirement. (#35237)
There are a few migrations going into this library
which cause operational headaches for operators.
We would like to pin until the migrations settle down
and then we can unpin this again.
2024-08-06 14:09:25 -04:00
github-actions[bot]
3c64b747e5 feat: Upgrade Python dependency edx-django-utils (#35235)
Update to latest version with updates to function trace functionality.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: dianakhuang <2952947+dianakhuang@users.noreply.github.com>
2024-08-06 10:25:00 -04:00
Awais Qureshi
0a067ffa82 feat: upgrading simple api to drf compatible (4th api ) (#35135)
* feat: upgrading simple api to drf compatible.
2024-08-06 15:25:24 +05:00
renovate[bot]
48c5856a3f fix(deps): update dependency requirejs to v2.3.7 [security] 2024-08-06 08:01:21 +00:00
Braden MacDonald
8aac664e67 fix: error when saving changes to a v2 library block (#35217) 2024-08-06 04:30:14 +09:30
Marlon Keating
e35f183d6c Merge pull request #35227 from pmakwana93/pmakwana93/bumping-enterprise-version-4.22.4
chore: bumping enteprise version to 4.22.4
2024-08-05 11:03:28 -07:00
Prashant Makwana
05bf82c655 chore: bumping enteprise version to 4.22.4 2024-08-05 16:50:43 +00:00
Eemaan Amir
500516832b chore: update ora2 version in requirements (#35222) 2024-08-05 18:35:20 +05:00
Muhammad Anas
28ce713e9f feat: added custom setting attribute for gradebook freeze timedelta (#35189)
* feat: added custom setting attribute for gradebook freeze timedelta
2024-08-05 16:23:50 +05:00
hamzawaleed01
8fb033a502 feat: add PA role 2024-08-05 15:41:48 +05:00
Muhammad Adeel Tajamul
5aa69589c4 feat: added truncate and alert in notification (#35214) 2024-08-05 06:08:19 +05:00
Eemaan Amir
c135fddd55 fix: removed extra space and colon from ORA notification content (#35206) 2024-08-02 12:22:34 +05:00
Chris Chávez
2788f2bc3b feat: New fields in library v2 details API view (#35091) 2024-08-01 11:50:13 -07:00
Deborah Kaplan
a7f6cf160c feat: removing the from the retirement pipeline (#35215)
although the demographics IDA has not been entirely deprecated as yet,
it is about to be, so removing from the retirement pipeline.
2024-08-01 13:23:50 -04:00
Jillian
20f7dbda7a fix: content search last_published date [FC-0059] (#35195)
* fix: use versioning.last_publish_log for components
* chore: bump openedx-learning to 0.10.1
2024-08-02 02:48:31 +09:30
Feanil Patel
2ba6fd5f69 Merge pull request #35212 from openedx/feanil/geoip2-bot-update-country-database-0359d52
Update GeoLite Database
2024-08-01 10:55:27 -04:00
feanil
73c3211c77 chore: geoip2: update maxmind geolite country database 2024-08-01 03:06:57 +00:00
Tim McCormack
0359d5204d fix: Prevent error page recursion (#35209)
We sometimes see rendering errors in the error page itself, which then
cause another attempt at rendering the error page. I'm not sure _exactly_
how the loop is occurring, but it looks something like this:

1. An error is raised in a view or middleware and is not caught by
   application code
2. Django catches the error and calls the registered uncaught error
   handler
3. Our handler tries to render an error page
4. The rendering code raises an error
5. GOTO 2 (until some sort of server limit is reached)

By catching all errors raised during error-page render and substituting in
a hardcoded string, we can reduce server resources, avoid logging massive
sequences of recursive stack traces, and still give the user *some*
indication that yes, there was a problem.

This should help address https://github.com/openedx/edx-platform/issues/35151

At least one of these rendering errors is known to be due to a translation
error. There's a separate issue for restoring translation quality so that
we avoid those issues in the future (https://github.com/openedx/openedx-translations/issues/549)
but in general we should catch all rendering errors, including unknown
ones.

Testing:

- In `lms/envs/devstack.py` change `DEBUG` to `False` to ensure that the
  usual error page is displayed (rather than the debug error page).
- Add line `1/0` to the top of the `student_dashboard` function in
 `common/djangoapps/student/views/dashboard.py` to make that view error.
- In `lms/templates/static_templates/server-error.html` replace
  `static.get_platform_name()` with `None * 7` to make the error template
  itself produce an error.
- Visit <http://localhost:18000/dashboard>.

Without the fix, the response takes 10 seconds and produces a 6 MB, 85k
line set of stack traces and the page displays "A server error occurred.
Please contact the administrator."

With the fix, the response takes less than a second and produces three
stack traces (one of which contains the error page's rendering error).
2024-07-31 17:36:08 +00:00
github-actions[bot]
46c972eb15 feat: Upgrade Python dependency edx-enterprise (#35205)
fix: serialize 'course_key' from the CourseDetails model by @brobro10000 in #2185

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: brobro10000 <82611798+brobro10000@users.noreply.github.com>
2024-07-30 15:02:33 +00:00
Hamza Waleed
657a138d85 Merge pull request #35204 from openedx/hamzawaleed01/upgrade-edx-enterprise-39dd3c0
feat: Upgrade Python dependency edx-enterprise
2024-07-30 18:30:36 +05:00
hamzawaleed01
459b0a4907 feat: Upgrade Python dependency edx-enterprise
created migration to create a system-wide enterprise role named `enterprise_provisioning_admin`.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-07-30 12:54:43 +00:00
Awais Qureshi
39dd3c002b feat: converting existing api to drf base api. (#35039)
Adding generic permission class. Added standard authentication classes.
2024-07-30 13:18:49 +05:00
Eemaan Amir
085a2f5815 refactor: deprecated course update notification waffle flag (#35190) 2024-07-30 11:57:51 +05:00
Kristin Aoki
8d0ada54c4 feat: add waffle flag for beta testing new problem editor parser (#35184)
* feat: add waffle flag for beta testing new problem editor parser

* chore: remove commented out code

* fix: failing test
2024-07-26 12:00:42 -04:00
Deborah Kaplan
089b34a6bf feat: removing the demographics application stage 2 (#35186)
* removing the application folder
* removing references in all other files

FIXES: APER-3560
2024-07-26 11:13:35 -04:00
Muhammad Umar Khan
e9e4a3d041 feat!: upgrade pymongo (#35179) 2024-07-26 15:34:17 +05:00
MueezKhan246
96fb549994 Merge pull request #35187 from openedx/MueezKhan246/upgrade-edx-enterprise-12569b4
feat: Upgrade Python dependency edx-enterprise
2024-07-26 14:38:13 +05:00
MueezKhan246
7620c434a5 feat: Upgrade Python dependency edx-enterprise
fixed search fetch crashing because of server taking too long for api request logs

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-07-26 08:31:53 +00:00
Muhammad Anas
3b8973ad01 fix: disable submit button for archived courses (#34920)
* fix: disable submit button for archived courses
2024-07-26 10:52:32 +05:00
Deborah Kaplan
12569b459f feat: removing djangoapp demographics, step 1 (#35182)
* feat: removing djangoapp `demographics`, step 1

This step removes the models, the references to the models, and adds a
migration to drop both tables  (`HistoricalUserDemographics`  didn't
have a corresponding model but was still a valid table).

Once this has deployed, this will be removed from `INSTALLED_APPS` and
completely removed.

No other apps  in the repository currently reference this djangoapp  in
code or tables.

FIXES: APER-3560
2024-07-25 19:06:24 +00:00
Jillian
6b5d812d38 feat: adds sortable fields to studio content search index (#35103) 2024-07-25 18:18:49 +00:00
Daniel Valenzuela
78b691b56a refactor: inheritable authoring mixin callbacks for editing & duplication (#33756) 2024-07-25 10:30:37 -07:00
Rômulo Penido
238dca732e fix: skip block indexing if it raises an error while loading (#35139)
* fix: skip block indexing if it raises an error while loading
* test: add tests to the issue
2024-07-26 02:15:57 +09:30
Feanil Patel
88c3507551 Merge pull request #35181 from openedx/feanil/fix_bad_merge
fix: Remove errant pluses from a bad merge.
2024-07-25 11:58:06 -04:00
Feanil Patel
1fa8e07f1c style: Fix a pylint and other style violations. 2024-07-25 11:06:17 -04:00
Feanil Patel
68ef001c91 fix: Remove errant pluses from a bad merge. 2024-07-25 10:24:36 -04:00
Feanil Patel
cb729a3ced Merge commit from fork
fix: libraries across orgs
2024-07-25 10:12:57 -04:00
connorhaugh
25437d2a72 docs: imporved comment 2024-07-25 10:12:16 -04:00
connorhaugh
df635e0fae fix: libraries across orgs 2024-07-25 10:12:16 -04:00