Commit Graph

1590 Commits

Author SHA1 Message Date
Kenneth Kehl
597f2b0a8b remove all() from statement 2024-10-15 11:17:23 -07:00
Kenneth Kehl
c2a2dd0e1b revert scalars 2024-10-15 10:57:08 -07:00
Kenneth Kehl
579d856efb revert scalars 2024-10-15 10:29:15 -07:00
Kenneth Kehl
f52026204e revert scalars 2024-10-15 10:08:57 -07:00
Kenneth Kehl
223a8f00a6 revert scalars 2024-10-15 09:28:45 -07:00
Kenneth Kehl
333cd1de39 try scalars to resolve test failure 2024-10-15 09:12:52 -07:00
Kenneth Kehl
c86a0d7214 fix rates query 2024-10-15 09:02:52 -07:00
Kenneth Kehl
1fe4ec8b83 fix a delete query 2024-10-15 08:51:00 -07:00
Kenneth Kehl
c49bfb9341 fix a method 2024-10-15 07:54:24 -07:00
Kenneth Kehl
fb1c2c1b3a fix a method 2024-10-15 07:17:10 -07:00
Kenneth Kehl
961f8f85f0 fix a method 2024-10-14 14:11:12 -07:00
Kenneth Kehl
43e774ce44 update billing dao 2024-10-14 12:12:31 -07:00
Kenneth Kehl
287b7d1dec update billing dao 2024-10-14 11:52:42 -07:00
Kenneth Kehl
a530bab859 update billing dao 2024-10-14 11:33:21 -07:00
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