-
Notifications
You must be signed in to change notification settings - Fork 5
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 #1440 from GSA/main
04/17/2024 Production Deploy
- Loading branch information
Showing
36 changed files
with
857 additions
and
252 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,9 +157,11 @@ jobs: | |
- uses: ./.github/actions/setup-project | ||
- name: Create requirements.txt | ||
run: poetry export --without-hashes --format=requirements.txt > requirements.txt | ||
- uses: pypa/[email protected].6 | ||
- uses: pypa/[email protected].8 | ||
with: | ||
inputs: requirements.txt | ||
ignore-vulns: | | ||
GHSA-w3h3-4rj7-4ph4 | ||
- name: Run npm audit | ||
run: make npm-audit | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ <h1 class="heading-large"> | |
Sorry, we can't deliver what you asked for right now. | ||
</h1> | ||
<p class="usa-body"> | ||
Please try again later or <a class="usa-link" href="mailto:[email protected]"></a>email us</a> for more information.</p> | ||
Please try again later or <a class="usa-link" href="mailto:[email protected]">email us</a> for more information.</p> | ||
</p> | ||
</div> | ||
</div> | ||
|
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 @@ | ||
{% if help %} | ||
{% include 'partials/tour.html' %} | ||
{% else %} | ||
<nav class="nav margin-bottom-4"> | ||
<a class="usa-button margin-top-1 margin-bottom-5 width-full" | ||
href="{{ url_for('.choose_template', service_id=current_service.id) }}">Send messages</a> | ||
<ul class="usa-sidenav"> | ||
{% if current_user.has_permissions() %} | ||
{% if current_user.has_permissions('view_activity') %} | ||
<li class="usa-sidenav__item"><a class="{{ main_navigation.is_selected('dashboard') }}" href="{{ url_for('.service_dashboard', service_id=current_service.id) }}">Dashboard</a></li> | ||
{% endif %} | ||
{% if not current_user.has_permissions('view_activity') %} | ||
<li class="usa-sidenav__item"><a class="{{ casework_navigation.is_selected('sent-messages') }}" href="{{ url_for('.view_notifications', service_id=current_service.id, status='sending,delivered,failed') }}">Sent messages</a></li> | ||
{% endif %} | ||
{% if current_user.has_permissions('manage_service', allow_org_user=True) %} | ||
{# <li class="usa-sidenav__item"><a class="{{ main_navigation.is_selected('usage') }}" href="{{ url_for('.usage', service_id=current_service.id) }}">Usage</a></li> #} | ||
{% endif %} | ||
<!-- {% if current_user.has_permissions('manage_api_keys', 'manage_service') %} | ||
<li class="usa-sidenav__item"><a class="{{ main_navigation.is_selected('settings') }}" href="{{ url_for('.service_settings', service_id=current_service.id) }}">Settings</a></li> | ||
{% endif %} --> | ||
{% if current_user.has_permissions('manage_api_keys') %} | ||
<!-- <li><a class="usa-link{{ main_navigation.is_selected('api-integration') }}" href="{{ url_for('.api_integration', service_id=current_service.id) }}">API integration</a></li> --> | ||
{% endif %} | ||
{% elif current_user.has_permissions(allow_org_user=True) %} | ||
<li class="usa-sidenav__item"><a class="usa-link{{ main_navigation.is_selected('usage') }}" href="{{ url_for('.usage', service_id=current_service.id) }}">Usage</a></li> | ||
<li class="usa-sidenav__item"><a class="usa-link{{ main_navigation.is_selected('team-members') }}" href="{{ url_for('.manage_users', service_id=current_service.id) }}">Team members</a></li> | ||
{% endif %} | ||
</ul> | ||
</nav> | ||
{% endif %} |
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,11 @@ | ||
<nav class="navigation"> | ||
<ul> | ||
<li><a class="usa-link{{ org_navigation.is_selected('dashboard') }}" href="{{ url_for('.organization_dashboard', org_id=current_org.id) }}">Usage</a></li> | ||
<li><a class="usa-link{{ org_navigation.is_selected('team-members') }}" href="{{ url_for('.manage_org_users', org_id=current_org.id) }}">Team members</a></li> | ||
{% if current_user.platform_admin %} | ||
<li><a class="usa-link{{ org_navigation.is_selected('settings') }}" href="{{ url_for('.organization_settings', org_id=current_org.id) }}">Settings</a></li> | ||
<li><a class="usa-link{{ org_navigation.is_selected('trial-services') }}" href="{{ url_for('.organization_trial_mode_services', org_id=current_org.id) }}">Trial mode services</a></li> | ||
<li><a class="usa-link{{ org_navigation.is_selected('billing') }}" href="{{ url_for('.organization_billing', org_id=current_org.id) }}">Billing</a></li> | ||
{% endif %} | ||
</ul> | ||
</nav> |
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,15 @@ | ||
<div class="navigation-service margin-top-5 display-flex flex-align-end flex-justify border-bottom padding-bottom-1"> | ||
{% if current_service.organization_id %} | ||
{% if current_user.platform_admin or | ||
(current_user.belongs_to_organization(current_service.organization_id) and current_service.live) %} | ||
<a href="{{ url_for('.organization_dashboard', org_id=current_service.organization_id) }}" class="usa-link navigation-organization-link">{{ current_service.organization_name }}</a> | ||
{% endif %} | ||
{% endif %} | ||
<div class="font-body-2xl text-bold"> | ||
{{ current_service.name }} | ||
{% if not current_service.active %} | ||
<span class="navigation-service-name navigation-service-type--suspended">Suspended</span> | ||
{% endif %} | ||
</div> | ||
<a href="{{ url_for('main.choose_account') }}" class="usa-link">Switch service</a> | ||
</div> |
Oops, something went wrong.