jonnybarnes.uk/app/Exceptions
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonny Barnes df9b0dc490
Move webmention parsing and authorship into the app
The jonnybarnes/webmentions-parser package is now archived, and its
guzzlehttp/guzzle ^6|^7 constraint was the only thing holding Guzzle
back from 8. Port the parts we use into App\Services\WebMention and
drop the package.

Parser keeps getMentionType and the checkInReplyTo/LikeOf/RepostOf
checks unchanged. Authorship follows the same authorship algorithm,
with some fixes:

- fetch the author page with Laravel's Http client, so tests can fake
  it, and treat connection failures as AuthorshipParserException too
- keep state in locals so one instance can be reused safely
- make the url == uid == author-page check actually compare the
  h-card's uid, rather than an undefined variable

Add direct tests for both, and mark the library as archived on the
projects page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:23:49 +00:00
..
AuthorshipParserException.php Move webmention parsing and authorship into the app 2026-11-07 16:23:49 +00:00
Handler.php Initial work with Psalm reporting 2023-06-25 14:18:40 +01:00
InternetArchiveException.php Update Laravel Pint 2024-07-13 10:55:19 +01:00
InvalidMentionException.php Move webmention parsing and authorship into the app 2026-11-07 16:23:49 +00:00
InvalidTokenScopeException.php Refactor of micropub request handling 2025-04-27 16:38:25 +01:00
MicropubHandlerException.php Refactor of micropub request handling 2025-04-27 16:38:25 +01:00
MicropubUnsupportedModelException.php Implement micropub update support with clean exception-based error handling 2026-02-22 10:15:35 +00:00
RemoteContentNotFoundException.php Update Laravel to v12 2025-04-01 21:10:30 +01:00