Chris Hill-Scott
202c9aea62
Hide status for individual letters
...
The status for each letter in a job will be the same for every single
letter (at least until we start dealing with returns).
It’s redundant to show this information over and over again. This commit
removes it.
2017-07-18 10:37:54 +01:00
Chris Hill-Scott
a282850a0c
Allow get template fixture to accept version
...
The other template fixtures do, because the real API call does, it was
omitted from the letter equivalent.
2017-07-18 10:37:54 +01:00
Chris Hill-Scott
9a81489066
Merge pull request #1362 from alphagov/letter-delivery-estimates
...
Add function to estimate letter delivery date
2017-07-18 09:44:56 +01:00
Chris Hill-Scott
5b4a15495e
Fix remove button keyboard focus on whitelist
...
Replicates @pcraig3’s work here:
https://github.com/alphagov/digitalmarketplace-frontend-toolkit/pull/333
2017-07-17 09:55:11 +01:00
Chris Hill-Scott
109b41a430
Fix broken link in support process
...
The idea is if you decide your problem isn’t such an emergency after
all, we direct you to the form where you can report it as such. This
link wasn’t working because it didn’t understand `False` to mean ‘not
severe’. Only ‘no’ means not severe.
The result was that users got sent in a bit of a convoluted loop
where they were asked again if their problem was an emergency or not.
Testing this by making sure that both:
- the URL in the link is what we expected
- when visited it gives the page title we expect
Because even if we had had the first test only, it wouldn’t have caught
this bug.
2017-07-15 07:23:22 +01:00
Chris Hill-Scott
e20483c462
Add print timings to letter timings
...
It will also be useful to know (especially for the API):
- when a letter was printed
- if it’s been printed or not
This commit:
- adds code to calculate these two pieces of information
- refactors the function to return a `namedtuple` – a tuple of two items
was manageable, but with four items it was getting hard to know what
each one meant – this lets us label each piece of information that is
being returned
2017-07-14 20:09:23 +01:00
Chris Hill-Scott
6ceffd02c4
Reduce spacing before button on invite page
...
It was too much, the button looked adrift.
2017-07-13 15:55:32 +01:00
Chris Hill-Scott
a6b3ae0965
Merge pull request #1360 from alphagov/ajax-conversation-page
...
Make conversation and inbox pages update using AJAX
2017-07-13 15:18:33 +01:00
Chris Hill-Scott
a6eb18fbf3
Merge pull request #1366 from alphagov/roadmap-july
...
Updates for July for the Roadmap
2017-07-13 15:01:52 +01:00
Chris Hill-Scott
49494d2751
Merge pull request #1365 from alphagov/65-67
...
65-68
2017-07-13 15:01:46 +01:00
Chris Hill-Scott
cfbe767dff
Test permissions on the inbox updates
2017-07-13 14:58:24 +01:00
Pete Herlihy
44a6221060
Updates for July for the Roadmap
2017-07-13 12:22:03 +01:00
Pete Herlihy
b7a28eff21
Adding HO Right to work check - 68
2017-07-13 11:54:48 +01:00
Chris Hill-Scott
5f6351762a
Make inbox page update using AJAX
...
Fairly self-explanatory. Uses the same pattern of breaking things up
into functions as the jobs page.
2017-07-12 17:10:27 +01:00
Chris Hill-Scott
dc3f26a646
Make conversation page update using AJAX
...
Fairly self-explanatory. Uses the same pattern of breaking things up
into functions as the jobs page.
2017-07-12 17:09:33 +01:00
Chris Hill-Scott
7244bbf849
Merge pull request #1363 from alphagov/footer-fix
...
Fix alignment and spacing of page footer on mobile
2017-07-12 16:07:23 +01:00
Chris Hill-Scott
dca0fce1e4
Merge pull request #1361 from alphagov/fix-permissions-inbox
...
Fix wrong permissions on dashboard pages
2017-07-12 16:07:13 +01:00
Chris Hill-Scott
5fea26c7f7
Fix alignment and spacing of page footer on mobile
...
SASS pinched from here:
696ce451a7/source/pay-product-page/stylesheets/modules/_footer-categories.scss
2017-07-12 15:23:09 +01:00
Chris Hill-Scott
c1a5cad0d6
Add function to estimate letter delivery date
...
Letter delivery depends on:
- how long it takes to print
- how long it takes to post
Both of these process are impacted by weekends, because people don’t
work on weekends.
It also depends on if you submit your letter before or after 5pm,
because that’s the cut off time for getting a letter printed on a given
day – ie after 5pm on Monday is effectively the same as Tuesday and so
on.
But I reckon all our users need to know is roughly how long it will take
until the letter turns up on the user’s doorstep. So this commit adds
a function to calculate this. Doesn’t surface it on the front end _yet_.
2017-07-12 15:11:39 +01:00
Chris Hill-Scott
be159e2a8a
Rename imports to reflect new names
...
These were changed in version 0.5.0 of pyexcel, when they changed how
plugins are loaded – see:
a12cef0bf4/CHANGELOG.rst (050---19062017)
2017-07-12 09:19:10 +01:00
pyup-bot
0d867217bd
Update freezegun from 0.3.7 to 0.3.9
2017-07-12 09:19:09 +01:00
pyup-bot
8551bc15b2
Update beautifulsoup4 from 4.5.1 to 4.6.0
2017-07-12 09:19:09 +01:00
pyup-bot
3167b15f2a
Update moto from 0.4.25 to 1.0.1
2017-07-12 09:19:09 +01:00
pyup-bot
4c047e1029
Update pytest-xdist from 1.14 to 1.18.1
2017-07-12 09:19:09 +01:00
pyup-bot
15336322ae
Update pytest-cov from 2.3.1 to 2.5.1
2017-07-12 09:19:09 +01:00
pyup-bot
10c33e1cd7
Update pytest-mock from 1.2 to 1.6.0
2017-07-12 09:19:08 +01:00
pyup-bot
3a0024d48b
Update pytest from 3.0.2 to 3.1.3
2017-07-12 09:19:08 +01:00
pyup-bot
92739c3acb
Pin notifications-python-client to latest version 4.3.1
2017-07-12 09:19:08 +01:00
pyup-bot
a5db576616
Update whitenoise from 1.0.6 to 3.3.0
2017-07-12 09:19:08 +01:00
pyup-bot
38524bc504
Update gunicorn from 19.6.0 to 19.7.1
2017-07-12 09:19:08 +01:00
pyup-bot
b2d77fb795
Update pytz from 2016.4 to 2017.2
2017-07-12 09:19:07 +01:00
pyup-bot
f5bc2e57e7
Update pyexcel-ods3 from 0.1.1 to 0.4.0
2017-07-12 09:19:07 +01:00
pyup-bot
0388fae20e
Update pyexcel-xlsx from 0.1.0 to 0.4.0
2017-07-12 09:19:07 +01:00
pyup-bot
7d0aad45dd
Update pyexcel-xls from 0.1.0 to 0.4.0
2017-07-12 09:19:07 +01:00
pyup-bot
4a3c0fb8c7
Update pyexcel-io from 0.1.0 to 0.4.2
2017-07-12 09:19:07 +01:00
pyup-bot
1cef7325ce
Update pyexcel from 0.2.1 to 0.5.0
2017-07-12 09:19:06 +01:00
pyup-bot
1565214dee
Update lxml from 3.6.0 to 3.8.0
2017-07-12 09:19:06 +01:00
pyup-bot
b2fc4e1711
Update py-gfm from 0.1.2 to 0.1.3
2017-07-12 09:19:06 +01:00
pyup-bot
26d766f152
Update credstash from 1.8.0 to 1.13.2
2017-07-12 09:18:11 +01:00
pyup-bot
77ba0703fe
Update flask-login from 0.3.2 to 0.4.0
2017-07-12 09:18:11 +01:00
pyup-bot
a42cdca038
Update flask-wtf from 0.11 to 0.14.2
2017-07-12 09:18:11 +01:00
pyup-bot
5529a14e32
Update flask from 0.10.1 to 0.12.2
2017-07-12 09:18:10 +01:00
pyup-bot
81e00e248f
Update ago from 0.0.8 to 0.0.9
2017-07-12 09:18:10 +01:00
pyup-bot
d59a69bfe1
Update cffi from 1.9.1 to 1.10.0
2017-07-12 09:18:10 +01:00
Chris Hill-Scott
7664ffb998
Merge pull request #1358 from alphagov/remove-pygments
...
Remove unused dependency
2017-07-12 09:10:29 +01:00
Chris Hill-Scott
037970c48c
Fix wrong permissions on dashboard pages
...
Anyone with access to a service should be able to see:
- monthly breakdown (non financial)
- incoming messages
Adds tests to check the same.
2017-07-12 09:07:14 +01:00
kentsanggds
18e7f3eccb
Merge pull request #1346 from alphagov/allow-email-and-sms-to-be-disabled
...
Allow email and sms to be disabled
2017-07-10 12:43:17 +01:00
Ken Tsang
bdf3f20f4c
Fixed tests
2017-07-10 12:25:01 +01:00
Ken Tsang
e3e6376c68
Updated action_blocked text
2017-07-10 12:12:41 +01:00
Pete Herlihy
fc203653d1
65-67 and 32-33 for SSRO and Digital Framework Management
2017-07-10 10:47:54 +01:00