Skip to content

Commit

Permalink
Revert "Remove blackboard unencrypted columns from models (#2118)" (#…
Browse files Browse the repository at this point in the history
…2125)

This reverts commit 11a42f9.
  • Loading branch information
MueezKhan246 authored Jun 5, 2024
1 parent 11a42f9 commit 7a5485c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 26 deletions.
4 changes: 0 additions & 4 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ Unreleased
----------
* nothing unreleased

[4.19.8]
--------
* feat: remove client_id and client_secret columns from ``BlackboardEnterpriseCustomerConfiguration``

[4.19.7]
--------
* feat: schema level improvement in integrated-channels
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.19.8"
__version__ = "4.19.7"

This file was deleted.

22 changes: 22 additions & 0 deletions integrated_channels/blackboard/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@ class BlackboardEnterpriseCustomerConfiguration(EnterpriseCustomerPluginConfigur
The Enterprise-specific configuration we need for integrating with Blackboard.
"""

client_id = models.CharField(
max_length=255,
blank=True,
default='',
verbose_name="API Client ID or Blackboard Application Key",
help_text=(
"The API Client ID provided to edX by the enterprise customer to be used to make API "
"calls on behalf of the customer. Called Application Key in Blackboard"
)
)

decrypted_client_id = EncryptedCharField(
max_length=255,
blank=True,
Expand Down Expand Up @@ -132,6 +143,17 @@ def encrypted_client_id(self, value):
"""
self.decrypted_client_id = value

client_secret = models.CharField(
max_length=255,
blank=True,
default='',
verbose_name="API Client Secret or Application Secret",
help_text=(
"The API Client Secret provided to edX by the enterprise customer to be used to make "
" API calls on behalf of the customer. Called Application Secret in Blackboard"
)
)

decrypted_client_secret = EncryptedCharField(
max_length=255,
blank=True,
Expand Down

0 comments on commit 7a5485c

Please sign in to comment.