From 5b868ff2684e896be94af31629efb1bb76d4f4be Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Tue, 4 Feb 2020 14:44:19 +0000 Subject: [PATCH 1/2] remove api keys from codebase these are just used for tests so don't need to look like real api keys. --- app/templates/views/styleguide.html | 2 +- tests/javascripts/apiKey.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/views/styleguide.html b/app/templates/views/styleguide.html index 83570143b..430ffb399 100644 --- a/app/templates/views/styleguide.html +++ b/app/templates/views/styleguide.html @@ -189,7 +189,7 @@

API key

- {{ api_key('d30512af92e1386d63b90e5973b49a10') }} + {{ api_key('00000000-0000-0000-0000-000000000000') }}

Formatted list

diff --git a/tests/javascripts/apiKey.test.js b/tests/javascripts/apiKey.test.js index 3b31cf5f9..b8b5ce6fa 100644 --- a/tests/javascripts/apiKey.test.js +++ b/tests/javascripts/apiKey.test.js @@ -17,7 +17,7 @@ describe('API key', () => { beforeEach(() => { - apiKey = 'admin-service-6658542f-0cad-491f-bec8-ab8457700ead-53c0c274-8e83-48f1-8448-598657bb39af'; + apiKey = '00000000-0000-0000-0000-000000000000'; thing = 'API key'; // mock sticky JS From 4eeddb40f8366390581f51cab6d061a219184bf6 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Tue, 4 Feb 2020 17:16:58 +0000 Subject: [PATCH 2/2] bump reqs --- requirements-app.txt | 4 ++-- requirements.txt | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements-app.txt b/requirements-app.txt index bde474e77..b7f913e18 100644 --- a/requirements-app.txt +++ b/requirements-app.txt @@ -13,9 +13,9 @@ pyexcel-xls==0.5.8 pyexcel-xlsx==0.5.8 pyexcel-ods3==0.5.3 pytz==2019.3 -gunicorn==19.7.1 # pyup: ignore, >19.8 breaks eventlet patching +gunicorn==20.0.4 eventlet==0.25.1 -notifications-python-client==5.5.0 +notifications-python-client==5.5.1 # PaaS awscli-cwlogs>=1.4,<1.5 diff --git a/requirements.txt b/requirements.txt index c4d3fdf2e..38b8b1fd7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,9 +15,9 @@ pyexcel-xls==0.5.8 pyexcel-xlsx==0.5.8 pyexcel-ods3==0.5.3 pytz==2019.3 -gunicorn==19.7.1 # pyup: ignore, >19.8 breaks eventlet patching +gunicorn==20.0.4 eventlet==0.25.1 -notifications-python-client==5.5.0 +notifications-python-client==5.5.1 # PaaS awscli-cwlogs>=1.4,<1.5 @@ -46,10 +46,10 @@ future==0.18.2 greenlet==0.4.15 idna==2.8 jdcal==1.4.1 -Jinja2==2.11.0 +Jinja2==2.11.1 jmespath==0.9.4 lml==0.0.9 -lxml==4.4.2 +lxml==4.5.0 MarkupSafe==1.1.1 mistune==0.8.4 monotonic==1.5 @@ -63,7 +63,7 @@ PyPDF2==1.26.0 python-dateutil==2.8.1 python-json-logger==0.1.11 PyYAML==5.2 -redis==3.3.11 +redis==3.4.1 requests==2.22.0 rsa==3.4.2 s3transfer==0.3.2