Commit Graph

4627 Commits

Author SHA1 Message Date
Cliff Hill
31f946e5ba Fixed the new endpoint calculations, added unit tests to validate the
code.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-10 16:12:38 -04:00
Carlo Costino
9c39a92545 Merge pull request #1059 from GSA/1006-new-api-failed-and-delivered-messages-7-days
1006/1007/1008 created new API endpoints for front end statistics
2024-07-03 14:09:06 -04:00
Cliff Hill
f95d3e0b99 Made changes I requested to be done.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-02 15:38:22 -04:00
Kenneth Kehl
5c305177a0 add more debug and add command to download csv files 2024-07-01 10:35:20 -07:00
Carlo Costino
ec538dacda Merge pull request #1076 from GSA/notify-api-937
Need magic PII-free debugging method for API
2024-06-25 09:50:13 -04:00
Anastasia Gradova
b2e5522d09 Corrected test cases for new stats endpoints 2024-06-24 17:58:37 -06:00
Anastasia Gradova
16555ab0e2 Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days 2024-06-24 16:51:58 -06:00
Kenneth Kehl
2e4fd3b3ac fix tests 2024-06-20 13:30:43 -07:00
Kenneth Kehl
360d4f2a9a fix raw_set and raw_get 2024-06-20 11:55:01 -07:00
Anastasia Gradova
abc0ba9281 Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days 2024-06-20 08:35:12 -06:00
Kenneth Kehl
d7279c7c38 revamp PII masking 2024-06-17 11:12:30 -07:00
Kenneth Kehl
9a146bdd4d flake8 2024-06-14 14:19:08 -07:00
Kenneth Kehl
6a9f2d326f code review feedback 2024-06-14 14:15:05 -07:00
Kenneth Kehl
1c697202f3 improve email masking 2024-06-13 10:27:04 -07:00
Kenneth Kehl
d1ab771756 hmmm 2024-06-11 12:29:49 -07:00
Kenneth Kehl
bfae1f57f2 hmmm 2024-06-11 12:17:14 -07:00
Kenneth Kehl
76c34ffae6 Need magic PII-free debugging method for API 2024-06-11 10:34:57 -07:00
Anastasia Gradova
0082ba3dd0 Updated sort order, endpoint defenition, and tests
for REQUESTED attribute
2024-06-06 22:11:24 -06:00
Kenneth Kehl
6081ff4873 merge from main 2024-06-06 13:18:00 -07:00
Kenneth Kehl
feb8a1bfaf merge from main 2024-06-06 13:12:37 -07:00
Kenneth Kehl
920d2c4539 debug for notify-admin-1588 2024-06-05 12:42:35 -07:00
Anastasia Gradova
227b9a3fc9 Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days 2024-06-05 11:47:55 -06:00
Cliff Hill
77f4d85e74 Cleaning up the test a little.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-06-04 16:08:40 -04:00
Cliff Hill
952c04ad9c Making things cleaner with set operators.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-06-04 12:49:31 -04:00
Kenneth Kehl
db68583cf9 merge from main 2024-06-04 08:20:01 -07:00
Cliff Hill
26d0d69d46 Making the test come back good.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-06-04 09:48:52 -04:00
Carlo Costino
a3ef6de5bc Merge pull request #992 from GSA/notify-admin-1396
Exception Investigation: app.notify_client:InviteTokenError
2024-05-31 11:35:20 -04:00
Kenneth Kehl
bce5220515 merge from main 2024-05-31 07:35:41 -07:00
Kenneth Kehl
22ffc56520 remove v2 2024-05-30 12:27:07 -07:00
Anastasia Gradova
140e40ebe0 Updated pytest for new return values 2024-05-25 22:14:51 -06:00
Kenneth Kehl
07650e39e7 remove datetime.utcnow() 2024-05-23 14:07:57 -07:00
Kenneth Kehl
905df17f65 remove datetime.utcnow() 2024-05-23 13:59:51 -07:00
Kenneth Kehl
752a13fbd2 replace utcnow with timezone naive utc call 2024-05-23 10:18:02 -07:00
Carlo Costino
3b37e6ee88 Fixing broken test
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-17 17:23:32 -04:00
Carlo Costino
aafa7178f9 Updated tests to match the formatting work done in the admin repo
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-17 17:14:46 -04:00
Carlo Costino
ac4ebacfeb Removed one more utils reference in the README and fixed directory name
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-16 10:41:49 -04:00
Carlo Costino
99edc88197 Localize notification_utils to the API
This changeset pulls in all of the notification_utils code directly into the API and removes it as an external dependency.  We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the API.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-16 10:17:45 -04:00
Kenneth Kehl
a274aae232 fix invite text 2024-05-15 08:22:04 -07:00
Carlo Costino
fcad5e4d3c Fixing errant isort formatting
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-06 15:39:53 -04:00
Carlo Costino
5ece190c7f Minor changes accounting for black and isort formatting
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-06 15:35:04 -04:00
Aditi Anand
ad55eef5e9 Changes for sqlalchemy 2.0 2024-04-24 16:27:20 -04:00
Aditi Anand
df2a590f1a Merge branch 'notify-api-869' into aanand-sqlalchemy-version-update 2024-04-24 16:11:03 -04:00
samathad2023
c7eba2ba50 latest version urllib3 2024-04-23 09:38:27 -07:00
Kenneth Kehl
c02f32a263 use raw_set and raw_get, fix tests 2024-04-19 10:33:26 -07:00
Kenneth Kehl
0f3cdcf56a fix tests 2024-04-12 09:23:22 -07:00
Carlo Costino
f6c1c80bd4 Merge pull request #916 from GSA/notify-api-662
remove deprecated notification
2024-04-11 16:04:52 -04:00
Kenneth Kehl
8fba67170e remove deprecated notification 2024-04-11 10:28:09 -07:00
Anastasia Gradova
3c92b3e9d8 Updated for isort 2024-04-10 20:15:18 -06:00
Anastasia Gradova
0bb80c9d22 Added sqlalchemy-utils and put methods in to
create and delete the test_notifications_api db
before and after the tests run.
2024-04-10 19:57:53 -06:00
samathad2023
6c216a88d7 flask upgrade dependencies 2024-04-04 16:18:57 -07:00