Merge pull request #12 from h3poteto/master

Updates
This commit is contained in:
PhotonQyv 2018-05-15 19:59:38 +01:00 committed by GitHub
commit c8f22bad12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 3 deletions

View File

@ -1,5 +1,28 @@
# Change Log
## [Unreleased]
### Added
- [#304](https://github.com/h3poteto/whalebird-desktop/pull/304) Add a background streaming for local timeline
### Changed
- [#305](https://github.com/h3poteto/whalebird-desktop/pull/305) Show the application from which the status was posted
- [#307](https://github.com/h3poteto/whalebird-desktop/pull/307) Fill all account name when the status is multiple replied
## [1.0.1] - 2018-05-13
### Added
- [#296](https://github.com/h3poteto/whalebird-desktop/pull/296) Add lazyLoading in account profile timeline
- [#295](https://github.com/h3poteto/whalebird-desktop/pull/295) Add following status for requested
### Changed
- [#294](https://github.com/h3poteto/whalebird-desktop/pull/294) Show original status timestamp in reblogged toot
- [#292](https://github.com/h3poteto/whalebird-desktop/pull/292) Update toot status in SideBar
### Fixed
- [#298](https://github.com/h3poteto/whalebird-desktop/pull/298) Ran the new 'npm audit' and updated some of the packages that are mentioned
- [#297](https://github.com/h3poteto/whalebird-desktop/pull/297) Fix image list arrow
- [#289](https://github.com/h3poteto/whalebird-desktop/pull/289) Add asar unpacked resource for sounds in electron packager
## [1.0.0] - 2018-05-05
### Changed
- [#280](https://github.com/h3poteto/whalebird-desktop/pull/280) Updated package lists to update vue-router & vuex versions to 3.0.1

View File

@ -1,6 +1,6 @@
import Mastodon from 'mastodon-api'
const appName = 'whalebird'
const appName = 'Whalebird'
const scope = 'read write follow'
export default class Authentication {
@ -22,6 +22,7 @@ export default class Authentication {
async getAuthorizationUrl (domain = 'mastodon.social') {
this.setOtherInstance(domain)
// Waiting for merge this pull request: https://github.com/vanita5/mastodon-api/pull/8
const res = await Mastodon.createOAuthApp(this.baseURL + '/api/v1/apps', appName, scope)
this.clientId = res.client_id
this.clientSecret = res.client_secret

View File

@ -135,7 +135,7 @@ export default {
}
},
openReply (message) {
this.$store.dispatch('TimelineSpace/Modals/NewToot/openReply', message)
this.$store.dispatch('TimelineSpace/Modals/NewToot/openReply', this.originalMessage(message))
},
openDetail (message) {
this.$store.dispatch('TimelineSpace/Contents/SideBar/openTootComponent')

View File

@ -59,7 +59,8 @@ const NewToot = {
},
openReply ({ commit }, message) {
commit('setReplyTo', message)
commit('updateStatus', `@${message.account.acct} `)
const mentionAccounts = message.mentions.map(a => a.acct)
commit('updateStatus', `@${message.account.acct} ${mentionAccounts.map(m => `@${m} `)}`)
commit('changeModal', true)
},
changeModal ({ commit }, value) {