From 07e9ce3d08195d26e858d1e54164ad7b6c60d1be Mon Sep 17 00:00:00 2001 From: Your New SJW Waifu Date: Sat, 9 May 2020 00:58:11 +0000 Subject: [PATCH] Revert "Merge remote-tracking branch 'upstream/develop' into neckbeard" This reverts commit 4250541faf23c1f4b3ae3891ea5ec5df189d93b9 --- CHANGELOG.md | 11 - src/boot/after_store.js | 6 - .../account_actions/account_actions.js | 2 +- .../account_actions/account_actions.vue | 8 +- .../basic_user_card/basic_user_card.vue | 2 +- src/components/block_card/block_card.js | 5 +- src/components/extra_buttons/extra_buttons.js | 8 - .../extra_buttons/extra_buttons.vue | 19 +- src/components/follow_button/follow_button.js | 20 +- src/components/follow_card/follow_card.js | 3 - src/components/follow_card/follow_card.vue | 8 +- src/components/mute_card/mute_card.js | 9 +- src/components/notification/notification.js | 2 +- src/components/notification/notification.vue | 2 +- src/components/react_button/react_button.js | 2 +- src/components/react_button/react_button.vue | 1 + src/components/registration/registration.js | 25 +- src/components/side_drawer/side_drawer.vue | 2 +- src/components/status/status.js | 203 +++++++++++++-- src/components/status/status.vue | 234 ++++++++++++++++- .../status_content/status_content.js | 210 --------------- .../status_content/status_content.vue | 240 ------------------ src/components/user_card/user_card.js | 8 +- src/components/user_card/user_card.vue | 11 +- src/components/user_panel/user_panel.vue | 2 +- src/components/user_profile/user_profile.vue | 2 +- src/components/user_settings/user_settings.js | 8 +- .../user_settings/user_settings.vue | 12 - src/i18n/en.json | 6 +- src/modules/users.js | 53 ++-- .../entity_normalizer.service.js | 24 +- .../follow_manipulate/follow_manipulate.js | 25 +- static/fontello.json | 6 - .../specs/components/user_profile.spec.js | 7 +- test/unit/specs/modules/users.spec.js | 14 + 35 files changed, 541 insertions(+), 659 deletions(-) delete mode 100644 src/components/status_content/status_content.js delete mode 100644 src/components/status_content/status_content.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index a44fb1630d..ebd0e61399 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,17 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed - Removed the use of with_move parameters when fetching notifications -## [Unreleased patch] -### Add -- Added private notifications option for push notifications -- 'Copy link' button for statuses (in the ellipsis menu) - -### Changed -- Registration page no longer requires email if the server is configured not to require it - -### Fixed -- Status ellipsis menu closes properly when selecting certain options - ## [2.0.3] - 2020-05-02 ### Fixed - Show more/less works correctly with auto-collapsed subjects and long posts diff --git a/src/boot/after_store.js b/src/boot/after_store.js index 34f6d6e7c5..d70e10584b 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -241,9 +241,6 @@ const getNodeInfo = async ({ store }) => { : federation.enabled }) - const accountActivationRequired = metadata.accountActivationRequired - store.dispatch('setInstanceOption', { name: 'accountActivationRequired', value: accountActivationRequired }) - const accounts = metadata.staffAccounts resolveStaffAccounts({ store, accounts }) } else { @@ -307,9 +304,6 @@ const afterStoreSetup = async ({ store, i18n }) => { getNodeInfo({ store }) ]) - // Start fetching things that don't need to block the UI - store.dispatch('fetchMutes') - const router = new VueRouter({ mode: 'history', routes: routes(store), diff --git a/src/components/account_actions/account_actions.js b/src/components/account_actions/account_actions.js index 0826c27583..5d7ecf7e46 100644 --- a/src/components/account_actions/account_actions.js +++ b/src/components/account_actions/account_actions.js @@ -3,7 +3,7 @@ import Popover from '../popover/popover.vue' const AccountActions = { props: [ - 'user', 'relationship' + 'user' ], data () { return { } diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index 744b77d539..483783cfb5 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -9,16 +9,16 @@ class="account-tools-popover" >