Commit graph

268 commits

Author SHA1 Message Date
5e5f74f4ed
Fix /notes/new page so it is not a 404 2022-08-13 16:00:06 +01:00
465c15f012
Dont run csp locally 2022-08-05 20:58:31 +01:00
46e9e622b8
Switch CORS middleware 2022-07-15 17:53:30 +01:00
e36f15d391
Fix files with Laravel Pint 2022-07-09 10:08:26 +01:00
48d1c9a00b Improve tests 2022-05-14 17:48:53 +01:00
78bd468d3d
Upgrade to Laravel 9 (#252) 2022-02-27 19:42:49 +00:00
b464ba9dd3 Remove un-needed elements from CSP header 2021-10-05 20:58:28 +01:00
1abca77bdc Finish re-working tests to run on test database 2021-08-31 12:28:00 +01:00
b7614d12c5 Add new exception to catch block 2021-01-31 15:08:25 +00:00
d43530cdd2 Final prep work to get ready for PHP8 2020-12-31 13:34:55 +00:00
f73a5587dc No longer need our own token exception 2020-11-28 19:02:37 +00:00
6942fc1d32 Initial php8 work
- switch to GD for image work
 - fix issues around jwt
2020-11-28 18:21:29 +00:00
ed54446f87 Follow laravel upgrade guide 2020-10-19 19:41:50 +01:00
57186c3e2e Upgrade to Laravel 8 2020-10-17 17:15:06 +01:00
bb5bdc591a A StyleCI fix 2020-10-17 11:03:13 +01:00
9cc53f9cbf Some phpcs tweaks 2020-10-17 10:40:33 +01:00
90f1d111b6 StyleCI fixes 2020-10-17 10:24:09 +01:00
3c3ad3e29d Remove the postgis stuff 2020-10-16 20:45:07 +01:00
9e3cc19098 Update dependencies, and fix some tests 2020-10-10 19:44:17 +01:00
f01595f181 Fix phpcs error 2020-08-15 10:06:26 +01:00
ae2c45ff3d Add media endpoint support for the source parameter 2020-08-15 09:56:33 +01:00
69791cc512 Remove un-needed namesapce import 2020-08-09 15:58:19 +01:00
0fca80e7e4 Improve exception handling and model binding 2020-08-09 15:54:10 +01:00
95bf302dcd Replicate what aaronpk does in his endpoint 2020-06-28 17:21:21 +01:00
b764066d98 Only return media added in last half hour 2020-06-28 16:30:56 +01:00
4f2d3b7c2b Media Endpoint improvements
For the code, media related stuff is now in its own controller

Added support for querying the most recent file uploaded
2020-06-27 14:13:33 +01:00
5cf7a14ad6 Fix quote style 2020-06-25 20:57:32 +01:00
868efc36f6 Minor fixes
Improve how we link to external fonts, change csp generating code, fix
width of pagination links
2020-06-25 20:50:32 +01:00
c20a2f403c Add some colours and new fonts 2020-06-22 20:58:53 +01:00
0195814219 Add jf2 feeds for notes and blog posts 2020-06-20 16:47:39 +01:00
b0ad1d272c Some small fixes needed for the tests 2020-06-13 17:26:59 +01:00
debbfa98d6 Use macro for pagination links 2020-02-23 17:12:17 +00:00
eb4f479b97 Add pagination links to front page 2020-02-23 12:39:21 +00:00
72ea343366 StyleCI fixes for namespace imports 2020-02-21 22:50:30 +00:00
215b28b056 Fix errors psalm found scanning at level 7 2020-02-21 22:46:48 +00:00
9589863e42 Improve h-card check in mircopub request 2020-01-26 17:45:09 +00:00
20a3048aee Some more phpcs fixes 2019-10-27 20:55:46 +00:00
ef03d2209f Fixing various phpcs issues 2019-10-27 19:31:33 +00:00
9de24c2740 Apply fixes from StyleCI 2019-10-27 16:29:15 +00:00
b2b6693aec Ooof, got the dependencies all up to date as well
Lots of tests needed fixing, but it seemed to be a whitespace parsing
error in the view files 🤔
2019-10-27 16:15:14 +00:00
ec01b3c6a2 Update Laravel to v6 2019-10-19 15:34:49 +01:00
42a85845fe For now dont worry about a paginator at the bottom of the page 2019-07-26 10:52:37 +01:00
41862b15b8 We no longer use the Exception in this controller 2019-07-26 10:43:51 +01:00
5ef23376be Work so far in refactoring front-end
- Mainly getting rid of existing css/js
- No longer linking to stuff like a11y.css
- Creating a FrontPageController to better deal with the home page
2019-07-26 10:40:56 +01:00
490d9eaf7a Using mapbox from their CDN 2019-05-12 10:31:04 +01:00
546f952466 Add Fathom script to master view 2019-05-03 21:02:22 +01:00
2e79492b01 Protect admin routes with new eloquent sessions
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.
2019-03-23 09:35:07 +00:00
c82c4524eb
Get Newest Horizon (#109)
* 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
2019-03-21 19:46:38 +00:00
c96ba5e82a Fixing tests
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.
2019-03-17 14:06:18 +00:00
fb44afd7ad Remove deprecated global helper functions (issue #99)
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
2019-02-01 18:49:35 +00:00