Commit Graph

4688 Commits

Author SHA1 Message Date
Jonathan Bobel
13ed67b18b 966 - Added 2 urls to the CSP configuration + adjusted the test 2023-12-12 16:45:21 -05:00
Carlo Costino
b0d2de703b Updated tests with correct permissions and added test for no permissions
h/t @stvnrlly for the suggestions!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-12-11 16:59:04 -05:00
Carlo Costino
f7efceba44 Fix permissions check for inviting users to a service
This changeset reverts a change we had made previously where we accidentally locked down the ability for service admins to invite other users to their own service.  This removes the platform admin user check and reverts it back to the proper permissions check (including adjusting the tests to account for this).

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-12-11 10:47:21 -05:00
Kenneth Kehl
d218fd2178 notify-admin-529 remove provider view 2023-12-06 13:40:15 -08:00
Carlo Costino
a7bf173457 Fix test_register.py flake8-bugbear warning
This changeset fixes a small syntax issue with one of the tests that is being picked up by the new version of flake8-bugbear.  It turns out there was an extraneous comma left in the test.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-12-06 09:46:44 -05:00
Carlo Costino
d226afcb3c Merge pull request #973 from GSA/notify-admin-931
Notify admin 931 add a preferred timezone widget
2023-12-05 16:47:57 -05:00
Kenneth Kehl
cee2552706 notify-admin-931 2023-12-04 14:52:48 -08:00
Carlo Costino
93d5e0a124 Merge pull request #965 from GSA/893-copy-existing-template
893 copy existing template
2023-12-04 16:33:51 -05:00
Carlo Costino
e26967acac Merge pull request #949 from GSA/notify-admin-901
Create UI changes to let people know of considerations when using Non-ISO character sets
2023-12-04 13:28:53 -05:00
Jonathan Bobel
bf10a2bc53 Fixing the tests to pass 2023-12-04 12:42:15 -05:00
Kenneth Kehl
50ccd994d0 fix scheduled jobs time 2023-11-30 14:41:44 -08:00
Kenneth Kehl
da3fa99c52 merge from main 2023-11-29 07:26:43 -08:00
Carlo Costino
3cab3ac1a4 Merge pull request #940 from GSA/update-utils-022
Update utils to 0.2.2
2023-11-28 14:43:29 -05:00
Kenneth Kehl
1cacd3b850 update warning message, fix tests 2023-11-28 07:42:33 -08:00
Steven Reilly
911552b858 update test instead of not updating test 2023-11-27 16:26:22 -05:00
Kenneth Kehl
d10d3f7c00 maybe fix tests? Or else calculations are all wrong 2023-11-22 12:37:57 -08:00
Andrew Shumway
984f435075 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786 2023-11-22 11:55:57 -07:00
Andrew Shumway
3d0460a9ee Revert missing logic 2023-11-22 11:55:40 -07:00
Kenneth Kehl
7e33178b1c Merge pull request #929 from GSA/notify-admin-861
Change timezone displays to Eastern time
2023-11-22 10:49:16 -08:00
Andrew Shumway
9bc3602461 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786 2023-11-22 11:06:32 -07:00
Andrew Shumway
53a3f4c852 Remove unnecessary logic/fix tests 2023-11-22 11:06:15 -07:00
Kenneth Kehl
ad0ed0d6fb merge from main 2023-11-22 08:21:34 -08:00
Jonathan Bobel
e4c97e925f Adding a test for the dashboard usage area 2023-11-21 15:38:41 -05:00
Andrew Shumway
f51d4be8de Add tests with notify.gov/usnotify as default 2023-11-20 10:06:17 -07:00
Andrew Shumway
5d97856a81 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786 2023-11-17 11:19:50 -07:00
Andrew Shumway
654b406827 Added/fixed tests to remove notify from message flow 2023-11-17 11:19:26 -07:00
Kenneth Kehl
36987e7202 notify-api-861 show eastern time 2023-11-16 12:24:27 -08:00
Jonathan Bobel
6cee00929e Fixed tests 2023-11-16 12:26:35 -05:00
Carlo Costino
a37b2f8281 Merge pull request #915 from GSA/notify-796
Fixed UI permissions view
2023-11-14 17:09:38 -05:00
Kenneth Kehl
040f4b4f9f fix tests 2023-11-14 08:38:11 -08:00
Kenneth Kehl
b1bd51730d notify-admin-916 revert restrictions on create service 2023-11-14 07:51:56 -08:00
Andrew Shumway
7e12e6d488 Fixed UI permissions view 2023-11-09 12:00:31 -07:00
Kenneth Kehl
008b990e14 code review feedback 2023-11-08 07:51:57 -08:00
Kenneth Kehl
91aca2ec4e fix test 2023-11-07 08:55:14 -08:00
Kenneth Kehl
b50bdf2f21 merge from main 2023-11-07 07:44:37 -08:00
Carlo Costino
4330fbe493 Skip failing test for now in test_send.py
This changeset marks the test_warns_if_file_sent_already_errors test in tests/app/main/views/test_send.py to skip for now.  This test started failing locally for some of the team members with no clear indication as to why.  We tried the following:

- Checking for uncommitted local changes
- Downgrading a recent dependency update
- Combing through recent changes for potential breaking changes
- Debugging the test itself as it ran

A new issue will be created to investigate this further, but we did not want it to block our current work.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-06 17:42:00 -05:00
Kenneth Kehl
6e19fab1d5 more tests 2023-11-03 10:38:38 -07:00
Carlo Costino
26031cb1b2 Merge pull request #892 from GSA/800-combine-and-style-quota-displays
800 - combine and style quota displays
2023-11-02 17:16:39 -04:00
Andrew Shumway
591961413a Added mock api call to appropriate tests 2023-11-02 16:28:09 -04:00
Andrew Shumway
af119aad1c Fixed parameter in client request 2023-11-02 16:28:07 -04:00
Andrew Shumway
62a09c5223 Added mock to client request for get request of count 2023-11-02 16:27:01 -04:00
Jonathan Bobel
febbcd154c Merge and push back up 2023-11-02 14:40:08 -04:00
Carlo Costino
745aaee1d7 Merge pull request #887 from GSA/notify-admin-866b
Improve tests with #noqa comments
2023-11-02 12:34:01 -04:00
Carlo Costino
35e200b328 Merge pull request #884 from GSA/801-send-message-button
801 send message button
2023-11-02 12:30:14 -04:00
Carlo Costino
14b81ce908 Merge pull request #882 from GSA/847-change-blanket-error-message
847 - content update for blanket error page
2023-11-02 12:29:25 -04:00
Jonathan Bobel
a3022dcfe6 Fixing tests 2023-11-01 13:06:29 -04:00
Jonathan Bobel
600114fa4f Fixing tests 2023-11-01 10:38:50 -04:00
Kenneth Kehl
b487a915f6 fix remaining tests 2023-10-30 08:42:11 -07:00
Kenneth Kehl
8c9acad081 more tests 2023-10-26 12:05:26 -07:00
Kenneth Kehl
bd2ea81081 more fixes 2023-10-26 11:38:03 -07:00