Commit Graph

9120 Commits

Author SHA1 Message Date
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
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
569be3cf74 remove debug stmt 2023-12-05 13:16:27 -08: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
Carlo Costino
ecb2015ad5 Merge pull request #951 from GSA/85-live-service-content-says-250k-per-day-not-per-year
Change live service content to "Year" and not "day
2023-12-04 13:26:40 -05:00
Kenneth Kehl
81f145180e merge from main 2023-12-04 07:12:34 -08:00
Jonathan Bobel
a116c0a0c1 Merged Ken's work, made a small style change 2023-12-01 14:54:26 -05:00
Kenneth Kehl
f235557773 move hilite method as per code review feedback 2023-12-01 11:14:19 -08:00
Kenneth Kehl
91161c8c7e formatting 2023-12-01 09:52:07 -08:00
Kenneth Kehl
9ee61806f3 fix class method 2023-11-30 14:48:06 -08:00
Kenneth Kehl
50ccd994d0 fix scheduled jobs time 2023-11-30 14:41:44 -08:00
Kenneth Kehl
350ceaaf4e notify-admin-931 initial 2023-11-30 12:39:37 -08:00
Kenneth Kehl
417c072382 maybe fix 404 on signout 2023-11-29 10:24:09 -08:00
Your Name
10671b61b1 Merge remote-tracking branch 'origin/main' into 85-live-service-content-says-250k-per-day-not-per-year 2023-11-29 10:03:29 -08:00
Kenneth Kehl
da3fa99c52 merge from main 2023-11-29 07:26:43 -08:00
Carlo Costino
86fbaee27d Adjust positional arguments flagged by flake8-bugbear
The new release of flake8-bugbear is starting to flag positional argument unpacking that comes after keyword arguments in function calls as a style warning that fails.  This is a good thing to catch because it can lead to unexpected side effects with function arguments and/or errors thrown by Python.

See the following links for more details:

- https://stackoverflow.com/questions/58961715/python-value-unpacking-order-in-method-parameters
- https://github.com/python/cpython/issues/82741

This changeset fixes a couple of instances where the positional argument unpacking was happening after keyword arguments were being provided.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-29 09:39:44 -05:00
Kenneth Kehl
65e6812385 use markup so html link renders in template 2023-11-28 14:43:12 -08:00
Your Name
ef73d6d71e changed day to year 2023-11-28 11:34:29 -08:00
Kenneth Kehl
1cacd3b850 update warning message, fix tests 2023-11-28 07:42:33 -08:00
Kenneth Kehl
c74ab6ff27 fix flake8 2023-11-27 14:49:20 -08:00
Carlo Costino
6e527602bd Merge pull request #947 from GSA/945-upload-csv-not-working
945 - Fixed the javascript so it's not breaking every page
2023-11-27 17:46:09 -05:00
Jonathan Bobel
c611fe38c9 945 - Fixed the javascript so it's not breaking every page this element is not on 2023-11-27 16:19:54 -05:00
Steven Reilly
ff44be5279 add gtm to csp sources 2023-11-27 16:16:27 -05: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
Carlo Costino
4571a8bd15 Apply suggestions from code review
Updating variable name from et to preferred_tz
2023-11-22 13:06:04 -05:00
Kenneth Kehl
e55a9273bf code review feedback 2023-11-22 08:28:07 -08:00
Kenneth Kehl
ad0ed0d6fb merge from main 2023-11-22 08:21:34 -08:00
Kenneth Kehl
425f8eb742 code review feedback 2023-11-22 08:09:28 -08:00
Kenneth Kehl
2bd38182d2 code review feedback 2023-11-21 13:40:00 -08:00
Jonathan Bobel
077b1b8ed9 Updated utils 2023-11-20 13:45:35 -05:00
Andrew Shumway
e7a3b98fff Refactor list comprehension 2023-11-20 10:39:39 -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
654557e793 fix 2023-11-16 12:47:47 -08: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
Jonathan Bobel
06a15c5afc 927 - Updates to math in Dashboard area 2023-11-16 12:02:59 -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
Carlo Costino
969ecb39af Merge pull request #920 from GSA/notify-admin-916
notify-admin-916 revert restrictions on create service
2023-11-14 17:08:44 -05:00
Kenneth Kehl
83dfdc31f2 fix flake8 2023-11-14 11:13:16 -08:00
Kenneth Kehl
31fb43e45c notify-admin-487 platform admin view errors 2023-11-14 10:39:24 -08:00
Kenneth Kehl
22d728f0f8 cleanup 2023-11-14 10:14:35 -08:00
Andrew Shumway
009773eb1b Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-786 2023-11-14 09:34:33 -07:00