かっこかり
ec1c392f1e
fix(frontend): 子メニューの最大長調整が行われていない問題を修正 ( #14003 )
...
* fix(frontend): 子メニューの最大長調整が行われていない問題を修正
* Update Changelog
* fix
* changelog
* Revert "fix"
This reverts commit 39fb326d49
.
* Revert "fix(frontend): 子メニューの最大長調整が行われていない問題を修正"
This reverts commit ea58bf7a53
.
* use css
* maxHeightをchildから定義するように
* use css min
2024-07-18 15:44:18 +09:00
かっこかり
4f85b6aa91
fix(frontend): Twitchの埋め込みが開けない問題を修正 ( #14247 )
...
* fix(frontend): twitchの埋め込みが開けない問題を修正
* Update Changelog
* fix test
2024-07-18 15:41:32 +09:00
anatawa12
ee3b132f05
Merge branch 'master' into develop
2024-07-18 14:25:09 +09:00
anatawa12
cd95a6e9c9
fix: remove unreleased section ( #14246 )
2024-07-18 14:23:47 +09:00
Kisaragi
e716c201c6
docs: 開発環境のセットアップ手順を詳細にする ( #14235 )
...
* docs: mentioning Devcontainer
fix #13753
* revise
* revise 2
* Apply suggestions from code review
per https://github.com/misskey-dev/misskey/pull/14235#discussion_r1680883942
Co-authored-by: anatawa12 <anatawa12@icloud.com>
* 下の方にあったDevcontainerのセクションをマージ
* revise 3
* Update CONTRIBUTING.md
https://github.com/misskey-dev/misskey/pull/14235#discussion_r1680928026
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
* mention Meilisearch
* Update CONTRIBUTING.md
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2024-07-18 08:57:02 +09:00
かっこかり
de166a8ed4
fix(backend): リノートミュートがキャッシュが切れるまで効かない問題を修正 ( #14242 )
...
* Fix: RenoteMuteがキャッシュが切れるまで効かない問題を修正
(cherry picked from commit e9601029b5
)
* update changelog
* 🎨
* remove unused import
* 消したときもキャッシュを飛ばすように
* lint
---------
Co-authored-by: mattyatea <mattyacocacora0@gmail.com>
2024-07-18 08:55:36 +09:00
tamaina
c3a6da19d7
chore: CHANGELOGにジョブキュー設定について追記 (follow-up of #13464 )
2024-07-18 08:53:45 +09:00
github-actions[bot]
73a42ea2ee
Bump version to 2024.7.0-beta.1
2024-07-17 17:23:58 +00:00
anatawa12
cfdad45092
fix: ソーシャルタイムラインにローカルタイムラインに表示される自分へのリプライが表示されない問題を修正 ( #13978 )
...
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2024-07-18 02:06:31 +09:00
tamaina
dd4cb5f44a
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2024-07-18 02:05:44 +09:00
tamaina
a54d043923
chore: ignore misskey-assets (follow-up of #12818 )
2024-07-18 02:05:40 +09:00
かっこかり
ec91e18899
fix(frontend): add missing import (follow-up of #12265 )
2024-07-18 01:56:02 +09:00
かっこかり
25b65925f7
refactor: misskey-assetsサブモジュールを削除 ( #12818 )
...
* (change) misskey-assetsサブモジュールを削除
* なんか残ってた
2024-07-18 01:47:11 +09:00
tamaina
5f88d56d96
perf(federation): Ed25519署名に対応する ( #13464 )
...
* 1. ed25519キーペアを発行・Personとして公開鍵を送受信
* validate additionalPublicKeys
* getAuthUserFromApIdはmainを選ぶ
* ✌️
* fix
* signatureAlgorithm
* set publicKeyCache lifetime
* refresh
* httpMessageSignatureAcceptable
* ED25519_SIGNED_ALGORITHM
* ED25519_PUBLIC_KEY_SIGNATURE_ALGORITHM
* remove sign additionalPublicKeys signature requirements
* httpMessageSignaturesSupported
* httpMessageSignaturesImplementationLevel
* httpMessageSignaturesImplementationLevel: '01'
* perf(federation): Use hint for getAuthUserFromApId (#13470 )
* Hint for getAuthUserFromApId
* とどのつまりこれでいいのか?
* use @misskey-dev/node-http-message-signatures
* fix
* signedPost, signedGet
* ap-request.tsを復活させる
* remove digest prerender
* fix test?
* fix test
* add httpMessageSignaturesImplementationLevel to FederationInstance
* ManyToOne
* fetchPersonWithRenewal
* exactKey
* ✌️
* use const
* use gen-key-pair fn. from '@misskey-dev/node-http-message-signatures'
* update node-http-message-signatures
* fix
* @misskey-dev/node-http-message-signatures@0.0.0-alpha.11
* getAuthUserFromApIdでupdatePersonの頻度を増やす
* cacheRaw.date
* use requiredInputs
https://github.com/misskey-dev/misskey/pull/13464#discussion_r1509964359
* update @misskey-dev/node-http-message-signatures
* clean up
* err msg
* fix(backend): fetchInstanceMetadataのLockが永遠に解除されない問題を修正
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix httpMessageSignaturesImplementationLevel validation
* fix test
* fix
* comment
* comment
* improve test
* fix
* use Promise.all in genRSAAndEd25519KeyPair
* refreshAndprepareEd25519KeyPair
* refreshAndfindKey
* commetn
* refactor public keys add
* digestプリレンダを復活させる
RFC実装時にどうするか考える
* fix, async
* fix
* !== true
* use save
* Deliver update person when new key generated (not tested)
https://github.com/misskey-dev/misskey/pull/13464#issuecomment-1977049061
* 循環参照で落ちるのを解消?
* fix?
* Revert "fix?"
This reverts commit 0082f6f8e8
.
* a
* logger
* log
* change logger
* 秘密鍵の変更は、フラグではなく鍵を引き回すようにする
* addAllKnowingSharedInboxRecipe
* nanka meccha kaeta
* delivre
* キャッシュ有効チェックはロック取得前に行う
* @misskey-dev/node-http-message-signatures@0.0.3
* PrivateKeyPem
* getLocalUserPrivateKey
* fix test
* if
* fix ap-request
* update node-http-message-signatures
* fix type error
* update package
* fix type
* update package
* retry no key
* @misskey-dev/node-http-message-signatures@0.0.8
* fix type error
* log keyid
* logger
* db-resolver
* JSON.stringify
* HTTP Signatureがなかったり使えなかったりしそうな場合にLD Signatureを活用するように
* inbox-delayed use actor if no signature
* ユーザーとキーの同一性チェックはhostの一致にする
* log signature parse err
* save array
* とりあえずtryで囲っておく
* fetchPersonWithRenewalでエラーが起きたら古いデータを返す
* use transactionalEntityManager
* fix spdx
* @misskey-dev/node-http-message-signatures@0.0.10
* add comment
* fix
* publicKeyに配列が入ってもいいようにする
https://github.com/misskey-dev/misskey/pull/13950
* define additionalPublicKeys
* fix
* merge fix
* refreshAndprepareEd25519KeyPair → refreshAndPrepareEd25519KeyPair
* remove gen-key-pair.ts
* defaultMaxListeners = 512
* Revert "defaultMaxListeners = 512"
This reverts commit f2c412c180
.
* genRSAAndEd25519KeyPairではキーを直列に生成する?
* maxConcurrency: 8
* maxConcurrency: 16
* maxConcurrency: 8
* Revert "genRSAAndEd25519KeyPairではキーを直列に生成する?"
This reverts commit d0aada55c1
.
* maxWorkers: '90%'
* Revert "maxWorkers: '90%'"
This reverts commit 9e0a93f110
.
* e2e/timelines.tsで個々のテストに対するtimeoutを削除, maxConcurrency: 32
* better error handling of this.userPublickeysRepository.delete
* better comment
* set result to keypairEntityCache
* deliverJobConcurrency: 16, deliverJobPerSec: 1024, inboxJobConcurrency: 4
* inboxJobPerSec: 64
* delete request.headers['host'];
* fix
* // node-fetch will generate this for us. if we keep 'Host', it won't change with redirects!
* move delete host
* modify comment
* modify comment
* fix correct → collect
* refreshAndfindKey → refreshAndFindKey
* modify comment
* modify attachLdSignature
* getApId, InboxProcessorService
* TODO
* [skip ci] add CHANGELOG
---------
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-07-18 01:28:17 +09:00
かっこかり
3331f3972a
fix(frontend): 「アニメーション画像を再生しない」がオンのときにバナー画像・サーバー背景画像がアニメーションしないように ( #14243 )
...
* fix: stop animating banner and backgrounds when stop showing animated images is enabled
(cherry picked from commit 8fe2596316e9688509745706ea424f0b4bfd4136)
* chore: nest ternary
(cherry picked from commit 2783fe5f5bd7c0647db9f9b6fb5e000e4f411092)
* chore: flip ternary
(cherry picked from commit b9d66f824cff373cc53bfa846a56c16f456a6d5b)
* update changelog
---------
Co-authored-by: Marie <marie@kaifa.ch>
2024-07-18 01:22:24 +09:00
woxtu
6942a920c8
refactor(frontend): Improve typing ( #14240 )
...
* Improve typing
* Remove redundant promise
* Refactor
* Update packages/frontend/src/scripts/mfm-function-picker.ts
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* Update packages/frontend/src/scripts/mfm-function-picker.ts
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-07-18 00:31:52 +09:00
Chocolate Pie
68bcd91d57
chore: Use clipboard API directly ( #14227 )
...
* chore: Use clipboard API directly
* fix: Fix lint
2024-07-17 21:52:05 +09:00
かっこかり
8b4933cc48
fix changelog (wrong category)
2024-07-17 19:08:39 +09:00
tamaina
bda1de8a67
use pnpm@9.5.0
2024-07-17 18:19:06 +09:00
github-actions[bot]
f0d738d8bf
Bump version to 2024.7.0-beta.0
2024-07-17 08:15:21 +00:00
FineArchs
070f0e723d
AiScriptを0.19.0にアップデート ( #14226 )
...
* Update autogen files
* Update CHANGELOG.md
* Update flash-edit.vue
2024-07-17 16:55:17 +09:00
woxtu
8ebc3b51f7
Fix typo ( #14231 )
2024-07-16 23:27:05 +09:00
Eiichi Yoshikawa
3b075c9c44
fix(frontend): MkSignin.vueのcredentialRequestからReactivityを削除 ( #14223 )
...
* Remove reactivity from credentialRequest in MkSignin.vue
* Update Changelog
2024-07-16 08:38:42 +09:00
おさむのひと
1001277d43
fix: CHANGELOG.mdの記載に漏れがあったのを修正 ( #14220 )
2024-07-15 22:08:02 +09:00
かっこかり
8371768544
Merge branch 'develop' into feat-1714
2024-07-15 18:37:03 +09:00
Kisaragi
ce39c3a2fb
chore(backend): registed -> registered ( #14213 )
...
* chore(backend): registed -> registered
* Update CHANGELOG.md
2024-07-15 14:58:48 +09:00
kakkokari-gtyih
cc59fc52e9
パラメータが逆になっていたのを修正
2024-07-15 12:00:09 +09:00
kakkokari-gtyih
87a7d1a8ea
popupの制御を出す側で行うように
2024-07-15 11:53:32 +09:00
かっこかり
8d144c8fdc
Merge branch 'develop' into feat-1714
2024-07-15 10:11:15 +09:00
Souma
1b84760c19
enhance(backend): Load settings via environment variables ( #14179 )
...
* feat(backend): Load settings via environment variables
If they're not loaded from the config file.
* chore(docker): Add hints for environment variables
It supports users to know about them.
* docs(changelog): Add the description about this change
Users can notice what's changed by this PR.
* style(backend): Fix code syntax
To pass the linter.
2024-07-14 21:33:22 +09:00
easrng
16795f18a7
Enhance(frontend): Allow negative delay in MFM ( #14200 )
...
Co-authored-by: easrng <me@easrng.net>
2024-07-14 21:31:30 +09:00
Kisaragi
f0b9d70720
ci: cache eslint ( #14204 )
...
* ci: cache eslint
* dummy commit to trigger
* fix syntax error
2024-07-14 21:30:57 +09:00
dependabot[bot]
aa0632727f
chore(deps): bump actions/setup-node from 4.0.2 to 4.0.3 ( #14165 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4.0.2...v4.0.3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-14 21:29:57 +09:00
anatawa12
d47fd4ffe1
fix: error with trying to handle SIGKILL ( #14208 )
2024-07-14 21:29:35 +09:00
Sayamame-beans
4b9c60ad21
fix(backend): ユーザーのリアクション一覧でミュート/ブロックが機能していなかった問題を修正 ( #14100 )
...
* fix: mute/block was not considered on users/reactions
* docs(changelog): update changelog
* chore: Apply suggestion from code review
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
---------
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-07-14 20:24:29 +09:00
syuilo
c5607d8633
enhance(backend): configにsignToActivityPubGetの指定が無い場合trueと見做すように
...
trueの方が望ましいため
2024-07-14 20:14:43 +09:00
かっこかり
722acf5986
fix(frontend): follow-up of #13089 ( #14206 )
...
* fix(frontend): #13089 を修正
* fix
* 正規表現を強化
* fix
2024-07-14 17:28:34 +09:00
Kisaragi
09d30fef5b
ci: ワークフローが更新されたときにもワークフローが起動するようにする ( #14207 )
...
* ci: include themselves in `on.push.paths`
command: find .github/workflows -type f \( -name '*.yaml' -or -name '*.yml' \) | xargs -I {} yq_4.44.2-linux_x86-64 'select(.on.push.paths != null) | .[0] | map("{}")[0]' {} | xargs -I {} ~/.local/bin/yq_4.44.2-linux_x86-64 -i '.on.push.paths += ["{}"]' {}
* ci: include themselves in `on.pull_request.paths`
command: find .github/workflows -type f \( -name '*.yaml' -or -name '*.yml' \) | xargs -I {} yq_4.44.2-linux_x86-64 'select(.on.pull_request.paths != null) | .[0] | map("{}")[0]' {} | xargs -I {} ~/.local/bin/yq_4.44.2-linux_x86-64 -i '.on.pull_request.paths += ["{}"]' {}
2024-07-14 17:27:27 +09:00
かっこかり
b9f3fccfac
fix(frontend): Nested RouteのときにRouterViewに当たるキーがルートのpathとぶち当たる可能性があるのを修正 ( #14202 )
...
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-07-14 16:21:59 +09:00
Kisaragi
76181385d2
refactor(misskey-js): enable exactOptionalPropertyTypes ( #14203 )
...
* refactor(misskey-js): enable exactOptionalPropertyTypes
* refactor(misskey-js): fix error where is appeared by enabling
2024-07-14 15:52:43 +09:00
かっこかり
3c032dd5b9
enhance: 非ログイン時には別サーバーに遷移できるように ( #13089 )
...
* enhance: 非ログイン時にはMisskey Hub経由で別サーバーに遷移できるように
* fix
* サーバーサイド照会を削除
* クライアント側の照会動作
* hubを経由せずにリモートで続行できるように
* fix と pleaseLogin誘導箇所の追加
* fix
* fix
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-07-14 15:27:52 +09:00
かっこかり
6dd6fcf88f
enhance(frontend): サーバー情報・お問い合わせページを改修 ( #14198 )
...
* improve(frontend): サーバー情報・お問い合わせページを改修 (#238 )
* Revert "Revert "enhance(frontend): add contact page" (#208 )" (This reverts commit 5a329a09c987b3249f97f9d53af67d1bffb09eea.)
* improve(frontend): サーバー情報・お問い合わせページを改修
(cherry picked from commit e72758d8cda3db009c5d1bf1f4141682931b91f8)
* fix
* Update Changelog
* tweak
* lint
* 既存の翻訳を使用するように
---------
Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
2024-07-14 14:49:50 +09:00
Kisaragi
31e82fc29a
test(backend): kill many any
in backend test (partial) ( #14054 )
...
* kill any on utils:api
* kill any on timeline test
* use optional chain to kill TS2532 on timeline test
変更前: 該当ノートが見つからなければundefinedに対するプロパティアクセスとしてテストがクラッシュ
変更後: 該当ノートが見つからなければoptional chainがundefinedとして評価されるが、strictEqualの右辺がnon-nullableなためアサーションに失敗しテストがクラッシュ
* kill `as any` for ApMfmService
* kill argument any for api-visibility
* kill argument any across a few tests
* do not return value that has yielded from `await`-ing `Promise<void>`
* force cast
* runtime non-null assertion to coerce
* rewrite `assert.notEqual(expr, null)` to `assert.ok(expr)`
こうすることでassertion type扱いになり、non-nullableになる
* change return type of `failedApiCall` to `void`
戻り値がどこにも使われていない
* split bindings for exports.ts
型が合わなくて文句を言ってくるので適切に分割
* runtime non-null assertion
* runtime non-null assertion
* 何故かうまく行かないので、とりあえずXORしてみる
* Revert "何故かうまく行かないので、とりあえずXORしてみる"
This reverts commit 48cf32c930
.
* castAsErrorで安全ではないキャストを隠蔽
* 型アサーションの追加
* 型アサーションの追加
* 型アサーションの追加
* voidで値を返さない
* castAsError
* assert.ok => kill nullability
* もはや明示的な型の指定は必要ない
* castAsError
* castAsError
* 型アサーションの追加
* nullableを一旦抑止
* 変数を分離して型エラーを排除
* 不要なプロパティを削除する処理を隠蔽してanyを排除
* Repository type
* simple type
* assert.ok => kill nullability
* revert `as any` drop
reverts fe95c05b3f
partialy
* test: fix invalid assertion
partially revert b99b7b5392
* test: 52d8a54fc7
により型が合うようになった部分の`as any`を除去
* format
* test: apply https://github.com/misskey-dev/misskey/pull/14054#discussion_r1672369526 (part 1)
* test: use non-null assertion to suppress too many error
* Update packages/backend/test/utils.ts
Co-authored-by: anatawa12 <anatawa12@icloud.com>
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-07-14 09:33:16 +09:00
Sayamame-beans
7afa593d11
Feat: ユーザーのアイコン/バナーの変更可否をロールで設定可能に ( #14078 )
...
* feat: implement role policy "canUpdateBioMedia"
* docs(changelog): update changelog
* docs(changelog): update changelog
* chore: regenerate misskey-js type definitions
* chore: Apply suggestion from code review
Co-authored-by: anatawa12 <anatawa12@icloud.com>
* chore: fix unnecessarily strict inequality check
* chore: policies should be gotten only once
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-07-14 09:31:05 +09:00
かっこかり
58c596cacf
fix(backend): 一般ユーザーから見たユーザーのバッジの一覧に公開されていないものが含まれることがある問題を修正 ( #14195 )
...
* enhance(backend): 公開バッジのみをpackするように (MisskeyIO#652)
(cherry picked from commit b8a90659f35fef49d1d00fb2f9b152226c97643c)
* Update Changelog
* fix
* Update UserEntityService.ts
---------
Co-authored-by: CyberRex <26585194+CyberRex0@users.noreply.github.com>
2024-07-14 09:26:25 +09:00
かっこかり
b5fd6183d2
deps(frontend): AiScript VSCodeのバージョンを上げる ( #14199 )
2024-07-14 08:00:27 +09:00
Gianni Ceccarelli
c83c831c53
parse notRespondingSince
from redis instance cache ( #14079 )
...
if we don't do this, we'll get a string, and `DeliverProcessorService`
will error out `i.notRespondingSince.getTime is not a function`
2024-07-13 20:26:48 +09:00
Kisaragi
9fcae7d9b2
refactor(sw): enable noImplicitAny ( #14191 )
2024-07-13 16:59:08 +09:00
かっこかり
bcc92d546f
fix(frontend): ホットキーのレートリミットがallowRepeatを考慮しない問題を修正 ( #14192 )
2024-07-13 16:15:25 +09:00
kakkokari-gtyih
7ca3a686a6
プレビュー用iframeにフォーカスが当たるのを修正
2024-07-13 15:23:36 +09:00