salman2013
42ca0ddec4
chore: remove bok choy settings
2023-09-27 10:58:37 +05:00
Emily Rosario-Aquin
be9a97a617
Merge branch 'master' into ea/ent-7453
2023-09-21 14:04:28 -05:00
Rômulo Penido
e45460a2ce
refactor: Move content_tagging django app so that CMS-only tests run ( #33259 )
2023-09-21 12:01:20 -07:00
Emily Aquin
98721ec551
chore: remove lms_enroll_user_in_course
2023-09-21 18:18:35 +00:00
Rômulo Penido
3c3306ce85
feat: implement tag object rest api in cms ( #33181 )
2023-09-18 11:07:00 -07:00
Tim McCormack
25b18e83cd
build: Add missing Celery task decorators, and add CI check for it ( #33154 )
2023-09-15 20:03:04 +00:00
Rômulo Penido
6e28ba329e
feat: add language auto-tagging with feature flag ( #32907 )
2023-09-01 11:09:46 -07: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
Usama Sadiq
852246db8c
fix: replace ugettext with gettext ( #33022 )
2023-08-16 17:07:23 +05:00
Usama Sadiq
87216d360d
fix: fix django4 deprecation warnings ( #32978 )
2023-08-16 17:07:09 +05:00
Awais Qureshi
4da29d914d
chore: adding migrations related with django-history. ( #32935 )
2023-08-08 16:04:06 +05: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
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
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
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
Emily Aquin
134b4bcff6
feat: upgrade course enrollment from audit to verified
2023-07-17 20:11:06 +00:00
Piotr Surowiec
fa06be106e
Revert "feat: remove field-data binding from the runtime [FC-0026]" ( #32740 )
...
* Revert "feat: remove `field-data` service from runtime initialization"
This reverts commit 6c435bb68c .
* Revert "feat: remove field data binding from the runtime"
This reverts commit 5f46ea52cd .
2023-07-13 13:04:02 -04:00
Agrendalath
5f46ea52cd
feat: remove field data binding from the runtime
2023-06-26 19:21:22 +02:00
IrfanUddinAhmad
b2734099ac
feat: Added filter for modifying course home url for externally hosted courses
2023-05-26 14:15:27 +05:00
Syed Ali Abbas Zaidi
d7053a6783
fix: eslint autofixable issues ( #32181 )
...
* 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
* fix: failing js test
2023-05-18 11:03:59 +05:00
Gabe Mulley
1fa50b834d
feat: pass query string parameters on to the learning MFE for jump_to links ( #32180 )
2023-05-16 08:32:56 -04:00
Muhammad Adeel Tajamul
d8db64cf2a
feat: hide discussion tab when disabled ( #32195 )
2023-05-16 05:17:06 +05:00
Syed Ali Abbas Zaidi
adf879e8b2
Revert "fix: all auto fixable eslint issues ( #31900 )" ( #32203 )
...
This reverts commit 228180b1ef .
2023-05-09 13:53:54 +05:00
Syed Ali Abbas Zaidi
228180b1ef
fix: all auto fixable eslint issues ( #31900 )
...
* 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 prefer template 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
2023-05-09 11:57:15 +05:00
Agrendalath
b91f858e70
feat: add Waffle Flag to disable resetting self-paced deadlines by learners
2023-05-04 17:20:44 +02:00
Syed Ali Abbas Zaidi
f1fb38ed83
fix: multi lines and spaces issues ( #31885 )
...
* fix: multi lines and spaces issues
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: remaining quotes issues
* fix: eslint object curly newline issue
* fix: eslint object curly spacing issue
* fix: eslint brace-style issues
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint linbreak style issue
* fix: eslint space unary operator issue
* fix: eslint line around directives issue
* fix: void and typeof space unary ops issue
2023-05-03 12:22:46 +05:00
Agrendalath
aa85257b19
fix: use student-specific anonymous IDs in CAPA and HTML XBlocks
...
After changes from #31472 , the user service of a "leaf" XBlock gets overridden
with the one created for its parent (SequenceBlock). Therefore, the
`requires_per_student_anonymous_id` is ignored in these XBlocks. The
subsequent renders of an XBlock (e.g., when requesting the solution) use
the student-specific IDs.
This removes choosing the proper ID (course-specific or student-specific) from
the runtime initialization. Instead, both IDs are passed to the user service.
There are only two XBlocks that relied on the
`requires_per_student_anonymous_id` - `ProblemBlock` and `HtmlBlock`. They
now request the "deprecated" (student-specific) user ID directly from the user
service.
2023-05-02 17:58:22 +02:00
Pooja Kulkarni
fb5f8474b0
refactor: rename descriptor -> block within remaining openedx
...
Co-authored-by: Agrendalath <piotr@surowiec.it >
2023-04-26 17:10:54 +02:00
Muhammad Abdullah Waheed
90c4ca6e47
Revert "FC-0001: Account pages -> micro-frontend ( #30336 )" ( #31888 )
...
This reverts commit 0f02c7b3d9 .
2023-03-07 17:41:56 -05:00
Alejandro Cardenas
674bf2a040
feat: add send survey report button ( #31821 )
...
* feat: add send report button
* fix: solve quality test issues
* feat: add admin action to send report
* style: fix pylint issues
* style: fix pylint issues
* fix: update openedx/features/survey_report/urls.py
Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co >
* refactor: rename selected variable and move actions variable
---------
Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co >
2023-03-07 09:32:44 -05:00
Sagirov Evgeniy
0f02c7b3d9
FC-0001: Account pages -> micro-frontend ( #30336 )
...
* feat: Account pages. Learner Profile page
* feat: Account pages. Account Settings page
* feat: Account pages. Removed unused styles
* feat: Account pages. Removed unused toggles
* feat: fixed tests and pylint errors
* feat: update redirect to account settings for student_dashboard
* feat: fix pylint errors
2023-03-07 17:41:52 +05:00
Syed Ali Abbas Zaidi
5549db4d80
fix: migrate remaining eslint-config-edx ( #31760 )
...
* fix: migrate remaining eslint-config-edx
* refactor: updated eslint rules according to eslint-config-edx-es5
* refactor: add custom rules to suppress unnecessary eslint issues
* refactor: add custom rules to internal eslint configs
* fix: fix all indentation issues
* chore: update lock file
2023-03-02 16:16:50 +05:00
Alex Sheehan
e73bfddbd8
chore: bumping enterprise version 3.61.1
2023-02-22 15:32:18 +00:00
Alejandro Cardenas
7f90b5d3e1
feat: add SurveyReportUpload and add send report method ( #31431 )
...
* feat: add SurveyReportUpload and add send report method
* docs: Update openedx/features/survey_report/management/commands/generate_report.py
Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co >
* docs: Update openedx/features/survey_report/models.py
Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co >
* refactor: Update openedx/features/survey_report/models.py
Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co >
* style: Update openedx/features/survey_report/api.py
Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co >
* feat: add migratio file and update status field name
* refactor: rename send report method
* test: fix test errors
* test: add command options
* refactor: simple conditional instead of ok method
* fix: remove useless imports
* fix: use status code instead of status
* feat: add zapier endpoint
* style: solve pylint issues
* feat: add id field to send report data
* refactor: regenerate migration with correct history
* feat: add anonymous site id model
* feat: update zapier url
---------
Co-authored-by: Maria Grimaldi <maria.grimaldi@edunext.co >
Co-authored-by: Alejandro Cardenas <alejandrocardenas@Alejandros-MacBook-Pro.local >
2023-02-21 10:51:36 -05:00
Alex Sheehan
de28d61215
fix: downgrading enterprise version to 3.60.21
2023-02-16 19:29:33 +00:00
Alex Sheehan
b72875fd26
chore: bumping enterprise to version 3.61.0
2023-02-15 21:56:34 +00:00
Tim McCormack
83f6e560b7
fix: Add code_owner decorator to remaining Celery tasks ( #31762 )
...
This will ensure that errors raised by these tasks will alert the right
team. `send_course_enrollment_email` is the one I set out to fix, but I
discovered a few others.
I located tasks that were missing decorators by running the following
search and visually inspecting the results, although semgrep might be able
to do better:
```
ack '^@.*task|^@set_code_owner_attribute' cms lms common openedx xmodule --ignore-dir=tests --python
```
Also, add more detailed explanation of why a couple of tasks can't use the
decorator. This should only be an issue on tasks inheriting from
UserTaskMixin, which in practice is just CourseExportTask and
CourseImportTask (and the apparently unused EnrollmentReadTask and
EnrollmentWriteTask), via UserTask.
2023-02-15 18:20:50 +00:00
Ned Batchelder
12765a7a59
refactor(test): use @skip_unless_lms uniformly
2023-02-01 13:52:26 -08:00
0x29a
3a1011bed8
refactor: replace usages of XModuleMixin.system with XBlock.runtime
2023-01-30 18:15:24 +01:00
0x29a
c3f672a399
refactor: rename module -> block within remaining openedx/features
2023-01-30 18:15:22 +01:00
0x29a
9d8375ff99
refactor: rename module -> block within lms/djangoapps/courseware
...
Also, removed unused `_has_access_xmodule` methid from `lms/djangoapps/courseware/access.py`.
2023-01-30 18:15:22 +01:00
Alejandro Cardenas
045ae44184
feat: add generate report button in admin ( #31429 )
...
* feat: add generate report button in admin
2023-01-25 10:19:59 -05:00
Arunmozhi
b6634a811a
refactor: replace get_display_blocks with get_children
2023-01-23 14:47:47 +01:00
Arunmozhi
851eb65d53
refactor: rename get_displayable_items and displayable_items
2023-01-23 14:47:47 +01:00
Arunmozhi
d417a7561f
refactor: rename ItemFactory to BlockFactory
2023-01-23 14:47:47 +01:00
Awais Qureshi
8abcdd2552
fix: Unpin icalendar constraint. ( #31590 )
...
* fix: Unpin icalendar constraint.
* chore: Updating Python Requirements (#31591 )
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com >
2023-01-19 12:39:01 +05:00
Sagirov Eugeniy
02617283a0
test: fix problem with .get_children() in tests for split modulestore
...
* fixed problem with creating some CourseItem with some parent:
we must get the updated parent item before using that parent item
* replaced parent_location with parent argument in ItemFactory due to
error children/parent relation for split modulestore. In all tests with
split modulestore parent argument used
2022-12-21 10:58:43 -05:00
0x29a
83396ffb07
refactor: convert course_module term to course_block
2022-12-19 17:48:49 +01:00
0x29a
0df1411636
refactor: xmodule/course_module.py -> xmodule/course_block.py
2022-12-19 17:48:49 +01:00
0x29a
4c005e86e8
refactor: xmodule/capa_module.py -> xmodule/capa_block.py
2022-12-19 17:48:49 +01:00