Merge remote-tracking branch 'upstream/develop' into fix-12160

This commit is contained in:
yukineko 2023-11-13 10:53:57 +09:00
commit 7f836df302
No known key found for this signature in database
GPG Key ID: E5BACB72109B7B90
7 changed files with 15 additions and 13 deletions

View File

@ -18,11 +18,14 @@
- -
### Client ### Client
- - Fix: アイコンデコレーションが複数の場所で見切れている問題を修正
― Fix: 「フォロー中の人全員の返信を含める/含めないようにする」のボタンを押下した際の確認が機能していない問題を修正
- Fix: 非ログイン時に「ノートを追加」を表示しないように変更 #12309
### Server ### Server
- Fix: トークンのないプラグインをアンインストールするときにエラーが出ないように - Fix: トークンのないプラグインをアンインストールするときにエラーが出ないように
- Fix: 投稿通知がオンでもダイレクト投稿はユーザーに通知されないようにされました - Fix: 投稿通知がオンでもダイレクト投稿はユーザーに通知されないようにされました
- Fix: ユーザタイムラインの「ノート」選択時にリノートが混ざり込んでしまうことがある問題の修正 #12306
- Fix: ート取得時にート数がlimitよりも少ない事がある問題を修正 - Fix: ート取得時にート数がlimitよりも少ない事がある問題を修正
## 2023.11.0 ## 2023.11.0

View File

@ -51,7 +51,6 @@ export const paramDef = {
untilId: { type: 'string', format: 'misskey:id' }, untilId: { type: 'string', format: 'misskey:id' },
sinceDate: { type: 'integer' }, sinceDate: { type: 'integer' },
untilDate: { type: 'integer' }, untilDate: { type: 'integer' },
includeMyRenotes: { type: 'boolean', default: true },
withFiles: { type: 'boolean', default: false }, withFiles: { type: 'boolean', default: false },
excludeNsfw: { type: 'boolean', default: false }, excludeNsfw: { type: 'boolean', default: false },
}, },
@ -169,7 +168,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
query.andWhere('note.fileIds != \'{}\''); query.andWhere('note.fileIds != \'{}\'');
} }
if (ps.includeMyRenotes === false) { if (ps.withRenotes === false) {
query.andWhere(new Brackets(qb => { query.andWhere(new Brackets(qb => {
qb.orWhere('note.userId != :userId', { userId: ps.userId }); qb.orWhere('note.userId != :userId', { userId: ps.userId });
qb.orWhere('note.renoteId IS NULL'); qb.orWhere('note.renoteId IS NULL');

View File

@ -1072,6 +1072,7 @@ defineExpose({
.preview { .preview {
padding: 16px 20px 0 20px; padding: 16px 20px 0 20px;
min-height: 75px;
max-height: 150px; max-height: 150px;
overflow: auto; overflow: auto;
} }

View File

@ -73,7 +73,6 @@ function getReactionName(reaction: string): string {
} }
.users { .users {
contain: content;
flex: 1; flex: 1;
min-width: 0; min-width: 0;
margin: -4px 14px 0 10px; margin: -4px 14px 0 10px;
@ -85,7 +84,7 @@ function getReactionName(reaction: string): string {
line-height: 24px; line-height: 24px;
padding-top: 4px; padding-top: 4px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: visible;
text-overflow: ellipsis; text-overflow: ellipsis;
} }

View File

@ -148,12 +148,13 @@ async function reloadAsk() {
} }
async function updateRepliesAll(withReplies: boolean) { async function updateRepliesAll(withReplies: boolean) {
const { canceled } = os.confirm({ const { canceled } = await os.confirm({
type: 'warning', type: 'warning',
text: withReplies ? i18n.ts.confirmShowRepliesAll : i18n.ts.confirmHideRepliesAll, text: withReplies ? i18n.ts.confirmShowRepliesAll : i18n.ts.confirmHideRepliesAll,
}); });
if (canceled) return; if (canceled) return;
await os.api('following/update-all', { withReplies });
os.api('following/update-all', { withReplies });
} }
watch([ watch([

View File

@ -26,7 +26,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<span v-if="user.isAdmin" :title="i18n.ts.isAdmin" style="color: var(--badge);"><i class="ti ti-shield"></i></span> <span v-if="user.isAdmin" :title="i18n.ts.isAdmin" style="color: var(--badge);"><i class="ti ti-shield"></i></span>
<span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ti ti-lock"></i></span> <span v-if="user.isLocked" :title="i18n.ts.isLocked"><i class="ti ti-lock"></i></span>
<span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ti ti-robot"></i></span> <span v-if="user.isBot" :title="i18n.ts.isBot"><i class="ti ti-robot"></i></span>
<button v-if="!isEditingMemo && !memoDraft" class="_button add-note-button" @click="showMemoTextarea"> <button v-if="$i && !isEditingMemo && !memoDraft" class="_button add-note-button" @click="showMemoTextarea">
<i class="ti ti-edit"/> {{ i18n.ts.addMemo }} <i class="ti ti-edit"/> {{ i18n.ts.addMemo }}
</button> </button>
</div> </div>

View File

@ -176,7 +176,7 @@ function more(ev: MouseEvent) {
.bottom { .bottom {
position: sticky; position: sticky;
bottom: 0; bottom: 0;
padding: 20px 0; padding-top: 20px;
background: var(--X14); background: var(--X14);
-webkit-backdrop-filter: var(--blur, blur(8px)); -webkit-backdrop-filter: var(--blur, blur(8px));
backdrop-filter: var(--blur, blur(8px)); backdrop-filter: var(--blur, blur(8px));
@ -228,11 +228,10 @@ function more(ev: MouseEvent) {
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
padding-left: 30px; padding: 20px 0 20px 30px;
width: 100%; width: 100%;
text-align: left; text-align: left;
box-sizing: border-box; box-sizing: border-box;
margin-top: 16px;
overflow: clip; overflow: clip;
} }
@ -363,7 +362,7 @@ function more(ev: MouseEvent) {
.bottom { .bottom {
position: sticky; position: sticky;
bottom: 0; bottom: 0;
padding: 20px 0; padding-top: 20px;
background: var(--X14); background: var(--X14);
-webkit-backdrop-filter: var(--blur, blur(8px)); -webkit-backdrop-filter: var(--blur, blur(8px));
backdrop-filter: var(--blur, blur(8px)); backdrop-filter: var(--blur, blur(8px));
@ -374,7 +373,6 @@ function more(ev: MouseEvent) {
position: relative; position: relative;
width: 100%; width: 100%;
height: 52px; height: 52px;
margin-bottom: 16px;
text-align: center; text-align: center;
&:before { &:before {
@ -411,6 +409,7 @@ function more(ev: MouseEvent) {
.account { .account {
display: block; display: block;
text-align: center; text-align: center;
padding: 20px 0;
width: 100%; width: 100%;
overflow: clip; overflow: clip;
} }