mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-06 04:27:22 +02:00
Merge branch 'main' into nmb/513-google-analytics
This commit is contained in:
commit
e29fbd0c2f
15 changed files with 188 additions and 47 deletions
44
src/Pipfile.lock
generated
44
src/Pipfile.lock
generated
|
@ -32,20 +32,20 @@
|
|||
},
|
||||
"boto3": {
|
||||
"hashes": [
|
||||
"sha256:85e2fa361ad3210d30800bad311688261f2673a9b301e0edab56463d89609761",
|
||||
"sha256:d18688bc5d688decf3cc404430a3ac3ec317be653cdcfbc51104c01f38a66434"
|
||||
"sha256:02ce7dcad2d3b054cd99e7ca6df7a708e016a31b1c98b46d8df3b3891070c121",
|
||||
"sha256:b8acb57a124434284d6ab69c61d32d70e84e13e2c27c33b4ad3c32f15ad407d3"
|
||||
],
|
||||
"index": "pypi",
|
||||
"markers": "python_version >= '3.7'",
|
||||
"version": "==1.28.76"
|
||||
"version": "==1.28.79"
|
||||
},
|
||||
"botocore": {
|
||||
"hashes": [
|
||||
"sha256:479abb5a1ee03eb00faa1ea176bc595b2f46f7494777807681a9df45ed99ea18",
|
||||
"sha256:74e0a4515d61b2860b24dc208ca89a68d79dc00147125d531746d3ba808822ad"
|
||||
"sha256:07ecb93833475dde68e5c0e02a7ccf8ca22caf68cdc892651c300529894133e1",
|
||||
"sha256:6f1fc49e9e12f9772b4fef577837670bc84d772a7c946b4d08fe2890e34a4305"
|
||||
],
|
||||
"markers": "python_version >= '3.7'",
|
||||
"version": "==1.31.76"
|
||||
"version": "==1.31.79"
|
||||
},
|
||||
"cachetools": {
|
||||
"hashes": [
|
||||
|
@ -448,7 +448,7 @@
|
|||
},
|
||||
"geventconnpool": {
|
||||
"git": "https://github.com/rasky/geventconnpool.git",
|
||||
"ref": null
|
||||
"ref": "1bbb93a714a331a069adf27265fe582d9ba7ecd4"
|
||||
},
|
||||
"greenlet": {
|
||||
"hashes": [
|
||||
|
@ -1205,12 +1205,12 @@
|
|||
},
|
||||
"boto3": {
|
||||
"hashes": [
|
||||
"sha256:85e2fa361ad3210d30800bad311688261f2673a9b301e0edab56463d89609761",
|
||||
"sha256:d18688bc5d688decf3cc404430a3ac3ec317be653cdcfbc51104c01f38a66434"
|
||||
"sha256:02ce7dcad2d3b054cd99e7ca6df7a708e016a31b1c98b46d8df3b3891070c121",
|
||||
"sha256:b8acb57a124434284d6ab69c61d32d70e84e13e2c27c33b4ad3c32f15ad407d3"
|
||||
],
|
||||
"index": "pypi",
|
||||
"markers": "python_version >= '3.7'",
|
||||
"version": "==1.28.76"
|
||||
"version": "==1.28.79"
|
||||
},
|
||||
"boto3-mocking": {
|
||||
"hashes": [
|
||||
|
@ -1223,28 +1223,28 @@
|
|||
},
|
||||
"boto3-stubs": {
|
||||
"hashes": [
|
||||
"sha256:d89c3546e9e500f81ebfe78c71627e74085d3f77cd7e62830b5e48a67bce9b75",
|
||||
"sha256:fc57fc32d9a0c4bdd02676c37dbaa911b3e6c3857e417a229d236938d31299fe"
|
||||
"sha256:621e229ef9b394cd1f6cd5caa58a17347440b14423b01435d9f2a50031a427fc",
|
||||
"sha256:f5986d1b09d516f58780100a3a86bfa75114370dd5dd0bdea67bfe8cda255723"
|
||||
],
|
||||
"index": "pypi",
|
||||
"markers": "python_version >= '3.7'",
|
||||
"version": "==1.28.76"
|
||||
"version": "==1.28.79"
|
||||
},
|
||||
"botocore": {
|
||||
"hashes": [
|
||||
"sha256:479abb5a1ee03eb00faa1ea176bc595b2f46f7494777807681a9df45ed99ea18",
|
||||
"sha256:74e0a4515d61b2860b24dc208ca89a68d79dc00147125d531746d3ba808822ad"
|
||||
"sha256:07ecb93833475dde68e5c0e02a7ccf8ca22caf68cdc892651c300529894133e1",
|
||||
"sha256:6f1fc49e9e12f9772b4fef577837670bc84d772a7c946b4d08fe2890e34a4305"
|
||||
],
|
||||
"markers": "python_version >= '3.7'",
|
||||
"version": "==1.31.76"
|
||||
"version": "==1.31.79"
|
||||
},
|
||||
"botocore-stubs": {
|
||||
"hashes": [
|
||||
"sha256:778c6e014ae1103d546d59dffb000b0a659c9b9bbfa11050ff4a62c5adeec3a4",
|
||||
"sha256:9fd9447a28642efa35a1c5590fc35132cf0173cd12055ba9044511cb6b24dd6f"
|
||||
"sha256:64488b9f38905f8a60041998f9dc945754222d900a3345b449059667890c2c17",
|
||||
"sha256:e4d8e782d774f45dbfc36d922a0a0edfffbacca2ce66bccaba02a893a38359f2"
|
||||
],
|
||||
"markers": "python_version >= '3.7' and python_version < '4.0'",
|
||||
"version": "==1.31.76"
|
||||
"version": "==1.31.79"
|
||||
},
|
||||
"click": {
|
||||
"hashes": [
|
||||
|
@ -1429,11 +1429,11 @@
|
|||
},
|
||||
"pbr": {
|
||||
"hashes": [
|
||||
"sha256:567f09558bae2b3ab53cb3c1e2e33e726ff3338e7bae3db5dc954b3a44eef12b",
|
||||
"sha256:aefc51675b0b533d56bb5fd1c8c6c0522fe31896679882e1c4c63d5e4a0fccb3"
|
||||
"sha256:4a7317d5e3b17a3dccb6a8cfe67dab65b20551404c52c8ed41279fa4f0cb4cda",
|
||||
"sha256:d1377122a5a00e2f940ee482999518efe16d745d423a670c27773dfbc3c9a7d9"
|
||||
],
|
||||
"markers": "python_version >= '2.6'",
|
||||
"version": "==5.11.1"
|
||||
"version": "==6.0.0"
|
||||
},
|
||||
"platformdirs": {
|
||||
"hashes": [
|
||||
|
|
|
@ -5,7 +5,11 @@
|
|||
font-size: units(3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.usa-alert__text.measure-none {
|
||||
max-width: measure(none);
|
||||
}
|
||||
|
||||
// The icon was off center for some reason
|
||||
// Fixes that issue
|
||||
@media (min-width: 64em){
|
||||
|
|
|
@ -26,6 +26,24 @@ a.usa-button {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.usa-button.disabled-link {
|
||||
background-color: #ccc !important;
|
||||
color: #454545 !important
|
||||
}
|
||||
|
||||
a.usa-button.disabled-link:hover {
|
||||
background-color: #ccc !important;
|
||||
cursor: not-allowed !important;
|
||||
color: #454545 !important
|
||||
}
|
||||
|
||||
a.usa-button.disabled-link:focus {
|
||||
background-color: #ccc !important;
|
||||
cursor: not-allowed !important;
|
||||
outline: none !important;
|
||||
color: #454545 !important
|
||||
}
|
||||
|
||||
a.usa-button:not(.usa-button--unstyled, .usa-button--outline) {
|
||||
color: color('white');
|
||||
}
|
||||
|
|
|
@ -132,4 +132,10 @@ in the form $setting: value,
|
|||
$theme-table-sorted-background-color: "accent-cool-lightest",
|
||||
$theme-table-sorted-icon-color: "primary-darker",
|
||||
$theme-table-unsorted-icon-color: "primary",
|
||||
|
||||
/*----------------------------
|
||||
# Tooltip Settings
|
||||
-----------------------------*/
|
||||
$theme-tooltip-background-color: "accent-cool-lightest",
|
||||
$theme-tooltip-font-color: "black"
|
||||
);
|
||||
|
|
|
@ -46,6 +46,7 @@ path = Path(__file__)
|
|||
|
||||
env_db_url = env.dj_db_url("DATABASE_URL")
|
||||
env_debug = env.bool("DJANGO_DEBUG", default=False)
|
||||
env_is_production = env.bool("IS_PRODUCTION", default=False)
|
||||
env_log_level = env.str("DJANGO_LOG_LEVEL", "DEBUG")
|
||||
env_base_url = env.str("DJANGO_BASE_URL")
|
||||
env_getgov_public_site_url = env.str("GETGOV_PUBLIC_SITE_URL", "")
|
||||
|
@ -73,6 +74,8 @@ BASE_DIR = path.resolve().parent.parent.parent
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = env_debug
|
||||
|
||||
# Controls production specific feature toggles
|
||||
IS_PRODUCTION = env_is_production
|
||||
|
||||
# Applications are modular pieces of code.
|
||||
# They are provided by Django, by third-parties, or by yourself.
|
||||
|
|
|
@ -15,7 +15,7 @@ class Command(BaseCommand):
|
|||
# Running this script removes all existing transition domains, so use with caution.
|
||||
# Transition domains are created with email addresses provided as command line
|
||||
# argument. Email addresses for testing are passed as comma delimited list of
|
||||
# email addresses, and are required to be provided. Email addresses from the list
|
||||
# email addresses, and are required to be provided. Email addresses from the list
|
||||
# are assigned to transition domains at time of creation.
|
||||
|
||||
def add_arguments(self, parser):
|
||||
|
|
|
@ -70,10 +70,11 @@
|
|||
|
||||
{% if IS_DEMO_SITE %}
|
||||
<section aria-label="Alert" >
|
||||
<div class="usa-alert usa-alert--warning usa-alert--no-icon">
|
||||
<div class="usa-alert usa-alert--info">
|
||||
<div class="usa-alert__body">
|
||||
<p class="usa-alert__text">
|
||||
<strong>BETA SITE:</strong> We’re building a new way to get a .gov. Take a look around, but don’t rely on this site yet. This site is for testing purposes only. Don’t enter real data into any form on this site. To learn about requesting a .gov domain, visit <a href="https://get.gov" class="usa-link">get.gov</a>
|
||||
<h4 class="usa-alert__heading">New domain requests are paused</h4>
|
||||
<p class="usa-alert__text measure-none">
|
||||
This is the new registrar for managing .gov domains. Note that we’re not accepting requests for new .gov domains until January 2024. Follow .gov updates at <a href="https://get.gov/updates/" class="usa-link">get.gov/updates/</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,20 +1,41 @@
|
|||
{% autoescape off %}{# In a text file, we don't want to have HTML entities escaped #}
|
||||
Hi.
|
||||
Hello from .gov.
|
||||
|
||||
You have been added as a manager on {% if domains|length > 1 %}multiple domains (listed below){% else %}{{ domains.0 }}{% endif %}.
|
||||
Our new domain management system—the .gov registrar—is now available. The organization, contacts, and DNS information for your .gov domain{% if domains|length > 1 %}s{% endif %} have been transferred to our new registrar.
|
||||
|
||||
Your .gov domain{% if domains|length > 1 %}s{% endif %}:
|
||||
{% for domain in domains %} - {{ domain }}
|
||||
{% endfor %}
|
||||
If you’re not affiliated with the above domain{% if domains|length > 1 %}s{% endif %} or think you received this message in error, let us know in a reply to this email.
|
||||
|
||||
|
||||
CREATE A LOGIN.GOV ACCOUNT
|
||||
|
||||
You can’t use your old credentials to access the new registrar. Access is now managed through Login.gov, a simple and secure process for signing into many government services with one account. Follow these steps to create your Login.gov account <https://login.gov/help/get-started/create-your-account/>.
|
||||
|
||||
When creating an account, you’ll need to provide the same email address you used to log in to the old registrar. That will ensure your domains are linked to your Login.gov account.
|
||||
|
||||
If you need help finding the email address you used in the past, let us know in a reply to this email.
|
||||
|
||||
CHECK YOUR .GOV DOMAIN CONTACTS
|
||||
|
||||
This is a good time to check who has access to your .gov domain{% if domains|length > 1 %}s{% endif %}. The admin, technical, and billing contacts listed for your domain{% if domains|length > 1 %}s{% endif %} in our old system also received this email. In our new registrar, these contacts are all considered “domain managers.” We no longer have the admin, technical, and billing roles, and you aren’t limited to three domain managers like in the old system.
|
||||
|
||||
1. Once you have your Login.gov account, sign in to the new registrar at <https://manage.get.gov>.
|
||||
2. Click the “Manage” link next to your .gov domain, then click on “Domain managers” to see who has access to your domain.
|
||||
3. If any of these users should not have access to your domain, let us know in a reply to this email.
|
||||
|
||||
After verifying who has access to your domain{% if domains|length > 1 %}s{% endif %}, we also suggest reviewing your contact information and organization mailing address to ensure those are up to date.
|
||||
|
||||
|
||||
DOMAIN EXPIRATION DATES EXTENDED BY ONE YEAR
|
||||
|
||||
Expiration dates for .gov domains in good standing have been extended for one year. Expiration dates won't be shown in the new registrar yet.
|
||||
|
||||
YOU NEED A LOGIN.GOV ACCOUNT
|
||||
You’ll need a Login.gov account to manage your .gov domain{% if domains|length > 1 %}s{% endif %}. Login.gov provides a simple and secure process for signing into many government services with one account. If you don’t already have one, follow these steps to create your Login.gov account <https://login.gov/help/get-started/create-your-account/>.
|
||||
|
||||
DOMAIN MANAGEMENT
|
||||
As a .gov domain manager you can add or update information about your domain{% if domains|length > 1 %}s{% endif %}. You’ll also serve as a contact for your .gov domain{% if domains|length > 1 %}s{% endif %}. Please keep your contact information updated. Learn more about domain management <https://get.gov/help/>.
|
||||
{% if domains|length > 1 %}
|
||||
DOMAINS
|
||||
{% for domain in domains %} {{ domain }}
|
||||
{% endfor %}{% else %}
|
||||
{% endif %}
|
||||
SOMETHING WRONG?
|
||||
If you’re not affiliated with {{ domain }} or think you received this message in error, contact the .gov team <https://get.gov/help/#contact-us>.
|
||||
|
||||
If you think you received this message in error or have a question, let us know in a reply to this email.
|
||||
|
||||
|
||||
THANK YOU
|
||||
|
@ -24,6 +45,8 @@ THANK YOU
|
|||
----------------------------------------------------------------
|
||||
|
||||
The .gov team
|
||||
Contact us: <https://get.gov/contact/>
|
||||
Visit <https://get.gov>
|
||||
|
||||
.Gov blog <https://get.gov/updates/>
|
||||
Domain management <https://manage.get.gov>
|
||||
Get.gov <https://get.gov>
|
||||
{% endautoescape %}
|
||||
|
|
|
@ -1 +1 @@
|
|||
You've been added to a .gov domain
|
||||
(Action required) Manage your .gov domain{% if domains|length > 1 %}s{% endif %} in the new registrar
|
|
@ -13,9 +13,22 @@
|
|||
<h1>Manage your domains</h2>
|
||||
|
||||
<p class="margin-top-4">
|
||||
<a href="{% url 'application:' %}" class="usa-button">
|
||||
{% if is_production %}
|
||||
<a href="javascript:void(0)"
|
||||
class="usa-button usa-tooltip disabled-link"
|
||||
data-position="right"
|
||||
title="Coming in 2024"
|
||||
aria-disabled="true"
|
||||
data-tooltip="true"
|
||||
>
|
||||
Start a new domain request
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{% url 'application:' %}" class="usa-button"
|
||||
>
|
||||
Start a new domain request
|
||||
</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<section class="section--outlined tablet:grid-col-11 desktop:grid-col-10">
|
||||
|
@ -130,7 +143,7 @@
|
|||
{% endif %}
|
||||
</section>
|
||||
|
||||
{# Note: Reimplement this after MVP.. #}
|
||||
{# Note: Reimplement this after MVP #}
|
||||
<!--
|
||||
<section class="section--outlined tablet:grid-col-11 desktop:grid-col-10">
|
||||
<h2>Archived domains</h2>
|
||||
|
|
|
@ -2,6 +2,7 @@ from django.db.models import F
|
|||
from django.shortcuts import render
|
||||
|
||||
from registrar.models import DomainApplication
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
def index(request):
|
||||
|
@ -22,4 +23,5 @@ def index(request):
|
|||
state=F("domain__state"),
|
||||
)
|
||||
context["domains"] = domains
|
||||
context["is_production"] = settings.IS_PRODUCTION
|
||||
return render(request, "home.html", context)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
-i https://pypi.python.org/simple
|
||||
annotated-types==0.6.0; python_version >= '3.8'
|
||||
asgiref==3.7.2; python_version >= '3.7'
|
||||
boto3==1.28.76; python_version >= '3.7'
|
||||
botocore==1.31.76; python_version >= '3.7'
|
||||
boto3==1.28.79; python_version >= '3.7'
|
||||
botocore==1.31.79; python_version >= '3.7'
|
||||
cachetools==5.3.2; python_version >= '3.7'
|
||||
certifi==2023.7.22; python_version >= '3.6'
|
||||
cfenv==0.5.3
|
||||
|
@ -28,7 +28,7 @@ fred-epplib@ git+https://github.com/cisagov/epplib.git@d56d183f1664f34c40ca9716a
|
|||
furl==2.1.3
|
||||
future==0.18.3; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'
|
||||
gevent==23.9.1; python_version >= '3.8'
|
||||
geventconnpool@ git+https://github.com/rasky/geventconnpool.git
|
||||
geventconnpool@ git+https://github.com/rasky/geventconnpool.git@1bbb93a714a331a069adf27265fe582d9ba7ecd4
|
||||
greenlet==3.0.1; python_version >= '3.7'
|
||||
gunicorn==21.2.0; python_version >= '3.5'
|
||||
idna==3.4; python_version >= '3.5'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue