John Nagro
82e117b6ad
fix: moodle shortname -> idnumber cont ( #28838 )
...
fix: moodle shortname -> idnumber cont
edx-enterprise release
[3.28.19]
---------
* fix: additional Moodle field changes
ENT-4902
2021-09-24 13:46:25 -04:00
David Ormsbee
3827f4c90d
Merge pull request #28440 from open-craft/jill/BD-13-user-service
...
[BD-13] Let ModuleSystem use UserService
2021-09-24 09:26:43 -04:00
M. Zulqarnain
0fa556992c
BOM-2850: Upgrade django-cors-headers to 3.5.0 ( #28833 )
...
* chore: upgrade django-cors-headers
* chore: Updating Python Requirements (#28834 )
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com >
2021-09-24 17:06:06 +05:00
Uzair Rasheed
a67c1f5143
Merge pull request #28605 from edx/add-hipb-api-client
...
add hipb api client
2021-09-24 14:32:57 +05:00
uzairr
c83750ff58
add hipb api client
2021-09-24 13:09:14 +05:00
David Ormsbee
03382ae400
revert: feat: Added support for enterprise id in course_grade_passed_first_time event" ( #28831 )
2021-09-23 17:56:07 -04:00
alangsto
bcdd0351a8
chore: update edx-name-affirmation version ( #28830 )
2021-09-23 11:23:42 -04:00
Muhammad Soban Javed
84a9850d1b
Merge pull request #28828 from edx/iamsobanjaved/fix-ratelimitbackend-django30
...
fix: install django-ratelimit-backend from commit hash
2021-09-23 18:26:50 +05:00
Usama Sadiq
78799f25ee
fix: Fixed new pylint warnings ( #28726 )
2021-09-23 17:54:27 +05:00
Usama Sadiq
023f4144ab
fix: fix new pylint warnings ( #28725 )
2021-09-23 17:54:15 +05:00
Usama Sadiq
484cd536e2
fix: Fixed new pylint warnings ( #28724 )
2021-09-23 17:54:04 +05:00
Soban Javed
7e56d9c729
fix: install django-ratelimit-backend from commit hash
...
Previously we're installing with tag but somehow it wasn't bringing the exact version we wanted.
2021-09-23 17:22:05 +05:00
Kshitij Sobti
32748788bf
fix!: use bleach instead of custom code to sanitise forum posts ( #28641 )
...
The rest API for discussions was using custom HTML sanitisation code that
matched the behaviour of the client-side library. This replaces the custom
code with bleach for better security.
2021-09-23 11:37:05 +05:00
Ivo Branco
6f0255bc60
Fix use a registration field order when using a registration extension form ( #26633 )
2021-09-23 11:07:49 +05:00
Jillian Vogel
927016a8df
refactor: fixes tests
...
* UserStubService now takes user, user_is_staff, and anonymous_user_id
* get_test_system() creates a UserStubService with an anonymous_user_id of 'student'
* Removes references to deprecated ModuleSystem attributes from test code
* Fixes and simplifies the ConditionalBlock tests, using get_module provided by TestModuleSystem instead of trying to mock out all the pieces.
2021-09-23 12:04:03 +09:30
Jillian Vogel
753839276f
refactor: removes calls to deprecated ModuleSystem attributes
...
Removes references to these deprecated attributes from the platform code:
* runtime.anonymous_student_id
* runtime.seed
* runtime.user_id
* runtime.user_is_staff
Related changes:
* Ensure that all platform XBlocks which use these attributes "need" the user service.
* ProblemBlock: Removes check for existence of runtime.seed attribute in preparation for removal of this attribute from ModuleSystem.
* edxnotes: Catches NoSuchServiceError just in case some XBlocks using notes don't have the user service.
* UserTagsService refactor: pass user and course_id on creation
2021-09-23 11:46:43 +09:30
Jillian Vogel
c41e7fb93a
refactor: deprecate ModuleSystem user attributes in favor of user service
...
The following ModuleSystem attributes are deprecated by this change, and should be pulled directly from the user service instead:
* anonymous_student_id
* seed
* user_id
* user_is_staff
Related changes:
* Removes the `user` and `anonymous_student_id` parameters from the ModuleService constructor.
* Stores anonymous_user_id in XBlockDjangoUserService's opt_attr
* Pulls out constants used by DjangoXBlockUserService opt_attr so they can be used in the platform code.
* LmsModuleSystem uses the user service created in wrapper function for runtime.publish to avoid requiring the user
service to be "needed" by all XBlocks.
* LmsModuleSystem no longer checks for instances of XModuleDescriptor when deciding what kind of anonymous_user_id to
provide: all XModules are XBlocks, so this check is unnecessary.
* XBlockRuntime returns a user service when requested
* Adds tests for deprecated ModuleSystem attributes and changes to XBlockDjangoUserService.
2021-09-23 11:41:43 +09:30
Binod Pant
8f59d5e4a2
fix: 🐛 Remove add_user_to_course_cohort function ( #28824 )
...
it is not needed, and it causes a circular dep now for some reason which we don't need since we are removing that function altogether
ENT-4974
2021-09-22 21:15:39 -04:00
edX Transifex Bot
8fe01da8bc
geoip2: update maxmind geolite country database
2021-09-23 02:29:25 +05:00
Felipe Montoya
dbb4658819
Merge pull request #28640 from eduNEXT/MJG/2nd_batch_openedx_events
...
[BD-32] feat: add 2nd batch of Open edX Events
2021-09-22 14:12:06 -05:00
edX Transifex Bot
0504d97ea2
chore(i18n): update translations
2021-09-22 21:50:45 +05:00
John Nagro
4efd0011f0
fix: logging fixes in edx-enterprise ( #28821 )
...
ENT-4902
2021-09-22 12:32:32 -04:00
Awais Qureshi
36cff05287
Merge pull request #28820 from edx/fixing-tox
...
fix: fixing file path in tox requirements.
2021-09-22 19:50:43 +05:00
Bianca Severino
24e7819a2c
Merge pull request #28815 from edx/bseverino/remove-proctoring-mfe-flags
...
[MST-938] Remove special exam MFE flags
2021-09-22 09:59:58 -04:00
Awais Qureshi
6326bdb65b
fix: fixing file path in tox requirements.
2021-09-22 18:42:35 +05:00
Bianca Severino
0484799f84
fix: remove special exam mfe flags
2021-09-22 09:07:33 -04:00
alangsto
c8a44cbdc3
chore: update edx-proctoring version ( #28812 )
2021-09-22 08:42:55 -04:00
Awais Qureshi
38e16d56b6
Merge pull request #28750 from edx/dj-cookie-samesite
...
fix: Don't use django-cookies-samesite on Django >= 3.1
2021-09-22 16:41:16 +05:00
M. Zulqarnain
8142e631fc
build: Quality on GH Actions ( #28561 )
2021-09-22 13:24:18 +05:00
Awais Qureshi
57a033d0ae
feat: Don't Use django-cookies-samesite on Django > 3.1
2021-09-22 09:49:03 +05:00
Binod Pant
333afbeab1
feat: logging fixes and import fixes in edx-enterprise ( #28813 )
...
ENT-4953, ENT-4974, ENT-4805
2021-09-21 17:10:06 -04:00
julianajlk
a7759582df
fix: privacy banner close button issue in Track Selection ( #28814 )
2021-09-21 16:58:26 -04:00
julianajlk
94378cb06c
feat: add JS for upgrade button redirect in Track Selection ( #28805 )
...
REV-2387
2021-09-21 13:34:10 -04:00
Matjaz Gregoric
5487ff5906
Fix RTL issue with capa problems ( #28562 )
...
* fix: resolve styling cap RTL styling issue
Margins were incorrect in the RTL version of the stylesheet.
* fix: move style overrides from lms-course to capa
These styles were only applied to the LTR version of the stylesheet, but
we want them in the RTL version as well.
2021-09-21 10:44:35 -04:00
Awais Qureshi
9118c8decc
Merge pull request #28736 from edx/upgrade-issue-64/dj-req
...
fix: django.contrib.staticfiles.storage.CachedStaticFilesStorage is…
2021-09-21 19:09:01 +05:00
Phillip Shiu
6d7dcef8d6
fix: correct typo, content is locked, not lost ( #28802 )
2021-09-21 09:49:55 -04:00
Tim McCormack
0bf7cc13f6
doc: Small clarification to CookieName Change middleware instructions ( #28804 )
2021-09-21 13:45:26 +00:00
Sarina Canelake
aba4a3f394
Merge pull request #28788 from mahyard/master
...
Mark a message to be extracted using i18n_tools
2021-09-21 09:05:33 -04:00
Sarina Canelake
c699923d03
Merge pull request #28628 from edx/sarina/i18n-tuneup
...
fix: abstract edX-specific strings
2021-09-21 08:57:58 -04:00
AsadAzam
208e1b177c
feat: Implement program discussions iframe ( #28770 )
...
* feat: Implement program discussions iframe
* Fixed conflicts
* Fixed conflicts
* Fixed conflicts
* Refactored code
2021-09-21 16:24:52 +05:00
Muhammad Soban Javed
98de16f97a
Merge pull request #28722 from edx/iamsobanjaved/django30-re-path-fix
...
fix: added default value for parameter to fix re path issue in django 30
2021-09-21 16:15:10 +05:00
Awais Qureshi
b7c6481623
Merge pull request #28808 from edx/jenkins/upgrade-python-requirements-068f367
...
Python Requirements Update
2021-09-21 16:13:45 +05:00
edX requirements bot
bb706d4b04
chore: Updating Python Requirements
2021-09-21 16:06:57 +05:00
Awais Qureshi
068f367e9e
fix: django.contrib.staticfiles.storage.CachedStaticFilesStorage is removed in django3.1.
...
Using the fix from another fork.
2021-09-21 15:59:51 +05:00
Awais Qureshi
c1e5ea0b4e
fix: django.contrib.staticfiles.storage.CachedStaticFilesStorage is removed in django3.1.
...
Using the fix from another fork.
2021-09-21 15:59:51 +05:00
edX requirements bot
0f528f9125
Python Requirements Update ( #28806 )
...
* chore: Updating Python Requirements
* fix: disabled unused import warnings
Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com >
2021-09-21 14:21:00 +05:00
Bianca Severino
a3df1472c7
Merge pull request #28800 from edx/bseverino/proctoring-enrollments
...
[MST-866] Use course overviews instead of modulestore in enrollments service
2021-09-20 15:34:57 -04:00
Michael Terry
1133854a59
Merge pull request #28783 from edx/mikix/goal-reminder-email-aa-908
...
Add goal reminder email management command
2021-09-20 15:18:18 -04:00
Michael Terry
ce39f52680
chore: add tests for new goal reminder email management command
2021-09-20 14:32:06 -04:00
Bianca Severino
c79518d806
fix: use course overviews instead of modulestore in enrollments service
2021-09-20 14:22:47 -04:00