- Be available
- Relate to your organization’s name, location, and/or services
- {% if has_organization_feature_flag %}
+ {% if portfolio %}
- Be clear to the general public. Your domain name must not be easily confused with other organizations.
{% else %}
- Be unlikely to mislead or confuse the general public (even if your domain is only intended for a specific audience)
@@ -23,7 +23,7 @@
Note that only federal agencies can request generic terms like
vote.gov.
- {% if not has_organization_feature_flag%}
+ {% if not portfolio %}
Domain examples for your type of organization
{% include "includes/domain_example.html" %}
From d23c5d15df90fabffc9dc2340c3a0d363775a77d Mon Sep 17 00:00:00 2001
From: zandercymatics <141044360+zandercymatics@users.noreply.github.com>
Date: Mon, 28 Oct 2024 10:42:46 -0600
Subject: [PATCH 09/12] update fields
---
...135_alter_federalagency_agency_and_more.py | 30 +++++++++++++++++++
src/registrar/models/federal_agency.py | 6 ++--
2 files changed, 33 insertions(+), 3 deletions(-)
create mode 100644 src/registrar/migrations/0135_alter_federalagency_agency_and_more.py
diff --git a/src/registrar/migrations/0135_alter_federalagency_agency_and_more.py b/src/registrar/migrations/0135_alter_federalagency_agency_and_more.py
new file mode 100644
index 000000000..bcf8398dc
--- /dev/null
+++ b/src/registrar/migrations/0135_alter_federalagency_agency_and_more.py
@@ -0,0 +1,30 @@
+# Generated by Django 4.2.10 on 2024-10-28 16:39
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ (
+ "registrar",
+ "0134_rename_portfolio_additional_permissions_portfolioinvitation_additional_permissions_and_more",
+ ),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="federalagency",
+ name="agency",
+ field=models.CharField(null=True, verbose_name="Federal agency"),
+ ),
+ migrations.AlterField(
+ model_name="federalagency",
+ name="federal_type",
+ field=models.CharField(
+ choices=[("executive", "Executive"), ("judicial", "Judicial"), ("legislative", "Legislative")],
+ max_length=20,
+ null=True,
+ ),
+ ),
+ ]
diff --git a/src/registrar/models/federal_agency.py b/src/registrar/models/federal_agency.py
index aeeebac8c..19502e861 100644
--- a/src/registrar/models/federal_agency.py
+++ b/src/registrar/models/federal_agency.py
@@ -13,15 +13,15 @@ class FederalAgency(TimeStampedModel):
agency = models.CharField(
null=True,
- blank=True,
- help_text="Federal agency",
+ blank=False,
+ verbose_name="Federal agency",
)
federal_type = models.CharField(
max_length=20,
choices=BranchChoices.choices,
null=True,
- blank=True,
+ blank=False,
)
acronym = models.CharField(
From f0e7ad4a454f543af2a181ca8c13ced4622ba9ef Mon Sep 17 00:00:00 2001
From: matthewswspence
Date: Mon, 28 Oct 2024 12:01:08 -0500
Subject: [PATCH 10/12] fix tests
---
src/registrar/tests/test_reports.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/registrar/tests/test_reports.py b/src/registrar/tests/test_reports.py
index eebb11422..b7f1653d3 100644
--- a/src/registrar/tests/test_reports.py
+++ b/src/registrar/tests/test_reports.py
@@ -89,7 +89,6 @@ class CsvReportsTest(MockDbForSharedTests):
call("cdomain1.gov,Federal - Executive,World War I Centennial Commission,,,,(blank)\r\n"),
call("adomain10.gov,Federal,Armed Forces Retirement Home,,,,(blank)\r\n"),
call("ddomain3.gov,Federal,Armed Forces Retirement Home,,,,(blank)\r\n"),
- call("adomain2.gov,Interstate,,,,,(blank)\r\n"),
call("zdomain12.gov,Interstate,,,,,(blank)\r\n"),
]
# We don't actually want to write anything for a test case,
@@ -470,8 +469,6 @@ class ExportDataTest(MockDbForIndividualTests, MockEppLib):
# Invoke setter
self.domain_1.security_contact
# Invoke setter
- self.domain_2.security_contact
- # Invoke setter
self.domain_3.security_contact
# Add a first ready date on the first domain. Leaving the others blank.
self.domain_1.first_ready = get_default_start_date()
@@ -492,7 +489,6 @@ class ExportDataTest(MockDbForIndividualTests, MockEppLib):
"defaultsecurity.gov,Federal - Executive,World War I Centennial Commission,,,,(blank)\n"
"adomain10.gov,Federal,Armed Forces Retirement Home,,,,(blank)\n"
"ddomain3.gov,Federal,Armed Forces Retirement Home,,,,security@mail.gov\n"
- "adomain2.gov,Interstate,,,,,(blank)\n"
"zdomain12.gov,Interstate,,,,,(blank)\n"
)
# Normalize line endings and remove commas,
From 18ca5f70ae2f2952583b6aaa41eb63ccef3ecf3e Mon Sep 17 00:00:00 2001
From: matthewswspence
Date: Tue, 29 Oct 2024 09:57:11 -0500
Subject: [PATCH 11/12] hardcode env vars
---
.github/workflows/clone-staging.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/clone-staging.yaml b/.github/workflows/clone-staging.yaml
index c82d1fa70..704d80b36 100644
--- a/.github/workflows/clone-staging.yaml
+++ b/.github/workflows/clone-staging.yaml
@@ -18,8 +18,8 @@ jobs:
clone-database:
runs-on: ubuntu-latest
env:
- CF_USERNAME: CF_${{ env.SOURCE_ENVIRONMENT }}_USERNAME
- CF_PASSWORD: CF_${{ env.SOURCE_ENVIRONMENT }}_PASSWORD
+ CF_USERNAME: CF_MS_USERNAME
+ CF_PASSWORD: CF_STAGING_PASSWORD
steps:
- name: Checkout repository
uses: actions/checkout@v3
From a1567cf235afc54ef4b1888d3faa5063f9a7e8be Mon Sep 17 00:00:00 2001
From: matthewswspence
Date: Tue, 29 Oct 2024 10:16:39 -0500
Subject: [PATCH 12/12] fix minor bug in clone workflow
---
.github/workflows/clone-staging.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/clone-staging.yaml b/.github/workflows/clone-staging.yaml
index 704d80b36..2a6c33410 100644
--- a/.github/workflows/clone-staging.yaml
+++ b/.github/workflows/clone-staging.yaml
@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
env:
CF_USERNAME: CF_MS_USERNAME
- CF_PASSWORD: CF_STAGING_PASSWORD
+ CF_PASSWORD: CF_MS_PASSWORD
steps:
- name: Checkout repository
uses: actions/checkout@v3