Commit Graph

8868 Commits

Author SHA1 Message Date
Carlo Costino
7e96b59d42 Merge pull request #604 from GSA/602-no-top-nav-for-logged-in-users
bug: Adjust conditional code to show nav when user is logged in
2023-07-07 14:36:38 -04:00
Kenneth Kehl
60897cd733 handle folders case 2023-07-07 10:27:29 -07:00
Kenneth Kehl
3f0dcc717b notify-admin-562 fix back link in copy template workflow 2023-07-07 10:22:17 -07:00
Jonathan Bobel
07946c4e31 Removing blanket commented-out code and moving to the navigation conditional 2023-07-07 11:01:19 -04:00
Kenneth Kehl
ad45d9f333 merge from main and point to main branch of notifications-utils 2023-07-06 13:27:06 -07:00
Jonathan Bobel
f570bb5015 #590 - Adapt homepage redesign changes (#597)
* - Change content
- Edit the homepage images #521
- Remove account creation option
- Remove navigation
- Remove links to Notify docs in footer

* Updated alt text, jinja comment consistency for the footer
2023-07-06 10:33:27 -04:00
Kenneth Kehl
20a0bd5c99 merge from main 2023-07-05 15:07:38 -07:00
Carlo Costino
234bbe677b Merge pull request #594 from GSA/notify-api-316
Rework downloadable reports and fix process_type
2023-07-03 15:12:34 -04:00
Carlo Costino
9f88af0ac2 Fix create and update template method calls
The removal of the process_type argument was causing a couple of the method calls to break since they were still sending in the argument.  This commit fixes that and updates the corresponding tests as well.

h/t @terrazoon for uncovering the touchpoints originally!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-07-03 15:06:06 -04:00
Carlo Costino
da84a18970 Ensure users are authenticated for most pages (#586)
* Ensure users are authenticated for most pages

This changeset makes sure that users must be authenticated and logged in to view most pages of the Notify service.  We are moving to a model where only the home page and a select few others will be publicly accessible for the time being.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-07-03 15:03:33 -04:00
Kenneth Kehl
faf0c9c629 code review feedback 2023-07-03 11:43:16 -07:00
Kenneth Kehl
4056a5d0ca fix issue with 'process_type' 2023-07-03 10:15:01 -07:00
Kenneth Kehl
b21aeb1a31 notify-api-316 rework the downloadable csv reports 2023-07-03 07:49:03 -07:00
Jonathan Bobel
a57cecee0d Added a file icon 2023-06-30 11:53:36 -04:00
Jonathan Bobel
7efbfe2288 Fixing the file/folder search area - adding back in the folder images to make it more obvious it's a folder and not a template 2023-06-30 11:29:52 -04:00
Kenneth Kehl
88b033616b Merge pull request #561 from GSA/notify-552
notify-552 remove option to use priority queue from UI
2023-06-28 13:46:55 -07:00
Steven Reilly
7e8771ab42 deactivate gtm for now, to be re-enabled after lato (#583) 2023-06-27 12:35:28 -04:00
Kenneth Kehl
d2d7a75a5f notify-536: accurately reflect delivery receipts in UI (#551) 2023-06-27 11:20:58 -04:00
Kenneth Kehl
7168309fbb fix all tests 2023-06-26 14:07:28 -07:00
Kenneth Kehl
ed274bd266 notify-542: move to 24 hour time for UTC 2023-06-26 08:42:04 -07:00
Jonathan Bobel
47da3fd40f Updated nav for Platform Admin users 2023-06-26 11:25:47 -04:00
Jonathan Bobel
63d5061423 521 edit homepage images (#565)
This closes #521
2023-06-23 16:24:25 -04:00
Jonathan Bobel
e5280be30d Small copy changes to pricing page (#570)
This closes #523
2023-06-23 16:23:12 -04:00
Kenneth Kehl
aa0f15c1b2 notify-552 remove option to use priority queue from UI 2023-06-20 08:37:56 -07:00
Kenneth Kehl
81e2f9b72b notify-512 use daily message limit from notification_utils 2023-06-19 10:10:22 -07:00
Jonathan Bobel
6300a5fcc6 Merge branch 'main' of https://github.com/GSA/notifications-admin into 533-adjust-uswds-styles
# Conflicts:
#	app/assets/javascripts/templateFolderForm.js
#	app/assets/sass/uswds/_uswds-theme-custom-styles.scss
2023-06-19 10:47:56 -04:00
Jonathan Bobel
f266084ddb Test passed, good time to commit 2023-06-16 14:55:24 -04:00
Jonathan Bobel
86cf2ab836 Fixing the issue of the template area buttons not working 2023-06-15 15:15:37 -04:00
Jonathan Bobel
618ac6df8d Merge branch 'main' of https://github.com/GSA/notifications-admin into 533-adjust-uswds-styles 2023-06-15 11:30:40 -04:00
Andrew Shumway
e0d4fee515 Replaced 30 min email exp variable with 1 hour in config for consistency 2023-06-15 08:54:52 -06:00
Jonathan Bobel
ace373bf06 Commit before switching branches 2023-06-15 10:17:07 -04:00
Andrew Shumway
1b5de90657 Form is visible in html/text added for clarification on validation 2023-06-14 09:42:22 -06:00
Carlo Costino
63a97b9780 Remove PY_TIMEZONE references (#547)
This changeset removes the PY_TIMEZONE configuration variable and updates all references to it to refer directly to pytz.utc instead.  It also cleans up a few of the import statements and removes those that are no longer needed (like the current_app reference from Flask).

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-06-12 17:00:20 -04:00
Carlo Costino
92d25f5a69 Convert frontend display to be just UTC (#540)
This changeset converts the display of dates and times to be just UTC to match the recent changes in the backend.  This unwinds a bit of work that was done previously and allows us to start with a clean slate in how we want to approach displaying dates and times going forward. It also adds a bit of explanatory text to help users.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
Co-authored-by: stvnrlly <steven.reilly@gsa.gov>
2023-06-12 15:49:48 -04:00
Steven Reilly
da623c87d6 Add Google Tag Manager for analytics (#541) 2023-06-12 13:52:38 -04:00
Jonathan Bobel
d98a8ceada Update to top navigation active state(s) (#538)
* Updated top navigation active states
* Updated pricing page
2023-06-09 10:59:01 -04:00
Jonathan Bobel
e0d2d74067 Update dashboard and template flow (#514)
* Updated header and footer
* Moved files around and updated gulpfile to correct the build process when it goes to production
* Updated fonts
* Adjusted grid templating
* Adding images to assets
* Updated account pages, dashboard, and pages in message sending flow
* Updated the styling for the landing pages in the account section once logged in
2023-06-08 13:12:00 -04:00
Jonathan Bobel
f342e0fb6c Updating site to use USWDS styles (#509)
* Updated header and footer
* Updated fonts
* Moved files around and updated gulpfile to correct the build process when it goes to production
* Adjusted grid templating
* Added images to assets
* Update app/templates/components/uk_components/footer/template.njk

Co-authored-by: Steven Reilly <stvnrlly@users.noreply.github.com>
2023-06-06 15:28:24 -04:00
Andrew Shumway
21f9e80c9e Added hasattr() back for potential NoneType error 2023-06-02 08:32:44 -06:00
Andrew Shumway
a1484c62bb Requested changes in PR review 2023-06-01 15:40:50 -06:00
Andrew Shumway
6c88cd980f Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-445 2023-06-01 10:48:17 -06:00
Jonathan Bobel
4f91a9e9f9 Medium-level content updates from audit (#497) 2023-06-01 12:46:19 -04:00
Andrew Shumway
bd798e78b6 Added global remaining daily messages across services to ui 2023-06-01 10:44:13 -06:00
Kenneth Kehl
c9576f9a1d notify-300 change error message to show total message limit (#489) 2023-05-31 20:10:10 -04:00
Andrew Shumway
3abb61614c Added context_process to init.py for remaining daily messages 2023-05-30 08:01:29 -06:00
Kenneth Kehl
4882595a48 notify-245 update the allowlist for user domains (#510)
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us>
2023-05-19 16:54:27 -04:00
Andrew Shumway
9c1eba65b7 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-445 2023-05-15 14:37:19 -06:00
Andrew Shumway
d2fd5ab07d Added display of daily limit and remaining amount after csv upload 2023-05-15 14:37:05 -06:00
Ryan Ahearn
68b5df2a80 Install updated newrelic JS and configure prod id values 2023-05-10 12:43:49 -04:00
Jonathan Bobel
68e94dd650 Addressing most of the low-lift items from the Notify content audit (#491) 2023-05-08 10:49:30 -04:00