Merge branch 'release/0.5.1'

This commit is contained in:
Jonny Barnes 2017-05-18 16:01:45 +01:00
commit 7db9ff3e79
3 changed files with 10 additions and 5 deletions

View file

@ -33,9 +33,11 @@ class MicropubClientController extends Controller
if ($url) {
$indiewebUser = IndieWebUser::where('me', $url)->first();
}
$syndication = $this->parseSyndicationTargets($indiewebUser->syndication);
$mediaEndpoint = $indiewebUser->mediaEndpoint ?? null;
$mediaURLs = $request->session()->get('media-links');
if ($indiewebUser) {
$syndication = $this->parseSyndicationTargets($indiewebUser->syndication);
$mediaEndpoint = $indiewebUser->mediaEndpoint ?? null;
$mediaURLs = $request->session()->get('media-links');
}
return view('micropub.create', compact('url', 'syndication', 'mediaEndpoint', 'mediaURLs'));
}

View file

@ -1,6 +1,9 @@
# 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 endpoint to allow for entry updates
- Add support for checkins, so we can use ownyourswarm

View file

@ -4,7 +4,7 @@ echo "Putting the Laravel app in maintenance mode"
php artisan down
echo "Updating composer and dependencies"
composer self-update
sudo composer self-update
composer install
echo "Caching Laravel route and config files"