Commit Graph

9377 Commits

Author SHA1 Message Date
Steven Reilly
886db509a0 update docs for project setup (#190) 2023-03-07 09:56:12 -05:00
Ryan Ahearn
a0fab5546e Merge pull request #189 from GSA/remove-letters-permissions
Drop send_letters permissions for existing users
2023-03-06 09:34:26 -05:00
Ryan Ahearn
8b0d8ceb8b Drop send_letters permissions for existing users 2023-03-06 09:16:25 -05:00
Ryan Ahearn
3ad64e7176 Merge pull request #187 from GSA/use-sns-service
Use sns service
2023-03-03 16:42:39 -05:00
Ryan Ahearn
22aa7e2787 Remove default creds from s3 module 2023-03-03 16:01:12 -05:00
Ryan Ahearn
cb4ab8fb16 Remove obsolete references to AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY 2023-03-03 15:45:04 -05:00
Ryan Ahearn
40ec79e74c Only use service sender value if it is valid for SNS OriginationNumber 2023-03-03 15:40:21 -05:00
Ryan Ahearn
36975dda07 Ensure CI runs have proper phone number format 2023-03-03 14:13:58 -05:00
Ryan Ahearn
c58a151e65 Merge branch 'main' into use-sns-service
* main:
  Remove letters-related code (#175)
2023-03-03 08:53:32 -05:00
Steven Reilly
ff4190a8eb Remove letters-related code (#175)
This deletes a big ol' chunk of code related to letters. It's not everything—there are still a few things that might be tied to sms/email—but it's the the heart of letters function. SMS and email function should be untouched by this.

Areas affected:

- Things obviously about letters
- PDF tasks, used for precompiling letters
- Virus scanning, used for those PDFs
- FTP, used to send letters to the printer
- Postage stuff
2023-03-02 20:20:31 -05:00
Ryan Ahearn
dd0c7ebd56 Update sms sender numbers in db 2023-03-01 13:46:08 -05:00
Ryan Ahearn
28f8649444 Use sns credentials from VCAP_SERVICES 2023-02-28 16:50:00 -05:00
Ryan Ahearn
439722990e Bind to sns service 2023-02-28 14:49:53 -05:00
Ryan Ahearn
b07b95f795 Merge pull request #186 from GSA/custom-mail-from
Add a mail-from subdomain to staging and prod ses
2023-02-28 12:35:18 -05:00
Ryan Ahearn
b8f66155dc Add a mail-from subdomain to staging and prod ses 2023-02-28 11:38:58 -05:00
Ryan Ahearn
58f8ca47bf Merge pull request #183 from GSA/brokerpak-setup-updates
Brokerpak setup updates
2023-02-24 15:29:56 -05:00
Ryan Ahearn
8d595dd730 Merge pull request #184 from GSA/dependabot/pip/markdown-it-py-2.2.0
Bump markdown-it-py from 2.1.0 to 2.2.0
2023-02-24 11:34:47 -05:00
dependabot[bot]
5899ab8301 Bump markdown-it-py from 2.1.0 to 2.2.0
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases)
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/markdown-it-py/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 20:12:40 +00:00
Ryan Ahearn
71010e78d8 Fix formatting for secret code to ensure 0 padding no matter the passed length 2023-02-22 10:48:15 -05:00
Ryan Ahearn
eec618dff8 Enable sns service in demo 2023-02-22 10:10:00 -05:00
Ryan Ahearn
e62b257061 Update sandbox sns terraform now that service sharing is blocked 2023-02-21 16:48:42 -05:00
Ryan Ahearn
596e25af42 Move demo terraform to commercial prod AWS account 2023-02-21 16:48:27 -05:00
Ryan Ahearn
c52174dfb9 Merge pull request #182 from GSA/sms-code-rigor
Use cryptographically secure random number for sms codes
2023-02-17 13:18:43 -05:00
Ryan Ahearn
e26bc5095c Use cryptographically secure random number for sms codes
Also, increase token length to 6 digits
2023-02-17 11:54:17 -05:00
Ryan Ahearn
236701f01d Merge pull request #179 from GSA/dependabot/pip/werkzeug-2.2.3
Bump werkzeug from 2.2.2 to 2.2.3
2023-02-16 07:59:55 -05:00
dependabot[bot]
ba01148095 Bump werkzeug from 2.2.2 to 2.2.3
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/2.2.2...2.2.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 07:42:56 +00:00
Ryan Ahearn
28d1c00b60 Merge pull request #178 from GSA/utils-and-proxy-update
Utils lib and proxy deploy update
2023-02-14 16:49:54 -05:00
Ryan Ahearn
3d4ff1a1f0 Switch back to official egress proxy repo 2023-02-14 12:15:22 -05:00
Ryan Ahearn
3745e6fc0d Run pipenv update 2023-02-14 12:13:42 -05:00
Ryan Ahearn
979a0e6639 Merge pull request #177 from GSA/sns-brokerpak
Provision sns via terraform in staging
2023-02-10 11:02:47 -05:00
Ryan Ahearn
acee0cc03a Remove debugging line 2023-02-10 10:40:39 -05:00
Ryan Ahearn
52e6d25b13 Provision sns via terraform in staging 2023-02-10 09:31:27 -05:00
Ryan Ahearn
573c028988 Merge pull request #176 from GSA/cryptography-update
Update flask & cryptography versions
2023-02-10 09:31:04 -05:00
Ryan Ahearn
cdf2810b14 Update flask & cryptography versions 2023-02-09 17:26:36 -05:00
Ryan Ahearn
496bf80c77 Merge pull request #174 from GSA/ses-brokerpak
Provision SES via brokerpak
2023-02-06 11:28:23 -05:00
Ryan Ahearn
ad6f8a6778 Fix email_domain for demo environment 2023-02-03 15:53:44 -05:00
Steven Reilly
dc06b411ca Update default templates and add update command (#166)
This commit adds config_files for default data and, using that, creates a new way to update our default templates without needing to hardcode a migration.

---------

Co-authored-by: Ryan Ahearn <ryan.ahearn@gsa.gov>
2023-02-03 10:11:21 -05:00
Ryan Ahearn
13438e0602 Add terraform module to staging/demo/prod 2023-02-02 15:45:09 -05:00
Ryan Ahearn
fd9b730900 Document location of repositories and manual SES steps 2023-02-01 12:09:45 -05:00
Ryan Ahearn
d1c03e5e8c Get SES config from VCAP_SERVICES 2023-01-31 17:27:17 -05:00
Ryan Ahearn
74566b733d Add ses module and staging implementation 2023-01-31 12:13:15 -05:00
Ryan Ahearn
5ea1275f27 Merge pull request #173 from GSA/cf-cli-8
Tweak tail & jq usage to parse cf-cli@8 output
2023-01-27 15:33:08 -05:00
Ryan Ahearn
a1ea9281a2 Add cf-cli version check to create_service_account 2023-01-27 14:54:14 -05:00
Ryan Ahearn
d84393a242 Tweak tail & jq usage to parse cf-cli@8 output 2023-01-27 14:27:22 -05:00
Ryan Ahearn
b166baeb4c Merge pull request #172 from GSA/new-relic-egress-debug
Connect to new relic through egress proxy
2023-01-26 10:23:53 -05:00
Ryan Ahearn
b46dfe98d8 Remove wildcard matcher on egress allow 2023-01-24 15:57:43 -05:00
Ryan Ahearn
c54a207c57 Update proxy settings to enable sending data to new relic 2023-01-24 13:48:38 -05:00
Ryan Ahearn
914a7cc969 Updates for sandbox env 2023-01-24 13:43:37 -05:00
Ryan Ahearn
b7c9535798 Merge pull request #170 from GSA/new-relic-onboarding-doc
Add onboarding step for new relic to infra-overview.md
2023-01-23 13:21:33 -05:00
Ryan Ahearn
35fdd6132d Add onboarding step for new relic to infra-overview.md 2023-01-23 12:00:58 -05:00