Kenneth Kehl
8b6999f375
cleanup
2025-10-03 09:22:55 -07:00
Alex Janousek
822cf5aa68
Added light polling endpoint ( #2006 )
...
* Added light polling endpoint
* Import linting
* CICD checks updated
2025-10-01 11:42:46 -04:00
Kenneth Kehl
f4ba3cd7bf
fix get_job_from_s3
2025-09-30 12:19:47 -07:00
Alex Janousek
a854588b66
Created new endpoint for polling ( #1996 )
...
* Created new endpoint for polling
* Fixed sorting
2025-09-26 14:28:54 -04:00
Kenneth Kehl
f4b20911a1
fix test
2025-08-22 09:28:25 -07:00
Kenneth Kehl
2ea52b1c91
fix job details
2025-08-22 07:59:01 -07:00
Beverly Nguyen
a38c642ecd
add the ability to query jobs based on processed started time rather than created_at
2025-08-07 18:35:58 -07:00
Kenneth Kehl
58a8b51f59
more input checking
2025-06-26 10:35:46 -07:00
Kenneth Kehl
b52518ca08
make regex verbose
2025-06-25 10:37:07 -07:00
Kenneth Kehl
5b2d8e0648
code review feedback
2025-06-25 08:54:44 -07:00
Kenneth Kehl
77b3c1afa6
Update app/job/rest.py
...
Co-authored-by: ccostino <ccostino@users.noreply.github.com >
2025-06-25 08:44:39 -07:00
Kenneth Kehl
9bbe504fa3
fix input handling
2025-06-19 11:46:40 -07:00
Kenneth Kehl
c8ac8f349a
fix input handling
2025-06-19 11:31:37 -07:00
Kenneth Kehl
69e7244485
fix input handling
2025-06-19 11:12:42 -07:00
Kenneth Kehl
b734b9cb9f
fix input handling
2025-06-19 11:03:04 -07:00
alexjanousekGSA
f0fefbef21
Fixed another 30 tests
2025-05-27 19:40:26 -04:00
Kenneth Kehl
4cfb980ac6
add debug tag adr
2025-02-27 13:24:32 -08:00
ccostino
bcd872b492
Merge pull request #1546 from GSA/notify-admin-2180
...
add endpoint for 'recent' notifications
2025-02-27 11:16:21 -05:00
Kenneth Kehl
cd8564204f
remove pytz remnants
2025-02-24 10:32:39 -08:00
Kenneth Kehl
b1712964a8
remove pytz remnants
2025-02-24 10:18:33 -08:00
Kenneth Kehl
4a742a8873
code review feedback
2025-02-10 11:05:41 -08:00
Kenneth Kehl
88ac910d92
fix test
2025-01-31 13:13:28 -08:00
Kenneth Kehl
5edacd5766
fix test
2025-01-31 12:39:59 -08:00
Kenneth Kehl
6c66d66c09
update to support status dropdown
2025-01-31 11:03:35 -08:00
Kenneth Kehl
240ec5a712
add endpoint for 'recent' notifications
2025-01-30 13:20:51 -08:00
Kenneth Kehl
4abd54094d
debug s3 partitioning
2024-10-03 07:00:07 -07:00
Kenneth Kehl
23335bb4a9
fix personalization on job/service/notification api
2024-04-05 11:38:00 -07:00
Andrew Shumway
d3b895ddc6
PEP-257 changes
2024-03-27 10:32:40 -06:00
Andrew Shumway
6599c284cc
Add docs/code comments for message-send-flow
2024-03-18 11:45:40 -06:00
Andrew Shumway
5f2508a975
Add docs/code comments for message send flow
2024-03-18 11:32:29 -06:00
Kenneth Kehl
ec9619c43f
merge from main
2024-03-05 11:09:08 -08:00
Carlo Costino
3db6462a82
Merge pull request #822 from GSA/notify-admin-1148
...
make sure original_file_name is stored as part of job (notify-admin-1…
2024-03-04 14:21:36 -05:00
Kenneth Kehl
b777249b6f
merge from main
2024-03-01 13:50:09 -08:00
Cliff Hill
11992be740
Fixing things is fun.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 15:54:35 -05:00
Cliff Hill
a8cf49e995
Fixed another error.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:58:24 -05:00
Cliff Hill
9523cc1d97
Cleaning up with black, isort, flake8.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:33 -05:00
Cliff Hill
db3761609b
Job Status changed.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:33 -05:00
Kenneth Kehl
689d82280b
fix tests
2024-02-28 08:23:56 -08:00
Kenneth Kehl
6d4064e888
make sure original_file_name is stored as part of job (notify-admin-1148)
2024-02-28 07:41:13 -08:00
Kenneth Kehl
ed3a356ad1
merge from main and fix some tests
2024-01-19 08:58:24 -08:00
Kenneth Kehl
567dd390b4
fix personalisation
2024-01-18 10:03:35 -08:00
Kenneth Kehl
c13ed73d23
substitute phone numbers back in when sending data to reports
2024-01-17 09:04:04 -08:00
Kenneth Kehl
00fd3a72bb
code review feedback, fix setup.cfg and reformat
2023-08-25 08:10:33 -07:00
Kenneth Kehl
026dc14021
notify-api-412 use black to enforce python style standards
2023-08-23 10:35:43 -07:00
Ryan Ahearn
e07b596857
Remove contact list db, dao, and s3 code
2023-04-12 15:01:24 -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
Katie Smith
8ae2b0bb31
Replace how .dump is called
...
As with `.load`, only data is now returned instead of a tuple.
2022-05-25 11:35:44 +01:00
Katie Smith
bd4f74b359
Replace how .load is called
...
https://marshmallow.readthedocs.io/en/stable/upgrading.html#schemas-are-always-strict
`.load` doesn't return a `(data, errors)` tuple any more - only data is
returned. A `ValidationError` is raised if validation fails. The code
now relies on the `marshmallow_validation_error` error handler to handle
errors instead of having to raise an `InvalidRequest`. This has no
effect on the response that is returned (a test has been modified to
check).
Also added a new `password` field to the `UserSchema` so that we don't
have to specially check for password errors in the `.create_user` endpoint
- we can let marshmallow handle them.
2022-05-25 11:35:44 +01:00
Ben Thorner
a91fde2fda
Run auto-correct on app/ and tests/
2021-03-12 11:45:45 +00:00
Chris Hill-Scott
2fcde009ac
Add an endpoint for stats about scheduled jobs
...
At the moment we display the count of scheduled jobs on the dashboard
by sending all the scheduled jobs to the admin app and letting it work
out the stats.
This is inefficient and, because the get jobs response has a page size
of 50, becomes incorrect if a service schedules more than 50 jobs.
This commit adds a separate endpoint which gives the admin app the stats
it needs directly and correctly.
2020-09-28 09:57:32 +01:00