Commit graph

2580 commits

Author SHA1 Message Date
Kagami Sascha Rosylight
0d2bee787d
fix(frontend/XHome): fall back to user.uri if user.url does not exist (#10313)
* fix(frontend/XHome): fall back to user.uri if user.url does not exist

* Update CHANGELOG.md
2023-03-13 09:46:33 +09:00
YS
44213812b8
空文字列のobjectStorageEndtpoinをnullと同様に扱う (#10312) 2023-03-13 09:45:21 +09:00
syuilo
7e9d3d9b2f Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-12 20:57:04 +09:00
syuilo
a43398ce1d refactor(test): rename variable for INestApplicationContext 2023-03-12 20:57:01 +09:00
tamaina
dff0bee748
fix: Do not use avif (#10301)
* fix: Do not use avif

* fix

* fix
2023-03-12 17:31:52 +09:00
syuilo
ba98abc97b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-12 16:45:11 +09:00
atsuchan
4215a11d9a
パスワードリセットがおささってしまわないようにする (#10304)
Add dialog to Password reset
2023-03-12 16:44:41 +09:00
syuilo
8ac5c35f09 enhance(client): 設定から自分のロールを確認できるように 2023-03-12 16:39:16 +09:00
syuilo
7c2d8d73ce enhance: ロールの並び順を設定可能に 2023-03-12 16:38:08 +09:00
Kagami Sascha Rosylight
57cac0aa23
fix(backend/ApRendererService): allow announces with visibility: followers (#10291)
* fix(backend/ApRendererService): allow announces with visibility: followers

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-12 12:11:37 +09:00
atsuchan
31488da40c
タイムラインを正常に無効化できるように (#10299)
* タイムラインを正常に無効化できるように

Timeline can be disabled successfully

* Tune: disabled timeline to update disabled state immediately

カラムの判定の場所をこっちにしないとリアルタイムで更新が反映されないので変更(タイムラインを正常に無効化できるように)

* modify disabled timeline icon to ti-circle-minus

無効化されたタイムラインのアイコンをTabler iconのti-circle-minusに修正

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-12 10:20:33 +09:00
Kagami Sascha Rosylight
1ea4469bec
fix(frontend/MkSignup): prevent uncaught errors from interrupted signup (#10265)
* fix(frontend/MkSignup): prevent uncaught errors from interrupted signup

* nullable sitekey

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-11 14:32:13 +09:00
Nanashia
4e7e377987
add backend 2fa test (#10289) 2023-03-11 14:13:39 +09:00
tamaina
88e3d3e8cb
enhance(server): 画像圧縮周り(主にサムネイルの仕様)の変更 (#10287)
* DriveService, is-mime-image

* static, previewをavifに, アニメーション画像でもthumbnailを生成

* fallback

* animated: true

* fix

* avatarはwebp

* revert ?? file.url

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-11 14:11:40 +09:00
(Fairy)Phy
488754437d
fix(frontend): Safariでプラグインが複数ある場合に正常に読み込まれない問題を修正 (#10290)
* Safariでプラグインが複数ある場合に正常に読み込まれない問題を修正

* Update packages/frontend/src/init.ts

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* Update packages/frontend/src/init.ts

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2023-03-11 13:40:22 +09:00
Kagami Sascha Rosylight
4094ab58aa
fix(backend/DriveService): gracely skip when getting NoSuchKey error from S3 (#10292)
* fix(backend/DriveService): gracely skip when getting NoSuchKey error from S3

* Update CHANGELOG.md

* import type
2023-03-11 13:35:51 +09:00
Kisaragi
0ac1fc846b
refactor(backend): 必要ないas anyを消去 (#10293) 2023-03-11 08:51:37 +09:00
syuilo
65b1524f92 enhance(client): 付箋ウィジェットの高さを設定可能に 2023-03-10 19:51:35 +09:00
nenohi
e13202a452
Issue:#9828対応 (#9916) 2023-03-10 19:30:21 +09:00
syuilo
787404638a fix(client): プロフィールで設定した情報が削除できない
Fix #10279
2023-03-10 18:48:57 +09:00
syuilo
c12e3c46ff Update about-misskey.vue 2023-03-10 18:05:35 +09:00
syuilo
99f3f0917f tweak postgresql entities
Fix #10266
2023-03-10 14:53:56 +09:00
syuilo
258bd3c905 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-10 14:22:42 +09:00
syuilo
5de8930058 refactor: rename schema to json-schema 2023-03-10 14:22:37 +09:00
YS
b7c26dc29d
絵文字ピッカーのすべての絵文字でマウスホバー時にtitle表示されるように (#9765)
* 絵文字ピッカーの絵文字アイコン選択のコンポーネント化とすべてでtitle表示

* コンポーネント化を取り消し、イベントとデータ属性で行う

* fix typo

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 14:15:49 +09:00
syuilo
66aef2e716 🎨 2023-03-10 14:07:34 +09:00
syuilo
c0bad443ff update deps 2023-03-10 14:00:14 +09:00
Kisaragi
a81ebc5966
chore(backend): fix typo in warning message (#10284) 2023-03-10 13:21:23 +09:00
Kagami Sascha Rosylight
3f53cbd8f6
fix(backend/DriveService): convert WebP/AVIF to WebP (#10239)
* fix(backend/DriveService): convert transparent WebP/AVIF to PNG

* webpにする

その希望が複数ありましたので

* Update packages/backend/src/core/DriveService.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* update test

* webpはwebpublicにできる

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 09:37:22 +09:00
Kagami Sascha Rosylight
e0b7633a7a
enhance(backend): restore OpenAPI endpoints (#10281)
* enhance(backend): restore OpenAPI endpoints

* Update CHANGELOG.md

* version

* set max-age

* update redoc

* follow redoc documentation

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 02:37:44 +09:00
Launchpad
caf646fcb0
fix(client): Solve the problem of not automatically jumping to /admin/overview when accessing the /admin page for the second time (#10264)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-10 02:22:47 +09:00
tamaina
89393aaf95
Merge pull request #10248 from saschanaz/alt-pre-line
fix(frontend/MkMediaList): altメッセージのnewlineを認識
2023-03-10 00:17:06 +09:00
Kagami Sascha Rosylight
ef773520e6
fix(frontend/widget): federation widgetのdata-cyも移動
fcb6e0adb9 の後テストが落ちている
2023-03-09 15:09:49 +01:00
tamaina
dc49a24f07
Merge pull request #9970 from saschanaz/mkusername-empty
fix(backend/ApPersonService): normalize empty value of `name` into an absent value
2023-03-09 22:36:26 +09:00
syuilo
fcb6e0adb9 chore(test): data属性がclassになっているのを修正 2023-03-09 19:59:11 +09:00
Acid Chicken (硫酸鶏)
93ea9c2033
chore(frontend): add debugger for #6864 (#10270) 2023-03-09 14:35:38 +09:00
tamaina
c75afad64a
enhance: アカウント削除時のクライアントの挙動をいい感じにするなど (#10002)
* refreshAccounts
Resolve #9322

* アカウント管理画面でリストを更新するように

* Update packages/frontend/src/account.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* ✌️

* クライアント起動時は現在ログインしているアカウントのみリフレッシュする

* clean up

* なんかめっちゃ変えた

* refactor

* refactor

* fix lint

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-09 14:27:16 +09:00
RyotaK
a4ca127ebd
fix: 登録メール送信時に重複確認を行う (#10231)
* fix: 登録メール送信時に重複確認を行う

* try-catchを使う必要はない

* Remove spaces
2023-03-09 12:57:34 +09:00
Kagami Sascha Rosylight
4835f0fb43
fix(frontend): GIFバナーの復活など (#10247)
* Restore GIF banner

* Add ALT banner, detect APNG too

* Add vitest

* Add CI for vitest

* Upload coverage?

* frontend
2023-03-09 12:48:39 +09:00
syuilo
6607b39235 fix(client): ロールで広告を無効にするとadmin/adsでプレビューがでてこない
Fix #10272
2023-03-09 12:28:40 +09:00
Ebise Lutica
9d1a874ddc
フォローリクエストのUI改善 (#10275)
* フォローリクエストのUI改善

* Update CHANGELOG.md
2023-03-09 12:17:34 +09:00
mmorita
aad70a97db
fix: チャンネルの編集権限をチャンネル所有者とモデレーターに限定する (#10268)
* チャンネルの編集権限をチャンネルオーナーとモデレーターに限定する

* PR 指摘点対応(共有ボタンを全員に表示、$i の nullable 対応、fix a typo)

* everyOne -> share
2023-03-09 07:58:53 +09:00
tamaina
97a43bc30f fix(server): videoThumbnailGeneratorが適用されない問題を修正 2023-03-08 19:57:52 +00:00
RyotaK
116dd097bd
fix: 登録フォームにおける競合状態を修正 (#10267)
* fix: 登録フォームにおける競合状態を修正

* エラーを修正
2023-03-08 16:32:13 +09:00
syuilo
dd6569a1bb
feat: Reaction acceptance (#10256)
* wip

* wip

* デフォルト設定
2023-03-08 08:56:47 +09:00
syuilo
4c2f7c64cc
feat: Per-user renote mute (#10249)
* feat: per-user renote muting

From FoundKey/c414f24a2c https://akkoma.dev/FoundKeyGang/FoundKey

* Update ja-JP.yml

* Delete renote-muting.ts

* rename

* fix ids

* lint

* fix

* Update CHANGELOG.md

* リノートをミュートしたユーザー一覧を見れるように

* 🎨

* add test

* fix test

---------

Co-authored-by: Hélène <pleroma-dev@helene.moe>
2023-03-08 08:56:09 +09:00
syuilo
6fe13f1a63 lint fix 2023-03-07 20:17:19 +09:00
danominium
4f0bb70118
fix(backend): ブロックホストがない場合はINクエリを生成しない。 (#10258)
空のINクエリはシンタックスエラーとなるため。
2023-03-07 20:09:20 +09:00
syuilo
b20703c185 tweak of 0554dd8375 2023-03-07 19:48:51 +09:00
syuilo
0554dd8375 enhance(client): DM作成時にメンションも含むように 2023-03-07 17:12:46 +09:00
syuilo
1ef6bec133 Update about-misskey.vue 2023-03-07 16:54:19 +09:00
RyotaK
6feead5185
fix: 登録時のフォームにおいて送信できる条件を修正 (#10238)
* fix: 登録時のフォームにおいて送信できる条件を修正

* テストを追加
2023-03-07 16:07:13 +09:00
syuilo
60c1af674f chore(client): tweak default sound setting 2023-03-07 09:51:37 +09:00
syuilo
3ecb863372 enhance(client): improve mute-block page 2023-03-07 09:37:02 +09:00
syuilo
2b884ba338 enhance(server): tweak notes/featured api 2023-03-07 08:41:10 +09:00
Kagami Sascha Rosylight
d90a98a8a7 fix(frontend/MkMediaList): altメッセージのnewlineを認識 2023-03-06 22:02:51 +01:00
Kagami Sascha Rosylight
5651353c27
Merge branch 'develop' into mkusername-empty 2023-03-06 07:51:17 +01:00
syuilo
31f9ea31b9 [ci skip] chore(client): showNoteActionsOnlyHover変更時にリロードダイアログを出すように 2023-03-06 11:53:04 +09:00
syuilo
5ccbeda86a Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-06 02:14:56 +00:00
syuilo
f20abb4ee5 fix(client): みつけるのロール一覧でコンディショナルロールが含まれるのを修正 2023-03-06 02:12:35 +00:00
tamaina
87d0f56dc7 fix correctFilename extが.から始まる場合も考慮する 2023-03-06 01:17:13 +00:00
arrow2nd
8c9c89a137
fix(frontend): ユーザーページのバッジ表示を適切に折り返すように (#10222)
* fix(frontend): ユーザーページのバッジ表示を適切に折り返すように

* Update CHANGELOG.md
2023-03-05 21:59:41 +09:00
syuilo
353b1cc682 [ci skip] 🎨 2023-03-05 20:52:26 +09:00
syuilo
9f73c23b38 [ci skip] fix(client): fix post button of channel 2023-03-05 20:48:46 +09:00
syuilo
4480fa1efe refactor(client): use css module 2023-03-05 20:28:39 +09:00
syuilo
f8ab34734c enhance(client): tweak MkFolder component 2023-03-05 20:28:27 +09:00
syuilo
aa01ba7cce enhance(client): tweak brain diver detection 2023-03-05 20:00:37 +09:00
syuilo
7b8e1e6913 enhance(client): tweak signup form 2023-03-05 14:05:28 +09:00
syuilo
85d93133d3 Update about-misskey.vue 2023-03-05 11:34:46 +09:00
syuilo
ae7d17d121 fix of b9a3b2c165 2023-03-05 11:11:36 +09:00
syuilo
b9a3b2c165 enhance(server): make identicon same between local and remote
Resolve #10200
2023-03-05 11:09:55 +09:00
syuilo
ba2630c615 tweak of 8e5e6f90cb 2023-03-05 10:59:44 +09:00
syuilo
8e5e6f90cb fix(client): PWAでlangがnullになる現象の応急処置
#10202
2023-03-05 10:57:54 +09:00
syuilo
f6c6ffaf64 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-05 10:48:07 +09:00
syuilo
5c88c17d15 fix(client): ロールの権限で「一般ユーザー」のロールがいきなり設定できない問題を修正
Fix #10203
2023-03-05 10:48:04 +09:00
tamaina
c36e7d1a07
enhance(server): メディアプロキシでico,bmpを読めるように (#10186)
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750

* untitled

* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする

* ✌️

* tiff

* fix filename

* add test

* /files/でもContent-Disposition

* enhance(server): メディアプロキシでico,bmpを読めるように
Fix #10120

* comment

* fix test

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-04 19:23:11 +09:00
nexryai
72b315491b
Fix: If mail delivery is disabled on the server, make the settings page indicate this (#10191)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-04 19:19:55 +09:00
syuilo
1711ae7156 🎨 2023-03-04 17:36:11 +09:00
syuilo
3f507241ca chore(client): tweak default value of numberOfPageCache 2023-03-04 17:19:18 +09:00
tamaina
2d551a8598
enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 (#10150)
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750

* untitled

* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする

* ✌️

* tiff

* fix filename

* add test

* /files/でもContent-Disposition

* comment

* fix test
2023-03-04 16:51:07 +09:00
rinsuki
49f0837729
fix(server): DriveFile related N+1 query when call note packMany (again) (#10190)
* Revert "Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)""

This reverts commit a7c82eeabc.

* packManyByIdsMap: 存在チェックをしてなかったものは null を入れるように

* Note.packMany で reply とか renote がもうあったらそのファイルも引く

* テストを書く

* fix test

* fix test

* fix test

* fix test
2023-03-04 16:48:50 +09:00
syuilo
e4fc9ea816 enhance(client): improve channel ui 2023-03-04 10:50:21 +09:00
syuilo
b303d65450 fix(client): Viteで This assignment will throw because "role" is a constantというエラーが出る
Fix #10187
2023-03-04 10:36:48 +09:00
syuilo
dcd4d80869 enhance(client): improve channel ui 2023-03-04 10:34:54 +09:00
syuilo
aee7ed992b enhance(client): add share button to clip and channel page
Resolve #10183
2023-03-04 10:17:45 +09:00
syuilo
ad7ecbaf37 通知部分は残す
Co-Authored-By: rinsuki <428rinsuki+contact.github@gmail.com>
2023-03-03 20:43:31 +09:00
syuilo
a7c82eeabc Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)"
This reverts commit 452a48e7f4.
2023-03-03 20:26:44 +09:00
syuilo
5d46c1c9bb (CSS完全に)理解した 2023-03-03 14:55:56 +09:00
syuilo
af24011eec clean up 2023-03-03 12:31:41 +09:00
syuilo
87c6d0cbee 🎨 2023-03-03 12:29:34 +09:00
syuilo
3066a133ac fix(client): prevent null reference error 2023-03-03 11:43:53 +09:00
Kagami Sascha Rosylight
61215e50ff
test(backend): APIテストの復活 (#10163)
* Revert 1c5291f818

* APIテストの復活

* apiテストの移行

* moduleNameMapper修正

* simpleGetでthrowしないように

status確認しているので要らない

* longer timeout

* ローカルでは問題ないのになんで

* case sensitive

* Run Nest instance within the current process

* Skip some setIntervals

* wait for 5 seconds

* kill them all!!

* logHeapUsage: true

* detectOpenHandlesがじゃましているらしい

* maxWorkers=1?

* restore drive api tests

* workerIdleMemoryLimit: 500MB

* 1024MiB

* Wait what
2023-03-03 11:13:12 +09:00
kabo2468
53987fadd7
fix(server): チャンネルでミュートが正しく機能していないのを修正 (#10166)
* fix(server): チャンネルでミュートが正しく機能していないのを修正

* Update CHANGELOG.md
2023-03-03 10:30:21 +09:00
rinsuki
452a48e7f4
fix(server): DriveFile related N+1 query when call note packMany (#10133)
* fix(server): DriveFile related N+1 query when call note packMany

* Update packages/backend/src/misc/is-not-null.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* ignore lint

* 途中でやめたやつが混入していた

* fix: 順番通りである必要がある場所で順番通りになっていなかった

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-03 10:06:59 +09:00
syuilo
5248395fc5 update sounds 2023-03-03 09:41:33 +09:00
syuilo
cf8a7f93d5 🎨 2023-03-03 08:48:52 +09:00
syuilo
187a698d54 🎨 2023-03-02 20:47:24 +09:00
syuilo
ebd7b27075 clean up 2023-03-02 18:40:55 +09:00
syuilo
dad915e522 enhance(client): provide sticktyFooter 2023-03-02 18:40:43 +09:00
Kagami Sascha Rosylight
896400a6c9
refactor(frontend): add explicit Promise<void> return types in os.ts (#10156) 2023-03-02 15:05:05 +09:00