When using Laravel’s own auth middleware an exception would then get
thrown which was being sent to Slack, hmmm.
So I modified the original MyAuthMiddleware to use the Auth facade
instead of a custom session key.
A logout page has also been added.
* Re-publish Horizon assets
* Updated horizon config file
* Newest Horizon now works by using Laravel’s own auth
* For now, remove test for admin login
Most were a case of adding void return statement to setUp and tearDown,
also needed to add 6th `null` param to indieauth method. Its for
code_verifier, issue created to work out what I should actually be doing
with that.
Squashed commit of the following:
commit 8ff29a8ab51ee5057ef786614ab95b005bf8918c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Feb 1 18:42:05 2019 +0000
Replace deprecated global helpers with their facade equivalents
Squashed commit of the following:
commit 1f1175a4d944f573868dc2282e62fbd1b4e88b6a
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Sun Apr 22 18:46:02 2018 +0100
Fix file upload tests to reflect that we have now inlined the file upload to S3
commit 40d2af5b76e8f390d0275830390dd89ab4d12f54
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Sun Apr 22 18:45:20 2018 +0100
Markup the bookmrark test that uses puppeteer, doesn’t play nicely with my old MacBook and let’s me skip that one test
commit bbae1557c87d4d8f3b324abda1a6b8bf66acb8d8
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Sun Apr 22 17:56:25 2018 +0100
Inline the S3 upload for media
Smaller images can then be uploaded by the ProcessMedia job. Inline-ing
the upload prevents an S3 URL being sent that will initially 404.
Squashed commit of the following:
commit 0a620148dfad998f7b00804cae1db8208b23cc02
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Mar 2 15:08:36 2018 +0000
Add tests for the Cors Headers
commit dd8518d279cdf3857597fa7ee6150bf383203fe1
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Mar 2 15:08:20 2018 +0000
Only add Cors Headers to requests to the media endpoint
commit 6c79ca5632581345ef406f211b1576a4b7f400fe
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Mar 2 15:07:53 2018 +0000
Add CorsHeaders to middleware array
commit e12d48ca1e837b14b75bbd87d6197d59d60cf32e
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Mar 2 15:06:32 2018 +0000
We need to send something to the OPTIONS request to the media endpoint
commit f11c638be464373bff09bf015d4a989e48e61f0c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Mar 2 15:05:45 2018 +0000
Change routes to allow for responses to an OPTIONS request to the media endpoint