diff --git a/config/pixelfed.php b/config/pixelfed.php index 58d231c63..5c0d6590d 100644 --- a/config/pixelfed.php +++ b/config/pixelfed.php @@ -23,7 +23,7 @@ return [ | This value is the version of your PixelFed instance. | */ - 'version' => '0.8.3', + 'version' => '0.8.4', /* |-------------------------------------------------------------------------- diff --git a/public/js/components.js b/public/js/components.js index 16b937f85..0ab7e10fa 100644 Binary files a/public/js/components.js and b/public/js/components.js differ diff --git a/public/js/compose.js b/public/js/compose.js new file mode 100644 index 000000000..70aff59d9 Binary files /dev/null and b/public/js/compose.js differ diff --git a/public/js/landing.js b/public/js/landing.js index d40e11890..2ae96411c 100644 Binary files a/public/js/landing.js and b/public/js/landing.js differ diff --git a/public/js/micro.js b/public/js/micro.js deleted file mode 100644 index f5f8376c8..000000000 Binary files a/public/js/micro.js and /dev/null differ diff --git a/public/js/status.js b/public/js/status.js index ed4691d7c..6bf4f4d14 100644 Binary files a/public/js/status.js and b/public/js/status.js differ diff --git a/public/js/timeline.js b/public/js/timeline.js index 31d47e06c..c6f78bbe8 100644 Binary files a/public/js/timeline.js and b/public/js/timeline.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index fc55437c6..a632ff400 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/ComposeModal.vue b/resources/assets/js/components/ComposeModal.vue index edbaccf27..b06d14bb0 100644 --- a/resources/assets/js/components/ComposeModal.vue +++ b/resources/assets/js/components/ComposeModal.vue @@ -1,9 +1,8 @@ \ No newline at end of file diff --git a/resources/assets/js/compose.js b/resources/assets/js/compose.js new file mode 100644 index 000000000..4689629d3 --- /dev/null +++ b/resources/assets/js/compose.js @@ -0,0 +1,4 @@ +Vue.component( + 'compose-modal', + require('./components/ComposeModal.vue').default +); \ No newline at end of file diff --git a/resources/assets/js/micro.js b/resources/assets/js/micro.js deleted file mode 100644 index 831c0e78a..000000000 --- a/resources/assets/js/micro.js +++ /dev/null @@ -1,40 +0,0 @@ -require('./bootstrap'); - -window.Vue = require('vue'); -import BootstrapVue from 'bootstrap-vue' -import InfiniteLoading from 'vue-infinite-loading'; -import Loading from 'vue-loading-overlay'; -import VueTimeago from 'vue-timeago'; -//import {Howl, Howler} from 'howler'; - -Vue.use(BootstrapVue); -Vue.use(InfiniteLoading); -Vue.use(Loading); -Vue.use(VueTimeago); - -pixelfed.readmore = () => { - $('.read-more').each(function(k,v) { - let el = $(this); - let attr = el.attr('data-readmore'); - if(typeof attr !== typeof undefined && attr !== false) { - return; - } - el.readmore({ - collapsedHeight: 44, - heightMargin: 20, - moreLink: 'Read more', - lessLink: 'Hide', - }); - }); -}; - -try { - document.createEvent("TouchEvent"); - $('body').addClass('touch'); -} catch (e) { -} - -Vue.component( - 'micro', - require('./components/Micro.vue').default -); \ No newline at end of file diff --git a/resources/assets/sass/custom.scss b/resources/assets/sass/custom.scss index 07acbbde8..25410ed64 100644 --- a/resources/assets/sass/custom.scss +++ b/resources/assets/sass/custom.scss @@ -315,12 +315,6 @@ body, button, input, textarea { text-align: center; border-radius: 0 3px 3px 0; } - - .reactions button { - font-size: 1.575rem; - line-height: 1; - } - } .touch .card { diff --git a/resources/views/admin/partial/template-full.blade.php b/resources/views/admin/partial/template-full.blade.php index 193f1a42d..f880476fd 100644 --- a/resources/views/admin/partial/template-full.blade.php +++ b/resources/views/admin/partial/template-full.blade.php @@ -23,4 +23,16 @@ -@endsection \ No newline at end of file +@endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/admin/partial/template.blade.php b/resources/views/admin/partial/template.blade.php index 4f8b0b959..1ad4eb997 100644 --- a/resources/views/admin/partial/template.blade.php +++ b/resources/views/admin/partial/template.blade.php @@ -24,4 +24,14 @@ -@endsection \ No newline at end of file +@endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/discover/home.blade.php b/resources/views/discover/home.blade.php index ea8433a3e..315deb1c9 100644 --- a/resources/views/discover/home.blade.php +++ b/resources/views/discover/home.blade.php @@ -10,6 +10,7 @@ @push('scripts') + diff --git a/resources/views/discover/personal.blade.php b/resources/views/discover/personal.blade.php index 2e8a63a18..5efb150fe 100644 --- a/resources/views/discover/personal.blade.php +++ b/resources/views/discover/personal.blade.php @@ -1,7 +1,7 @@ @extends('layouts.app') @section('content') -
@@ -54,4 +54,11 @@ background: linear-gradient(to right, #FFC371, #FF5F6D); /* W3C, IE 10+/ Edge, F
-@endsection \ No newline at end of file +@endsection + +@push('scripts') + + +@endpush \ No newline at end of file diff --git a/resources/views/discover/tags/category.blade.php b/resources/views/discover/tags/category.blade.php index ea73b43c7..a10c21576 100644 --- a/resources/views/discover/tags/category.blade.php +++ b/resources/views/discover/tags/category.blade.php @@ -83,3 +83,10 @@ } @endpush + +@push('scripts') + + +@endpush \ No newline at end of file diff --git a/resources/views/discover/tags/show.blade.php b/resources/views/discover/tags/show.blade.php index 79b69afd8..00983bcc5 100644 --- a/resources/views/discover/tags/show.blade.php +++ b/resources/views/discover/tags/show.blade.php @@ -45,3 +45,9 @@ @endsection +@push('scripts') + + +@endpush \ No newline at end of file diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 04ae39460..b5fd60f62 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -32,6 +32,15 @@ @include('layouts.partial.nav')
@yield('content') + @if(Auth::check()) + + @endif
@include('layouts.partial.footer') @@ -60,13 +69,6 @@ - @endif diff --git a/resources/views/profile/show.blade.php b/resources/views/profile/show.blade.php index 05850d1f1..ecaa11b49 100644 --- a/resources/views/profile/show.blade.php +++ b/resources/views/profile/show.blade.php @@ -21,6 +21,7 @@ @push('scripts') + + + +