Commit Graph

5674 Commits

Author SHA1 Message Date
Carlo Costino
6f9e0cf591 Merge pull request #1201 from GSA/admin-1701_Logging_set_up_around_service_phone_numbers
Getting the logging where I think it will be most useful.
2024-07-24 11:36:20 -04:00
Cliff Hill
d6b59611cb Fixing hopefully
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-24 10:24:47 -04:00
Kenneth Kehl
bf587aaf2f set delivery receipt delay to 30 seconds (from 120 seconds) 2024-07-23 09:21:40 -07:00
Carlo Costino
26c6d392ce Merge pull request #1200 from GSA/grrr
fix ExpiringDict caching solution
2024-07-22 17:15:44 -04:00
Cliff Hill
32500a13c1 Fixing some things.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-22 17:04:13 -04:00
Cliff Hill
67b43ffbb1 Getting the logging where I think it will be most useful.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-22 16:39:03 -04:00
Kenneth Kehl
f1e09908a6 remove print statement 2024-07-22 10:59:05 -07:00
Kenneth Kehl
946b1e9d65 fix flake8 2024-07-22 10:26:25 -07:00
Kenneth Kehl
e97b567e9e code review feedback 2024-07-22 10:05:21 -07:00
Kenneth Kehl
f61a47acef code review feedback 2024-07-22 09:11:21 -07:00
Kenneth Kehl
aa63003937 cleanup 2024-07-22 07:21:03 -07:00
Kenneth Kehl
4d24b8257e clean up 2024-07-19 15:02:54 -07:00
Kenneth Kehl
875d378b3d fix ExpiringDict caching solution 2024-07-19 13:58:23 -07:00
Kenneth Kehl
56c87e9611 handling throttling exception 2024-07-19 07:48:55 -07:00
Carlo Costino
a14efecee1 Merge pull request #1179 from GSA/notify-compliance-46
add new api for compliance #46
2024-07-12 17:05:48 -04:00
Kenneth Kehl
337c90bb79 add new api 2024-07-11 11:32:59 -07:00
Cliff Hill
31f946e5ba Fixed the new endpoint calculations, added unit tests to validate the
code.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-10 16:12:38 -04:00
Cliff Hill
56a208601e Hopefully this fixes Bev's issue.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-09 14:12:46 -04:00
Kenneth Kehl
e902e69082 wrap calls to get personalization and phone number so dashboard doesn't explode 2024-07-05 11:02:28 -07:00
Carlo Costino
5c27b62e39 Merge pull request #1078 from GSA/all_users_command
Generate a way to export all Notify.gov user contact information
2024-07-03 16:14:34 -04:00
Carlo Costino
9c39a92545 Merge pull request #1059 from GSA/1006-new-api-failed-and-delivered-messages-7-days
1006/1007/1008 created new API endpoints for front end statistics
2024-07-03 14:09:06 -04:00
Kenneth Kehl
b436de3b23 fix tuple 2024-07-03 07:49:59 -07:00
Cliff Hill
c368d3d3f2 More import adjustments.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-02 16:00:58 -04:00
Cliff Hill
8708d8ddce Fixin' imports.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-02 15:57:14 -04:00
Cliff Hill
f95d3e0b99 Made changes I requested to be done.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-02 15:38:22 -04:00
Kenneth Kehl
328c211eb6 remove task 2024-07-02 11:55:19 -07:00
Kenneth Kehl
700303829c merge from main 2024-07-02 11:47:34 -07:00
Kenneth Kehl
141dd51b52 code review feedback 2024-07-02 08:50:48 -07:00
Kenneth Kehl
5c305177a0 add more debug and add command to download csv files 2024-07-01 10:35:20 -07:00
Kenneth Kehl
8e6a6d42db remove task 2024-06-26 11:59:17 -07:00
Kenneth Kehl
bae4639395 merge from main 2024-06-26 11:40:46 -07:00
Carlo Costino
ec538dacda Merge pull request #1076 from GSA/notify-api-937
Need magic PII-free debugging method for API
2024-06-25 09:50:13 -04:00
Anastasia Gradova
b2e5522d09 Corrected test cases for new stats endpoints 2024-06-24 17:58:37 -06:00
Anastasia Gradova
16555ab0e2 Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days 2024-06-24 16:51:58 -06:00
Anastasia Gradova
47c8964766 fetch_notification_status_for_service_by_month
altered to use NotificationAllTimeView like
the other endpoints
2024-06-21 16:58:09 -06:00
Anastasia Gradova
d3d2610578 correct timedelta for midnight that offest
calculation for today
2024-06-21 14:38:54 -06:00
Kenneth Kehl
0bba77560a merge from main 2024-06-21 08:45:28 -07:00
Anastasia Gradova
966f9b4050 moved generate_date_range to date_util
standardized the SQLAlchemy calls
refactored the endpoints in service/rest.py
2024-06-20 23:12:47 -06:00
Kenneth Kehl
2e4fd3b3ac fix tests 2024-06-20 13:30:43 -07:00
Anastasia Gradova
abc0ba9281 Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days 2024-06-20 08:35:12 -06:00
Anastasia Gradova
fd37923294 Updated SQLAlchemy queries and API endpoints
for single database queries to improve
application performance.
2024-06-20 01:04:31 -06:00
Kenneth Kehl
d7279c7c38 revamp PII masking 2024-06-17 11:12:30 -07:00
Anastasia Gradova
e293f7e3f5 Updated all usage of datetime.utcnow() to
app.utils utc_now() function. Added new endpoint
/service/{{service_id}}/notifications/month
2024-06-14 16:01:04 -06:00
Kenneth Kehl
320e560081 merge from main 2024-06-14 14:15:21 -07:00
Kenneth Kehl
bff2df514f change it to a task 2024-06-14 09:32:58 -07:00
Kenneth Kehl
9408c9955b merge from main 2024-06-13 09:46:17 -07:00
Kenneth Kehl
76c34ffae6 Need magic PII-free debugging method for API 2024-06-11 10:34:57 -07:00
Anastasia Gradova
0082ba3dd0 Updated sort order, endpoint defenition, and tests
for REQUESTED attribute
2024-06-06 22:11:24 -06:00
Anastasia Gradova
cd188180ca Added new endpoint for getting statistics for a
service, for a user, by a number of days
2024-06-06 16:37:12 -06:00
Anastasia Gradova
a5055a0cf9 Updated endpoints to use the
NotificationAllTimeView which is a view created
to merge notifiations and notification_history
2024-06-06 16:00:12 -06:00