-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #385 from UW-GAC/main
Deploy to stage
- Loading branch information
Showing
47 changed files
with
1,187 additions
and
317 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: gitleaks | ||
on: | ||
pull_request: | ||
push: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 4 * * *" # run once a day at 4 AM | ||
jobs: | ||
scan: | ||
name: gitleaks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: gitleaks/gitleaks-action@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts. |
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,4 @@ | ||
2f8573f44abd55cd30367f673bbbcb4ebc4861bd:test.secrets:generic-api-key:1 | ||
2f8573f44abd55cd30367f673bbbcb4ebc4861bd:test.secrets:generic-api-key:2 | ||
faa490c4de15c23401525ebf6ad532e2bd724e5e:config/settings/base.py:generic-api-key:83 | ||
faa490c4de15c23401525ebf6ad532e2bd724e5e:config/settings/base.py:generic-api-key:84 |
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 |
---|---|---|
|
@@ -32,8 +32,6 @@ | |
# https://docs.djangoproject.com/en/dev/ref/settings/#use-i18n | ||
USE_I18N = True | ||
# https://docs.djangoproject.com/en/dev/ref/settings/#use-l10n | ||
USE_L10N = True | ||
# https://docs.djangoproject.com/en/dev/ref/settings/#use-tz | ||
USE_TZ = True | ||
# https://docs.djangoproject.com/en/dev/ref/settings/#locale-paths | ||
LOCALE_PATHS = [str(ROOT_DIR / "locale")] | ||
|
@@ -214,7 +212,9 @@ | |
FORM_RENDERER = "django.forms.renderers.TemplatesSetting" | ||
|
||
# http://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs | ||
CRISPY_TEMPLATE_PACK = "bootstrap4" | ||
# https://github.com/django-crispy-forms/crispy-bootstrap5 | ||
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5" | ||
CRISPY_TEMPLATE_PACK = "bootstrap5" | ||
|
||
# FIXTURES | ||
# ------------------------------------------------------------------------------ | ||
|
@@ -370,14 +370,14 @@ | |
ANVIL_API_SERVICE_ACCOUNT_FILE = env("ANVIL_API_SERVICE_ACCOUNT_FILE") | ||
# Specify workspace adapters. | ||
ANVIL_WORKSPACE_ADAPTERS = [ | ||
"primed.miscellaneous_workspaces.adapters.TemplateWorkspaceAdapter", | ||
"primed.dbgap.adapters.dbGaPWorkspaceAdapter", | ||
"primed.cdsa.adapters.CDSAWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.OpenAccessWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.SimulatedDataWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.ResourceWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.ConsortiumDevelWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.TemplateWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.DataPrepWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.ResourceWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.SimulatedDataWorkspaceAdapter", | ||
"primed.miscellaneous_workspaces.adapters.OpenAccessWorkspaceAdapter", | ||
] | ||
ANVIL_ACCOUNT_ADAPTER = "primed.primed_anvil.adapters.AccountAdapter" | ||
|
||
|
@@ -386,4 +386,3 @@ | |
# Specify the subject for AnVIL account verification emails. | ||
ANVIL_ACCOUNT_LINK_EMAIL_SUBJECT = "Verify your AnVIL account email" | ||
ANVIL_ACCOUNT_VERIFY_NOTIFICATION_EMAIL = "[email protected]" | ||
ANVIL_CDSA_GROUP_NAME = "PRIMED_CDSA" |
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
44 changes: 44 additions & 0 deletions
44
primed/cdsa/migrations/0010_alter_historicalsignedagreement_status_and_more.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,44 @@ | ||
# Generated by Django 4.2.7 on 2023-12-04 23:27 | ||
|
||
from django.db import migrations | ||
import model_utils.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("cdsa", "0009_signedagreement_add_field_status"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="historicalsignedagreement", | ||
name="status", | ||
field=model_utils.fields.StatusField( | ||
choices=[ | ||
("active", "Active"), | ||
("withdrawn", "Withdrawn"), | ||
("lapsed", "Lapsed"), | ||
], | ||
default="active", | ||
max_length=100, | ||
no_check_for_status=True, | ||
verbose_name="status", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="signedagreement", | ||
name="status", | ||
field=model_utils.fields.StatusField( | ||
choices=[ | ||
("active", "Active"), | ||
("withdrawn", "Withdrawn"), | ||
("lapsed", "Lapsed"), | ||
], | ||
default="active", | ||
max_length=100, | ||
no_check_for_status=True, | ||
verbose_name="status", | ||
), | ||
), | ||
] |
46 changes: 46 additions & 0 deletions
46
primed/cdsa/migrations/0011_signedagreement_add_replaced_status.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,46 @@ | ||
# Generated by Django 4.2.8 on 2024-01-18 23:49 | ||
|
||
from django.db import migrations | ||
import model_utils.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("cdsa", "0010_alter_historicalsignedagreement_status_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="historicalsignedagreement", | ||
name="status", | ||
field=model_utils.fields.StatusField( | ||
choices=[ | ||
("active", "Active"), | ||
("withdrawn", "Withdrawn"), | ||
("lapsed", "Lapsed"), | ||
("replaced", "Replaced"), | ||
], | ||
default="active", | ||
max_length=100, | ||
no_check_for_status=True, | ||
verbose_name="status", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="signedagreement", | ||
name="status", | ||
field=model_utils.fields.StatusField( | ||
choices=[ | ||
("active", "Active"), | ||
("withdrawn", "Withdrawn"), | ||
("lapsed", "Lapsed"), | ||
("replaced", "Replaced"), | ||
], | ||
default="active", | ||
max_length=100, | ||
no_check_for_status=True, | ||
verbose_name="status", | ||
), | ||
), | ||
] |
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
Oops, something went wrong.