Tom Byers
b8c5ab5e38
Handle overlaps in scroll areas on focus events
...
When focus changes in scroll areas, check the
current focused element isn't overlapped by sticky
elements in the area.
If there are overlaps, mimic what browsers do if
focus moves outside the viewport and scroll to
move the focused element into view.
2019-03-18 11:25:26 +00:00
Tom Byers
b13bc158ac
Add object to manage scroll areas for stickys
2019-03-18 11:25:26 +00:00
Tom Byers
d0aee7887b
Allow setting of scroll area explicitly
...
Defaults to scroll area being the parent element
of the sticky element, if not set.
2019-03-18 11:25:25 +00:00
Katie Smith
03c1f27947
Merge pull request #2846 from alphagov/change-permissions-data-format
...
Change permissions data format
2019-03-18 10:49:47 +00:00
Chris Hill-Scott
906d0cbef8
Merge pull request #2852 from alphagov/camden.gov.uk
...
Mark agreement signed by Camden Council
2019-03-18 10:43:56 +00:00
Chris Hill-Scott
3bbbd6a9e0
Merge pull request #2849 from alphagov/warrington
...
Updating Warrington with contract signed
2019-03-18 10:43:49 +00:00
Chris Hill-Scott
c034858340
Mark agreement signed by Camden Council
2019-03-18 10:24:25 +00:00
Pete Herlihy
dcc8e3c5d2
Added Gedling Council to signed domains list
2019-03-15 15:12:24 +00:00
Pete Herlihy
6d8a70da51
Updating Warrington with contract signed
2019-03-15 14:59:46 +00:00
Rebecca Law
4fdb813679
Merge pull request #2848 from alphagov/add-caa.co.uk
...
Add caa.co.uk
2019-03-15 12:31:14 +00:00
Rebecca Law
cbc854ff9d
Add caa.co.uk
2019-03-15 11:52:24 +00:00
Katie Smith
d3c256e80a
Change format of data sent to api when adding user to service
...
The endpoint for adding a user to a service in api will now deal with
both user permissions and a user's folder permissions, so this changes
the format of the data we pass through.
2019-03-14 13:36:14 +00:00
Katie Smith
9fbe64bbd7
Allow InvitedUser to be initialised with folder_permissions
...
The `folder_permissions` property has no effect and is not used yet, but
it needs to be added before we add a `folder_permissions` column to the
`InvitedUser` model in notifications-api. This is because we initialize
the InvitedUser class with the response from notifications-api.
2019-03-14 13:36:00 +00:00
Pea (Malgorzata Tyczynska)
d5a16195d9
Merge pull request #2845 from alphagov/invite-auth-bug
...
Fix choosing auth type when inviting new user
2019-03-14 13:05:40 +00:00
Pea Tyczynska
a9be6015dc
Test if auth type can be chosen while inviting user
2019-03-12 16:53:46 +00:00
Pea Tyczynska
5aa72daf9b
Fix bug
2019-03-12 11:41:52 +00:00
Pea (Malgorzata Tyczynska)
2bc6792c5a
Merge pull request #2823 from alphagov/hide-folders-when-no-permissions
...
Only show folders that user has permission to see
2019-03-11 16:26:56 +00:00
Pea Tyczynska
577e25bd52
Explain the workings of get_user_template_folders
2019-03-11 14:30:50 +00:00
Pea Tyczynska
347955a378
Make sure that only templates inside visible folders are considered
...
When filtering by template type we should ignore any templates that
are inside folders user does not have permission for. Otherwise the
parent folder can show up as empty instead of not showing up at
all. This adds check for user_permissions to is_folder_visible on
the service model in admin.
2019-03-11 14:30:50 +00:00
Pea Tyczynska
33c3b14feb
Test how user folder permissions work on the page
2019-03-11 14:30:50 +00:00
Alexey Bezhan
3d401ce856
Hide current folder templates if user doesn't have a folder permission
...
TemplateList gets a list of templates in a current folder separately,
so we need to make sure `service.get_templates` checks for the
appropriate user permission
2019-03-11 14:30:50 +00:00
Alexey Bezhan
70e6732255
Only display folders the user has permission for
...
This adds a filter by user permissions to the list of template folders
displayed in:
* the 'choose a template page'
* "Move to" form to choose a destination folder
* "Copy an existing template" selection form
2019-03-11 14:30:50 +00:00
Alexey Bezhan
6638a0aecb
Add user_id argument to TemplateList to allow filtering folders by user
...
Switches TemplateList to use get_user_template_folders by setting the
user_id.
2019-03-11 14:30:50 +00:00
Alexey Bezhan
80bfd8e347
Add space around folder name separator when flattening folder path
2019-03-11 14:30:49 +00:00
Alexey Bezhan
1fb7a2515f
Return all templates for the user if the folder permissions flag is off
...
Putting the permission check in the get_user_template_folders allows
us to replace `all_template_folders` usage with the new method without
having to worry about the temporary service permission flag.
2019-03-11 14:30:49 +00:00
Pea Tyczynska
de237e9e6f
Test that folders are filtered based on user permission at service level
2019-03-11 14:30:49 +00:00
Katie Smith
1f6ca7c480
Merge pull request #2836 from alphagov/delete-unused-functions
...
Delete unused functions and their tests
2019-03-11 10:34:35 +00:00
Pete Herlihy
f437d222ff
Merge pull request #2842 from alphagov/lewishamhomes.org.uk
...
Adding lewishamhomes.org.uk to the list of email domains
2019-03-11 10:31:16 +00:00
Katie Smith
e4edddbeab
Delete unused functions and their tests
2019-03-11 10:27:38 +00:00
Pete Herlihy
9eb7e7d176
Adding lewishamhomes.org.uk to the list of email domains
2019-03-11 10:10:23 +00:00
Chris Hill-Scott
99edd15a94
Merge pull request #2839 from alphagov/680-services
...
680 services ad 215 organisations
2019-03-08 16:00:10 +00:00
Pete Herlihy
0a9051f4b6
And one more late breaker.... ;)
2019-03-08 15:33:20 +00:00
Pete Herlihy
f91a7792cb
680 services ad 215 organisations
2019-03-08 15:30:17 +00:00
Chris Hill-Scott
5dfd6a57ea
Merge pull request #2838 from alphagov/fix-extra-go-live-task-logic
...
Fix the logic about showing extra task list items
2019-03-08 15:27:15 +00:00
Chris Hill-Scott
1af844c95f
Fix the logic about showing extra task list items
...
It should be:
- if they have said they are going to send by a certain channel, show
the extra required task(s) for that channel
- if they haven’t said, infer from which templates they have
2019-03-08 15:21:41 +00:00
Chris Hill-Scott
d1844aac33
Merge pull request #2820 from alphagov/tabular-number-entry
...
Use tabular font for numeric fields
2019-03-08 13:58:42 +00:00
Chris Hill-Scott
cd59919ad1
Merge pull request #2827 from alphagov/depend-on-service-volumes
...
When going live, make reply-to address and text message sender dependent on estimated sending volumes
2019-03-08 13:56:49 +00:00
Pea Tyczynska
87fb3944ce
Get template folders visible to the current user
...
get_template_folders can filter out folders invisible to a user
2019-03-07 16:21:34 +00:00
Chris Hill-Scott
97335a11ff
Merge pull request #2831 from alphagov/fix-duplicate-hint-in-list
...
Fix hint text for list entry being rendered twice
2019-03-07 14:07:49 +00:00
Chris Hill-Scott
aca3a2086f
Merge pull request #2835 from alphagov/birminghamcc
...
Birminghamcc
2019-03-07 10:13:03 +00:00
Pete Herlihy
b6c51d6863
Adding Birmingham CC to the list of signed contracts
2019-03-07 10:04:23 +00:00
Pete Herlihy
725dea2da0
Adding Birmingham CC to the list of signed contracts
2019-03-07 10:04:01 +00:00
Chris Hill-Scott
0c1996e82b
Merge pull request #2833 from alphagov/cheshirewestandchester.gov.uk
...
Mark agreement signed by Cheshire West and Chester Council
2019-03-07 09:31:24 +00:00
Chris Hill-Scott
1c59438072
Merge pull request #2834 from alphagov/torfaen.gov.uk
...
Mark agreement signed by Torfaen County Borough Council
2019-03-07 09:31:07 +00:00
Chris Hill-Scott
710ce46812
Mark agreement signed by Torfaen County Borough Council
2019-03-07 09:20:37 +00:00
karlchillmaid
a33c1932f8
Merge pull request #2822 from alphagov/privacy-updates
...
Update privacy statement
2019-03-07 09:02:23 +00:00
Chris Hill-Scott
e45eb718a9
Mark agreement signed by Cheshire West and Chester Council
2019-03-06 16:34:10 +00:00
Chris Hill-Scott
b8888aa408
Fix hint text for list entry being rendered twice
...
The better place for it, semantically, is inside the legend.
2019-03-06 15:35:24 +00:00
karlchillmaid
eaad921acb
Update date
...
Update date
2019-03-05 14:41:43 +00:00
Rebecca Law
2916a3fea2
Merge pull request #2819 from alphagov/edit-folder-permissions
...
Edit user folder permissions
2019-03-05 12:08:40 +00:00