Commit graph

526 commits

Author SHA1 Message Date
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
05c63b241d
feat: Refactor mention rendering and generator classes
- Add support for Mastodon username mentions
- Add test for parsing Mastodon usernames in notes
- Modify namespace and class imports for `MentionGenerator` and `MentionRenderer` in `Note.php`
- Rename `ContactMentionGenerator.php` to `MentionGenerator.php`
2023-11-19 17:22:02 +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
cd9fed3a68
Merge branch 'develop' into 935-fix-psalm-issues 2023-07-28 11:08:05 +01:00
b1407af945
Update Laravel Pint 2023-07-27 21:14:23 +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
dabd03f556
refactor: Refactor and add tests for SaveProfileImage feature
- Add error handling checks for photo and home
- Add 3 new tests and modify an existing test for SaveProfileImageJob
- Test getting URL from photo object if alt text is provided
- Test using the first URL if multiple homepages are provided
2023-06-17 19:48:27 +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
795c25c19c
refactor: Remove unnecessary import in Note model 2023-06-11 13:05:14 +01:00
71cb15d007
refactor: Improve note ID validation and error handling
- Improve input validation and error handling in Note model
- Add test case for out-of-range note IDs in NotesController
2023-06-11 12:52:07 +01:00
bebbfec510
chore: Refactor configuration files based on Laravel 10 skeleton 2023-06-09 18:31:53 +01:00
79b9013707
feat: Add Flare support
- Add new log channel "flare" and update "stack" channel to use it
- Introduce placeholders for log messages in several channels
- Add processors to "papertrail" and "stderr" channels
- Add `spatie/laravel-ignition` package to composer requirements
- Change `$dontReport` variable to `$dontFlash` in exception handler
- Add `FLARE_KEY` and `BRIDGY_MASTODON_TOKEN` to `.env.github` and `.env.example` files
2023-06-09 14:07:24 +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
88e1246f8b
Remove Twitter POSSE support 2023-04-08 13:25:36 +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
f2c8f04c2f
Laravel Pint fixes
Also remove a file that wasn’t needed
2023-02-04 10:30:49 +00:00
f38235561f
Add tests for screenshots 2023-02-04 10:22:00 +00:00
c410e344a0
Begin work on unit tests 2023-01-20 16:02:04 +00:00
45c71bbb47
Setup CloudConvert to take webpage screenshots 2023-01-02 09:39:23 +00:00
a8b3dffddb
Update Laravel Sail 2022-12-23 10:30:42 +00:00
6c43363c78
Make some tweaks around dealing with replies 2022-12-03 20:12:39 +00:00
4bea97df0c
Fix smallurl attribute on Media 2022-12-02 19:59:04 +00:00
33acf33be9
Update Laravel Pint and fix code style 2022-12-02 19:49:29 +00:00
ca6205d2a6
Allow micropub to post notes and articles 2022-11-29 19:58:44 +00:00
cfca6a1de5
Refactor models to use new attribute cast 2022-11-26 10:55:58 +00:00
8a83d9b565
Fix Laravel Pint issue 2022-11-24 21:52:32 +00:00
3f4634710c
Implement strict Eloquent when developing 2022-11-24 21:44:57 +00:00
42f0fa2238
Return a published and mime type data with sourced media uploads 2022-11-20 17:12:22 +00:00
6c28f75678
Add Laravel Pint fixes 2022-11-16 21:07:59 +00:00