Compare commits

...

31 Commits

Author SHA1 Message Date
Steven Reilly
8ac605fcb1 Revert "Production deploy 5/10/2024" 2024-05-14 13:57:14 -04:00
Steven Reilly
faf6170b67 Merge pull request #980 from GSA/main
Production deploy 5/10/2024
2024-05-10 12:22:41 -04:00
Steven Reilly
3e2ad6ba0d Merge pull request #949 from GSA/main
4/26/2024 Production Deploy
2024-04-26 15:32:47 -04:00
Carlo Costino
8e198ae1ee Merge pull request #935 from GSA/main
04/18/2024 Production Deploy
2024-04-18 17:00:00 -04:00
Carlo Costino
5e498830d2 Merge pull request #929 from GSA/main
04/17/2024 Production Deploy
2024-04-17 15:46:22 -04:00
Steven Reilly
946a7461f4 Merge pull request #908 from GSA/main
Production deploy for 4/9/24
2024-04-09 12:19:25 -04:00
Carlo Costino
f1d190d235 Merge pull request #892 from GSA/main
Prod deploy - 4/3/24
2024-04-03 15:45:33 -04:00
Steven Reilly
d9bb94ff42 Merge pull request #877 from GSA/main
API Production Deploy - 3/28/2024
2024-04-03 11:31:28 -04:00
Steven Reilly
3387e2a0be Merge pull request #859 from GSA/main
API Production Deploy - 3/19/2024
2024-03-19 13:24:31 -04:00
Steven Reilly
ffddf478ee Merge pull request #846 from GSA/main
API Production Deploy 3/14/2023
2024-03-14 11:10:12 -04:00
Steven Reilly
895d08615a Merge pull request #834 from GSA/main
Production Deploy 3/6/2024
2024-03-06 09:23:54 -05:00
Steven Reilly
1add55bc91 Merge pull request #821 from GSA/main
2/27/2024 Production Deployment
2024-02-28 09:43:26 -05:00
Steven Reilly
57b6058605 Merge pull request #807 from GSA/main
Production Deploy 2/20/2024
2024-02-20 16:00:49 -05:00
Carlo Costino
837832ddf4 Merge pull request #795 from GSA/main
Production deploy 2/8/24
2024-02-09 09:37:37 -05:00
Steven Reilly
1ca6070269 Merge pull request #786 from GSA/main
One-off API Production Deploy to fix CSV parsing issue - 02-02-2024
2024-02-02 10:23:09 -05:00
Carlo Costino
ec388f95f2 Merge pull request #777 from GSA/main
CSV error handling prod deploy
2024-01-31 11:37:54 -05:00
Carlo Costino
7f36b6c3a1 Merge pull request #775 from GSA/main
CSV debug prod deploy
2024-01-31 10:44:08 -05:00
Carlo Costino
f29929e2ab Merge pull request #772 from GSA/main
Production deploy 1/30/24
2024-01-30 16:52:12 -05:00
Carlo Costino
32c5f8e035 Merge pull request #766 from GSA/main
Production deploy 1/29/24
2024-01-30 08:27:08 -05:00
Steven Reilly
078d31f55a Merge pull request #677 from GSA/main
Production deploy 12/13/23
2023-12-13 14:27:58 -05:00
Carlo Costino
e6df534d69 Merge pull request #643 from GSA/main
Prod deploy 11/30/2023
2023-11-30 15:50:39 -05:00
Steven Reilly
60a444b858 Merge pull request #635 from GSA/main
Production deploy 11/28/23
2023-11-29 15:20:27 -05:00
Steven Reilly
cdb8654e5e Merge pull request #552 from GSA/main
Production deploy 10/31/23
2023-11-01 14:26:15 -04:00
Carlo Costino
36f2e84a5f Merge pull request #526 from GSA/main
Production deploy 10/2/2023
2023-10-05 13:25:34 -04:00
Steven Reilly
eab34e0f52 Merge pull request #508 from GSA/main
Production deploy 9/26/23
2023-09-26 16:47:09 -04:00
Carlo Costino
5e53f0607a Merge pull request #503 from GSA/main
Production deploy 9/25/23
2023-09-25 17:43:57 -04:00
Steven Reilly
da0734bf3f Merge pull request #496 from GSA/main
Production deploy 9/22/23
2023-09-22 13:14:49 -04:00
Steven Reilly
e9e9b8a34a Merge pull request #480 from GSA/main
Production deploy 9/18/23, part 3
2023-09-18 13:59:28 -04:00
Steven Reilly
2f20d78c97 Merge pull request #478 from GSA/main
Production deploy 9/18/23, part 2
2023-09-18 12:43:31 -04:00
Steven Reilly
3f899ec78b Merge pull request #475 from GSA/main
Production deploy 9/18/23
2023-09-18 11:34:14 -04:00
Steven Reilly
4702b454fc Merge pull request #447 from GSA/main
Production deploy 8/29/23
2023-08-29 21:08:35 -04:00
5 changed files with 572 additions and 566 deletions

View File

@@ -20,14 +20,13 @@
"Notify.gov makes it easy to keep people updated by helping you send text messages.",
"",
"",
"Click this link to create an account on Notify.gov:",
"",
"[Join Service](((url)))",
"If youre new to Notify.gov you will first be directed to Login.gov create an account with us.",
"",
"",
"This invitation will stop working at midnight tomorrow. This is to keep ((service_name)) secure.",
"",
"",
"Notify.gov uses Login.gov to allow you to sign in safely. Login.gov is a secure sign in service to help you access participating government agencies' digital touchpoints."
"This invitation will stop working at midnight tomorrow. This is to keep ((service_name)) secure."
]
},
{

1089
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,7 @@ version = "0.1.0"
description = "Notify.gov backend"
authors = ["Your Name <you@example.com>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
@@ -11,8 +12,8 @@ python = "^3.12.2"
alembic = "==1.13.1"
amqp = "==5.2.0"
beautifulsoup4 = "==4.12.3"
boto3 = "^1.34.101"
botocore = "^1.34.101"
boto3 = "^1.29.6"
botocore = "^1.32.6"
cachetools = "==5.3.3"
celery = {version = "==5.3.6", extras = ["redis"]}
certifi = ">=2022.12.7"
@@ -20,36 +21,37 @@ cffi = "==1.16.0"
charset-normalizer = "^3.1.0"
click = "==8.1.7"
click-datetime = "==0.2"
click-didyoumean = "==0.3.1"
click-didyoumean = "==0.3.0"
click-plugins = "==1.1.1"
click-repl = "==0.3.0"
deprecated = "==1.2.14"
eventlet = "==0.36.1"
expiringdict = "==1.2.2"
flask = "~=3.0"
flask = "~=2.3"
flask-bcrypt = "==1.0.1"
flask-marshmallow = "==1.2.1"
flask-marshmallow = "==0.14.0"
flask-migrate = "==4.0.7"
flask-redis = "==0.4.0"
flask-sqlalchemy = "==3.0.5"
gunicorn = {version = "==22.0.0", extras = ["eventlet"]}
iso8601 = "==2.1.0"
jsonschema = {version = "==4.22.0", extras = ["format"]}
jsonschema = {version = "==4.20.0", extras = ["format"]}
lxml = "==5.2.1"
marshmallow = "==3.21.2"
marshmallow-sqlalchemy = "==1.0.0"
marshmallow = "==3.20.2"
marshmallow-sqlalchemy = "==0.30.0"
newrelic = "*"
notifications-python-client = "==9.0.0"
notifications-utils = {git = "https://github.com/GSA/notifications-utils.git"}
oscrypto = "==1.3.0"
packaging = "==24.0"
packaging = "==23.2"
poetry-dotenv-plugin = "==0.2.0"
psycopg2-binary = "==2.9.9"
pyjwt = "==2.8.0"
python-dotenv = "==1.0.1"
python-dotenv = "==1.0.0"
sqlalchemy = "==1.4.40"
werkzeug = "^3.0.3"
faker = "^25.1.0"
werkzeug = "^3.0.2"
faker = "^24.4.0"
setuptools = "^69.2.0"
[tool.poetry.group.dev.dependencies]
@@ -57,20 +59,20 @@ awscli = "^1.29.74"
bandit = "*"
black = "^24.3.0"
cloudfoundry-client = "*"
exceptiongroup = "==1.2.1"
exceptiongroup = "==1.2.0"
flake8 = "^7.0.0"
flake8-bugbear = "^24.1.17"
freezegun = "^1.4.0"
honcho = "*"
isort = "^5.13.2"
jinja2-cli = {version = "==0.8.2", extras = ["yaml"]}
moto = "==5.0.6"
moto = "==5.0.5"
pip-audit = "*"
pre-commit = "^3.6.0"
pytest = "^8.1.1"
pytest = "^7.4.4"
pytest-env = "^1.1.3"
pytest-mock = "^3.14.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.12.0"
pytest-cov = "^4.1.0"
pytest-xdist = "^3.5.0"
radon = "^6.0.1"
requests-mock = "^1.11.0"

View File

@@ -237,7 +237,7 @@ def test_update_template_folder_users(admin_request, sample_service):
[
({}, "name is a required property"),
({"name": None}, "name None is not of type string"),
({"name": ""}, "name should be non-empty"),
({"name": ""}, "name is too short"),
],
)
def test_update_template_folder_fails_if_missing_name(

View File

@@ -89,7 +89,7 @@ def test_create_webauthn_credential_returns_201(admin_request, sample_user):
"name None is not of type string",
),
# name is empty
({"name": "", "credential_data": "ABC123"}, "name should be non-empty"),
({"name": "", "credential_data": "ABC123"}, "name is too short"),
],
)
def test_create_webauthn_credential_errors_if_schema_violation(
@@ -131,7 +131,7 @@ def test_update_webauthn_credential_returns_200(admin_request, sample_user):
# name is null
({"name": None}, "name None is not of type string"),
# name is empty
({"name": ""}, "name should be non-empty"),
({"name": ""}, "name is too short"),
],
)
def test_update_webauthn_credential_errors_if_schema_violation(