Commit graph

332 commits

Author SHA1 Message Date
cd5c97afd3
Remove psalm annotations 2025-04-10 20:09:36 +01:00
cf978cd749
Fix PasskeysController with new webauthn library version
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2025-04-07 19:44:13 +01:00
7a58287b34
Remove references to short domain 2025-04-06 17:22:36 +01:00
1dfa17abca
Update Laravel to v12
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2025-04-01 21:10:30 +01:00
d7da42b626
Host images locally
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
We don’t need the complexity of S3. Sepcifically the complexity of
managing my own AWS account, flysystem made the Laravel side easy.

A command is added to copy the the S3 files over to local storage.
2024-10-25 20:40:52 +01:00
d77f2302ba
Store requested scopes as a string during IndieAuth flow
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2024-08-03 11:33:09 +01:00
bcf61bb6a0
Fis Laravel Pint issues 2024-07-13 14:58:11 +01:00
baee7ade4f
Improve scope checking
Whether the scopes are defined as a space separated string, or an array,
we should now be checking them without any errors.
2024-07-13 14:52:57 +01:00
3cf11b0d72
Store scope data correctly
I was using the key `scopes` instead of `scope`
2024-06-30 11:13:27 +01:00
1521130f55
Parse scope value from authorization URL correctly 2024-06-22 20:48:03 +01:00
5d8929ac29
Save full url during login
This means the query params should be kept when redirecting back to
`/auth?...` during the IndieAuth flow.
2024-06-22 20:28:18 +01:00
58b31bb4c1
Add Indieweb related link to the HTTP headers 2024-06-08 19:39:09 +01:00
7f70f75d05
IndieAuth endpoint can now return access tokens 2024-06-08 10:56:15 +01:00
5b2bfd5270
Auth endpoint
The IndieAuth endpoint should be added, currently adding the unt tests
2024-06-02 10:16:16 +01:00
db8f885092
Remove CSP header 2024-03-23 14:37:30 +00:00
cf62d756af
Update CSP
Mastodon webmention images are served via my instance, so add to the CSP
2024-03-22 19:05:45 +00:00
7660b1c731
Upgrade to Laravel 11 2024-03-19 20:13:36 +00:00
1874bc6f94
Laravel Pint fix 2024-02-17 17:59:18 +00:00
5fa788b362
Update intervention/image package
Also fix a unit test, the image package had changed how it loads images
so my test for is a file upload an image was failing
2024-02-17 17:47:12 +00:00
f51c37103c
Update articles JSON feed to version 1.1 2023-12-20 14:46:27 +00:00
2aa60db548
Update JSON notes feed to version 1.1 2023-12-20 14:44:11 +00:00
ba9330cdf1
Expose RSS feed
Though actually its the json feed 🤫
2023-12-19 17:12:49 +00:00
442c2061e8
Hopefully fix snow on prod 2023-12-17 14:55:36 +00:00
6d5b298837
Update Intervention/Image class to v3 2023-12-17 13:56:10 +00:00
3c0c375fbb
Update composer dependencies 2023-12-06 20:11:41 +00:00
81e19fec1d
Run Laravel Pint on codebase 2023-11-25 16:12:52 +00:00
92098a793e
feat: Add webmention counts and icons for replies, likes, and reposts.
- Add new SVG icons for the "reply", "like", and "repost" actions
- Update webmention info display in note template to include counts and icons for replies, likes, and reposts
- Add webmention counts to FrontPageController.php and modify queries in NotesController.php
- Modify WebMentionsTableSeeder.php to change URLs, commentable ID, and add new WebMentions
2023-11-25 16:08:07 +00:00
483b3016ba
refactor: Refactor PasskeysController and Passkey model
- Remove unused `use` statements and imports in `PasskeysController.php` and `Passkey.php`
- Improve code cleanliness and remove unnecessary dependencies
2023-10-27 20:33:43 +01:00
03c8f20a8c
feat: Add Passkey support
- Added a button for logging in with Passkeys in `login.blade.php`
- Refactored the `register` method and added the `login` method in `auth.js`
- Made various modifications and additions to the passkey functionality in `PasskeysController.php`
- Added event listener for login-passkey element in `app.js`
- Modified the passkeys table schema and made modifications to `Passkey.php`
- Changed the redirect route in the `login` method of `AuthController.php`
- Made modifications and additions to the routes in `web.php`
- Added `"web-auth/webauthn-lib": "^4.7"` to the list of required packages in `composer.json`
- Changed the redirect URL in `AdminTest.php`
2023-10-27 20:22:40 +01:00
2fb8339d91
Admin can now hopefully add a passkey to their account 2023-09-25 18:31:38 +01:00
630ec46186
chore: Update and clean up file imports and annotations
- Update various factory files in the `database/factories` directory
- Remove unused imports and annotations in factory files
- Add or update comments and PHPDoc blocks for better understanding and readability
- Remove unused imports in controller and command files
- Remove commented out code in middleware file
2023-07-28 12:05:11 +01: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
a2f2dae140
Run Laravel Pint 2023-06-25 14:22:56 +01:00
3a681c0a44
Initial work with Psalm reporting 2023-06-25 14:18:40 +01:00
051f6a4b03
Update Laravel Pint 2023-06-21 18:46:31 +01:00
462c710295
fix: Use correct config variables post L10-config update
Specifically the header name had disappeared.
2023-06-11 16:54:56 +01:00
bebbfec510
chore: Refactor configuration files based on Laravel 10 skeleton 2023-06-09 18:31:53 +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
f2ad3a6626
Fix code style with Laravel Pint 2023-05-12 15:35:41 +01:00
86ac67698e
Remove activity stream functionality from controllers and providers.
- Remove activity stream related code and files
- Update configuration for HtmlSanitizer and RetryGuzzle
- Add `paginate` macro for `Collection`
- Remove unused code for `Codebird`
- Simplify `FrontPageController` and `NotesController` methods
2023-05-12 15:30:05 +01:00
7ee5bb00ba
Update Laravel Pint 2023-04-20 17:34:06 +01:00
58c5a7d443
Re-add search functionality 2023-04-11 21:44:55 +01:00
bdb69df52d
Switch bio to be stored in database 2023-04-11 17:37:42 +01:00
9743ba8eed
Fix some Laravel Pint issues 2023-02-18 09:53:57 +00:00
16b120bc73
Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
cee9d77b50
Make Upgrade guide changes 2023-02-17 09:41:14 +00:00
6d6e719f52
Update Laravel Pint, fix files in codebase 2023-02-16 16:57:06 +00:00
33acf33be9
Update Laravel Pint and fix code style 2022-12-02 19:49:29 +00:00
cfca6a1de5
Refactor models to use new attribute cast 2022-11-26 10:55:58 +00:00