Commit Graph

843 Commits

Author SHA1 Message Date
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
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
Cliff Hill
25b203d83d Doing stuff.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-14 12:28:18 -05:00
Cliff Hill
e4c5fdb013 More attempts with migration fun.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-14 11:47:34 -05:00
Cliff Hill
8350408512 Working on getting tests working.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-13 16:00:11 -05:00
Kenneth Kehl
6d84ec64e5 notify-api-522 2023-10-24 11:35:00 -07:00
Kenneth Kehl
a1890109d8 notify-api-490 fix sns region 2023-09-21 14:48:10 -07:00
Carlo Costino
0fa53d943a Fixed ID reference in Alembic comment
h/t to @stvnrlly for the catch!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-09-18 10:54:41 -04:00
Carlo Costino
29b64cae5d Add total message limit default to existing services
This changeset adds a migration to add a default total message limit to any pre-existing service that does not already have one set.  It bases this value on the default set in the Flask app config.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-09-18 10:46:34 -04:00
Kenneth Kehl
c082546aa0 add migration for e2e tests and improve code coverage 2023-09-12 10:15:07 -07:00
stvnrlly
0526c051a3 rename migration 2023-08-31 11:15:34 -04:00
stvnrlly
7bbb05059c update to correct error 2023-08-31 10:57:54 -04:00
stvnrlly
bf33ed7173 Merge branch 'main' into notify-300b 2023-08-31 10:28:44 -04:00
Kenneth Kehl
1ecb747c6d reformat 2023-08-29 14:54:30 -07:00
Kenneth Kehl
5a350560d7 notify-api-433b remove research mode 2023-08-25 12:09:00 -07:00
Kenneth Kehl
78552484f3 merge from main 2023-08-01 13:32:32 -07:00
Kenneth Kehl
915d85a2bb merge from main 2023-07-26 15:51:50 -07:00
Kenneth Kehl
52d2fb7091 handle code review feedback and merge from main 2023-07-26 14:57:02 -07:00
Kenneth Kehl
de491ab83b more 2023-07-19 15:11:51 -07:00
Kenneth Kehl
666d30b5d3 more 2023-07-19 11:46:40 -07:00
Kenneth Kehl
7dce220dc7 notify-api-56 squash migrations 2023-07-19 09:19:40 -07:00