-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
1,953 additions
and
380 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
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
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
28 changes: 28 additions & 0 deletions
28
benefits/core/migrations/0003_eligibilitytype_expiration.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,28 @@ | ||
# Generated by Django 5.0.2 on 2024-03-14 20:48 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0002_paymentprocessor_backoffice_api"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="eligibilitytype", | ||
name="expiration_days", | ||
field=models.PositiveSmallIntegerField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="eligibilitytype", | ||
name="expiration_reenrollment_days", | ||
field=models.PositiveSmallIntegerField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="eligibilitytype", | ||
name="supports_expiration", | ||
field=models.BooleanField(default=False), | ||
), | ||
] |
30 changes: 30 additions & 0 deletions
30
benefits/core/migrations/0004_alter_eligibilityverifier_display_order.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,30 @@ | ||
# Generated by Django 5.0.3 on 2024-03-19 20:22 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0003_eligibilitytype_expiration"), | ||
] | ||
|
||
# see https://django-admin-sortable2.readthedocs.io/en/latest/usage.html#initial-data | ||
def set_initial_display_order(apps, schema_editor): | ||
EligibilityVerifier = apps.get_model("core", "EligibilityVerifier") | ||
for order, item in enumerate(EligibilityVerifier.objects.all(), 1): | ||
item.display_order = order | ||
item.save(update_fields=["display_order"]) | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="eligibilityverifier", | ||
options={"ordering": ["display_order"]}, | ||
), | ||
migrations.AddField( | ||
model_name="eligibilityverifier", | ||
name="display_order", | ||
field=models.PositiveSmallIntegerField(default=0), | ||
), | ||
migrations.RunPython(set_initial_display_order, reverse_code=migrations.RunPython.noop), | ||
] |
22 changes: 22 additions & 0 deletions
22
benefits/core/migrations/0005_move_help_template_to_eligibilityverifier.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,22 @@ | ||
# Generated by Django 5.0.3 on 2024-03-21 00:31 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0004_alter_eligibilityverifier_display_order"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="transitagency", | ||
name="help_template", | ||
), | ||
migrations.AddField( | ||
model_name="eligibilityverifier", | ||
name="help_template", | ||
field=models.TextField(null=True), | ||
), | ||
] |
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,93 @@ | ||
# Generated by Django 5.0.3 on 2024-03-25 19:48 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0005_move_help_template_to_eligibilityverifier"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="authprovider", | ||
name="claim", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="authprovider", | ||
name="scope", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="authprovider", | ||
name="sign_out_button_template", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="authprovider", | ||
name="sign_out_link_template", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="api_auth_header", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="api_url", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="auth_provider", | ||
field=models.ForeignKey( | ||
blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to="core.authprovider" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="form_class", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="help_template", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="jwe_cek_enc", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="jwe_encryption_alg", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="jws_signing_alg", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="public_key", | ||
field=models.ForeignKey( | ||
blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name="+", to="core.pemdata" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="eligibilityverifier", | ||
name="start_template", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="pemdata", | ||
name="remote_url", | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
] |
Oops, something went wrong.