Commit Graph

10459 Commits

Author SHA1 Message Date
Awais Qureshi
3c76d6644f Revert "Revert "Revert "feat!: upgrading django-storages to 1.10.1 (#32571)" (#33109)" (#33111)" (#33113)
This reverts commit 2f8475c307.
2023-08-30 19:40:32 +05: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
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
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
Sameen Fatima
fc5e7926c1 feat: add skill_tagging plugin configs (#32932) 2023-08-25 15:04:25 +02:00
Saleem Latif
4136147d58 chore: Added new settings required by edx-enterprise latest version. 2023-08-25 15:40:33 +05:00
Irtaza Akram
0c46334636 fix: ugetext and ngettext deprecation warnings (#33097) 2023-08-25 14:58:53 +05: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
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
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
ruzniaievdm
b84d45410c feat: add api for help tokens (#33073) 2023-08-23 09:48:16 -04: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
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
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
Usama Sadiq
3949c73b35 fix: fix request.is_ajax() deprecation warning (#33055)
* fix: fix request.is_ajax() deprecation warning
2023-08-21 15:59:00 +05:00
Awais Qureshi
a61e7dc524 chore: Adding test to verify s3boto3 storages with invalid params. (#33058)
* chore: Adding test to verify s3boto3 storages with invalid params.
2023-08-21 11:26:28 +05:00
Jenkins
e0ba05d657 chore(i18n): update translations 2023-08-20 17:05:35 -04:00
Yusuf Musleh
39e042cfbd feat: Remove component-level copy/paste feature flag (#32980)
This is so that the feature is on by default.
2023-08-18 09:54:48 -07:00
Yusuf Musleh
6b22286afd fix: Prevent multiple dropdowns opening at once (#33046)
This closes already open dropdown menus when opening another dropdown
menu, to prevent them from overlapping each other.
2023-08-17 11:37:57 -07:00
ruzniaievdm
ddb092c07c feat: Create DRF for course team (#32782) 2023-08-17 09:12:02 -04:00
Usama Sadiq
59782fa625 fix: fix is_safe_url and urlquote warnings (#33041)
* fix: fix is_safe_url and urlquote warnings
* fix: replace urlquote with quote
2023-08-17 16:59:23 +05:00
Usama Sadiq
852246db8c fix: replace ugettext with gettext (#33022) 2023-08-16 17:07:23 +05:00
Muhammad Umar Khan
07fbf3b14b chore: update pymemcache settings (#33019) 2023-08-16 15:17:53 +05:00
edX requirements bot
aca521f256 Merge pull request #32578 from openedx/usamasadiq/remove-language-session-key-usage
fix: remove language_session_key usage
2023-08-16 06:05:19 -04:00
Usama Sadiq
4ee5964855 fix: fix django4 deprecation warnings (#32957) 2023-08-16 14:39:49 +05:00
Braden MacDonald
b8713faf76 fix: error on course outline in Studio due to browser caching old JS file (#33015)
This fixes a bug where some users would see an error that prevented the course outline page in Studio from loading, for any course.
2023-08-15 14:42:47 -04:00
Soban Javed
c45ac51475 fix: update urls and tests for cookies 2023-08-15 21:28:43 +05:00
UsamaSadiq
e332a5660e fix: remove language_session_key usage 2023-08-15 21:28:43 +05:00
Jenkins
6a6ac0166c chore(i18n): update translations 2023-08-14 15:43:08 -04:00
Braden MacDonald
08fda1b3eb feat: new actions menu for copy/pasting units in Studio (behind waffle flag) (#32891) 2023-08-14 11:58:24 -07:00
connorhaugh
4b38b1f750 feat: mgmt cmd to replace v1 libr refs in courses (#32904)
This PR adds a management command to, given a mapping of V1 content libraries to matching v2 content libraries, replaces references to v1 libs in courses (in library source xblocks) with V2 libraries. It does so by manipulating the mongo document directly.

it also offers some improvements to the management command which copies all v1 libraries into v2 libraries.
2023-08-11 09:48:34 -04:00
Yagnesh1998
6967ca6f6e Merge branch 'master' into edx-depr31 2023-08-08 17:37:25 +05:30
Muhammad Soban Javed
2732934e74 fix: re-enable Django deprecation warnings (#32277)
* fix: re-enable Django deprecation warnings
---------

Co-authored-by: UsamaSadiq <usama7274@gmail.com>
2023-08-07 22:08:00 +05:00
Jenkins
7c41be708e chore(i18n): update translations 2023-08-07 12:05:42 -04:00
Syed Ali Abbas Zaidi
8480dbc228 chore: apply amnesty on existing not fixable issues (#32215)
* fix: eslint operator-linebreak issue

* fix: eslint quotes issue

* fix: react jsx indent and props issues

* fix: eslint trailing spaces issues

* fix: eslint line around directives issue

* fix: eslint semi rule

* fix: eslint newline per chain rule

* fix: eslint space infix ops rule

* fix: eslint space-in-parens issue

* fix: eslint space before function paren issue

* fix: eslint space before blocks issue

* fix: eslint arrow body style issue

* fix: eslint dot-location issue

* fix: eslint quotes issue

* fix: eslint quote props issue

* fix: eslint operator assignment issue

* fix: eslint new line after import issue

* fix: indent issues

* fix: operator assignment issue

* fix: all autofixable eslint issues

* fix: all react related fixable issues

* fix: autofixable eslint issues

* chore: remove all template literals

* fix: remaining autofixable issues

* chore: apply amnesty on all existing issues

* fix: failing xss-lint issues

* refactor: apply amnesty on remaining issues

* refactor: apply amnesty on new issues

* fix: remove file level suppressions

* refactor: apply amnesty on new issues
2023-08-07 19:13:19 +05:00
Awais Qureshi
e94af3c2d3 feat: upgrading django-simple-history without migrations. (#32880)
* feat: upgrading django-history without migrations.

* feat: upgrading django-history==3.1.1.
2023-08-07 18:09:19 +05:00
Jenkins
58f44a8176 chore(i18n): update translations 2023-08-06 17:05:09 -04:00
Yagnesh1998
3a763b6b3e Merge branch 'master' into edx-depr31 2023-08-04 10:28:54 +05:30
Kristin Aoki
69cab96714 feat: remove 403 for disabled advanced settings (#32906) 2023-08-03 19:52:34 +00:00
ruzniaievdm
0d93075a01 fix: api for schedule and details page MFE page (#32890) 2023-08-03 11:41:52 -04:00
Braden MacDonald
1aed4e66af [FC-0009] Studio backend APIs to support copying and pasting of entire Units (#32812)
* feat: tests for copying units in content_staging app

* chore: convert old tests to pytest style

* feat: make pasting units work (in Studio backend API)

* refactor: make XmlMixin.parse_xml more like standard XBlock behavior
2023-08-02 12:24:10 -07:00
Tim McCormack
8beb6277b3 Revert "Revert "temp: remove flaky tests video/transcripts/test_views.py (#32697)" (#32719)" (#32897)
This reverts commit 86eb49a7ed.
2023-08-02 16:04:46 +00:00
Yagnesh1998
6ace2aa293 Merge branch 'master' into edx-depr31 2023-08-02 16:09:27 +05:30
Jesper Hodge
6598abbb6b Studio content api videos (#32803)
* refactor: extract methods to video_storage_handlers

* refactor: move private functions

* refactor: move functions to videos_storage_handlers

* refactor: asset_storage_handlers

* feat: add video api views

* feat: add video urls

* feat: add mock videos post

* refactor: mock video upload url

* fix: json extraction

* fix: url pattern for video deletion

* fix: video url views

* fix: lint

* fix: lint

* fix: tests

* fix: tests

* fix: tests

* Feat  studio content api transcripts (#32858)

* feat: add transcript endpoints

feat: add transcript upload endpoint, check that transcripts for deletion exist

fix: remove transcript credentials view cause out of scope

* fix: lint

* feat: TNL-10897 fix destroy() args to kwargs bug

---------

Co-authored-by: Bernard Szabo <bszabo@edx.org>

---------

Co-authored-by: Bernard Szabo <bszabo@edx.org>
2023-07-31 13:37:00 -04:00