-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:openedx/edx-enterprise into hamza…
…waleed/ENT-8662-fix-sso-entityId-parse-error
- Loading branch information
Showing
17 changed files
with
217 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
Your project description goes here. | ||
""" | ||
|
||
__version__ = "4.15.2" | ||
__version__ = "4.15.4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
integrated_channels/degreed2/migrations/0026_auto_20240329_1537.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 3.2.23 on 2024-03-29 15:37 | ||
|
||
from django.db import migrations | ||
import fernet_fields.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('degreed2', '0025_delete_historicaldegreed2enterprisecustomerconfiguration'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='degreed2enterprisecustomerconfiguration', | ||
name='decrypted_client_id', | ||
field=fernet_fields.fields.EncryptedCharField(blank=True, default='', help_text='The encrypted API Client ID provided to edX by the enterprise customer to be used to make API calls to Degreed on behalf of the customer.', max_length=255, null=True, verbose_name='Encrypted API Client ID'), | ||
), | ||
migrations.AddField( | ||
model_name='degreed2enterprisecustomerconfiguration', | ||
name='decrypted_client_secret', | ||
field=fernet_fields.fields.EncryptedCharField(blank=True, default='', help_text='The encrypted API Client Secret provided to edX by the enterprise customer to be used to make API calls to Degreed on behalf of the customer.', max_length=255, null=True, verbose_name='Encrypted API Client Secret'), | ||
), | ||
] |
26 changes: 26 additions & 0 deletions
26
integrated_channels/degreed2/migrations/0027_auto_20240329_1537.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 3.2.23 on 2024-03-29 15:37 | ||
|
||
from django.db import migrations | ||
|
||
|
||
def populate_decrypted_fields(apps, schema_editor): | ||
""" | ||
Populates the encryption fields with the data previously stored in database. | ||
""" | ||
Degreed2EnterpriseCustomerConfiguration = apps.get_model('degreed2', 'Degreed2EnterpriseCustomerConfiguration') | ||
|
||
for degreed2_enterprise_configuration in Degreed2EnterpriseCustomerConfiguration.objects.all(): | ||
degreed2_enterprise_configuration.decrypted_client_id = degreed2_enterprise_configuration.client_id | ||
degreed2_enterprise_configuration.decrypted_client_secret = degreed2_enterprise_configuration.client_secret | ||
degreed2_enterprise_configuration.save() | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('degreed2', '0026_auto_20240329_1537'), | ||
] | ||
|
||
operations = [ | ||
migrations.RunPython(populate_decrypted_fields, reverse_code=migrations.RunPython.noop), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# | ||
distlib==0.3.8 | ||
# via virtualenv | ||
filelock==3.13.3 | ||
filelock==3.13.4 | ||
# via | ||
# tox | ||
# virtualenv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.