Kenneth Kehl
64a85868a3
code review feedback and merge from main
2024-09-11 09:39:18 -07:00
Kenneth Kehl
01fff300f8
merge from main
2024-08-22 08:38:01 -07:00
Kenneth Kehl
88f718a906
fix
2024-08-16 10:24:10 -07:00
Kenneth Kehl
496571686a
initial
2024-08-16 09:53:29 -07:00
Kenneth Kehl
c0ab7c8a68
more exc_info
2024-08-15 11:07:36 -07:00
Kenneth Kehl
3fde9c5d5d
fix flake 8
2024-08-15 10:40:26 -07:00
Kenneth Kehl
146f0cc787
initial
2024-08-15 10:31:02 -07:00
Kenneth Kehl
b9eec69423
add retry with backoff
2024-08-13 14:51:51 -07:00
Cliff Hill
d6b59611cb
Fixing hopefully
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-07-24 10:24:47 -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
e902e69082
wrap calls to get personalization and phone number so dashboard doesn't explode
2024-07-05 11:02:28 -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
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
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
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
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
Kenneth Kehl
920d2c4539
debug for notify-admin-1588
2024-06-05 12:42:35 -07:00
Anastasia Gradova
227b9a3fc9
Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days
2024-06-05 11:47:55 -06:00
Anastasia Gradova
41f2416216
reversed direction of the day count
2024-06-03 21:38:29 -06:00
Carlo Costino
7aa6f62545
Fix debug statement
...
This changeset fixes a recently added debug statement that was assuming a list was not empty, which was causing end-to-end tests to break in the admin site.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2024-05-31 12:02:50 -04:00
Carlo Costino
a555bd429e
Merge pull request #1022 from GSA/notify-api-951
...
replace utcnow with timezone naive utc call
2024-05-31 11:18:29 -04:00
Anastasia Gradova
5fbad5bd69
Added endpoints for #1006 and #1007
2024-05-25 20:59:08 -06:00
Kenneth Kehl
905df17f65
remove datetime.utcnow()
2024-05-23 13:59:51 -07:00
Anastasia Gradova
5cd68e8081
New endpoints for #1006 and #1007
2024-05-22 13:33:32 -06:00
Kenneth Kehl
e7c68531f2
fix flake 8
2024-05-15 08:34:56 -07:00
Kenneth Kehl
c3a20eca17
add some debug around report generation
2024-05-14 07:23:47 -07:00
Kenneth Kehl
1ae239cdb8
fix flake8
2024-04-19 09:27:58 -07:00
Kenneth Kehl
751e8ab077
more debug
2024-04-19 09:14:36 -07:00
Kenneth Kehl
ebdb78e52e
reformat up to latest version of black
2024-04-01 15:12:33 -07:00
Kenneth Kehl
b777249b6f
merge from main
2024-03-01 13:50:09 -08:00
Cliff Hill
7416de2a28
KeyType implemented.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:33 -05:00
Cliff Hill
661904e2cd
More fixes for enums.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:32 -05:00
Cliff Hill
985ad27b3e
Getting imports right to use app.enums
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:32 -05:00
Cliff Hill
43f18eed6a
More changes for enums.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:41:57 -05:00
Cliff Hill
820ee5a942
Cleaning up a lot of things, getting Enums used everywhere.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:40:52 -05:00
Kenneth Kehl
4024c8f905
merge from main
2024-01-22 10:55:26 -08:00
Kenneth Kehl
ed3a356ad1
merge from main and fix some tests
2024-01-19 08:58:24 -08:00
Kenneth Kehl
510e67e20b
code review feedback
2024-01-18 15:12:52 -08:00
Kenneth Kehl
f9120e7d3e
optimize how we look up phone numbers
2024-01-18 13:54:23 -08:00
Kenneth Kehl
567dd390b4
fix personalisation
2024-01-18 10:03:35 -08:00
Kenneth Kehl
c13ed73d23
substitute phone numbers back in when sending data to reports
2024-01-17 09:04:04 -08:00
Carlo Costino
5ae2335c82
Update failing test; include blackened files
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-12-06 11:11:00 -05:00
Carlo Costino
f72922ffb1
Remove unused variable
...
This changeset follows up PR #636 to remove a variable no longer used in the go live email template.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-12-06 10:13:27 -05:00
Andrew Shumway
d0368695db
Revert "Added flag to remove default sender from user list"
2023-11-06 11:49:17 -07:00
Andrew Shumway
9444310d4b
Fix linting/imports
2023-11-02 16:21:02 -04:00