Commit graph

25 commits

Author SHA1 Message Date
cf62d756af
Update CSP
Mastodon webmention images are served via my instance, so add to the CSP
2024-03-22 19:05:45 +00:00
442c2061e8
Hopefully fix snow on prod 2023-12-17 14:55:36 +00:00
39a197ae7b
refactor: Refactor file headers and add Psalm suppressions
- Added Psalm suppression annotations to multiple controller classes
- Added PHPDoc comment blocks to seeders and factories
- Added comments to indicate unused classes and methods
- Removed unused annotations and imports
2023-07-28 11:48:07 +01:00
e62f68f514
style: Improve security by updating CSP headers
- Update `CSPHeader.php` to improve security by removing unsafe-inline.
2023-05-29 12:46:17 +01:00
eb82ff4ca5
fix: Add unsafe-inline to style-src CSP header
- Improve content-security policy for better website security
- Add `'unsafe-inline'` to the `style-src` header in `CSPHeader.php`
2023-05-27 18:19:42 +01:00
16b120bc73
Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
6d6e719f52
Update Laravel Pint, fix files in codebase 2023-02-16 16:57:06 +00:00
465c15f012
Dont run csp locally 2022-08-05 20:58:31 +01:00
e36f15d391
Fix files with Laravel Pint 2022-07-09 10:08:26 +01:00
b464ba9dd3 Remove un-needed elements from CSP header 2021-10-05 20:58:28 +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
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
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
7a4ba43b4d Fix mapbox on safari (issue #87)
Squashed commit of the following:

commit 6be3d1b2a3dc29c2271035df60204efe859d516f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Feb 1 14:44:38 2019 +0000

    Add blob to child-src, fixes mapbox on safari
2019-02-01 14:56:02 +00:00
7eacb52723 Update dependencies and improve CSP headers 2018-04-14 18:46:40 +01:00
ce27e82b55 phpcs fixes 2018-03-17 13:57:03 +00:00
104bcfb7f5 StyleCI fix 2018-03-17 13:55:30 +00:00
57b6a4ac29 More readable formatting, include dev S3 bucket 2018-03-09 22:58:51 +00:00
8cbbc821bf Shorten some lines to less than 120 chars 2018-03-02 17:47:20 +00:00
f5b69244df Only use double-quotes when necessary 2018-03-02 17:21:36 +00:00
f35e2b4f15 Add the CSP headers
Squashed commit of the following:

commit 468945826621d2e586f7e5fa773623c4accc316a
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Mar 2 16:42:30 2018 +0000

    Update changelog

commit 36c6edce091c41861879a982e6ad250b395abbcf
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Mar 2 16:42:23 2018 +0000

    Add a test

commit ef9d7b564f8ea4f4528c42f411c14ddfaa132082
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Mar 2 16:42:13 2018 +0000

    Apply the CSPHeader middleware to all `web` requests

commit 737bfca3a6b446d52c0d0a8cc1b7b1c422876c0b
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Mar 2 16:41:45 2018 +0000

    Add a CSP header to a response, as well as the Report-To header
2018-03-02 16:46:45 +00:00