From cb02fde8a7d68c3be9da5b6c7cd8f611a6fd38d4 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Tue, 15 May 2018 00:37:11 +0900 Subject: [PATCH 1/4] refs #306 Fix reply target toot when reblogged --- src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue b/src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue index 4f4f99ef..d76280ef 100644 --- a/src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue +++ b/src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue @@ -132,7 +132,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') From 8a5d757f44a90d4ee8c9748a85db21c0c815be50 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Tue, 15 May 2018 20:32:38 +0900 Subject: [PATCH 2/4] refs #306 Fill all accounts name when multiple reply status --- src/renderer/store/TimelineSpace/Modals/NewToot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/store/TimelineSpace/Modals/NewToot.js b/src/renderer/store/TimelineSpace/Modals/NewToot.js index 03572138..81762aa7 100644 --- a/src/renderer/store/TimelineSpace/Modals/NewToot.js +++ b/src/renderer/store/TimelineSpace/Modals/NewToot.js @@ -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) { From 68c6039e03dd66cef5d967d571fc4a0de628f204 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Tue, 15 May 2018 20:46:40 +0900 Subject: [PATCH 3/4] Update CHANGELOG --- CHANGELOG.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d0b5352..fad9e83c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 From b8b64229b0a26d56c938cce8b7635b99c0909f98 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Tue, 15 May 2018 23:13:52 +0900 Subject: [PATCH 4/4] Fix application name, and add comment for website --- src/main/auth.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/auth.js b/src/main/auth.js index 3d481abb..117fa8ba 100644 --- a/src/main/auth.js +++ b/src/main/auth.js @@ -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