Minor fixes

Improve how we link to external fonts, change csp generating code, fix
width of pagination links
This commit is contained in:
Jonny Barnes 2020-06-25 20:50:32 +01:00
parent c4af4b9984
commit 868efc36f6
8 changed files with 164 additions and 150 deletions

View file

@ -64,3 +64,5 @@ APP_LOG=daily
SECURE_SESSION_COOKIE=true SECURE_SESSION_COOKIE=true
SLACK_WEBHOOK_URL= SLACK_WEBHOOK_URL=
FONT_LINK=

View file

@ -22,48 +22,19 @@ class CSPHeader
return $next($request) return $next($request)
->header( ->header(
'Content-Security-Policy', 'Content-Security-Policy',
str_replace("\\\n", '', "default-src 'self'; \ "default-src 'self'; " .
script-src 'self' 'unsafe-inline' 'unsafe-eval' \ "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://api.mapbox.com https://api.tiles.mapbox.com blob:; " .
https://api.mapbox.com \ "style-src 'self' 'unsafe-inline' https://api.mapbox.com https://api.tiles.mapbox.com cloud.typography.com jonnybarnes.uk; " .
https://api.tiles.mapbox.com \ "img-src 'self' data: blob: https://pbs.twimg.com https://api.mapbox.com https://*.tiles.mapbox.com https://jbuk-media.s3-eu-west-1.amazonaws.com https://jbuk-media-dev.s3-eu-west-1.amazonaws.com https://secure.gravatar.com https://graph.facebook.com *.fbcdn.net https://*.cdninstagram.com https://*.4sqi.net https://upload.wikimedia.org; " .
https://analytics.jmb.lv \ "font-src 'self' data:; " .
https://fathom.jonnybarnes.uk \ "connect-src 'self' https://api.mapbox.com https://*.tiles.mapbox.com https://events.mapbox.com data: blob:; " .
blob:; \ "worker-src 'self' blob:; " .
style-src 'self' 'unsafe-inline' \ "frame-src 'self' https://www.youtube.com blob:; " .
https://api.mapbox.com \ "child-src blob:; " .
https://api.tiles.mapbox.com \ "upgrade-insecure-requests; " .
cloud.typography.com; \ "block-all-mixed-content; " .
img-src 'self' data: blob: \ "report-to csp-endpoint; " .
https://pbs.twimg.com \ "report-uri https://jonnybarnes.report-uri.io/r/default/csp/enforce;"
https://api.mapbox.com \
https://*.tiles.mapbox.com \
https://jbuk-media.s3-eu-west-1.amazonaws.com \
https://jbuk-media-dev.s3-eu-west-1.amazonaws.com \
https://secure.gravatar.com \
https://graph.facebook.com *.fbcdn.net \
https://*.cdninstagram.com \
analytics.jmb.lv \
https://*.4sqi.net \
https://upload.wikimedia.org \
p.typekit.net; \
font-src 'self' \
https://fonts.gstatic.com \
use.typekit.net \
fonts.typekit.net \
data:; \
connect-src 'self' \
https://api.mapbox.com \
https://*.tiles.mapbox.com \
https://events.mapbox.com \
performance.typekit.net \
data: blob:; \
worker-src 'self' blob:; \
frame-src 'self' https://www.youtube.com blob:; \
child-src blob:; \
upgrade-insecure-requests; \
block-all-mixed-content; \
report-to csp-endpoint; \
report-uri https://jonnybarnes.report-uri.io/r/default/csp/enforce;")
)->header( )->header(
'Report-To', 'Report-To',
'{' . '{' .

233
composer.lock generated
View file

@ -8,16 +8,16 @@
"packages": [ "packages": [
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.142.6", "version": "3.143.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "09a2e1ef4e684c9636d27029e1b163d90c4c166a" "reference": "95787e2fa023738835bc2dfceef46b8ccbcdb4ad"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/09a2e1ef4e684c9636d27029e1b163d90c4c166a", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/95787e2fa023738835bc2dfceef46b8ccbcdb4ad",
"reference": "09a2e1ef4e684c9636d27029e1b163d90c4c166a", "reference": "95787e2fa023738835bc2dfceef46b8ccbcdb4ad",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -92,9 +92,9 @@
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.142.6" "source": "https://github.com/aws/aws-sdk-php/tree/3.143.1"
}, },
"time": "2020-06-19T18:20:04+00:00" "time": "2020-06-25T18:46:20+00:00"
}, },
{ {
"name": "bosnadev/database", "name": "bosnadev/database",
@ -1123,16 +1123,16 @@
}, },
{ {
"name": "fideloper/proxy", "name": "fideloper/proxy",
"version": "4.3.0", "version": "4.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fideloper/TrustedProxy.git", "url": "https://github.com/fideloper/TrustedProxy.git",
"reference": "ec38ad69ee378a1eec04fb0e417a97cfaf7ed11a" "reference": "9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/ec38ad69ee378a1eec04fb0e417a97cfaf7ed11a", "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8",
"reference": "ec38ad69ee378a1eec04fb0e417a97cfaf7ed11a", "reference": "9beebf48a1c344ed67c1d36bb1b8709db7c3c1a8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1175,9 +1175,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/fideloper/TrustedProxy/issues", "issues": "https://github.com/fideloper/TrustedProxy/issues",
"source": "https://github.com/fideloper/TrustedProxy/tree/master" "source": "https://github.com/fideloper/TrustedProxy/tree/4.4.0"
}, },
"time": "2020-02-22T01:51:47+00:00" "time": "2020-06-23T01:36:47+00:00"
}, },
{ {
"name": "geo-io/interface", "name": "geo-io/interface",
@ -1777,6 +1777,7 @@
"require-dev": { "require-dev": {
"phpunit/phpunit": "~5.0" "phpunit/phpunit": "~5.0"
}, },
"default-branch": true,
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
@ -1922,16 +1923,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v7.16.1", "version": "v7.17.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "dc9cd8338d222dec2d9962553639e08c4585fa5b" "reference": "d16ff3a0a66d98e04163456b39c4b7302cf50a40"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/dc9cd8338d222dec2d9962553639e08c4585fa5b", "url": "https://api.github.com/repos/laravel/framework/zipball/d16ff3a0a66d98e04163456b39c4b7302cf50a40",
"reference": "dc9cd8338d222dec2d9962553639e08c4585fa5b", "reference": "d16ff3a0a66d98e04163456b39c4b7302cf50a40",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2079,7 +2080,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2020-06-16T14:31:25+00:00" "time": "2020-06-24T13:11:25+00:00"
}, },
{ {
"name": "laravel/horizon", "name": "laravel/horizon",
@ -2433,21 +2434,21 @@
}, },
{ {
"name": "league/commonmark", "name": "league/commonmark",
"version": "1.4.3", "version": "1.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/commonmark.git", "url": "https://github.com/thephpleague/commonmark.git",
"reference": "412639f7cfbc0b31ad2455b2fe965095f66ae505" "reference": "fc33ca12575e98e57cdce7d5f38b2ca5335714b3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/412639f7cfbc0b31ad2455b2fe965095f66ae505", "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/fc33ca12575e98e57cdce7d5f38b2ca5335714b3",
"reference": "412639f7cfbc0b31ad2455b2fe965095f66ae505", "reference": "fc33ca12575e98e57cdce7d5f38b2ca5335714b3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-mbstring": "*", "ext-mbstring": "*",
"php": "^7.1" "php": "^7.1 || ^8.0"
}, },
"conflict": { "conflict": {
"scrutinizer/ocular": "1.7.*" "scrutinizer/ocular": "1.7.*"
@ -2469,11 +2470,6 @@
"bin/commonmark" "bin/commonmark"
], ],
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"League\\CommonMark\\": "src" "League\\CommonMark\\": "src"
@ -2535,7 +2531,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-04T22:15:21+00:00" "time": "2020-06-21T20:50:13+00:00"
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
@ -5803,16 +5799,16 @@
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git", "url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9" "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9", "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
"reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9", "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5825,6 +5821,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5858,7 +5858,7 @@
"portable" "portable"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.17.0" "source": "https://github.com/symfony/polyfill-ctype/tree/v1.17.1"
}, },
"funding": [ "funding": [
{ {
@ -5874,20 +5874,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:14:59+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-iconv", "name": "symfony/polyfill-iconv",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-iconv.git", "url": "https://github.com/symfony/polyfill-iconv.git",
"reference": "c4de7601eefbf25f9d47190abe07f79fe0a27424" "reference": "ba6c9c18db36235b859cc29b8372d1c01298c035"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/c4de7601eefbf25f9d47190abe07f79fe0a27424", "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/ba6c9c18db36235b859cc29b8372d1c01298c035",
"reference": "c4de7601eefbf25f9d47190abe07f79fe0a27424", "reference": "ba6c9c18db36235b859cc29b8372d1c01298c035",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5900,6 +5900,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -5934,7 +5938,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-iconv/tree/v1.17.0" "source": "https://github.com/symfony/polyfill-iconv/tree/master"
}, },
"funding": [ "funding": [
{ {
@ -5950,20 +5954,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-grapheme", "name": "symfony/polyfill-intl-grapheme",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
"reference": "e094b0770f7833fdf257e6ba4775be4e258230b2" "reference": "6e4dbcf5e81eba86e36731f94fe56b1726835846"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e094b0770f7833fdf257e6ba4775be4e258230b2", "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/6e4dbcf5e81eba86e36731f94fe56b1726835846",
"reference": "e094b0770f7833fdf257e6ba4775be4e258230b2", "reference": "6e4dbcf5e81eba86e36731f94fe56b1726835846",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5976,6 +5980,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -6011,7 +6019,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.17.0" "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.17.1"
}, },
"funding": [ "funding": [
{ {
@ -6027,20 +6035,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-idn", "name": "symfony/polyfill-intl-idn",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git", "url": "https://github.com/symfony/polyfill-intl-idn.git",
"reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a" "reference": "a57f8161502549a742a63c09f0a604997bf47027"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/3bff59ea7047e925be6b7f2059d60af31bb46d6a", "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a57f8161502549a742a63c09f0a604997bf47027",
"reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a", "reference": "a57f8161502549a742a63c09f0a604997bf47027",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6055,6 +6063,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -6090,7 +6102,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-intl-idn/tree/master" "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.17.1"
}, },
"funding": [ "funding": [
{ {
@ -6106,20 +6118,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-intl-normalizer", "name": "symfony/polyfill-intl-normalizer",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
"reference": "1357b1d168eb7f68ad6a134838e46b0b159444a9" "reference": "40309d1700e8f72447bb9e7b54af756eeea35620"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/1357b1d168eb7f68ad6a134838e46b0b159444a9", "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/40309d1700e8f72447bb9e7b54af756eeea35620",
"reference": "1357b1d168eb7f68ad6a134838e46b0b159444a9", "reference": "40309d1700e8f72447bb9e7b54af756eeea35620",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6132,6 +6144,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -6170,7 +6186,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.17.0" "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/master"
}, },
"funding": [ "funding": [
{ {
@ -6186,20 +6202,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:14:59+00:00" "time": "2020-06-14T14:40:37+00:00"
}, },
{ {
"name": "symfony/polyfill-mbstring", "name": "symfony/polyfill-mbstring",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git", "url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "fa79b11539418b02fc5e1897267673ba2c19419c" "reference": "7110338d81ce1cbc3e273136e4574663627037a7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fa79b11539418b02fc5e1897267673ba2c19419c", "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7110338d81ce1cbc3e273136e4574663627037a7",
"reference": "fa79b11539418b02fc5e1897267673ba2c19419c", "reference": "7110338d81ce1cbc3e273136e4574663627037a7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6212,6 +6228,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -6246,7 +6266,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.17.0" "source": "https://github.com/symfony/polyfill-mbstring/tree/master"
}, },
"funding": [ "funding": [
{ {
@ -6262,7 +6282,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-php72", "name": "symfony/polyfill-php72",
@ -6338,16 +6358,16 @@
}, },
{ {
"name": "symfony/polyfill-php73", "name": "symfony/polyfill-php73",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-php73.git", "url": "https://github.com/symfony/polyfill-php73.git",
"reference": "a760d8964ff79ab9bf057613a5808284ec852ccc" "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a760d8964ff79ab9bf057613a5808284ec852ccc", "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fa0837fe02d617d31fbb25f990655861bb27bd1a",
"reference": "a760d8964ff79ab9bf057613a5808284ec852ccc", "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6357,6 +6377,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -6393,7 +6417,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-php73/tree/master" "source": "https://github.com/symfony/polyfill-php73/tree/v1.17.1"
}, },
"funding": [ "funding": [
{ {
@ -6409,20 +6433,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/polyfill-php80", "name": "symfony/polyfill-php80",
"version": "v1.17.0", "version": "v1.17.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-php80.git", "url": "https://github.com/symfony/polyfill-php80.git",
"reference": "5e30b2799bc1ad68f7feb62b60a73743589438dd" "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/5e30b2799bc1ad68f7feb62b60a73743589438dd", "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4a5b6bba3259902e386eb80dd1956181ee90b5b2",
"reference": "5e30b2799bc1ad68f7feb62b60a73743589438dd", "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6432,6 +6456,10 @@
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.17-dev" "dev-master": "1.17-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@ -6472,7 +6500,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-php80/tree/v1.17.0" "source": "https://github.com/symfony/polyfill-php80/tree/v1.17.1"
}, },
"funding": [ "funding": [
{ {
@ -6488,7 +6516,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-12T16:47:27+00:00" "time": "2020-06-06T08:46:27+00:00"
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
@ -7830,16 +7858,16 @@
}, },
{ {
"name": "composer/composer", "name": "composer/composer",
"version": "1.10.7", "version": "1.10.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/composer.git", "url": "https://github.com/composer/composer.git",
"reference": "956608ea4f7de9e58c53dfb019d85ae62b193c39" "reference": "56e0e094478f30935e9128552188355fa9712291"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/composer/zipball/956608ea4f7de9e58c53dfb019d85ae62b193c39", "url": "https://api.github.com/repos/composer/composer/zipball/56e0e094478f30935e9128552188355fa9712291",
"reference": "956608ea4f7de9e58c53dfb019d85ae62b193c39", "reference": "56e0e094478f30935e9128552188355fa9712291",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7858,12 +7886,11 @@
"symfony/process": "^2.7 || ^3.0 || ^4.0 || ^5.0" "symfony/process": "^2.7 || ^3.0 || ^4.0 || ^5.0"
}, },
"conflict": { "conflict": {
"symfony/console": "2.8.38", "symfony/console": "2.8.38"
"symfony/phpunit-bridge": "3.4.40"
}, },
"require-dev": { "require-dev": {
"phpspec/prophecy": "^1.10", "phpspec/prophecy": "^1.10",
"symfony/phpunit-bridge": "^3.4" "symfony/phpunit-bridge": "^4.2"
}, },
"suggest": { "suggest": {
"ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages",
@ -7910,7 +7937,7 @@
"support": { "support": {
"irc": "irc://irc.freenode.org/composer", "irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/composer/issues", "issues": "https://github.com/composer/composer/issues",
"source": "https://github.com/composer/composer/tree/1.10.7" "source": "https://github.com/composer/composer/tree/1.10.8"
}, },
"funding": [ "funding": [
{ {
@ -7926,7 +7953,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-06-03T08:03:56+00:00" "time": "2020-06-24T19:23:30+00:00"
}, },
{ {
"name": "composer/semver", "name": "composer/semver",
@ -9124,16 +9151,16 @@
}, },
{ {
"name": "ocramius/package-versions", "name": "ocramius/package-versions",
"version": "1.8.0", "version": "1.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Ocramius/PackageVersions.git", "url": "https://github.com/Ocramius/PackageVersions.git",
"reference": "421679846270a5772534828013a93be709fb13df" "reference": "94c9d42a466c57f91390cdd49c81313264f49d85"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/421679846270a5772534828013a93be709fb13df", "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/94c9d42a466c57f91390cdd49c81313264f49d85",
"reference": "421679846270a5772534828013a93be709fb13df", "reference": "94c9d42a466c57f91390cdd49c81313264f49d85",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -9145,7 +9172,7 @@
"doctrine/coding-standard": "^7.0.2", "doctrine/coding-standard": "^7.0.2",
"ext-zip": "^1.15.0", "ext-zip": "^1.15.0",
"infection/infection": "^0.15.3", "infection/infection": "^0.15.3",
"phpunit/phpunit": "^9.0.1", "phpunit/phpunit": "^9.1.1",
"vimeo/psalm": "^3.9.3" "vimeo/psalm": "^3.9.3"
}, },
"type": "composer-plugin", "type": "composer-plugin",
@ -9173,7 +9200,7 @@
"description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
"support": { "support": {
"issues": "https://github.com/Ocramius/PackageVersions/issues", "issues": "https://github.com/Ocramius/PackageVersions/issues",
"source": "https://github.com/Ocramius/PackageVersions/tree/1.8.0" "source": "https://github.com/Ocramius/PackageVersions/tree/1.9.0"
}, },
"funding": [ "funding": [
{ {
@ -9185,7 +9212,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-04-06T17:43:35+00:00" "time": "2020-06-22T14:15:44+00:00"
}, },
{ {
"name": "openlss/lib-array2xml", "name": "openlss/lib-array2xml",
@ -10022,16 +10049,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "9.2.3", "version": "9.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "c1b1d62095ef78427f112a7a1c1502d4607e3c00" "reference": "ad7cc5ec3ab2597b329880e30442d9054526023b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c1b1d62095ef78427f112a7a1c1502d4607e3c00", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ad7cc5ec3ab2597b329880e30442d9054526023b",
"reference": "c1b1d62095ef78427f112a7a1c1502d4607e3c00", "reference": "ad7cc5ec3ab2597b329880e30442d9054526023b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -10120,7 +10147,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-06-15T10:51:34+00:00" "time": "2020-06-22T07:10:55+00:00"
}, },
{ {
"name": "sebastian/code-unit", "name": "sebastian/code-unit",
@ -11202,16 +11229,16 @@
}, },
{ {
"name": "vimeo/psalm", "name": "vimeo/psalm",
"version": "3.11.6", "version": "3.12.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/vimeo/psalm.git", "url": "https://github.com/vimeo/psalm.git",
"reference": "7fc1f50f54bd6b174b1c43a37c1b0b151915d55c" "reference": "9b860214d58c48b5cbe99bdb17914d0eb723c9cd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/vimeo/psalm/zipball/7fc1f50f54bd6b174b1c43a37c1b0b151915d55c", "url": "https://api.github.com/repos/vimeo/psalm/zipball/9b860214d58c48b5cbe99bdb17914d0eb723c9cd",
"reference": "7fc1f50f54bd6b174b1c43a37c1b0b151915d55c", "reference": "9b860214d58c48b5cbe99bdb17914d0eb723c9cd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -11297,9 +11324,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/vimeo/psalm/issues", "issues": "https://github.com/vimeo/psalm/issues",
"source": "https://github.com/vimeo/psalm/tree/3.11.6" "source": "https://github.com/vimeo/psalm/tree/3.12.1"
}, },
"time": "2020-06-17T20:40:35+00:00" "time": "2020-06-23T00:24:34+00:00"
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",

View file

@ -156,6 +156,18 @@ return [
'cipher' => 'AES-256-CBC', 'cipher' => 'AES-256-CBC',
/*
|--------------------------------------------------------------------------
| Font Link
|--------------------------------------------------------------------------
|
| If you have a css link to Adobes Typekit or Hoefler&Cos Typography
| then specify the link here.
|
*/
'font_link' => env('FONT_LINK', null),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Autoloaded Service Providers | Autoloaded Service Providers

View file

@ -95,8 +95,9 @@ article header .post-info {
.pagination { .pagination {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;
width: 90vw; max-width: 90vw;
list-style-type: none; } list-style-type: none; }
.personal-bio { .personal-bio {

File diff suppressed because one or more lines are too long

View file

@ -78,8 +78,9 @@ article {
.pagination { .pagination {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;
width: 90vw; max-width: 90vw;
list-style-type: none; list-style-type: none;
} }

View file

@ -5,7 +5,7 @@
<title>@if (App::environment() == 'local'){!! "[testing] -"!!}@endif @yield('title'){{ config('app.display_name') }}</title> <title>@if (App::environment() == 'local'){!! "[testing] -"!!}@endif @yield('title'){{ config('app.display_name') }}</title>
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/assets/frontend/normalize.css"> <link rel="stylesheet" href="/assets/frontend/normalize.css">
<link rel="stylesheet" href="https://cloud.typography.com/6554898/6676412/css/fonts.css"> @if (!empty(config('app.font_link')))<link rel="stylesheet" href="{{ config('app.font_link') }}">@endif
<link rel="stylesheet" href="/assets/app.css"> <link rel="stylesheet" href="/assets/app.css">
<link rel="stylesheet" href="/assets/highlight/zenburn.css"> <link rel="stylesheet" href="/assets/highlight/zenburn.css">
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="/blog/feed.rss"> <link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="/blog/feed.rss">