Kenneth Kehl
64a85868a3
code review feedback and merge from main
2024-09-11 09:39:18 -07:00
Kenneth Kehl
b9e400de42
fix flake 8
2024-08-30 07:10:00 -07:00
Beverly Nguyen
0914cd9b5d
Merge pull request #1304 from GSA/API-1265_adding_fields_for_template_stats
...
Api 1265 adding fields for template stats
2024-08-29 12:32:41 -07:00
Cliff Hill
4084a18327
I think it is working now.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-08-28 15:05:42 -04:00
Kenneth Kehl
db9f2b80a2
merge from main
2024-08-28 11:57:51 -07:00
Cliff Hill
fb743cf28b
Fixed the joins. Now to figure out why there's no data.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-08-22 14:54:16 -04:00
Cliff Hill
05e27c7f3b
Restructured the query to be adhering to SQLAlchemy 2.0.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-08-22 14:04:22 -04:00
Kenneth Kehl
01fff300f8
merge from main
2024-08-22 08:38:01 -07:00
Kenneth Kehl
030a9b5daa
add documentation on search tags
2024-08-21 10:59:49 -07:00
Kenneth Kehl
2b1f9b72a1
change data retention to 7 days, 23 hours
2024-08-21 10:46:13 -07:00
Cliff Hill
5d5ff72ca2
Adding the new fields for template stats.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-08-21 11:10:31 -04:00
Kenneth Kehl
740a45e19b
check test environment
2024-08-20 12:33:04 -07:00
Kenneth Kehl
74fb6b0301
raise exception for big diff
2024-08-20 12:22:41 -07:00
Kenneth Kehl
e6ea8f69d3
comment out repair job for now
2024-08-20 12:09:15 -07:00
Kenneth Kehl
e926b74d80
whoops remove testing code
2024-08-20 11:57:16 -07:00
Kenneth Kehl
e722689c79
fix style checks
2024-08-20 11:46:58 -07:00
Kenneth Kehl
0a47481548
Fix job.created_at time if necessary
2024-08-20 11:19:43 -07:00
Cliff Hill
7a3a216444
Merge pull request #1248 from GSA/notify-apy-283
...
Need to remove priority logic
2024-08-16 12:36:55 -04: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
6938d8f618
fix sort on download all users
2024-08-14 10:29:30 -07:00
Kenneth Kehl
8444b76690
fix flake8
2024-08-09 09:18:58 -07:00
Kenneth Kehl
2e7e6e81fc
Need to remove priority logic
2024-08-09 09:11:28 -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
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
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
b2e5522d09
Corrected test cases for new stats endpoints
2024-06-24 17:58:37 -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
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
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
bff2df514f
change it to a task
2024-06-14 09:32:58 -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
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
Anastasia Gradova
227b9a3fc9
Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days
2024-06-05 11:47:55 -06: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
Kenneth Kehl
bbeb602224
fix query
2024-05-28 14:01:37 -07: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
Carlo Costino
99edc88197
Localize notification_utils to the API
...
This changeset pulls in all of the notification_utils code directly into the API and removes it as an external dependency. We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the API.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2024-05-16 10:17:45 -04:00
Aditi Anand
f2fb407216
adding back a removed comment while sqlalchemy 2.0 upgrade
2024-04-24 16:35:03 -04:00
Aditi Anand
ad55eef5e9
Changes for sqlalchemy 2.0
2024-04-24 16:27:20 -04:00
Aditi Anand
bb2819ccf8
Merge branch 'main' into aanand-sqlalchemy-version-update
2024-03-29 15:51:11 -04:00
Kenneth Kehl
0131ea0f1e
return None to handle new user
2024-03-29 07:44:35 -07:00
Aditi Anand
2d4dbe9f25
nested session issue encountered in sqlalchemy 2.0 upgrade
2024-03-27 21:36:39 -04:00
Aditi Anand
420291ffee
sqlalchemy 2.0 changes
2024-03-25 10:55:14 -04:00