Commit Graph

2778 Commits

Author SHA1 Message Date
Chris Hill-Scott
70eec8fe73 Don’t let people actually start a letter job
Who knows what would happen if a job with a letter template actually
got into the database. `403`ing the page is a quick and dirty hack to
stop this from happening.
2016-11-14 14:51:27 +00:00
Chris Hill-Scott
0c5a224fef Add letter-specific formatting advice
Letters can’t have callouts.
2016-11-14 14:51:27 +00:00
Chris Hill-Scott
88631a680c Sprinkle letter throughout the app
Let users create/edit/delete letter templates.

Let them upload a CSV file or send a test against a letter template.

Big assumption at the moment is that addresses only have one line, and
therefore one column in the CSV file.
2016-11-14 14:51:26 +00:00
Chris Hill-Scott
4a0c860a04 Make border around letter neater
The drop shadow stolen from GOV.UK was a bit crude; this commit makes
it a bit more refined.

Also makes things line up a bit better.
2016-11-14 14:51:26 +00:00
Chris Hill-Scott
fb410496dc Add letter component
Similar to the components we have for previewing email and text
messages.

Style stolen from PDF thumbnail at
https://www.gov.uk/government/publications/honey-bees
2016-11-14 14:29:13 +00:00
Chris Hill-Scott
c3b580b645 Update utils 2016-11-14 14:29:13 +00:00
Chris Hill-Scott
620b0cf9ee Merge pull request #1021 from alphagov/fix-page-title-send-test
Fix page title on send test page
2016-11-14 15:04:52 +01:00
Chris Hill-Scott
e164c4d5b1 Merge pull request #1023 from alphagov/sms-sender-fix
Fix errant service name in text messages
2016-11-14 15:04:25 +01:00
Chris Hill-Scott
b68ebbb107 Fix errant service name in text messages
Was missed as part of:
https://github.com/alphagov/notifications-admin/pull/905
2016-11-14 13:08:27 +00:00
Leo Hemsted
63de598d31 Merge pull request #1008 from alphagov/deactivate-service
Deactivate service
2016-11-14 11:41:13 +00:00
Chris Hill-Scott
df6899b6e5 Merge pull request #1020 from alphagov/optional-content
Add guidance for optional content into template pages
2016-11-11 16:15:29 +01:00
Chris Hill-Scott
e1e2bec746 Refine content 2016-11-11 14:57:48 +00:00
imdadahad
115cbe67e5 Merge pull request #1011 from alphagov/update-user-profile
Update user profile
2016-11-11 14:47:13 +00:00
Chris Hill-Scott
46eae17c85 Remove redundant word 2016-11-11 14:46:00 +00:00
Chris Hill-Scott
e0cee58346 Add full stop to example 2016-11-11 14:43:56 +00:00
Chris Hill-Scott
047fb943db Use typographic quotes 2016-11-11 14:38:15 +00:00
Chris Hill-Scott
00438e5363 Wrap content to 80 chars 2016-11-11 14:37:50 +00:00
Chris Hill-Scott
d9f273ab86 Fix page title on send test page 2016-11-11 12:47:26 +00:00
Pete Herlihy
ab345c0871 Added optional content guidance on edit sms template view 2016-11-11 11:44:48 +00:00
Pete Herlihy
50e2cd5863 Added optional content guidance to email template view 2016-11-11 11:43:56 +00:00
Pete Herlihy
22c5b44c4c Added some guidance around using optional placeholders 2016-11-11 11:42:26 +00:00
Chris Hill-Scott
ac2b18d95a Merge pull request #1019 from alphagov/quis-patch-1
Remove external link icon on info security link
2016-11-11 11:26:53 +01:00
Chris Hill-Scott
cd03cb70d3 Remove external link icon on info security link
It’s an internal link now
2016-11-11 10:26:35 +00:00
Chris Hill-Scott
e27bab48db Merge pull request #1018 from alphagov/infosec-link
Point information security link at new URL
2016-11-11 11:15:57 +01:00
Imdad Ahad
1da498164f Use POST req to update a user attr 2016-11-10 12:10:01 +00:00
Chris Hill-Scott
3b85afc095 Point information security link at new URL
We’re publishing it in the app now. No more Google doc. 🎉
2016-11-10 11:12:19 +00:00
imdadahad
910a6adef1 Merge pull request #1013 from alphagov/install-reqs-from-wheels
Use python wheels to speed up deployments
2016-11-10 10:49:10 +00:00
Imdad Ahad
e5ea81b184 Fix pep issues and refactor tests 2016-11-10 10:45:09 +00:00
Chris Hill-Scott
0803f900ab Merge pull request #1017 from alphagov/quis-patch-1
Remove links from example URLs
2016-11-10 11:12:49 +01:00
Chris Hill-Scott
2750dc9b61 Remove links from example URLs 2016-11-10 10:10:43 +00:00
Chris Hill-Scott
253780f262 Merge pull request #1016 from SheryllGDS/patch-2
Update information-security.html
2016-11-09 16:06:34 +01:00
Chris Hill-Scott
5391c4aec0 Smart quotes 2016-11-09 15:06:26 +00:00
Imdad Ahad
f3ca33dad3 Revert original update user method and add new attribute update (with strict checking) 2016-11-09 15:06:02 +00:00
Chris Hill-Scott
8524ed0ae0 Smart quotes 2016-11-09 15:05:59 +00:00
Imdad Ahad
c28aea2de1 Update user profile attributes with new method 2016-11-09 15:05:06 +00:00
SheryllGDS
267b7f579c Update information-security.html 2016-11-09 14:55:38 +00:00
Chris Hill-Scott
87368af338 Merge pull request #1015 from SheryllGDS/patch-1
Information security edits
2016-11-09 14:07:45 +01:00
SheryllGDS
23f52aae31 Update information-security.html 2016-11-09 12:45:55 +00:00
SheryllGDS
49ef6f22ff Update information-security.html 2016-11-09 11:52:52 +00:00
Leo Hemsted
7a48e25dbb flash up prompt when archiving a service
same way as we do when deleting templates

(also rename button from deactivate -> archive)
2016-11-08 14:33:53 +00:00
Imdad Ahad
75854d91fc Use python wheels to speed up deployments 2016-11-07 17:56:08 +00:00
Chris Hill-Scott
edfa9d4382 Merge pull request #1012 from alphagov/keys-and-trial-mode
Make relationship between keys, whitelist, trial mode and team clearer
2016-11-04 15:11:19 +01:00
Chris Hill-Scott
12248d32f7 Tell users when their service is live
Seen it a few times in research where people are like “so it’s live now
… I think. Is it?”

Let’s tell them exactly what’s happened. Also a chance to get @minglis’
idea about showing the daily limit.
2016-11-04 14:05:33 +00:00
Chris Hill-Scott
a36f38edb8 Remove banner for trial mode message
The yellow banner didn’t make this information much more noticeable,
and it made some people miss the request to go live link because it
wasn’t blue.

This commit brings the design back to where it was as of this PR:
https://github.com/alphagov/notifications-admin/pull/904
2016-11-04 14:05:32 +00:00
Chris Hill-Scott
dae10429e6 Use radio button desc. pattern on go live page
Nicer than using en dashes.
2016-11-04 14:05:31 +00:00
Chris Hill-Scott
4ae28386a6 Always show live key, reword key labels
This is trying to resolve these confusions:

- that you’re in trial mode, which means you can’t have a live key yet (
  or you can but it wont work, which is what we used to have)
- what does simulate mean

The create key page is the right place to resolve these confusions
because it’s where users are actively reading.

This commit also removes the trial mode banner from API integration
page because this where users _aren’t_ actively reading. A whole bunch
of users weren’t seeing this banner at all.

The implementation of the disabled API key options is kinda clunky
because WTForms doesn’t have a native way of doing this.

¯\_(ツ)_/¯
2016-11-04 14:05:30 +00:00
Chris Hill-Scott
9ec1f21f72 Add a message to the whitelist
The confusion about the whitelist was how it related to your team. This
commit adds some text to make the relationship clearer.
2016-11-04 13:11:53 +00:00
Chris Hill-Scott
101392c350 Fix page title to match H1 on create API key page
The page `<title>` was using previous wording.
2016-11-04 13:11:52 +00:00
Chris Hill-Scott
6a07b8bac2 Merge pull request #1006 from alphagov/request-to-go-live-improvements
Make certain questions on request to go live radio buttons
2016-11-04 14:05:54 +01:00
Leo Hemsted
a216259a8e Merge pull request #1005 from alphagov/letters-nav
allow users to see letters even if they dont have edit permissions
2016-11-04 09:46:27 +00:00