Commit Graph

7698 Commits

Author SHA1 Message Date
Katie Smith
bf4eae8b61 Merge pull request #2933 from alphagov/bump-utils
Bump utils to 31.2.5
2019-04-26 10:10:45 +01:00
Katie Smith
b9648d3129 Bump utils to 31.2.5 2019-04-25 11:13:48 +01:00
Tom Byers
b77b427ed8 Merge pull request #2930 from alphagov/fix-gulp-watch
Make watch task work with new Gulp API
2019-04-24 14:58:59 +01:00
Tom Byers
2eab320fe3 Merge pull request #2912 from alphagov/add-jest-framework
Add Jest framework for testing JavaScript
2019-04-24 14:02:09 +01:00
Tom Byers
47be667590 Make watch task work with new Gulp API
Gulp changed its API in version 4.0. The watch
task was not updated to the new format when we
moved to this version.

This moves the watch task to the new format.
2019-04-24 13:27:26 +01:00
Chris Hill-Scott
6d9554c395 Merge pull request #2929 from alphagov/remove-unused-method
Remove unused method
2019-04-24 13:23:23 +01:00
Chris Hill-Scott
f726551714 Remove unused method
We use `.get_free_sms_fragment_limit_for_year()` instead, which
functionally is the same thing (has a default argument of `year=None`).
2019-04-24 13:10:41 +01:00
Tom Byers
b11ab2c384 Remove peer dependencies
Peer dependencies are defined by projects intended
to be used by other projects (ie, libraries).

This doesn't apply to this project so removing the
peer dependencies field.

I'm also not sure why the `request` dependency was
there as it isn't a peer dependency of any of the
packages that use it in this project's dependency
tree.
2019-04-24 11:26:55 +01:00
Tom Byers
1f948cc0b4 Run Jest along with other JS tests 2019-04-24 10:46:55 +01:00
Tom Byers
00c1ebf02a Add test for autofocus.js
One of the simplest of our JavaScript files to
test how difficult this is.

Answer is not too bad and includes the file
needing a DOM to operate on and jQuery in the
global scope.
2019-04-24 10:46:55 +01:00
Tom Byers
2e558744a5 Add Jest and peer dependencies 2019-04-24 10:46:55 +01:00
Chris Hill-Scott
4ba1015c64 Merge pull request #2928 from alphagov/make-live-request-no-org
Don’t error if service without an organisation requests to go live
2019-04-23 16:55:42 +01:00
Chris Hill-Scott
9c846979be Don’t error if service without an organisation requests to go live
It was trying to look at `organisation.domains`, which caused an
`AttributeError` if there wasn’t an organisation.
2019-04-23 16:48:15 +01:00
Chris Hill-Scott
55a3a244d7 Merge pull request #2917 from alphagov/record-user-that-requested-to-go-live
Update service with the user that requested to go live.
2019-04-23 15:46:50 +01:00
Chris Hill-Scott
9f1bc285fa Merge branch 'master' into record-user-that-requested-to-go-live 2019-04-23 15:38:44 +01:00
Chris Hill-Scott
4b14ab748f Merge pull request #2927 from alphagov/officeforstudents.org.uk
Added officeforstudents.org.uk to email domains
2019-04-23 11:21:18 +01:00
Pete Herlihy
fc24509fd2 Added officeforstudents.org.uk to email domains 2019-04-23 11:12:14 +01:00
Leo Hemsted
28919742da Merge pull request #2925 from alphagov/manifest-quoting
ensure env vars in manifest are quoted
2019-04-18 15:23:12 +01:00
Leo Hemsted
9f10cd0b82 ensure env vars in manifest are quoted
if they're not defined in the credentials file, they should be an empty
string, rather than null.
2019-04-18 15:14:32 +01:00
Leo Hemsted
b5972fc2b9 Merge pull request #2924 from alphagov/cf-app
default CF_APP to notify-admin
2019-04-18 15:00:14 +01:00
Leo Hemsted
4b386d36ef default CF_APP to notify-admin
(it's overriden in the calls to generate-manifest for the prototypes)
2019-04-18 14:48:23 +01:00
Leo Hemsted
c0909db4b2 Merge pull request #2909 from alphagov/single-app-manifest
move manifest to single jinja template
2019-04-18 13:52:36 +01:00
Leo Hemsted
d96f76585c Merge pull request #2910 from alphagov/unpin-runtime
unpin patch version of python
2019-04-18 13:52:25 +01:00
Chris Hill-Scott
7beea0b2ac Merge pull request #2922 from alphagov/features-footer-second-pass
Features and footer updates
2019-04-18 13:17:16 +01:00
Chris Hill-Scott
aa16e1f2ce Add tests to make sure static pages render
This will catch if we accidentally break them by adding a `url_for` that
references a non-existant endpoint or something like that.
2019-04-18 13:06:39 +01:00
karlchillmaid
ba4bc5a5aa Add and update links 2019-04-18 11:34:58 +01:00
karlchillmaid
67a75bedf6 Update content 2019-04-18 11:29:57 +01:00
karlchillmaid
96772374a4 Update link text 2019-04-18 11:26:57 +01:00
karlchillmaid
33ec4228db Update bulk sending, postage and upload 2019-04-18 11:22:31 +01:00
Chris Hill-Scott
156ae9931f Merge pull request #2913 from alphagov/pyup-scheduled-update-2019-04-15
Scheduled weekly dependency update for week 15
2019-04-18 11:21:47 +01:00
Chris Hill-Scott
9d32d40ee4 Merge pull request #2908 from alphagov/allow-invited-users-to-count
Let inviting a user complete the go live checklist
2019-04-18 11:17:56 +01:00
karlchillmaid
30cff547bf Update introduction
Update introduction
2019-04-18 10:59:18 +01:00
karlchillmaid
17a3abf6a6 Reformat API documentation link 2019-04-18 10:56:45 +01:00
karlchillmaid
39b84e63c3 Reformat API documentation link 2019-04-18 10:55:22 +01:00
Katie Smith
aa90b0699f Merge pull request #2921 from alphagov/add-metropolitan-thames-valley
Add Metropolitan Thames Valley to email domains
2019-04-18 09:26:06 +01:00
Katie Smith
a70ab1bd9d Add Metropolitan Thames Valley to email domains 2019-04-17 17:19:07 +01:00
Tom Byers
2aaf38da31 Merge pull request #2920 from alphagov/remove-use-of-spread-operator
Remove use of spread operator
2019-04-17 14:45:26 +01:00
Tom Byers
b3d73030ee Remove use of spread operator
This is a temporary fix for the fact that the
babel plugin for the spread operator calls a
function called `_iterableToArray` which assumes
the JavaScript runtime supports Symbols.

IE11 doesn't support Symbols so this causes an
error when it runs our JS.

This swaps out use of the spread operator for a
use of
[apply](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply)
to unpack the `arguments` object.

Related issue on babel:

https://github.com/babel/babel/issues/7597
2019-04-17 12:40:49 +01:00
karlchillmaid
66aba1444a Merge pull request #2919 from alphagov/features-footer-corrections
Corrections to new features and footer content
2019-04-16 17:08:59 +01:00
Chris Hill-Scott
b895bbe4a4 Merge pull request #2901 from alphagov/delete-domains-munger
Delete domains.py
2019-04-16 16:59:16 +01:00
Chris Hill-Scott
39c4740d03 Fix links to support 2019-04-16 16:51:28 +01:00
karlchillmaid
50747d190e Correct apostrophes 2019-04-16 16:49:36 +01:00
karlchillmaid
d37a3557c4 Correct apostrophe, add VAT 2019-04-16 16:47:52 +01:00
karlchillmaid
43f23046d5 Correct apostrophe 2019-04-16 16:46:44 +01:00
karlchillmaid
fccab8103c Correct link, apostrophe and contraction 2019-04-16 16:44:35 +01:00
Chris Hill-Scott
ad7d5c964f Merge pull request #2918 from alphagov/remove-pricing-org-model
Remove pricing stuff from organisation model
2019-04-16 15:56:55 +01:00
Chris Hill-Scott
b48393fbb6 Freeze requirements 2019-04-16 15:50:11 +01:00
pyup-bot
01ab517a31 Update pytz from 2018.9 to 2019.1 2019-04-16 15:47:53 +01:00
pyup-bot
386cdc5eaf Update pyexcel-io from 0.5.16 to 0.5.17 2019-04-16 15:47:53 +01:00
Chris Hill-Scott
3e969280fc Remove pricing stuff from organisation model
We’re not linking to the agreement from the pricing page any more, so we don’t need to talk about whether an organisation has signed it or not.
2019-04-16 15:45:36 +01:00