Commit Graph

869 Commits

Author SHA1 Message Date
Kenneth Kehl
d6bb2d8fb0 track message costs 2025-02-28 08:39:13 -08:00
Kenneth Kehl
49f4129e5b add tada to makefile 2025-01-23 13:41:13 -08:00
Kenneth Kehl
0d874828e4 fix total message limit so it works 2025-01-23 13:28:26 -08:00
Kenneth Kehl
2d2a54bda6 change the redis limit tracker to annual 2025-01-23 10:12:17 -08:00
Kenneth Kehl
69ecb2f096 add message_id column to notifications 2024-12-10 21:00:31 -08:00
Kenneth Kehl
8c59b474b1 add message_id column to notifications 2024-12-10 20:52:17 -08:00
Kenneth Kehl
261ea6fe8f fix commented out code 2024-10-21 10:32:28 -07:00
Kenneth Kehl
486d5f66e9 fix tests 2024-08-12 14:07:26 -07:00
Kenneth Kehl
99d687da4f add migration 2024-08-12 13:09:13 -07:00
Kenneth Kehl
be6e9eb40f remove priority column 2024-08-12 12:52:06 -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
752a13fbd2 replace utcnow with timezone naive utc call 2024-05-23 10:18:02 -07:00
Aditi Anand
df2a590f1a Merge branch 'notify-api-869' into aanand-sqlalchemy-version-update 2024-04-24 16:11:03 -04:00
Kenneth Kehl
ebdb78e52e reformat up to latest version of black 2024-04-01 15:12:33 -07:00
samathad2023
172497c19e Latest utils commit updates sync with main 2024-03-20 14:09:46 -07: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
Cliff Hill
111135a9b6 Helping the migration succeed!
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-12 15:05:34 -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
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
689ff10b71 Latest and greatest.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:44:18 -05:00
Cliff Hill
544bf35c06 Adding another set of columns to the migration.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:44:18 -05:00
Cliff Hill
8907edc194 Got tests to use OrganizationType everywhere now.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:37 -05:00
Cliff Hill
b3223f84cc Downgrade works now too.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:37 -05:00
Cliff Hill
5d02f22408 Migration worked without errors now.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:37 -05:00
Cliff Hill
ced386b0c5 Another thing needs an enum.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:36 -05:00
Cliff Hill
6a8f7ffeb3 More migration fun.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:36 -05:00
Cliff Hill
0fbe67b048 Migration is set up, need to test.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:36 -05:00
Cliff Hill
cbf73ffcf2 Migration file organized. Need a few more things.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:36 -05:00
Cliff Hill
d7ad4edf80 More cleanup of migration.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:36 -05:00
Cliff Hill
8c50f393dc More stuff is being done to get the migration to work.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:36 -05:00
Cliff Hill
f6297a3c06 Making migration (better!)
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:35 -05:00
Cliff Hill
a89d0252fe Removing migration file, will rebuild soon.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:35 -05:00
Cliff Hill
f4c8c3e743 Making the migration, part 2.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:34 -05:00
Cliff Hill
95ee8b7c2e Cleaning things up, trying to get tests to work.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:34 -05:00
Kenneth Kehl
88379c9e46 final 2024-01-05 10:35:14 -08:00
Cliff Hill
976d57b764 Make test did things.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-29 10:02:34 -05:00
Carlo Costino
81907bb80e Merge pull request #659 from GSA/ADMIN-97_Resend_Expired_Invites
Admin 97 resend expired invites
2023-12-20 14:05:41 -05:00
Beverly Nguyen
fe5a62d97b updated mirgration for service_name 2023-12-13 12:24:55 -08:00
Cliff Hill
1157f5639d black, isort, flake8
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 21:43:52 -05: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
Kenneth Kehl
38ea0b1405 fix again 2023-12-05 13:26:03 -08:00
Kenneth Kehl
c57c4639d0 add migration to fix preferred timezone 2023-12-05 12:24:06 -08:00
Cliff Hill
c4800a746d Adjusted migration.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-22 08:41:15 -05:00
Cliff Hill
d1dec155b6 Improving tests a little.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-22 08:36:37 -05:00
Cliff Hill
901aaed157 Migration configured
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-22 08:36:36 -05:00
Kenneth Kehl
c943dc35e4 fix migration 401 2023-11-17 13:42:12 -08:00
Kenneth Kehl
6762cea79e notify-admin-861 add preferred timezone 2023-11-17 08:19:07 -08:00
stvnrlly
63952e35a9 freshen up files 2023-11-17 09:47:32 -05:00