Commit Graph

66006 Commits

Author SHA1 Message Date
Asad Ali
65fd18bdcf refactor: revert imports 2024-10-31 23:26:23 +05:00
Asad Ali
d81c2d8be5 refactor: revert imports 2024-10-31 23:24:40 +05:00
Asad Ali
9ed41b0759 test: add tests for known and unknown user 2024-10-31 23:20:41 +05:00
Asad Ali
d9a27b6ba7 style: pylint 2024-10-31 23:20:40 +05:00
Asad Ali
cf3c10ba34 test: add tests 2024-10-31 23:20:40 +05:00
Asad Ali
1f86786b15 fix: bypass access checks when populating course blocks cache 2024-10-31 23:20:40 +05:00
Fatima Sohail
de55da2170 fix: added font styles for email digest browser compatibility (#35750) 2024-10-31 20:54:17 +05:00
github-actions[bot]
b20498cc4e feat: Upgrade Python dependency edx-enterprise (#35748)
serialize best_mode_for_course_run field in DefaultEnterpriseEnrollmentIntentionSerializer

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

Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2024-10-30 19:24:34 +00:00
Muhammad Farhan Khan
29845683f7 Merge pull request #35719 from openedx/farhan/sass-to-css-html-block-2
feat!: Dropping Sass support from builtin html block
2024-10-30 21:23:34 +05:00
Kira Miller
10a876ffbd fix: removing migration check after dropping column in table (#35742) 2024-10-30 09:12:35 -06:00
Peter Pinch
3dbb99303b Merge pull request #35675 from mitodl/anas/fix-certificate-display-bahaviour
fix: certificate display behavior not showing date-picker for end-with-date
2024-10-30 10:48:21 -04:00
Muhammad Farhan Khan
5cba2b7c8e Merge pull request #35718 from openedx/farhan/sass-to-css-poll-block-2
Dropping Sass support from builtin poll block
2024-10-30 19:19:48 +05:00
Alison Langston
338a0a1166 feat: check course start date for courseware search (#35740) 2024-10-30 08:52:43 -04:00
Muhammad Anas
fb5e26952b fix: removed all the usage of useV2CertDisplaySettings 2024-10-30 17:41:16 +05:00
Muhammad Anas
051eacb024 fix: certificate display behaiviour not showing date-picker for end-with-date 2024-10-30 17:41:16 +05:00
Fatima Sohail
d5a7689647 fix: import font for notification digest email (#35720)
* fix: import font for notification digest email

* fix: font smoothing and size
2024-10-30 14:11:59 +05:00
farhan
6ad6ec3ea4 chore: Remove scss files related to html block 2024-10-30 11:17:52 +05:00
farhan
f52050712c feat!: Dropping Sass support from builtin html block, replacing with vanilla CSS 2024-10-30 11:17:52 +05:00
farhan
7f1611ed90 chore: remove scss files related to the poll block 2024-10-30 11:17:37 +05:00
farhan
55aeca65c2 feat!: Dropping Sass support from builtin poll block, replacing with vanilla CSS 2024-10-30 11:17:37 +05:00
Adam Stankiewicz
d54e3bd4c1 feat: bump edx-enterprise to 4.30.0, extend system-wide roles for enrollment intentions feature (#35739) 2024-10-29 11:50:43 -04:00
edX requirements bot
e1ecf7296c chore: Upgrade Python requirements (#35735) 2024-10-29 12:17:40 +05:00
Deborah Kaplan
97449ef54f feat: add more authentication information to swagger (#35674)
* feat: add more authentication information to swagger
* updates the `docs-settings` to make the generated swagger
  `securityDefinitions` include both JWT and CSRF methods, as well as
  basic. A few linter fixes happened as a side effect.
* Put in wordier descriptions for all three, since we don't have great
  shared documentation about authn/authz.
* Added CSRF to `login_session`, which also serves as a proof of concept
  for other endpoits
* Also regenerated the swagger doc, which picked up some extra changes.

Generated swagger now has help and allows extra auth methods so some
preveiously unusable endpoints can be hit.

FIXES: APER-3554
2024-10-28 16:34:15 -04:00
Navin Karkera
949378f63f fix: do not open MFE editors automatically on block paste (#35728) 2024-10-28 11:34:53 -07:00
Kristin Aoki
afd1394112 Revert "feat: update preview url to direct to mfe (#35687)" (#35732)
This reverts commit 2373dd02f9.
2024-10-28 17:26:29 +00:00
Fatima Sohail
0a2e8a914a feat: updated bulk email context for updated footer (#35702)
* feat: updated bulk email context for updated footer

* refactor: remove unnecessary f-string
2024-10-28 22:10:09 +05:00
Muhammad Farhan Khan
64d0d51072 Merge pull request #35717 from openedx/farhan/sass-to-css-wordcloud-block-2
feat!: Dropping Sass support from builtin word cloud block
2024-10-28 21:27:01 +05:00
farhan
7fce06a11b feat!: Dropping Sass support from builtin word cloud block, replacing with vanilla CSS 2024-10-28 20:24:19 +05:00
Muhammad Farhan Khan
1283fdde8e Dropping Sass support from builtin annotatable block (#35716)
* feat!: Dropping Sass support from builtin annotatable block, replacing with vanilla CSS
2024-10-28 20:22:06 +05:00
Kristin Aoki
2373dd02f9 feat: update preview url to direct to mfe (#35687)
* feat: update preview url to direct to mfe

* fix: use url builder instead of string formatter

* fix: url redirect for never published units
2024-10-28 10:31:53 -04:00
Muhammad Adeel Tajamul
e1f31fbb45 feat: removed setting email cadence to Never when using one click unsubscribe (#35708) 2024-10-28 15:48:34 +05:00
Muhammad Adeel Tajamul
ebe3dc5e12 fix: fixed course update notification UI in notification tray (#35715) 2024-10-28 15:47:08 +05:00
Cristhian Garcia
e8cdb06410 feat!: remove all references to content library types (#35726)
At one point, we envisioned having different kinds of libraries, e.g.
a "Video" library would be distinct from a "Problem" library. Later on,
we decided on a more generalized form of Libraries, where any given
library can hold any combination of content–which would then be
organized using collections and tagging.

Due to this shift in perspective, these values haven't actually been
used for a long time. This is just getting rid of them altogether.
2024-10-25 14:16:56 -04:00
github-actions[bot]
ab6d8cb6c2 feat: Upgrade Python dependency edx-enterprise (#35721)
Upgrade `edx-enterprise` to 4.29.0

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>
Co-authored-by: Hamzah Ullah <hamzahullah@yahoo.com>
2024-10-24 17:07:57 +00:00
Adolfo R. Brandes
8539287a15 chore: update release branch to 'master' (#35722) 2024-10-24 13:21:18 -03:00
salmannawaz
a19993cd3e Update catalog-info file for release data (#35691)
* chore: Update catalog.yaml file for release data

* chore: Delete openedx.yaml file
2024-10-24 13:12:12 -03:00
Muhammad Farhan Khan
0c91b625bd Merge pull request #35506 from openedx/farhan/sass-to-css-video-block
feat! Dropping Sass support from builtin video block

https://github.com/openedx/edx-platform/issues/35570
2024-10-24 12:50:26 +05:00
github-actions[bot]
471e5bf1a2 feat: Upgrade Python dependency edx-enterprise (#35704)
* feat: Upgrade Python dependency edx-enterprise

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

* fix: skip failing migration check

---------

Co-authored-by: kiram15 <31229189+kiram15@users.noreply.github.com>
Co-authored-by: Kira Miller <kira.miller15@yahoo.com>
2024-10-23 15:48:22 -06:00
David Ormsbee
e286d78a29 chore: requirements updates (edx-search 4.1.0 and others) 2024-10-23 12:47:10 -04:00
Navin Karkera
e2a9a37d68 feat: show alert while editing v2 library content [FC-0062] (#35700)
Adds warning alert in edit modal for library v2 content in both legacy and new
MFE editors. For the Libraries Relaunch Beta.

Part of: https://github.com/openedx/frontend-app-authoring/issues/1340

Co-authored-by: Chris Chávez <xnpiochv@gmail.com>
2024-10-23 16:03:26 +00:00
Feanil Patel
de4f77b99a Merge pull request #35703 from openedx/feanil/upgrade-edx-codejail-784b2b8
feat: Upgrade Python dependency edx-codejail
2024-10-23 11:15:09 -04:00
Max Sokolski
37b9aa4aa1 Merge pull request #35711 from raccoongang/max/feat/pip-sandbox-requirements-sumac 2024-10-23 17:15:41 +03:00
Muhammad Farhan Khan
6259520651 Merge branch 'master' into farhan/sass-to-css-video-block 2024-10-23 18:52:43 +05:00
farhan
7764e47116 chore: remove video block scss files 2024-10-23 18:40:30 +05:00
farhan
8fb5b778c3 feat!: Dropping Sass support from builtin video block, replacing with vanilla CSS 2024-10-23 18:40:30 +05:00
David Ormsbee
d25e651145 Support static assets when copy/pasting between courses and libraries (#35668)
The biggest challenge is dealing with the mismatch between how Libraries store
assets (per-Component) and how Courses store assets (global Files and Uploads
space). To bridge this, we're going to kludge a component-local namespace in
Files and Uploads by making use of the obscure feature that you can create
folders there at an API level, even if no such UI exists.

In this commit:
* Assets work when copy-pasting between library components.
* Assets work when copy-pasting from a library to a course, with the convention
  being to put that file in a subdirectory of the form:
  components/{block_type}/{block_id}/file.
  Note that the Studio course Files page still just shows the filename.
* Assets work when copy-pasting from a course to a library.
  Top level assets are put into a static folder in the Component, per Learning
  Core conventions.

Limitations:
* Roundtrips don't work properly.
* There's no normalized form, so directories will start nesting if you copy
  from library and paste into course, then copy the pasted thing and paste back
  into library, etc. This was deemed acceptable for Sumac.

Low level stuff:
* XBlockSerializerForLearningCore has been removed, with the url_name stripping
  functionality added as an optional param to XBlockSerializer (the other stuff
  was for children and "vertical" -> "unit" conversion, neither of which are
  relevant now).
* url_name is now stripped out of anything added to the clipboard, so that we
  don't end up writing it in block.xml when it is redundant (and would be
  stripped out with the next write anyway).

For the Libraries Relaunch Beta. This should not affect any site which
has kept New Libraries disabled.

Issue: https://github.com/openedx/frontend-app-authoring/issues/1170
2024-10-23 09:21:27 -04:00
Max Sokolski
7b83d51ab7 feat: freeze edx-sandbox requirements for sumac
We ran:

    cp requirements/edx-sandbox/base.txt \
       requirements/edx-sandbox/releases/sumac.txt
2024-10-23 16:10:40 +03:00
Daniel Valenzuela
085b15a014 feat: itembank green button (#35706)
Adds Problem Bank to the main New Components buttons.

For the Libraries Relaunch Beta [FC-0062]

Part of: https://github.com/openedx/frontend-app-authoring/issues/1415

Co-authored-by: Jillian Vogel <jill@opencraft.com>
2024-10-23 08:33:05 -04:00
Kyle McCormick
af21100939 fix: Improve messaging, logging when adding Beta Library Content fails (#35707)
We have user-oriented messaging stuffed into the BadUpstream exception. We may
as well use it rather than just giving an opaque error about xblock references.

We also want to log this situation, since we'd expect that the library block
usage key that Studio provides should generally be valid. If it consistently
isn't, then that's an issue that operators are going to want to look into.
2024-10-23 08:31:29 -04:00
Braden MacDonald
4158a44307 feat: multi-select when adding blocks to problem bank (#35705)
This implements basic multi-select for adding components to a problem bank,
for the Libraries Relaunch Beta [FC-0062].

Part of: https://github.com/openedx/frontend-app-authoring/issues/1385
2024-10-23 08:29:16 -04:00