Commit Graph

6526 Commits

Author SHA1 Message Date
dependabot[bot]
9ba2e8b1bf Bump flake8-bugbear from 24.12.12 to 25.10.21 (#2052)
* Bump flake8-bugbear from 24.12.12 to 25.10.21

Bumps [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) from 24.12.12 to 25.10.21.
- [Release notes](https://github.com/PyCQA/flake8-bugbear/releases)
- [Commits](https://github.com/PyCQA/flake8-bugbear/compare/24.12.12...25.10.21)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Fix flake8-bugbear B042 violations in exception classes

* Trigger CI re-run

* Regenerate poetry.lock with Poetry 2.1.3 for CI compatibility

* Regenerated poetry hash again

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Janousek <alex.janousek@gsa.gov>
2025-10-27 15:52:51 +00:00
Beverly Nguyen
3a82ef7fd3 we don't need created_at here 2025-10-21 15:32:18 -07:00
Beverly Nguyen
09907cc4af removed the next() lookup 2025-10-21 14:50:30 -07:00
Beverly Nguyen
0267c52098 updating imports 2025-10-21 14:42:19 -07:00
Beverly Nguyen
ccec5758ec get service usage 2025-10-21 14:06:54 -07:00
Beverly Nguyen
1a4eafb78e update route name 2025-10-16 14:07:44 -07:00
Beverly Nguyen
7febff7628 Add organization message totals endpoint
- Add GET /organizations/<org_id>/message-totals endpoint
  - Returns aggregated messages_sent, messages_remaining, and total_message_limit
  - Add dao_get_notification_counts_for_organization() for bulk queries
2025-10-16 12:37:44 -07:00
ccostino
a9a678cef6 Merge pull request #2023 from GSA/lazyinit2
try to lazy init db another way
2025-10-10 10:18:36 -04:00
Kenneth Kehl
0b7df3a237 make template_usage by month in descending order 2025-10-08 11:32:39 -07:00
Kenneth Kehl
28177a9bbb fix notification provider clients 2025-10-08 08:15:31 -07:00
Kenneth Kehl
501e63ea68 fix notification provider clients 2025-10-08 07:50:43 -07:00
Kenneth Kehl
dd6035db0c fix db 2025-10-08 07:28:50 -07:00
Kenneth Kehl
d9abd87aad try to lazy init db another way 2025-10-07 15:10:47 -07:00
Kenneth Kehl
3a4d6dcac2 try to lazy init db another way 2025-10-07 14:35:56 -07:00
Kenneth Kehl
10328de392 cleanup 2025-10-07 10:01:57 -07:00
Kenneth Kehl
931c00e234 merge from main 2025-10-07 09:59:16 -07:00
ccostino
35fe2c3168 Remove SocketIO (#2019)
* Remove SocketIO

We have tried a few times to enable SocketIO in our app and it has been a challenge each step of the way, and now there is a dependency incompatibility it seems.  Given that we are in maintenance mode with the applicaiton currently and hve different plans for the interface, we are removing this dependency.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>

* Remove more unused code and address Flake8 warnings

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>

* Revert changes to fix test

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>

---------

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-10-07 12:33:43 -04:00
Kenneth Kehl
6a90e44faa fix tests 2025-10-07 07:43:40 -07:00
Kenneth Kehl
e0ede2cf6e fix tests 2025-10-07 07:24:28 -07:00
Kenneth Kehl
d7a1663f33 lazy init encryption 2025-10-06 15:11:41 -07:00
Kenneth Kehl
2336578fd3 lazy init encryption 2025-10-06 15:06:39 -07:00
Kenneth Kehl
b75da2cb43 lazy init encryption 2025-10-06 14:56:19 -07:00
Kenneth Kehl
1fd9cacf43 lazy init encryption 2025-10-06 14:52:18 -07:00
Kenneth Kehl
edcb3cb486 lazy init encryption 2025-10-06 14:30:23 -07:00
Kenneth Kehl
c5b93f8b9b lazy init encryption 2025-10-06 14:00:57 -07:00
Kenneth Kehl
1c0d8be858 lazy init encryption 2025-10-06 13:26:25 -07:00
Kenneth Kehl
4114306307 lazy init encryption 2025-10-06 12:58:43 -07:00
Kenneth Kehl
eb6572640c lazy init encryption 2025-10-06 12:35:55 -07:00
Kenneth Kehl
46c5cb24fe lazy init encryption 2025-10-06 12:16:34 -07:00
Kenneth Kehl
7bf847dd82 lazyinit aws_sns_client 2025-10-06 07:32:35 -07:00
Kenneth Kehl
8b6999f375 cleanup 2025-10-03 09:22:55 -07:00
Kenneth Kehl
816e6ad818 fix tests 2025-10-02 11:56:20 -07:00
Kenneth Kehl
6d9e996817 more mocks 2025-10-02 10:49:05 -07:00
Kenneth Kehl
96b8424a40 lazy init aws_cloudwatch_client 2025-10-02 09:38:02 -07:00
Kenneth Kehl
b9ad225848 lazy init migrate 2025-10-02 09:19:05 -07:00
Kenneth Kehl
6c72c466a4 lazy initialize document_download_client 2025-10-02 08:18:12 -07:00
Kenneth Kehl
65911044fd lazy initialize zendesk_client 2025-10-02 07:36:55 -07:00
Alex Janousek
822cf5aa68 Added light polling endpoint (#2006)
* Added light polling endpoint

* Import linting

* CICD checks updated
2025-10-01 11:42:46 -04:00
Kenneth Kehl
3a6db01599 fix format 2025-09-30 12:29:00 -07:00
Kenneth Kehl
f4ba3cd7bf fix get_job_from_s3 2025-09-30 12:19:47 -07:00
Kenneth Kehl
a95269f9a1 handle delivery receipts when it's a test 2025-09-29 13:03:42 -07:00
Kenneth Kehl
c7f6a01048 raise exception if we see No Quota Left 2025-09-29 12:06:26 -07:00
Kenneth Kehl
16e93011ef add log statement when our send quota is used up 2025-09-29 12:02:13 -07:00
Alex Janousek
a854588b66 Created new endpoint for polling (#1996)
* Created new endpoint for polling

* Fixed sorting
2025-09-26 14:28:54 -04:00
Kenneth Kehl
a2ff034b78 fix org invites 2025-09-08 08:17:37 -07:00
Beverly Nguyen
539b6a7787 Handle StopIteration in extract_phones when CSV files are empty/missing 2025-09-04 17:46:18 -07:00
Beverly Nguyen
efbc8b2cff Merge pull request #1958 from GSA/notify-api-1065
improve error handling
2025-09-04 15:10:01 -07:00
Kenneth Kehl
ded60409a8 improve logging 2025-09-04 12:30:52 -07:00
Kenneth Kehl
1cef8881a8 try UserState enum 2025-08-28 11:12:49 -07:00
Alex Janousek
52e68eb9db Added code to delete files that are stale (#1936) 2025-08-27 15:13:00 -04:00