Commit Graph

7419 Commits

Author SHA1 Message Date
kenclary
fa22e01147 Merge pull request #32912 from openedx/kenclary/TNL-10912
fix: fix mako runtime bug with studio_view. TNL-10912
2023-08-15 16:37:11 -04:00
Soban Javed
27edbc6055 fix: added back test_views file 2023-08-15 21:28:43 +05: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
Robert Raposa
b9134c64ff feat: add observability for default auth classes (#33003)
Added new authentication classes to be used in
DEFAULT_AUTHENTICATION_CLASSES that include
observability. This will enable us to see more
about the endpoints using the defaults, to help
us make choices about changes in the defaults.

We make the DRF default of Session and Basic
Authentication explicit by setting
DEFAULT_AUTHENTICATION_CLASSES explicitly.
2023-08-15 10:13:26 -04:00
Muhammad Adeel Tajamul
4e5d3f9210 fix: update discussion enabled if true (#33008) 2023-08-15 14:27:15 +05:00
kenclary
af07ab702a Merge branch 'master' into kenclary/TNL-10912 2023-08-14 17:21:39 -04:00
Tim McCormack
f9614533c4 Revert "feat: Pact Provider Verification for Profile Endpoint" (#32999)
Reverts openedx/edx-platform#32928 -- mistaken merge.
2023-08-14 15:04:19 +00:00
Swayam Rana
bd7f6188d2 Merge pull request #32928 from openedx/sr-pact-provider
feat: Pact Provider Verification for Profile Endpoint
2023-08-14 10:13:01 -04:00
Swayam Rana
036fb3ddf7 feat: pact provider profile setup 2023-08-14 13:36:13 +00:00
Ken Clary
b453e4861f fix: fix mako runtime bug with studio_view. TNL-10912 2023-08-11 16:21:02 -07:00
Muhammad Adeel Tajamul
a7f9770cc1 fix: set isPublish as True when creating topics in incontext discussion (#32953) 2023-08-10 13:23:08 +05:00
michaelroytman
7598a81b57 feat: replace learning_assistant_launch_url with learning_assistant_enabled in courseware API
This commit replaces the learning_assistant_launch_url field of the CoursewareInformation view of the courseware API with a learning_assistant_enabled field. learning_assistant_enabled is a boolean that represents whether the Xpert Learning Assistant is enabled for the requesting user, based on the associated CourseWaffleFlag. This change is necessary because we are no longer leveraging the Learning Assistant LTI tool.
2023-08-09 10:29:11 -05:00
Yagnesh1998
dd191e9400 feat: Update models.py 2023-08-08 18:12:01 +05:30
Yagnesh1998
0fae4c975b feat: Update models.py
removed white space
2023-08-08 17:50:12 +05:30
Yagnesh1998
6967ca6f6e Merge branch 'master' into edx-depr31 2023-08-08 17:37:25 +05:30
Yagnesh1998
b2286f4b5d feat: Update models.py 2023-08-08 17:37:04 +05:30
Awais Qureshi
4da29d914d chore: adding migrations related with django-history. (#32935) 2023-08-08 16:04:06 +05:00
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
Erica Nwoga
4e75a89ff5 fead: added django admin forms (#32926)
* feat: added django admin forms
2023-08-07 13:01:12 -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
Mohammad Ahtasham ul Hassan
df197837cb fix: remove extras and enhance existing subs logging (#32919) 2023-08-07 18:01:50 +05:00
Muhammad Adeel Tajamul
f90f1af117 fix: added new_comment and new_response to core notification (#32894) 2023-08-07 12:02:52 +05:00
Syed Sajjad Hussain Shah
7f06e72f5e fix: redirection issue with enterprise selection page flow (#32909)
VAN-1511
2023-08-07 10:09:55 +05:00
Ahtisham Shahid
b37286e035 fix: Update notification sending logic for discussions (#32879) 2023-08-04 14:12:12 +05:00
Yagnesh1998
e7e69d5cd7 feat: Update models.py
remove white space.
2023-08-04 10:33:49 +05:30
Yagnesh1998
3a763b6b3e Merge branch 'master' into edx-depr31 2023-08-04 10:28:54 +05:30
Yagnesh1998
ba01ca9b2a feat: Update models.py 2023-08-04 10:28:28 +05:30
Erica Nwoga
7d97ecfe9b feat: added proctoringpiisignature model (#32903)
* feat: added proctoringpiisignature model
2023-08-03 15:34:17 -04:00
Erica Nwoga
87a6664013 feat: created ltipiisignature model (#32853)
* feat: created ltipiisignature model
2023-08-03 10:17: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
Chris Chávez
9bea44732b System defined taxonomies (#32869)
* feat: System defined taxonomies

* style: models.py moved to models/base.py

* feat: New Content System defined models

* style: Lint and migration

* fix: Fix migration error

* chore: Rebase and compile requirements

* refactor: adds ContentTaxonomyMixin for use when creating content system taxonomies

Pulls the ContentTaxonomy-specific logic into a mixin class to bring
the Content-specific logic into other Taxonony subclasses.

* fix: Tests

* test: System defined model validations

* fix: Move language taxonomy creation to openedx-learning

* style: Rename of OrganizationSystemDefinedTaxonomy

* style: nits

* chore: Update openedx-learning dependency

---------

Co-authored-by: Jillian Vogel <jill@opencraft.com>
2023-08-02 12:22:23 -07:00
Yagnesh1998
6ace2aa293 Merge branch 'master' into edx-depr31 2023-08-02 16:09:27 +05:30
Erica Nwoga
0bde216d6f feat: added ltipiitool model (#32790)
* feat: added ltipiitool model

* feat: added ltipiitool model

* feat: created ltipiitool model

* chore: squashed ltipiitool mirgation files for agreements app.

* chore: fixed migration files
2023-08-01 11:39:25 -04:00
Yusuf Musleh
b97007e182 feat: Handle JSInput extra files when copying/pasting (#32847)
This takes into account the extra files that are usually required when
copying problems containing JSInputs. Static files such as additional
CSS and JS files needed to interact and style the problem.
2023-07-31 11:12:10 -07:00
Jillian
8098169eca feat: adds Content Tagging (#32661)
* refactor: moves is_content_creator

from cms.djangoapps.contentstore.helpers to common.djangoapps.student.auth

* feat: adds content tagging app

Adds models and APIs to support tagging content objects (e.g. XBlocks,
content libraries) by content authors. Content tags can be thought of as
"name:value" fields, though underneath they are a bit more complicated.

* adds dependency on openedx-learning<=0.1.0
* adds tagging app to LMS and CMS
* adds content tagging models, api, rules, admin, and tests.
* content taxonomies and tags can be maintained per organization by
  content creators for that organization.
2023-07-26 10:32:59 -07:00
Diego Velasquez
547e5b1f7b chore: remove warnings from defusedxml package (#32652)
Co-authored-by: Diego Velásquez <diego@emptor.io>
2023-07-26 12:20:56 -04:00
Ahtisham Shahid
f4616f02c8 fix: use student role for zoom in case of global staff. (#32818)
* fix: use student role for zoom in case of global staff.

* fix: added request cache to avoid duplicate db calls.
2023-07-26 14:19:21 +05:00
Rômulo Penido
c54070989b feat!: add new content authoring event signals 2023-07-25 16:45:39 +02:00
Mubbshar Anwar
daa52f3ba9 feat: embedded form redirection experience (#32814)
Redirection for embedded registration experience

VAN-1535
2023-07-25 11:56:33 +05:00
Ahtisham Shahid
4379c089f1 fix: updated disucssions notifications templates (#32819) 2023-07-25 11:23:59 +05:00
Muhammad Adeel Tajamul
f39ba90c55 feat: added search and filter in django admin for notification models (#32771) 2023-07-24 15:46:01 +05:00
Ken Clary
d6f824db40 feat: basic get/post endpoint for v2 xblocks. TNL-10873 2023-07-20 16:03:32 -04:00
SaadYousaf
ebd9605911 feat: add tracking event for notifications app mark all as read 2023-07-20 14:38:12 +05:00
Braden MacDonald
57420ed613 feat: expand mypy static type checking (#32591)
* chore: typing + fixes for content_staging
* chore: typing + fixes for learning_sequences
* chore: typing + fixes for content_libraries
* chore: typing + fixes for new XBlock runtime
* feat: type hinting more code with mypy
2023-07-19 09:58:19 -07:00
Agrendalath
92b684004e refactor: reuse services and wrappers between XBlocks (fixed)
This re-applies commit 36cc415 with handling an invalid context_key in the
`PartitionService`. It can happen when rendering a `LibraryContentBlock` in
Studio because this service is initialized by the modulestore when validating
an XBlock to gather its error messages in the `studio_xblock_wrapper`.
2023-07-19 18:01:59 +02:00
Agrendalath
6825088801 Revert "Revert "feat: remove field-data binding from the runtime [FC-0026]" (#32740)"
This reverts commit fa06be106e.
2023-07-19 15:36:26 +02:00
Ahtisham Shahid
3af1ce0441 allow app level enable/disable in notifications app (#32781)
* fix: allow app level enable/disable in notifications app
2023-07-19 15:26:03 +05:00
Yagnesh1998
e7b69200d0 Merge branch 'master' into edx-depr31 2023-07-19 10:28:30 +05:30
Emily Rosario-Aquin
6ff8538dc6 Merge pull request #32595 from openedx/ea/ent-7031
feature: upgrade course enrollment from audit to verified
2023-07-18 08:04:58 -05:00