Commit Graph

10386 Commits

Author SHA1 Message Date
Steven Reilly
ffb890df8c Merge pull request #761 from GSA/set-no-proxy-exclusion
Add no_proxy environment variable
2024-01-22 17:06:19 -05:00
Carlo Costino
11e10cd5ca Add no_proxy environment variable
This changeset adds the no_proxy environment variable to be set at the time our app runs to exclude the internal apps running within our platform that are handled by Cloud Foundry network policies instead.  Without this in place, the egress proxy will not allow our deployed apps to talk with one another.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-22 16:28:37 -05:00
Carlo Costino
8c2597a960 Merge pull request #758 from GSA/dependabot/pip/beautifulsoup4-4.12.3
Bump beautifulsoup4 from 4.12.2 to 4.12.3
2024-01-22 11:24:33 -05:00
Carlo Costino
949c5e473a Merge pull request #760 from GSA/adjust-egress-proxy-config
Adding missing egress proxy configuration
2024-01-19 17:49:02 -05:00
Carlo Costino
316875a22a Add Login.gov URLs to our egress allow ACL
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-19 17:42:38 -05:00
Carlo Costino
2fcb2f59b8 Adding missing egress proxy configuration
This changeset adds a missing egress proxy configuration environment variable.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-19 17:39:32 -05:00
dependabot[bot]
aa6f8afa44 Bump beautifulsoup4 from 4.12.2 to 4.12.3
Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.12.2 to 4.12.3.

---
updated-dependencies:
- dependency-name: beautifulsoup4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 21:12:26 +00:00
Carlo Costino
66b31bc619 Merge pull request #756 from GSA/staging_bug_get_phone
optimize how we look up phone numbers
2024-01-19 12:18:09 -05:00
Kenneth Kehl
a100f60369 code review feedback 2024-01-19 09:02:44 -08:00
Kenneth Kehl
510e67e20b code review feedback 2024-01-18 15:12:52 -08:00
Carlo Costino
13d5c365a1 Merge pull request #750 from GSA/dependabot/pip/flake8-bugbear-24.1.17
Bump flake8-bugbear from 23.12.2 to 24.1.17
2024-01-18 17:54:00 -05:00
dependabot[bot]
df97d42c7d Bump flake8-bugbear from 23.12.2 to 24.1.17
Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 23.12.2 to 24.1.17.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/23.12.2...24.1.17)

---
updated-dependencies:
- dependency-name: flake8-bugbear
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 22:47:06 +00:00
Carlo Costino
ad6aed88a3 Merge pull request #751 from GSA/fix-baseexception
Update try/except block to catch Exception
2024-01-18 17:43:44 -05:00
Kenneth Kehl
797c9f5fc8 remove print statement 2024-01-18 14:06:32 -08:00
Kenneth Kehl
f9120e7d3e optimize how we look up phone numbers 2024-01-18 13:54:23 -08:00
Carlo Costino
fa26e2e37c Merge pull request #754 from GSA/staging_bug_get_phone
fix case sensitivity looking up phone number
2024-01-18 14:01:02 -05:00
Kenneth Kehl
7997d887c6 fix case sensitivity looking up phone number 2024-01-18 10:53:20 -08:00
Carlo Costino
c8ad41b475 Merge pull request #753 from GSA/staging_bug_get_phone
debug
2024-01-18 13:24:48 -05:00
Kenneth Kehl
4b98106037 debug 2024-01-18 10:16:14 -08:00
Carlo Costino
4efeb19d02 Update try/except block to catch Exception
This changeset updates a try/except block to catch Exception instead of BaseException.  Using BaseException is an anti-pattern and is not intended for user-defined code; it can also lead to other unintended side effects if not handled properly.

This is enough of a concern that the new release of flake8-bugbear now issues warnings when it sees BaseException being caught without an immediate re-raise.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-17 22:57:04 -05:00
Carlo Costino
2c6e632c78 Merge pull request #743 from GSA/notify-api-742
Notify api 742 don't write phone numbers or email addresses to db
2024-01-17 22:05:00 -05:00
Kenneth Kehl
c13ed73d23 substitute phone numbers back in when sending data to reports 2024-01-17 09:04:04 -08:00
Kenneth Kehl
848b62092a merge from main 2024-01-16 11:21:54 -08:00
Kenneth Kehl
f9f1013f5b notify-api-742 don't write phone numbers to db 2024-01-16 11:21:24 -08:00
Carlo Costino
40f8718a61 Merge pull request #740 from GSA/notify-api-714
fix redis issue causing error in log
2024-01-16 12:21:11 -05:00
Kenneth Kehl
e45d4dbac9 fix tests 2024-01-12 15:08:59 -08:00
Carlo Costino
5af876a963 Merge pull request #739 from GSA/dependabot/pip/newrelic-9.5.0
Bump newrelic from 9.4.0 to 9.5.0
2024-01-12 18:05:25 -05:00
dependabot[bot]
ef6c117a58 Bump newrelic from 9.4.0 to 9.5.0
Bumps [newrelic](https://github.com/newrelic/newrelic-python-agent) from 9.4.0 to 9.5.0.
- [Release notes](https://github.com/newrelic/newrelic-python-agent/releases)
- [Commits](https://github.com/newrelic/newrelic-python-agent/compare/v9.4.0...v9.5.0)

---
updated-dependencies:
- dependency-name: newrelic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 22:57:12 +00:00
Carlo Costino
33f319c83d Merge pull request #738 from GSA/dependabot/pip/pip-audit-2.7.0
Bump pip-audit from 2.6.3 to 2.7.0
2024-01-12 17:53:54 -05:00
Kenneth Kehl
3414c8e15a fix redis issue causing error in log 2024-01-12 14:28:14 -08:00
dependabot[bot]
8cd90fb5c4 Bump pip-audit from 2.6.3 to 2.7.0
Bumps [pip-audit](https://github.com/pypa/pip-audit) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/pypa/pip-audit/releases)
- [Changelog](https://github.com/pypa/pip-audit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pypa/pip-audit/compare/v2.6.3...v2.7.0)

---
updated-dependencies:
- dependency-name: pip-audit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 21:26:37 +00:00
Carlo Costino
bc29e2e4ab Merge pull request #734 from GSA/dependabot/pip/marshmallow-sqlalchemy-0.30.0
Bump marshmallow-sqlalchemy from 0.29.0 to 0.30.0
2024-01-12 14:51:08 -05:00
dependabot[bot]
79c61b3984 Bump marshmallow-sqlalchemy from 0.29.0 to 0.30.0
Bumps [marshmallow-sqlalchemy](https://github.com/marshmallow-code/marshmallow-sqlalchemy) from 0.29.0 to 0.30.0.
- [Changelog](https://github.com/marshmallow-code/marshmallow-sqlalchemy/blob/dev/CHANGELOG.rst)
- [Commits](https://github.com/marshmallow-code/marshmallow-sqlalchemy/compare/0.29.0...0.30.0)

---
updated-dependencies:
- dependency-name: marshmallow-sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 18:33:08 +00:00
Carlo Costino
a74a9422ba Merge pull request #733 from GSA/dependabot/pip/eventlet-0.34.3
Bump eventlet from 0.34.2 to 0.34.3
2024-01-12 13:30:02 -05:00
dependabot[bot]
d7971d7976 Bump eventlet from 0.34.2 to 0.34.3
Bumps [eventlet](https://github.com/eventlet/eventlet) from 0.34.2 to 0.34.3.
- [Changelog](https://github.com/eventlet/eventlet/blob/master/NEWS)
- [Commits](https://github.com/eventlet/eventlet/compare/v0.34.2...v0.34.3)

---
updated-dependencies:
- dependency-name: eventlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 17:39:34 +00:00
Carlo Costino
5e673464d6 Merge pull request #737 from GSA/update-utils-0-2-6
Update notification-utils to 0.2.6
2024-01-12 12:34:39 -05:00
Carlo Costino
590d8458d7 Update notification-utils to 0.2.6
This changeset updates notification-utils to 0.2.6 for dependency updates.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-12 12:22:52 -05:00
Carlo Costino
36201dd0a2 Merge pull request #736 from GSA/notify-api-714
add stats for cache hits/misses and remove debug message
2024-01-12 11:32:57 -05:00
Kenneth Kehl
3e6229b87a fix tests add redis mock 2024-01-12 07:42:21 -08:00
Kenneth Kehl
59e8c493e5 add stats for cache hits/misses and remove debug message 2024-01-12 07:30:19 -08:00
Carlo Costino
871fbdbb04 Merge pull request #735 from GSA/notify-api-714
more debugging messages
2024-01-11 17:06:03 -05:00
Kenneth Kehl
efe4cd589c more debugging messages 2024-01-11 13:22:13 -08:00
Carlo Costino
10ff0df08a Merge pull request #732 from GSA/notify-api-714
fix case where we dont know the phoneCarrier for any reason
2024-01-11 15:51:57 -05:00
Kenneth Kehl
6ab8d556e5 fix case where we dont know the phoneCarrier for any reason 2024-01-11 12:41:24 -08:00
Carlo Costino
7d2358f9ca Merge pull request #731 from GSA/notify-api-714
fix registration so email gets sent
2024-01-11 15:10:41 -05:00
Kenneth Kehl
ab0066589c fix registration and mock tests for redis 2024-01-11 11:51:00 -08:00
Kenneth Kehl
c3cb60f3b0 fix registration so email gets sent 2024-01-11 11:11:12 -08:00
Carlo Costino
8cc582afb9 Merge pull request #730 from GSA/notify-api-714
remove debugging for 2fa issue
2024-01-11 13:00:36 -05:00
Kenneth Kehl
a8955ef78f fix flake8 2024-01-11 09:50:59 -08:00
Kenneth Kehl
131eff475a merge from main 2024-01-11 09:43:58 -08:00