Kenneth Kehl
905df17f65
remove datetime.utcnow()
2024-05-23 13:59:51 -07:00
Cliff Hill
75cec3a635
Almost all tests are working. Only 3 left to fix.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:58:23 -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
63aa12e4ef
More cleanup.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:44:21 -05:00
Cliff Hill
acecf9792d
Even more cleanup of tests.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:44:20 -05:00
Kenneth Kehl
1ecb747c6d
reformat
2023-08-29 14:54:30 -07: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
Ben Thorner
a91fde2fda
Run auto-correct on app/ and tests/
2021-03-12 11:45:45 +00:00
Leo Hemsted
67f171f2f8
refactor tests
...
re-order notification dao delete notifications test to move "fixtures"
to the top of the file
changed create_service_data_retention to take an ORM object, not an id.
brings it in line with other db.py test functions
2019-06-03 17:27:08 +01:00
Rebecca Law
43000b2253
Add a new test
2018-08-06 15:13:08 +01:00
Rebecca Law
517608dff5
Update method to delete notifications that are a week old, to look at the days of retention set for the service.
...
If the service does not have the days of retention set, then use 7 days.
Added a method to get days of retention for a service and notificaiton type
2018-08-06 13:51:54 +01:00
Rebecca Law
019c6a4e3a
Revert "Purge notifications for configured days of retention"
2018-08-03 14:35:36 +01:00
Rebecca Law
dae29a1b61
Update the query for the notifications activity page to return the data for the days of retention if set.
2018-07-23 09:56:04 +01:00
Rebecca Law
ab695d24d5
Added new endpoints to get service data retention for a service.
2018-07-13 15:18:27 +01:00
Rebecca Law
e2a1dfeb31
New dao and endpoints to create and update service data retention.
2018-07-11 17:02:49 +01:00