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
Squashed commit of the following:
commit 74ed84617fcbecf661695763323e50d049a88db7
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Jan 15 12:46:29 2018 +0000
Test passes so remove the dump statement
commit a7d3323be02da64f76e8ec88713e3de84a13ded7
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Jan 15 12:40:35 2018 +0000
Values with spaces need to be quoted
commit 58a120bb238f14346793c388b948b7351d3b51fd
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Jan 15 12:37:23 2018 +0000
We need a diplay name for the tests to work now we are using strict type checking
commit b46f177053bd697db9a4835d073f2f37e088b26f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Jan 15 12:31:29 2018 +0000
Get travis to show more info about failing test
commit 60323f3ce5a0561329a1721ee94821571cdcc86a
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Jan 15 12:23:27 2018 +0000
Remove un-used namnepsace imports
commit 096d3505920bc94ff8677c77430eca0aae0be58a
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Jan 15 12:21:55 2018 +0000
we need php7.2 for object type-hint
commit bb818bc19c73d02d510af9f002199f5718a54608
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Jan 15 12:15:48 2018 +0000
Added lots of strict_types
Squashed commit of the following:
commit 4dc223939c31fd5771b9e6895c8e9e0c88fc6663
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 21:19:29 2018 +0000
update changelog
commit 7b15937a097c12145e60dfec67cad19e385fcb9f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 21:19:13 2018 +0000
re-compile frontend assets
commit f533d5e463d06e158b7bedbfd3602af70113acbc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 21:14:11 2018 +0000
Only use “by” if there is an author name to show
commit 7b067fd559ce2f4a82ad747a3ebd3474e221169c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 21:12:27 2018 +0000
Some styles for the likes page
commit 039523f595115c1329a3939837ebf589184de995
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 21:11:44 2018 +0000
Add a like with just the url to the seeder
commit c43d4b07936fceeeb59460399a20abec7a9bc3ae
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 20:44:46 2018 +0000
Add test for the admin cp part of likes
commit eb115fa481319e98bf54a9fa6aa682479e56787d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 20:44:28 2018 +0000
Catch 400 errors from a POSSE attempt, its not that important
commit 79f7aa7807534eb76ae57dee72002f99249255b0
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 20:01:19 2018 +0000
Better fetch data for tweets, attempt to POSSE them back to twitter
commit 1ad078929f918c00db550c0af315677cd991dad6
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 20:00:40 2018 +0000
Only filter the like content when its actual HTML
commit 10f1ba430d4d5262d28e24ca0413474900ea6145
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 19:59:57 2018 +0000
Add link to POSSE to twitter via bridgy
commit 7f8e5c6dd39716fb51b5766de2f24c7e01355dbb
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 19:59:22 2018 +0000
add links in the admin welcome page for likes
commit ebe80b07759881ffb98f8f5117ef25310aaabe6c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 18:22:35 2018 +0000
Add the admin routes
commit 5e150a7c39f5d71688b7ef14c924d09ba2ec82ba
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Jan 12 18:22:15 2018 +0000
Add admin functionality for likes
commit fcebc08f6d89437ba84288a25498ae094fd4f16d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Wed Jan 10 21:59:33 2018 +0000
update changelog
commit 74491698857cb2e111006efb349e1f10c2e3cf1d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Wed Jan 10 21:58:25 2018 +0000
Modify the micropub controller to look for the token in the right palce (as set by the token middleware
commit 0fd11ff8391062fbe70f3a28d6a98694dc25b36b
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Wed Jan 10 21:57:40 2018 +0000
If the access token is sent as a bearer token in the http headers, merge it into the request data so the controllers only have one place to look
commit 9e154ec4bc17be3071280409a3f6bb7f02dad816
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Wed Jan 10 21:56:33 2018 +0000
Add a test with the access token being form encoded