Merge branch 'release/0.5.1'
This commit is contained in:
commit
7db9ff3e79
3 changed files with 10 additions and 5 deletions
|
@ -33,9 +33,11 @@ class MicropubClientController extends Controller
|
||||||
if ($url) {
|
if ($url) {
|
||||||
$indiewebUser = IndieWebUser::where('me', $url)->first();
|
$indiewebUser = IndieWebUser::where('me', $url)->first();
|
||||||
}
|
}
|
||||||
$syndication = $this->parseSyndicationTargets($indiewebUser->syndication);
|
if ($indiewebUser) {
|
||||||
$mediaEndpoint = $indiewebUser->mediaEndpoint ?? null;
|
$syndication = $this->parseSyndicationTargets($indiewebUser->syndication);
|
||||||
$mediaURLs = $request->session()->get('media-links');
|
$mediaEndpoint = $indiewebUser->mediaEndpoint ?? null;
|
||||||
|
$mediaURLs = $request->session()->get('media-links');
|
||||||
|
}
|
||||||
|
|
||||||
return view('micropub.create', compact('url', 'syndication', 'mediaEndpoint', 'mediaURLs'));
|
return view('micropub.create', compact('url', 'syndication', 'mediaEndpoint', 'mediaURLs'));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## Version 0.5 (2017-06-18)
|
## Version 0.5.1 (2017-05-18)
|
||||||
|
- Fix issue on micropub create page when not logged in
|
||||||
|
|
||||||
|
## Version 0.5 (2017-05-18)
|
||||||
- Update micropub client to allow indieweb users
|
- Update micropub client to allow indieweb users
|
||||||
- Update micropub endpoint to allow for entry updates
|
- Update micropub endpoint to allow for entry updates
|
||||||
- Add support for checkins, so we can use ownyourswarm
|
- Add support for checkins, so we can use ownyourswarm
|
||||||
|
|
|
@ -4,7 +4,7 @@ echo "Putting the Laravel app in maintenance mode"
|
||||||
php artisan down
|
php artisan down
|
||||||
|
|
||||||
echo "Updating composer and dependencies"
|
echo "Updating composer and dependencies"
|
||||||
composer self-update
|
sudo composer self-update
|
||||||
composer install
|
composer install
|
||||||
|
|
||||||
echo "Caching Laravel route and config files"
|
echo "Caching Laravel route and config files"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue