Skip to content

Commit

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

* revert: Reversed the previous reversion of PR #2125, removing blackboard unencrypted columns again.
  • Loading branch information
MueezKhan246 authored Jun 7, 2024
1 parent 9191a97 commit 343a7c3
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 23 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[4.19.11]
---------
* revert: Reversed the previous reversion of PR #2125, removing blackboard unencrypted columns again.

[4.19.10]
---------
* revert: revert "making blackboard unencrypted client credentials nullable" in #2126
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.10"
__version__ = "4.19.11"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 3.2.23 on 2024-06-04 10:46

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('blackboard', '0022_blackboardlearnerassessmentdatatransmissionaudit_is_transmitted_and_more'),
]

operations = [
migrations.RemoveField(
model_name='blackboardenterprisecustomerconfiguration',
name='client_id',
),
migrations.RemoveField(
model_name='blackboardenterprisecustomerconfiguration',
name='client_secret',
),
]
22 changes: 0 additions & 22 deletions integrated_channels/blackboard/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,6 @@ 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 @@ -143,17 +132,6 @@ 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 343a7c3

Please sign in to comment.