Commit Graph
262 Commits
Author SHA1 Message Date
Kenneth Kehl f625d4dc76 fix test 2025-08-12 11:09:03 -07:00
Kenneth Kehl d051955d65 change total message limit to 100000 2025-01-23 08:01:51 -08:00
Kenneth Kehl ce42803817 fix 2024-11-18 10:35:54 -08:00
Kenneth Kehl 7ee741b91c fix more tests 2024-10-30 11:15:08 -07:00
Kenneth Kehl 905df17f65 remove datetime.utcnow() 2024-05-23 13:59:51 -07:00
Kenneth Kehl ebdb78e52e reformat up to latest version of black 2024-04-01 15:12:33 -07:00
Kenneth Kehl ec9619c43f merge from main 2024-03-05 11:09:08 -08:00
Kenneth Kehl b777249b6f merge from main 2024-03-01 13:50:09 -08:00
Anastasia Gradova b13d3eda78 Merge branch 'main' into 800-flask-command-for-test 2024-03-01 12:15:29 -07:00
Anastasia Gradova 08fe6beff7 Added commands to add test data to DB
Updated old .uk strings in db.py
2024-03-01 12:13:29 -07: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 43a8b6539f More fixes, removing literal "created" from code.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:58:22 -05:00
Cliff Hill 15eeac6367 Reformatting.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:58:22 -05:00
Cliff Hill 6f5f5fb864 Cleaning up "email" from code.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:58:22 -05:00
Cliff Hill 9cc3f1c1ff Cleanup.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:44:20 -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 b1a53c76ee More cleanup.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:44:18 -05:00
Cliff Hill e64e500561 Debugging things is fun.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:37 -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 26bc6198f8 Cleaning up tests.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:34 -05:00
Cliff Hill 8c6046b03b Cleaning up tests.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:33 -05:00
Cliff Hill 43f18eed6a More changes for enums.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:41:57 -05:00
Kenneth Kehl 6dc9828663 fix tests 2024-01-22 10:55:09 -08:00
Carlo Costino 232611629e Merge pull request #580 from GSA/notify-api-553
notify-api-533 add flask command to promote user to platform admin
2023-11-07 12:53:41 -05:00
Kenneth Kehl aa7b5d3905 notify-api-533 add flask command to promote user to platform admin 2023-11-06 13:31:03 -08:00
Andrew Shumway d0368695db Revert "Added flag to remove default sender from user list" 2023-11-06 11:49:17 -07:00
Andrew Shumway e0522393df Added flag to remove default sender from user list 2023-10-15 16:28:25 -06: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 22f301189a code review feedback remove british fake email addresses 2023-08-16 07:19:18 -07:00
Kenneth Kehl 4940d5e93b notify-api-332 rename organisation 2023-07-10 11:06:29 -07:00
Kenneth Kehl db0d829238 notify-281 fix time-sensitive tests 2023-05-31 17:52:16 -07:00
Kenneth Kehl 9de806000a notify-300 set total message limit of 250k 2023-04-28 12:37:06 -07:00
Ryan Ahearn e07b596857 Remove contact list db, dao, and s3 code 2023-04-12 15:01:24 -04:00
Kenneth KehlandKenneth Kehl 27d86c949a #224 remove crown (#228)
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us>
2023-04-11 16:29:37 -04:00
Steven Reilly 25a89458c8 remove real endpoint from test suite (#227) 2023-04-11 12:24:01 -04:00
Steven Reilly ff4190a8eb Remove letters-related code (#175)
This deletes a big ol' chunk of code related to letters. It's not everything—there are still a few things that might be tied to sms/email—but it's the the heart of letters function. SMS and email function should be untouched by this.

Areas affected:

- Things obviously about letters
- PDF tasks, used for precompiling letters
- Virus scanning, used for those PDFs
- FTP, used to send letters to the printer
- Postage stuff
2023-03-02 20:20:31 -05:00
Ryan Ahearn 82df01653f Update tests to focus on US numbers 2023-01-05 11:06:12 -05:00
stvnrlly 9e7ee1c0f8 migrate bst_date to local_date 2022-11-21 11:49:59 -05:00
stvnrlly 637fbdb891 broadcast flake8 cleanup 2022-10-25 11:53:24 -04:00
stvnrlly d4e156e8ae Merge branch 'main' into stvnrlly-remove-broadcasts 2022-10-20 19:44:20 -04:00
stvnrlly 0186095920 swap out uk org types for us-specific org types 2022-10-11 20:27:49 +00:00
jimmoffet 434b7b2d08 clean up and remove redundancy 2022-10-04 16:01:30 -07:00
stvnrlly 57f4df8ed1 remove broadcast-related code, except migrations 2022-10-04 15:28:27 +00:00
jimmoffet fc9e4107c1 all tests passing 2022-10-03 20:07:42 -07:00
Leo HemstedandPea Tyczynska 1c3793c5ac Ensure org billing tests have AnnualBilling for all services
we add a row in AnnualBilling table whenever a new service is created,
and our billing code assumes this is done. Yet when we were writing
some of the tests, this was not a thing yet, so now we are updating
those tests so they reflect our system well.

Co-authored-by: Pea Tyczynska <pea.tyczynska@digital.cabinet-office.gov.uk>
2022-05-18 12:30:24 +01:00
Pea Tyczynska 769b71cdc0 When updating org type to NHS type also update email branding if none set 2022-04-19 12:07:27 +01:00
Pea Tyczynska b1ed722252 When creating a new NHS org, set default email branding to NHS
This is more appropriate default for that org than gov.uk branding
and will help us with our work to make setting the branding more
self-service.
2022-04-12 17:24:32 +01:00
Rebecca Law 466b7fa341 Report for total notifications sent per day for each channel.
Daily volumes report: total volumes across the platform aggregated by whole business day (bst_date)
Volumes by service report: total volumes per service aggregated by the date range given.

NB: start and end dates are inclusive
2022-03-07 10:44:49 +00:00
Katie Smith c9dafa0372 Remove unused test code
Notifications don't have a `scheduled_for` attribute, and the test
function deleted isn't used anywhere.
2022-02-28 12:45:25 +00:00