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
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
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
Aditi Anand
dc9fa52bc8
sqlalchemy 2.0 changes
2024-03-25 10:43:04 -04:00
Aditi Anand
8bc1091f73
fix for failing tests
2024-03-20 10:57:04 -04:00
Aditi Anand
5d15560538
merge with main
2024-03-13 16:56:54 -04:00
Aditi Anand
385ec3583f
Initial commit for sqlalchemy2.0 migration
2024-03-13 12:42:11 -04:00
Carlo Costino
8a6cc76d15
Merge pull request #840 from GSA/notify-admin-1277
...
fix login.gov to use user uuid instead of email (notify-admin-1277)
2024-03-11 11:53:42 -04:00
Kenneth Kehl
7c95211649
fix login.gov to use user uuid instead of email (notify-admin-1277)
2024-03-08 08:44:27 -08:00
Kenneth Kehl
b777249b6f
merge from main
2024-03-01 13:50:09 -08:00
Cliff Hill
06d1e0236f
String cleanup complete.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:58:23 -05:00
Cliff Hill
e9f9a3c6f1
Lots more cleanup.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:58:23 -05:00
Cliff Hill
2655dc60cd
Stuff was done.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:44:19 -05:00
Cliff Hill
6717729664
Casting columns to TEXT type seems to resolve some bugs with UNION
...
queries.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:44:18 -05:00