24cb6d61aa
Implement micropub update support with clean exception-based error handling
...
- Add MicropubUnsupportedModelException for non-note update attempts
- Refactor UpdateHandler to throw exceptions instead of returning JsonResponse objects; extract applySyndication() to DRY up duplicated syndication URL mapping
- Fix MicropubController: InvalidTokenScopeException now returns 401 + insufficient_scope; add catches for ModelNotFoundException (404) and MicropubUnsupportedModelException (500); updates return 200 not 201
- Slim MicropubRequest.normalizeMicropubJson() to branch on action type, keeping update and create fields cleanly separated
- Update tests to match corrected status codes and error keys; remove markTestSkipped() from all update tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 10:15:35 +00:00
a342b432d4
Update dependencies
2026-02-21 17:06:37 +00:00
a5f146125b
Allow migrate media command to be re-run
2026-01-09 14:21:37 +00:00
4dd4977dd9
Fix issue with migrating old S3 media
2026-01-08 18:21:28 +00:00
d31a59cbbe
Merge branch 'main' into develop
2026-01-04 11:29:54 +01:00
51780523b4
Fix unit tests
2026-01-04 10:22:32 +00:00
9e788e0fe8
Images can be uploaded with alt text
...
This means associating images to notes via a pivot table, we also finish
off the migration of medai from S3.
2026-01-04 10:07:25 +00:00
76db869af5
Allow files to be added to notes
...
This is specifically when a Micropub client is using the JSON syntax and
initially uploads the photo via the media endpoint
2025-12-27 17:58:43 +00:00
d3d6913474
Switch local setup to PHP8.5
...
Also pull in config changes from upstream laravel/laravel
2025-12-13 15:53:00 +00:00
69e11d0799
Merge pull request 'MTM Small mobile layout tweaks' ( #63 ) from develop into main
...
v0.75.2
Reviewed-on: #63
2025-12-11 21:13:47 +01:00
6b4607e4f9
Small mobile layout tweaks
2025-12-11 19:58:17 +00:00
aef76e023a
Merge pull request 'MTM Fix layout of note metadata' ( #61 ) from develop into main
...
Reviewed-on: #61
2025-12-11 18:54:12 +01:00
f85085c34f
Fix layout of note metadata
...
v0.75.1
Especially the syndication links
2025-12-11 17:48:42 +00:00
4409e42029
Merge pull request 'MTM Redesign 2025.1' ( #57 ) from develop into main
...
v0.75
Reviewed-on: #57
2025-12-11 18:20:26 +01:00
a8cb30456c
Redesign v2025.1
2025-12-11 17:17:01 +00:00
a46a760669
Fix code style of flare’s config.php
2025-10-30 12:01:46 +00:00
273bdbbb49
Update dependencies
2025-10-30 11:49:54 +00:00
6183a065e9
Merge pull request 'MTM Micropub fixes' ( #52 ) from develop into main
...
v0.74.1
Reviewed-on: #52
2025-08-17 12:18:06 +02:00
9efde2708e
Dependency updates
2025-08-17 11:12:55 +01:00
363254d13c
Some fixes related to developing my Micropub client
2025-08-17 11:05:38 +01:00
0ef822de0c
Merge pull request 'MTM No snow' ( #49 ) from develop into main
...
v0.74
Reviewed-on: #49
2025-07-01 17:57:22 +02:00
8eaca85fe0
Update dependencies
2025-06-30 19:43:28 +01:00
fe48864f39
Laravel Sail dependency updates
...
Update PHP to v8.4
Update PostgreSQL to v17
2025-06-30 19:27:39 +01:00
83d10e1a70
Refactor of micropub request handling
...
Trying to organise the code better. It now temporarily doesn’t support
update requests. Thought the spec defines them as SHOULD features and
not MUST features. So safe for now :)
2025-04-27 16:38:25 +01:00
23c275945a
Refactor micropub token verification
2025-04-12 11:47:30 +01:00
70f90dd456
Remove un-needed config files
2025-04-10 21:03:22 +01:00
cd5c97afd3
Remove psalm annotations
2025-04-10 20:09:36 +01:00
97f3848b66
Use esbuild
2025-04-10 17:08:19 +01:00
540bd17792
Use lightningcss
2025-04-10 16:53:23 +01:00
1fe9a42d8d
Remove GitHub config
2025-04-07 19:47:48 +01:00
cf978cd749
Fix PasskeysController with new webauthn library version
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
126bb29ae2
Laravel Pint fixes
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2025-04-06 17:25:06 +01:00
7a58287b34
Remove references to short domain
2025-04-06 17:22:36 +01:00
328c9badb4
Remove snow fall
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2025-04-06 14:33:45 +01:00
07db68882b
Merge pull request 'MTM Laravel v12' ( #31 ) from develop into main
...
Deploy / Deploy (release) Has been cancelled
v0.73
Reviewed-on: #31
2025-04-04 18:10:46 +02:00
1dfa17abca
Update Laravel to v12
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
f2025b801b
Update dependencies
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
2025-01-25 11:47:43 +00:00
4e7b911fe9
Improve commentt in script
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2025-01-25 11:20:37 +00:00
cf6e65cc03
Improve compress script
...
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
Generate zst and br files, then remove any that are actually larger
than the source file
2024-12-28 11:07:48 +00:00
13786584a2
Merge pull request 'MTM WebMention username fix & snow fall' ( #21 ) from develop into main
...
Deploy / Deploy (release) Has been cancelled
v0.72
Reviewed-on: #21
2024-11-30 17:01:53 +01:00
70e5b9bec7
Add snow fall to the site
...
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Some tweaks to the node dependencies and compression script also done
2024-11-30 15:58:25 +00:00
84383ecd31
Apply the same fix to replies and reposts
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2024-11-30 15:31:17 +00:00
1d59d57c2e
Fix showing author like on a note
2024-11-30 15:30:07 +00:00
6d867fcc71
Merge pull request 'MTM Host images locally' ( #12 ) from develop into main
...
Deploy / Deploy (release) Has been cancelled
v0.71
Reviewed-on: #12
2024-10-26 15:02:56 +02:00
43447ac47b
Fix tests after we corrected the media URLs
...
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
The media URLs have a path that starts `/storage/`.
2024-10-26 12:52:43 +01:00
d7da42b626
Host images locally
...
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
d80e8164c8
Update dependencies
...
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
Further tidy up some config around phpactor and unit testing
2024-10-23 09:16:11 +01:00
7dd85a3988
Merge pull request 'MTM Improve customisability' ( #8 ) from develop into main
...
Deploy / Deploy (release) Has been cancelled
v0.70
Reviewed-on: #8
2024-08-29 19:25:33 +02:00
37a8e4bba8
Load favicon from a favicon.png file if it exists
...
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
This means different people will be able to use their own avatar/favicon
2024-08-23 18:55:08 +01:00
9abe4a6110
Only link to gpg key if it exists in the filesystem
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled
2024-08-23 18:27:20 +01:00