mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 08:44:49 +00:00
commit
a2d41083a2
6 changed files with 16 additions and 1 deletions
|
@ -92,6 +92,8 @@
|
||||||
- Updated email confirmation middleware, add 2FA to allow list. Fixes ([#2385](https://github.com/pixelfed/pixelfed/issues/2385)). ([27f3b29c](https://github.com/pixelfed/pixelfed/commit/27f3b29c))
|
- Updated email confirmation middleware, add 2FA to allow list. Fixes ([#2385](https://github.com/pixelfed/pixelfed/issues/2385)). ([27f3b29c](https://github.com/pixelfed/pixelfed/commit/27f3b29c))
|
||||||
- Updated NotificationTransformer, fixes ([#2389](https://github.com/pixelfed/pixelfed/issues/2389)). ([c4506ebd](https://github.com/pixelfed/pixelfed/commit/c4506ebd))
|
- Updated NotificationTransformer, fixes ([#2389](https://github.com/pixelfed/pixelfed/issues/2389)). ([c4506ebd](https://github.com/pixelfed/pixelfed/commit/c4506ebd))
|
||||||
- Updated Profile + Timeline components, simplify UI. ([38d28ab4](https://github.com/pixelfed/pixelfed/commit/38d28ab4))
|
- Updated Profile + Timeline components, simplify UI. ([38d28ab4](https://github.com/pixelfed/pixelfed/commit/38d28ab4))
|
||||||
|
- Updated Profile component, make modals scrollable. ([d1c664fa](https://github.com/pixelfed/pixelfed/commit/d1c664fa))
|
||||||
|
- Updated PostComponent, fixes #2351. ([7a62a42a](https://github.com/pixelfed/pixelfed/commit/7a62a42a))
|
||||||
|
|
||||||
## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9)
|
## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9)
|
||||||
### Added
|
### Added
|
||||||
|
|
BIN
public/js/profile.js
vendored
BIN
public/js/profile.js
vendored
Binary file not shown.
BIN
public/js/status.js
vendored
BIN
public/js/status.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -40,6 +40,7 @@
|
||||||
<span class="fas fa-ellipsis-v text-muted"></span>
|
<span class="fas fa-ellipsis-v text-muted"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
||||||
|
<a class="dropdown-item font-weight-bold" @click="copyPostUrl()">Copy Post Url</a>
|
||||||
<a class="dropdown-item font-weight-bold" @click="showEmbedPostModal()">Embed</a>
|
<a class="dropdown-item font-weight-bold" @click="showEmbedPostModal()">Embed</a>
|
||||||
<div v-if="!owner()">
|
<div v-if="!owner()">
|
||||||
<a class="dropdown-item font-weight-bold" :href="reportUrl()">Report</a>
|
<a class="dropdown-item font-weight-bold" :href="reportUrl()">Report</a>
|
||||||
|
@ -112,6 +113,7 @@
|
||||||
<span class="fas fa-ellipsis-v text-muted"></span>
|
<span class="fas fa-ellipsis-v text-muted"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
||||||
|
<a class="dropdown-item font-weight-bold" @click="copyPostUrl()">Copy Post Url</a>
|
||||||
<a class="dropdown-item font-weight-bold" @click="showEmbedPostModal()">Embed</a>
|
<a class="dropdown-item font-weight-bold" @click="showEmbedPostModal()">Embed</a>
|
||||||
<span v-if="!owner()">
|
<span v-if="!owner()">
|
||||||
<a class="dropdown-item font-weight-bold" :href="reportUrl()">Report</a>
|
<a class="dropdown-item font-weight-bold" :href="reportUrl()">Report</a>
|
||||||
|
@ -1455,6 +1457,10 @@ export default {
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
swal('An Error Occurred', 'Please try again later.', 'error');
|
swal('An Error Occurred', 'Please try again later.', 'error');
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
copyPostUrl() {
|
||||||
|
navigator.clipboard.writeText(this.statusUrl);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,7 +140,7 @@
|
||||||
<span class="font-weight-bold pr-3">{{profile.display_name}}</span>
|
<span class="font-weight-bold pr-3">{{profile.display_name}}</span>
|
||||||
</p>
|
</p>
|
||||||
<div v-if="profile.note" class="mb-0" v-html="profile.note"></div>
|
<div v-if="profile.note" class="mb-0" v-html="profile.note"></div>
|
||||||
<p v-if="profile.website" class=""><a :href="profile.website" class="profile-website" rel="me external nofollow noopener" target="_blank">{{truncate(profile.website,24)}}</a></p>
|
<p v-if="profile.website" class=""><a :href="profile.website" class="profile-website" rel="me external nofollow noopener" target="_blank" @click.prevent="remoteRedirect(profile.website)">{{truncate(profile.website,24)}}</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -372,6 +372,7 @@
|
||||||
id="following-modal"
|
id="following-modal"
|
||||||
hide-footer
|
hide-footer
|
||||||
centered
|
centered
|
||||||
|
scrollable
|
||||||
title="Following"
|
title="Following"
|
||||||
body-class="list-group-flush py-3 px-0"
|
body-class="list-group-flush py-3 px-0"
|
||||||
dialog-class="follow-modal">
|
dialog-class="follow-modal">
|
||||||
|
@ -429,6 +430,7 @@
|
||||||
id="follower-modal"
|
id="follower-modal"
|
||||||
hide-footer
|
hide-footer
|
||||||
centered
|
centered
|
||||||
|
scrollable
|
||||||
title="Followers"
|
title="Followers"
|
||||||
body-class="list-group-flush py-3 px-0"
|
body-class="list-group-flush py-3 px-0"
|
||||||
dialog-class="follow-modal"
|
dialog-class="follow-modal"
|
||||||
|
@ -902,6 +904,11 @@
|
||||||
return;
|
return;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
remoteRedirect(url) {
|
||||||
|
window.location.href = window.App.config.site.url + '/i/redirect?url=' + encodeURIComponent(url);
|
||||||
|
return;
|
||||||
|
},
|
||||||
|
|
||||||
replyUrl(status) {
|
replyUrl(status) {
|
||||||
let username = this.profile.username;
|
let username = this.profile.username;
|
||||||
let id = status.account.id == this.profile.id ? status.id : status.in_reply_to_id;
|
let id = status.account.id == this.profile.id ? status.id : status.in_reply_to_id;
|
||||||
|
|
Loading…
Reference in a new issue