Compare commits
85 Commits
sim-dev-co
...
sim-dev-re
Author | SHA1 | Date | |
---|---|---|---|
4f9aca0aa3 | |||
6238ba965b | |||
8489c3ca7b | |||
33871f3cb8 | |||
990fef5993 | |||
e5d56a7cfe | |||
779bd244a6 | |||
47edc18931 | |||
1e48d9e15b | |||
56d8f7f257 | |||
22102639a8 | |||
be011d3985 | |||
34e099984f | |||
25991cfdc1 | |||
f31ef70ce7 | |||
b77f7f5041 | |||
cc2d5480f3 | |||
8dd3fef0e2 | |||
6f328f2ccf | |||
668c403ece | |||
3f6691bd5e | |||
1b956af855 | |||
80c88e13ff | |||
ad9e6a4ec5 | |||
504f182448 | |||
fd5999378b | |||
8451436cb8 | |||
37628953c5 | |||
83a77f1064 | |||
99640a35a3 | |||
88cdbc2ad6 | |||
db10103d8e | |||
2795fe4579 | |||
54631026de | |||
80783199a9 | |||
6d557269c1 | |||
26b268588f | |||
a1af83c0ab | |||
d0d5068f72 | |||
8a1f3a4c0b | |||
338793d891 | |||
c82ce9233b | |||
4b48ba4e8c | |||
7115bd46ff | |||
e967d9ded3 | |||
f00ceedae4 | |||
df67836c1a | |||
9fd0e90850 | |||
42c4ea38cc | |||
df53968306 | |||
df530bb66d | |||
c52e30e8e0 | |||
5e6e1e237a | |||
943a1940e2 | |||
12913a16fd | |||
acb9244205 | |||
d04014f875 | |||
929e545514 | |||
942c802431 | |||
70d02cf1be | |||
f96c60c1a0 | |||
8accb78fa9 | |||
05203e2cf0 | |||
b6c9ab0c15 | |||
cdef5cd1ad | |||
ea7d4d323e | |||
17fff8c665 | |||
92977f303d | |||
8043409d38 | |||
37dc1c9a82 | |||
631091940b | |||
938fcb3e5e | |||
5e1d17dff2 | |||
449dc17df8 | |||
3e11011229 | |||
52d577c7dd | |||
18693fb380 | |||
f7e9725e59 | |||
9a4a534c92 | |||
b090ff9994 | |||
3d68a0988b | |||
d6c8b9b994 | |||
49e6c2ed75 | |||
e4bcdd7b4d | |||
7747ec5b6d |
@ -7,8 +7,16 @@
|
||||
|
||||
-->
|
||||
|
||||
## 12.102.1 (2022/01/27)
|
||||
### Bugfixes
|
||||
- チャットが表示できない問題を修正
|
||||
|
||||
## 12.102.0 (2022/01/27)
|
||||
|
||||
### NOTE
|
||||
アップデート後、一部カスタム絵文字が表示できなくなる場合があります。その場合、一旦絵文字管理ページから絵文字を一括エクスポートし、再度コントロールパネルから一括インポートすると直ります。
|
||||
⚠ 12.102.0以前にエクスポートされたzipとは互換性がありません。アップデートしてからエクスポートを行なってください。
|
||||
|
||||
### Changes
|
||||
- Room機能が削除されました
|
||||
- 後日別リポジトリとして復活予定です
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "misskey",
|
||||
"version": "12.102.0-simkey",
|
||||
"version": "12.102.1-simkey",
|
||||
"codename": "indigo",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,39 +1,78 @@
|
||||
<template>
|
||||
<div ref="el" class="fdidabkb" :class="{ slim: narrow, thin: thin_ }" :style="{ background: bg }" @click="onClick">
|
||||
<template v-if="info">
|
||||
<div v-if="!hideTitle" class="titleContainer" @click="showTabsPopup">
|
||||
<MkAvatar v-if="info.avatar" class="avatar" :user="info.avatar" :disable-preview="true" :show-indicator="true"/>
|
||||
<i v-else-if="info.icon" class="icon" :class="info.icon"></i>
|
||||
<div
|
||||
ref="el"
|
||||
class="fdidabkb"
|
||||
:class="{ slim: narrow, thin: thin_ }"
|
||||
:style="{ background: bg }"
|
||||
@click="onClick"
|
||||
>
|
||||
<template v-if="info">
|
||||
<div v-if="!hideTitle" class="titleContainer" @click="showTabsPopup">
|
||||
<MkAvatar
|
||||
v-if="info.avatar"
|
||||
class="avatar"
|
||||
:user="info.avatar"
|
||||
:disable-preview="true"
|
||||
:show-indicator="true"
|
||||
/>
|
||||
<i v-else-if="info.icon" class="icon" :class="info.icon"></i>
|
||||
|
||||
<div class="title">
|
||||
<MkUserName v-if="info.userName" :user="info.userName" :nowrap="true" class="title"/>
|
||||
<div v-else-if="info.title" class="title">{{ info.title }}</div>
|
||||
<div v-if="!narrow && info.subtitle" class="subtitle">
|
||||
{{ info.subtitle }}
|
||||
</div>
|
||||
<div v-if="narrow && hasTabs" class="subtitle activeTab">
|
||||
{{ info.tabs.find(tab => tab.active)?.title }}
|
||||
<i class="chevron fas fa-chevron-down"></i>
|
||||
<div class="title">
|
||||
<MkUserName v-if="info.userName" :user="info.userName" :nowrap="true" class="title" />
|
||||
<div v-else-if="info.title" class="title">{{ info.title }}</div>
|
||||
<div v-if="!narrow && info.subtitle" class="subtitle">{{ info.subtitle }}</div>
|
||||
<div v-if="narrow && hasTabs" class="subtitle activeTab">
|
||||
{{ info.tabs.find(tab => tab.active)?.title }}
|
||||
<i class="chevron fas fa-chevron-down"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="!narrow || hideTitle" class="tabs">
|
||||
<button v-for="tab in info.tabs" v-tooltip="tab.title" class="tab _button" :class="{ active: tab.active }" @click="tab.onClick">
|
||||
<i v-if="tab.icon" class="icon" :class="tab.icon"></i>
|
||||
<span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span>
|
||||
<div v-if="!narrow || hideTitle" class="tabs">
|
||||
<button
|
||||
v-for="tab in info.tabs"
|
||||
v-tooltip="tab.title"
|
||||
class="tab _button"
|
||||
:class="{ active: tab.active }"
|
||||
@click="tab.onClick"
|
||||
>
|
||||
<i v-if="tab.icon" class="icon" :class="tab.icon"></i>
|
||||
<span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span>
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
<div class="buttons right">
|
||||
<button class="_button button" onclick="location.reload();">
|
||||
<i class="fa-solid fa-arrow-rotate-right"></i>
|
||||
</button>
|
||||
<template v-if="info && info.actions && !narrow">
|
||||
<template v-for="action in info.actions">
|
||||
<MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler">
|
||||
<i :class="action.icon" style="margin-right: 6px;"></i>
|
||||
{{ action.text }}
|
||||
</MkButton>
|
||||
<button
|
||||
v-else
|
||||
v-tooltip="action.text"
|
||||
class="_button button"
|
||||
:class="{ highlighted: action.highlighted }"
|
||||
@click.stop="action.handler"
|
||||
@touchstart="preventDrag"
|
||||
>
|
||||
<i :class="action.icon"></i>
|
||||
</button>
|
||||
</template>
|
||||
</template>
|
||||
<button
|
||||
v-if="shouldShowMenu"
|
||||
v-tooltip="$ts.menu"
|
||||
class="_button button"
|
||||
@click.stop="showMenu"
|
||||
@touchstart="preventDrag"
|
||||
>
|
||||
<i class="fas fa-ellipsis-h"></i>
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
<div class="buttons right">
|
||||
<template v-if="info && info.actions && !narrow">
|
||||
<template v-for="action in info.actions">
|
||||
<MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler"><i :class="action.icon" style="margin-right: 6px;"></i>{{ action.text }}</MkButton>
|
||||
<button v-else v-tooltip="action.text" class="_button button" :class="{ highlighted: action.highlighted }" @click.stop="action.handler" @touchstart="preventDrag"><i :class="action.icon"></i></button>
|
||||
</template>
|
||||
</template>
|
||||
<button v-if="shouldShowMenu" v-tooltip="$ts.menu" class="_button button" @click.stop="showMenu" @touchstart="preventDrag"><i class="fas fa-ellipsis-h"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@ -150,7 +189,7 @@ export default defineComponent({
|
||||
onUnmounted(() => {
|
||||
globalEvents.off('themeChanged', calcBg);
|
||||
});
|
||||
|
||||
|
||||
if (el.value.parentElement) {
|
||||
narrow.value = el.value.parentElement.offsetWidth < 500;
|
||||
const ro = new ResizeObserver((entries, observer) => {
|
||||
@ -227,7 +266,7 @@ export default defineComponent({
|
||||
> .buttons {
|
||||
--margin: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: center;
|
||||
height: var(--height);
|
||||
margin: 0 var(--margin);
|
||||
|
||||
|
@ -102,7 +102,7 @@ const props = withDefaults(defineProps<{
|
||||
initialLocalOnly?: boolean;
|
||||
initialVisibleUsers?: misskey.entities.User[];
|
||||
initialNote?: misskey.entities.Note;
|
||||
share?: boolean;
|
||||
instant?: boolean;
|
||||
fixed?: boolean;
|
||||
autofocus?: boolean;
|
||||
}>(), {
|
||||
@ -641,7 +641,7 @@ onMounted(() => {
|
||||
|
||||
nextTick(() => {
|
||||
// 書きかけの投稿を復元
|
||||
if (!props.share && !props.mention && !props.specified) {
|
||||
if (!props.instant && !props.mention && !props.specified) {
|
||||
const draft = JSON.parse(localStorage.getItem('drafts') || '{}')[draftKey];
|
||||
if (draft) {
|
||||
text = draft.data.text;
|
||||
|
@ -182,6 +182,7 @@ function gravity() {
|
||||
function iLoveMisskey() {
|
||||
os.post({
|
||||
initialText: 'I $[jelly ❤] #Misskey',
|
||||
instant: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent, defineAsyncComponent } from 'vue';
|
||||
import insertTextAtCursor from 'insert-text-at-cursor';
|
||||
import * as autosize from 'autosize';
|
||||
import autosize from 'autosize';
|
||||
import { formatTimeString } from '@/scripts/format-time-string';
|
||||
import { selectFile } from '@/scripts/select-file';
|
||||
import * as os from '@/os';
|
||||
@ -76,7 +76,8 @@ export default defineComponent({
|
||||
autosize(this.$refs.text);
|
||||
|
||||
// TODO: detach when unmount
|
||||
new Autocomplete(this.$refs.text, this, { model: 'text' });
|
||||
// TODO
|
||||
//new Autocomplete(this.$refs.text, this, { model: 'text' });
|
||||
|
||||
// 書きかけの投稿を復元
|
||||
const draft = JSON.parse(localStorage.getItem('message_drafts') || '{}')[this.draftKey];
|
||||
|
@ -11,7 +11,7 @@
|
||||
<button v-show="existMoreMessages" ref="loadMore" class="more _button" :class="{ fetching: fetchingMoreMessages }" :disabled="fetchingMoreMessages" @click="fetchMoreMessages">
|
||||
<template v-if="fetchingMoreMessages"><i class="fas fa-spinner fa-pulse fa-fw"></i></template>{{ fetchingMoreMessages ? $ts.loading : $ts.loadMore }}
|
||||
</button>
|
||||
<XList v-slot="{ item: message }" class="messages" :items="messages" direction="up" reversed>
|
||||
<XList v-if="messages.length > 0" v-slot="{ item: message }" class="messages" :items="messages" direction="up" reversed>
|
||||
<XMessage :key="message.id" :message="message" :is-group="group != null"/>
|
||||
</XList>
|
||||
</div>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<XPostForm
|
||||
v-if="state === 'writing'"
|
||||
fixed
|
||||
:share="true"
|
||||
:instant="true"
|
||||
:initial-text="initialText"
|
||||
:initial-visibility="visibility"
|
||||
:initial-files="files"
|
||||
|
Reference in New Issue
Block a user