Commit Graph

2570 Commits

Author SHA1 Message Date
karlchillmaid
966b77afde close </ul> tag
close </ul> tag
2019-04-11 10:31:22 +01:00
karlchillmaid
0de6db2634 Add text messages content
Add text messages content
2019-04-11 10:31:22 +01:00
karlchillmaid
895ca49525 Add templates, personalisation and bulk sending
Add templates, personalisation and bulk sending
2019-04-11 10:31:21 +01:00
karlchillmaid
6e2d1f99f4 Update letters and how to pay content
Update letters and how to pay content
2019-04-11 10:31:21 +01:00
karlchillmaid
4c1e878f1a Add text messages page
Add text messages page
2019-04-11 10:31:21 +01:00
karlchillmaid
87a474c511 Add page formatting
Add page formatting
2019-04-11 10:31:21 +01:00
karlchillmaid
808c3792eb Add file extension
Add file extension
2019-04-11 10:31:21 +01:00
karlchillmaid
a63dc15945 Add letters content
Add letters content
2019-04-11 10:31:20 +01:00
karlchillmaid
8987922998 Add list of features
Add list of features
2019-04-11 10:31:20 +01:00
karlchillmaid
a4f3109747 Add page formatting and H1
Add page formatting and H1
2019-04-11 10:31:20 +01:00
karlchillmaid
ccd85bd7a7 Add 'Send files by email' content
Add 'Send files by email' content
2019-04-11 10:31:20 +01:00
karlchillmaid
21bb95d2da Create channel-specific features page – email
Create channel-specific features page – email
2019-04-11 10:31:20 +01:00
karlchillmaid
c8b4f304e7 Add API content
Add API content and update introduction
2019-04-11 10:31:20 +01:00
karlchillmaid
b62c1fab2a Update reporting content
Update reporting content
2019-04-11 10:31:19 +01:00
karlchillmaid
8e1545ee7d Edit H2 ID
Edit H2 ID
2019-04-11 10:31:19 +01:00
karlchillmaid
d66603f9e2 Add ID for anchor link
Add ID for anchor link
2019-04-11 10:31:19 +01:00
karlchillmaid
4a126ecaac Update permissions content
Update permissions content
2019-04-11 10:31:19 +01:00
karlchillmaid
8b3d1a992b Add Support information
Add Support information
2019-04-11 10:31:19 +01:00
karlchillmaid
a90fa1875a Update Performance content
Update Performance content
2019-04-11 10:31:18 +01:00
karlchillmaid
1ecfb96659 Add security information
Add security information
2019-04-11 10:31:18 +01:00
karlchillmaid
f2c2e9d729 Updated message status content
Updated message status content
2019-04-11 10:31:18 +01:00
karlchillmaid
4ba68cbaf7 Remove 'multiple accounts' section
Remove 'multiple accounts' section because we're going to explain this in Pricing and other features content.
2019-04-11 10:31:18 +01:00
karlchillmaid
35db232983 Updated trial mode and message states
Updated trial mode and message states
2019-04-11 10:31:17 +01:00
karlchillmaid
4fa33c678f Update introduction
Update introduction to give users more context and clearer instructions
2019-04-11 10:31:17 +01:00
karlchillmaid
a72a422b4f Updated introduction
Updated introduction to explain that users can set up multiple services in their account.
2019-04-11 10:31:17 +01:00
Leo Hemsted
a249382e69 Merge pull request #2898 from alphagov/user-permission-count
add count of folders visible per user to the team members page
2019-04-05 14:20:52 +01:00
Pete Herlihy
23b3710875 Updated service and org counts 2019-04-05 10:29:57 +01:00
Leo Hemsted
249b80762a add count of folders visible per user to the team members page
Shows a count of how many folders that user can see - this doesn't do
anything smart with parent folder stuff, it's just "how many checkboxes
are ticked on the edit page".

* doesn't show if service has no folders
* doesn't show if service hasn't got folder permissions enabled
2019-04-04 17:55:37 +01:00
Tom Byers
cf07579a6b Correct name of forceFocus data attribute
Data attributes need to be '-' separated strings
in the HTML to appear as camelCase keys in the
`.dataset` (`.data()` in jQuery) property.

This corrects the assumption that the camelCasing
would carry through from the HTML.

More info:

https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes
2019-04-03 14:41:09 +01:00
Tom Byers
8d5e7e70ab Prevent autofocus when page has scrolled
If users scroll a page with an autofocus component
on so it is off-screen it seems safe to assume
they won't want it focused if they return to it.

This prevents that happening.

This adds a data-attribute flag to allow this
behaviour to be overridden.

We have some situations where the assumption here
isn't appropriate, for example on pages where the
component with autofocus is in a sticky element.
This means it will appear offscreen when the page
loads but, when its parent becomes sticky, will be
visible again.
2019-04-03 14:41:09 +01:00
Chris Hill-Scott
b1b496ba56 Say what the current email branding is
We keep getting people requesting branding when they already have the
branding they want set. Seems like they don’t realise we’re doing it
automatically. This might help.
2019-04-03 11:54:33 +01:00
Pea Tyczynska
bd66cc220b User permissions section for a folder noy visible if service only has one user
If no manage users permission then don't pass user folder permissions to api
2019-04-02 15:03:41 +01:00
Pea Tyczynska
9d44c45e90 Only users who can manage team members see folder permissions 2019-04-02 12:07:11 +01:00
Alexey Bezhan
e6d4c7aaa8 Don't link folders in the folder path if user doesn't have permission
This updates folder_path macro to not link to any folders that
the user doesn't have permission for.
2019-04-01 10:50:39 +01:00
Alexey Bezhan
355927d091 Hide template and folder action links if user doesn't have folder access
Hides action links ('Send', 'Edit', 'Delete' and 'Redact' fro templates
and 'Manage' for template folders) and buttons ('New template', 'New folder')
if the user doesn't have permission to view current folder or template's
parent folder.
2019-04-01 10:50:39 +01:00
Tom Byers
c5208d712e Merge pull request #2876 from alphagov/stop-focus-overlap-alternative
Stop focus overlap - with support for caret focus
2019-03-27 14:54:09 +00:00
Chris Hill-Scott
a852b6ef07 Merge pull request #2879 from alphagov/use-client-request-fixture
Use `client_request` fixture where possible
2019-03-27 10:51:22 +00:00
karlchillmaid
151fa35e1e Merge pull request #2877 from alphagov/free-message-allowance-update
Update free text message allowance
2019-03-27 10:38:02 +00:00
Chris Hill-Scott
883b07e3f0 Use client_request fixture where possible
It:
- saves repetetive boilerplate code
- does some extra checks (eg checking for a `200` response)
- makes the codebase less confusing to consistently do the same thing in
  the same way
2019-03-26 16:38:00 +00:00
Leo Hemsted
f7f9dd8530 fix user permissions save button sometimes deleting
when you hit the delete button, it flashes the delete button and takes
you to the `/service/../user/../delete` url. If you then click the save
button, it would make a POST to the delete URL... and delete the user.

now the page stays on the edit url, but adds a `?delete=yes` query
string. The dangerous flash banner now has an action field which
defines where the browser will make the POST to (which remains at
/delete).
2019-03-26 15:52:37 +00:00
karlchillmaid
67e176133b Updated free text message allowance
Updated free text message allowance to make it clearer.

Added a link to full pricing information.

Ticket: https://www.pivotaltracker.com/story/show/163908166
2019-03-26 10:59:27 +00:00
Tom Byers
5ba2bd66e0 Revert "Merge pull request #2855 from alphagov/revert-2843-stop-sticky-overlapping-focus"
This reverts commit 0f9969989a, reversing
changes made to 42e3770e65.
2019-03-25 15:58:23 +00:00
Chris Hill-Scott
8fb576e60a Allow excluding services from live services count
Adds a front end for:
https://github.com/alphagov/notifications-api/pull/2417

> Sometimes we have to make a few services for what really is one
> service, for example GOV.UK Pay and GOV.UK Pay Direct Debit. We also
> have our own test services which aren’t included in the count of live
> services. We currently count these as one service by not including
> them in the beta partners spreadsheet.
2019-03-25 15:46:35 +00:00
Chris Hill-Scott
de68d720c7 Make all services for an organisation available to platform admin users 2019-03-22 14:23:25 +00:00
Chris Hill-Scott
eaa7af8692 Make navigating organisations a bit easier 2019-03-22 14:23:25 +00:00
Chris Hill-Scott
936883bf7b Allow editing of an organisation’s details
Adds a user interface for updating all the columns added in
https://github.com/alphagov/notifications-api/pull/2368

Sorry for the mega commit 😓
2019-03-22 14:23:24 +00:00
Pea (Malgorzata Tyczynska)
307e959fd6 Merge pull request #2862 from alphagov/show-templates-across-user-folders
When replying to inbound sms show templates in all user's folders
2019-03-22 14:15:13 +00:00
Pea Tyczynska
0743a68e09 Reflect template folder structure on inbound conversation reply page 2019-03-21 16:06:47 +00:00
karlchillmaid
358b5054ad Correct typo and remove sub-heading
Correct typo in line 39

Remove sub-heading because it's probably not needed on the Letter validation preview page
2019-03-21 10:28:18 +00:00
Rebecca Law
42e63667f7 Updated copy on the page.
Added unit tests.
Added error when file is too big.
2019-03-20 11:31:29 +00:00