mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 03:46:42 -06:00
Compare commits
11 commits
ee4f2cecdd
...
0145477c96
Author | SHA1 | Date | |
---|---|---|---|
|
0145477c96 | ||
|
8600bbaba6 | ||
|
04b221409c | ||
|
0e90589290 | ||
|
e2e21bdc98 | ||
|
8742bd9bc1 | ||
|
6612b45f59 | ||
77705d34d1 | |||
|
437dbbe75d | ||
|
2e95c4082b | ||
|
9d8f9353e4 |
5 changed files with 9 additions and 7 deletions
|
@ -49,7 +49,7 @@
|
|||
- Fix: デッキのタイムラインカラムで「センシティブなファイルを含むノートを表示」設定が使用できなかった問題を修正
|
||||
- Fix: Encode RSS urls with escape sequences before fetching allowing query parameters to be used
|
||||
- Fix: リンク切れを修正
|
||||
= Fix: ノート投稿ボタンにホバー時のスタイルが適用されていないのを修正
|
||||
- Fix: ノート投稿ボタンにホバー時のスタイルが適用されていないのを修正
|
||||
(Cherry-picked from https://github.com/taiyme/misskey/pull/305)
|
||||
- Fix: メールアドレス登録有効化時の「完了」ダイアログボックスの表示条件を修正
|
||||
- Fix: 画面幅が狭い環境でデザインが崩れる問題を修正
|
||||
|
|
|
@ -7,6 +7,7 @@ import { setImmediate } from 'node:timers/promises';
|
|||
import * as mfm from 'mfm-js';
|
||||
import { In, DataSource, IsNull, LessThan } from 'typeorm';
|
||||
import * as Redis from 'ioredis';
|
||||
import * as Bull from 'bullmq';
|
||||
import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common';
|
||||
import { extractMentions } from '@/misc/extract-mentions.js';
|
||||
import { extractCustomEmojisFromMfm } from '@/misc/extract-custom-emojis-from-mfm.js';
|
||||
|
@ -295,7 +296,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
case 'followers':
|
||||
// 他人のfollowers noteはreject
|
||||
if (data.renote.userId !== user.id) {
|
||||
throw new Error('Renote target is not public or home');
|
||||
throw new Bull.UnrecoverableError('Renote target is not public or home');
|
||||
}
|
||||
|
||||
// Renote対象がfollowersならfollowersにする
|
||||
|
@ -303,7 +304,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
break;
|
||||
case 'specified':
|
||||
// specified / direct noteはreject
|
||||
throw new Error('Renote target is not public or home');
|
||||
throw new Bull.UnrecoverableError('Renote target is not public or home');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -189,14 +189,12 @@ export class WebAuthnService {
|
|||
*/
|
||||
@bindThis
|
||||
public async verifySignInWithPasskeyAuthentication(context: string, response: AuthenticationResponseJSON): Promise<MiUser['id'] | null> {
|
||||
const challenge = await this.redisClient.get(`webauthn:challenge:${context}`);
|
||||
const challenge = await this.redisClient.getdel(`webauthn:challenge:${context}`);
|
||||
|
||||
if (!challenge) {
|
||||
throw new IdentifiableError('2d16e51c-007b-4edd-afd2-f7dd02c947f6', `challenge '${context}' not found`);
|
||||
}
|
||||
|
||||
await this.redisClient.del(`webauthn:challenge:${context}`);
|
||||
|
||||
const key = await this.userSecurityKeysRepository.findOneBy({
|
||||
id: response.id,
|
||||
});
|
||||
|
|
|
@ -37,6 +37,9 @@ export interface IObject {
|
|||
tag?: IObject | IObject[];
|
||||
sensitive?: boolean;
|
||||
updated?: string;
|
||||
visibility?: string;
|
||||
mentionedUsers?: any[];
|
||||
visibleUsers?: any[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -806,7 +806,7 @@ function emitUpdReaction(emoji: string, delta: number) {
|
|||
|
||||
.skipRender {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: 0 180px;
|
||||
contain-intrinsic-size: 0 250px;
|
||||
}
|
||||
|
||||
.tip {
|
||||
|
|
Loading…
Reference in a new issue