Merge pull request #630 from pixelfed/frontend-ui-refactor

Frontend ui refactor
This commit is contained in:
daniel 2018-12-10 21:27:00 -07:00 committed by GitHub
commit ade7a51a4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 2 deletions

View file

@ -279,7 +279,7 @@ class StatusController extends Controller
$photos = 0;
$videos = 0;
foreach($mimes as $mime) {
if(in_array($mime, $allowed) == false) {
if(in_array($mime, $allowed) == false && $mime !== 'video/mp4') {
continue;
}
if(str_contains($mime, 'image/')) {

View file

@ -23,7 +23,7 @@ return [
| This value is the version of your PixelFed instance.
|
*/
'version' => '0.5.1',
'version' => '0.5.2',
/*
|--------------------------------------------------------------------------

Binary file not shown.

Binary file not shown.

View file

@ -308,6 +308,11 @@
<span class="font-weight-bold">{{n.account.username}}</span> mentioned you.
</p>
</div>
<div v-else-if="n.type == 'follow'">
<p class="my-0">
<span class="font-weight-bold">{{n.account.username}}</span> followed you.
</p>
</div>
</div>
</div>