Commit Graph

2404 Commits

Author SHA1 Message Date
syuilo 5ac9d13516 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-07 19:59:00 +09:00
syuilo 2be1a39d13 fix(server): validate urls from ap to improve security 2023-02-07 19:58:58 +09:00
Masaya Suzuki f3c5edc852
fix: postgre -> postgres (#9814) 2023-02-07 19:50:38 +09:00
tamaina 41932ac409 MkEmojiPickerでも Fix #9598 2023-02-06 12:05:33 +00:00
tamaina 9843c596d8 disableShowingAnimatedImagesのデフォルト値をprefers-reduced-motionにする
Resolve #9821
Related to #6501
2023-02-06 11:29:48 +00:00
syuilo 0ec8ebeba3 fix(client): tweak notification style
Fix #8633
2023-02-05 20:47:27 +09:00
syuilo af1c9251fc chore(client): add type check 2023-02-05 20:38:33 +09:00
Caipira c20ce12f86
enhance(client): add webhook delete button (#9806) 2023-02-05 20:31:38 +09:00
syuilo 5f3640c7fd fix(client): validate input response in aiscript 2023-02-05 20:29:10 +09:00
syuilo d65e5f6794 単なるラッキーの獲得確立を調整 2023-02-05 14:38:21 +09:00
syuilo e67d7bc0ea tweak animation 2023-02-05 14:35:00 +09:00
syuilo 1139632f95 fix(server): 自分のノートをお気に入りに登録しても実績解除される問題を修正 2023-02-05 14:30:07 +09:00
syuilo 0d7256678e fix(server): validate filename and emoji name to improve security 2023-02-05 14:25:37 +09:00
futchitwo 04f92bd688
feat: timeline page for non-login users (#9795) 2023-02-05 14:02:54 +09:00
MeiMei 505ecf6c1f
Deny UNIX domain socket (#9802)
* Deny UNIX domain socket

* got v12ならこれが使える?
2023-02-05 13:51:59 +09:00
Masaya Suzuki c9ec08704e
fix: インラインコードを折り返して表示する (#9801) 2023-02-05 13:33:21 +09:00
syuilo 6a3039f7b7 feat: ロールにアイコンを設定してユーザー名の横に表示できるように
Resolve #9761
2023-02-05 10:37:03 +09:00
tamaina faed3b438e fix(server): clean up file in FileServer 2023-02-04 13:46:19 +00:00
syuilo 4ad0345f20 fix(server): cannot follow user 2023-02-04 19:19:30 +09:00
syuilo ee74df6823 fix(server): improve security 2023-02-04 18:21:07 +09:00
syuilo 38f9d1e764 fix(client): validate urls to improve security 2023-02-04 14:20:07 +09:00
tamaina 2dfed75402
perf(server): improvement of external mediaProxy (#9787)
* perf(server): improvement of external mediaProxy

* add a comment

* ✌️

* /filesでsharpの処理を行わずリダイレクトする

* fix

* thumbnail => static

* Fix #9788

* add avatar mode

* add url

* fix

* static.webp

* remove encodeURIComponent from media proxy path

* remove existance check
2023-02-04 13:38:51 +09:00
syuilo 0c12e80106 perf(server): cache blocking 2023-02-04 12:40:40 +09:00
syuilo b7522f69e7 fix typo 2023-02-04 10:02:03 +09:00
syuilo 788ae2f6ca fix(client): validate urls to improve security 2023-02-04 09:10:01 +09:00
syuilo 572000f868 clean up 2023-02-04 09:01:26 +09:00
Rox Squires 57f5df2d22
Fix | Vue-plyr CORS issue (#9790)
* Added Video player

Added vue-plyr as the video play

* Create node.js.yml

* Delete node.js.yml

* Added vue-plyr into pnpm-lock.yaml

* tweak

* Fixed the pnpm-lock.yaml

For some reason on the dependencies there was to instances of vue-plyr

* Added MkMediaAudio

* Update MkMediaList.vue

* CORS checks

* Update MkMediaVideo.vue

* Update MkMediaVideo.vue

* Fixed CORS

the property made the video player use the CORS policy that stopped instance not using media caching not able to load the video from remote instance

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-04 09:00:16 +09:00
tamaina b2a67ba5ca fix(client): オートコンプリートでUnicode絵文字がカスタム絵文字として表示されてしまうのを修正 2023-02-03 21:21:36 +00:00
tamaina d78e15cc1a fix(client): カスタム絵文字にアニメーション画像を再生しない設定が適用されていない問題を修正 2023-02-03 20:37:15 +00:00
tamaina 0d148bd23b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-03 08:07:25 +00:00
syuilo a8c252a613 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-03 17:44:28 +09:00
syuilo 1d39f785f1 perf: use replaceAll instead of regex 2023-02-03 17:44:25 +09:00
Roxy Squires 4b8b29b862
enhance - Added vue-plyr as the standard video player (#9766)
* Added Video player

Added vue-plyr as the video play

* Create node.js.yml

* Delete node.js.yml

* Added vue-plyr into pnpm-lock.yaml

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-03 17:15:25 +09:00
tamaina ebedb81e3f update idb-proxy.ts
Maybe fixed #9769
2023-02-03 08:07:17 +00:00
syuilo 825551d64f drop syslog
Close #9774
2023-02-03 15:08:36 +09:00
syuilo 5859df389f Create 1675404035646-cleanup.js 2023-02-03 15:02:54 +09:00
syuilo 562b02310f drop twitter/github/discord integrations
Close #9775
2023-02-03 15:01:31 +09:00
syuilo 65ed702d87 update deps 2023-02-03 14:44:09 +09:00
syuilo c559a9843f drop hashtag chart 2023-02-03 14:10:14 +09:00
syuilo 88c3957085 enhance(client): hidden ads when canHideAds is true 2023-02-03 14:03:34 +09:00
syuilo ed3e035ad6 refactor: use test 2023-02-02 18:18:25 +09:00
syuilo 07f885fea8 refactor 2023-02-02 18:08:34 +09:00
syuilo 2cc98226ca improve RoleService test 2023-02-02 18:06:23 +09:00
tamaina 8a6f73c5ff
enhance: PizzaxデータをindexedDBに保存するように (#9225)
* Revert "Revert #8098"

This reverts commit 8b9dc962ae.

* fix

* use deepClone instead of deepclone

* defaultStore.loaded

* fix load

* wait ready

* use top-level await, await in device-kind.ts
2023-02-02 16:43:56 +09:00
syuilo 00e3453ce1 improve role test 2023-02-02 14:28:29 +09:00
syuilo 1f39d1fe26 test: add test of RoleService 2023-02-02 10:26:59 +09:00
syuilo 4b43745e7c fix(test): add @jest/globals 2023-02-02 10:26:29 +09:00
syuilo 9db2f60053 refactor(client): use top-level await 2023-02-02 09:00:34 +09:00
syuilo 4610d8dfe3 refactor: fix type 2023-02-01 20:15:11 +09:00
syuilo fa296efdf6 refactor: fix type 2023-02-01 20:13:22 +09:00
syuilo d9d98f84bf refactor: fix type 2023-02-01 20:12:42 +09:00
tamaina 7c3143b8e5
enhance(backend): enhance SchemaType handling of anyOf (#9762)
* enhance(backend): enhance anyOf handling

* clean up
2023-02-01 20:04:01 +09:00
syuilo 387fcd5c5d refactor: fix type 2023-02-01 17:29:28 +09:00
syuilo ebc6437977 refactor: tweak variable name 2023-02-01 16:24:50 +09:00
YS 2a41f6c383
enhance: Unicode絵文字名逆引き効率化 (#9757)
* Unicode絵文字名前取得を連想配列で行う

* Unicode絵文字事前カテゴリ集計

* Mapを使用

* Update packages/frontend/src/scripts/emojilist.ts

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

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-02-01 11:25:13 +09:00
syuilo 515692d7a6 update aiscript 2023-02-01 11:20:28 +09:00
Nya Candy 00d28826b9
fix(try): ld signature normalizer (#9758) 2023-01-31 19:37:39 +09:00
tamaina 8282bbd07c fix(client): Chromeで検索ダイアログで変換確定するとそのまま検索されてしまう
Fix #9598
2023-01-28 06:15:29 +00:00
yupix 7190bd00c9
feat: classicモードでテーマが自動変更された際元に戻すように (#9669)
* feat: classicモードでテーマが自動変更された際元に戻すように

* docs: update CHANGELOG.md

* fix: prefixを miux:ui_temp から ui_temp に変更
2023-01-27 13:52:51 +09:00
syuilo c7b5c8b19e swがビルドできないのを修正 2023-01-27 12:33:15 +09:00
syuilo d8f33bc0af update deps 2023-01-27 11:40:18 +09:00
syuilo c5a12ca2c7 fix(client): フォロー申請・フォローのボタンが、通知から消えている問題を修正
Fix #9717
2023-01-27 11:35:04 +09:00
syuilo 7d9d1ae7c2 enhance(client): tweak custom emoji cache 2023-01-27 11:28:51 +09:00
syuilo cef448f0f2 tweak blur setting 2023-01-27 11:18:44 +09:00
syuilo 67d64c9365 refactor 2023-01-27 11:16:22 +09:00
syuilo 269af9d6b9 fix(client): ダッシュボードでオンラインユーザー数が表示されない問題を修正 2023-01-27 11:11:56 +09:00
syuilo d37a734379 fix(server): fix aggregation of retention 2023-01-27 11:10:37 +09:00
syuilo 7cb13cf839 proxyRemoteFilesがfalseならリモートカスタム絵文字は直リンにする 2023-01-26 18:44:43 +09:00
syuilo d7dda8f6e3 絵文字ピッカーでカスタム絵文字が表示されないのを修正 2023-01-26 18:28:17 +09:00
tamaina 6670c72f8b fix(client): note reacted reflection failed
Fix #9730
2023-01-26 08:48:36 +00:00
hayabusa b21064ffa4
リアクション履歴が公開なら、ログインしていなくても表示できるように (#9728) 2023-01-26 16:10:32 +09:00
Kagami Sascha Rosylight 1959cb462b
Default to `animation: false` when prefers-reduced-motion is set (#9690)
* Default to `animation: false` when prefers-reduced-motion is set

* `.matches`
2023-01-26 16:08:45 +09:00
tamaina 4735ae6451
refactor: /proxyをFileServerServiceに統合し、/proxyのurlで/filesが指定されていた場合は直接ファイルを解決するようにする (#9709)
* wip?

* clean up

* Implement? HttpFetchService

* ✌️

* remove node-fetch

* fix

* refactor

* fix

* gateway timeout

* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)

* fix

* add logger and fix url preview

* fix ip check

* enhance logger and error handling

* fix

* fix

* clean up

* Use custom fetcher for ApRequest / ApResolver

* bypassProxyはproxyBypassHostsに判断を委譲するように

* set maxRedirections (default 3, ApRequest/ApResolver: 0)

* fix

* wip????

* wip

* ✌️

* set .node-version

* clean up

* refactor

* clean up

* refactor

* refactor detectRequestType

* rename detectResponseType

* ✌️

* fix

* wip

* clean up

* no got

* remove got

* wip

* ✌️

* fix

* clean up

* remove unnnecessary const

* good cleanup

* no stream

* Revert "no stream"

This reverts commit 636f9192fcd2b17e71bbf6b5b106b490e0f66244.

* fix

* cache-control: max-age=300 to error

* refactor cleanup
2023-01-26 16:06:29 +09:00
syuilo 452bd6db25 tweak custom emoji handling
Close #9721
2023-01-26 15:48:12 +09:00
syuilo f5d6b84381 chore: check emoji host 2023-01-26 14:29:28 +09:00
syuilo d87bb807c3 tweak error screen 2023-01-26 11:39:21 +09:00
syuilo 41a6ed0de0 lint 2023-01-26 11:33:31 +09:00
syuilo 7131eb1827 fix(server): turnstile-failed: missing-input-secret
Fix #9726
2023-01-26 11:31:43 +09:00
tamaina 605b0f27e4 Merge branch 'develop' into emoji-re 2023-01-25 14:22:26 +00:00
syuilo 80d2e157f6 🎨 2023-01-25 19:49:17 +09:00
syuilo 1e3447bccb 🎨 2023-01-25 19:45:25 +09:00
syuilo 5ffa106cc1 サードパーティからも自身のロールを確認できるように
Close #9700
2023-01-25 19:34:10 +09:00
tamaina fc641c9b96 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-25 06:21:17 +00:00
tamaina 5f49ac1b11 fix(client): アニメーションをオフに設定しても絵文字のアニメーションが止まらない
Fix #9720
2023-01-25 06:21:08 +00:00
syuilo e3275e916b fix(client): MFMのposition、rotate、scaleで小数が使えない問題を修正 2023-01-25 15:15:15 +09:00
syuilo 3ba5541a66 Update ApResolverService.ts 2023-01-25 12:36:39 +09:00
syuilo 945c50db1f Update ApRequestService.ts 2023-01-25 12:31:03 +09:00
syuilo 30dce42e03 fix deps 2023-01-25 12:17:53 +09:00
syuilo d4fb201d05 fix(server): node-fetchおよびgotを使う以前の実装に戻す
see #9710
2023-01-25 12:00:04 +09:00
syuilo 2a2e8d0cf6 refactor(server): fix type errors 2023-01-25 11:23:57 +09:00
syuilo 520ed8cb4d refactor(server): fix type errors 2023-01-25 11:18:16 +09:00
syuilo 8cab16c824 fix(server): /api/signin always returns 429 when request header x-forwarded-for contains client port
Fix #9408
2023-01-24 17:51:09 +09:00
syuilo 9ca1197759 🎨 2023-01-24 17:26:49 +09:00
syuilo 8d3283e2a5 tweak ti style 2023-01-24 17:25:52 +09:00
tamaina 6589e8a390
Fix #9710 ? (#9712)
* wip

* update pnpm-lock

* use our own DevNull

* fix

* deliverJobConcurrencyをmacSocketsで割ってソケット数にする
2023-01-24 15:54:14 +09:00
syuilo b62894ff56 use minified css 2023-01-24 15:02:16 +09:00
syuilo da274cd458 update deps 2023-01-24 14:49:29 +09:00
syuilo a2268a95be 🎨 2023-01-24 14:10:26 +09:00
tamaina 9fd1b35d95 fix TypeError: Cannot read properties of undefined (reading 'getLogger') 2023-01-24 01:34:14 +00:00
syuilo 869854eae7 コミット漏れ 2023-01-24 08:32:17 +09:00
syuilo 238f923b41 refactor(server): httpRequestServiceのUndiciFetcher依存をなるべくカプセル化 2023-01-24 08:31:02 +09:00
syuilo 083fa53d9c update deps 2023-01-23 20:13:18 +09:00
syuilo 7b73dd2d62 enhance(server): onlyServer / onlyQueue オプションを復活 2023-01-23 20:07:48 +09:00
syuilo 7028b7331b 他人の実績閲覧時は獲得条件を表示しないように 2023-01-23 16:40:31 +09:00
syuilo eefebab530 アニメーション減らすオプション有効時はリアクションのアニメーションを無効に 2023-01-23 16:36:47 +09:00
syuilo 683ddbef3e update contributors 2023-01-23 16:33:47 +09:00
syuilo bd23522c76 enhance(client): カスタム絵文字一覧のパフォーマンスを改善 2023-01-23 16:19:13 +09:00
nexryai c1dfbe2623
Hide the value of the object storage secret key input form in the control panel (#9706) 2023-01-23 16:08:09 +09:00
syuilo ed9facbb33 fix(client): Aiscript: button is not defined
Fix #9704
2023-01-23 12:53:44 +09:00
tamaina 26fbb3a560 fix 2023-01-22 17:39:11 +00:00
tamaina 93dd0638ad better category null handling 2023-01-22 17:33:20 +00:00
tamaina 0d44129ae3 remove console.log 2023-01-22 17:20:53 +00:00
tamaina 0cffe60abc 1時間に 2023-01-22 17:14:05 +00:00
tamaina 8a6750278e ✌️ 2023-01-22 17:11:28 +00:00
tamaina d347f0a087 wip 2023-01-22 16:07:17 +00:00
tamaina 226e0c4714 ✌️ 2023-01-22 15:17:20 +00:00
tamaina 0b2f945bb6 wip 2023-01-22 15:13:03 +00:00
tamaina 2f6c45e118 wip 2023-01-22 14:53:24 +00:00
tamaina a5f54580a9 fix 2023-01-22 12:57:51 +00:00
tamaina b19dba80f4 Fix #9691 2023-01-22 12:25:55 +00:00
tamaina a8b19f4aa8 Merge branch 'develop' into emoji-re 2023-01-22 12:07:38 +00:00
syuilo e6338a555d mfmにscaleを追加
Resolve #9609
2023-01-22 20:58:52 +09:00
syuilo b906ff3fed add an achievement 2023-01-22 20:30:56 +09:00
syuilo ede96eca28 🎨 2023-01-22 20:25:10 +09:00
syuilo 42f3d9188b add a secret achievement 2023-01-22 20:22:38 +09:00
syuilo 7a6534f30b カスタム絵文字のURLが空文字列になる場合があるのを修正 2023-01-22 17:29:31 +09:00
syuilo 19c93151ce tweak boot.js 2023-01-22 17:18:48 +09:00
syuilo bd8b624bae tweak bootstrap of client 2023-01-22 17:04:51 +09:00
syuilo 9dacf11702 fix(client): ローカリゼーション更新時にリロードが繰り返されることがあるのを修正 2023-01-22 16:52:15 +09:00
syuilo 26ae2dfc0f add achievement 2023-01-22 08:00:42 +09:00
syuilo aa339be2ab fix(client): リアクションのカスタム絵文字が表示されないことがあるのを修正
Fix #9683
2023-01-22 07:04:20 +09:00
syuilo 957eff0e63 fix(client): リアクションのカスタム絵文字が表示されないのを修正
Fix #9682
2023-01-22 05:39:33 +09:00
syuilo 363d727c55 refactor 2023-01-22 05:33:26 +09:00
syuilo ead931211c fix(client): 実績解除リクエストの間隔をあけるように
Fix #9674
2023-01-22 04:24:38 +09:00
syuilo a3aafa03ad update deps 2023-01-22 04:17:58 +09:00
syuilo 307a882649 tweak fetchCustomEmojis timing 2023-01-21 20:53:11 +09:00
syuilo 3e112da486 ローカルのカスタム絵文字については直接オリジナルURLにリクエストするように 2023-01-21 20:40:09 +09:00
syuilo bd469420fa fix(client): クライアント起動時にも言語ファイルのチェックを行うように
Fix #9005
2023-01-21 20:24:15 +09:00
syuilo 8631740ca4 fix(server): twitterと連携するときに autwh is not a function になるのを修正
Fix #9658
2023-01-21 17:01:02 +09:00
syuilo 4b75c68753 fix(client): The … button on notes does nothing when not logged in
Fix #9659
2023-01-21 16:59:58 +09:00
syuilo 3bf775c9a8 ユーザーの実績一覧を見れるように 2023-01-21 16:57:23 +09:00
syuilo 2b377a3dc5 add some achievements 2023-01-21 16:06:49 +09:00
syuilo 9d367882fb add some achievements 2023-01-21 15:30:29 +09:00
syuilo 7e89e70934
enhance(server): separate job queue process (#9662)
* enhance(server): separate job queue process

* add commands for build with swc
2023-01-21 14:09:01 +09:00
syuilo 0b4a7e8166 enhance(server): set Cache-Control header for some routes 2023-01-21 13:20:09 +09:00
syuilo 65cd605b73
Achievements (#9665)
* wip

* Update ja-JP.yml

* wip

* wip

* Update MkAchievements.vue

* wip

* 🎨

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2023-01-21 13:14:55 +09:00
syuilo b8afabde2c add commands for build with swc 2023-01-19 16:58:09 +09:00
syuilo 02b6595d76 🎨 2023-01-19 10:39:23 +09:00
syuilo 336d8fe785 feat(client): リアクション一覧詳細ダイアログを表示できるように
Resolve #9634
2023-01-19 10:29:30 +09:00
nullobsi a160b01cff
enhance: Alt text in image viewer (#9109)
* Alt text in image viewer

* 🎨

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-01-19 09:16:52 +09:00
syuilo afc0be6790 enhance: playのscriptの文字数制限を緩和 2023-01-19 09:06:11 +09:00
tamaina 85f3df4c0e
fix(client): messaging-room周り (#9643)
* wip

* ✌️

* clean up
2023-01-18 20:26:38 +09:00
tamaina 79212bbd37 refactor(server): notify url when fetch error 2023-01-17 17:12:41 +00:00
tamaina d456308653
pref: Optimize client imports (#9506)
* pref: Optimize client imports

* split api?

* fix

* ✌️

* no vue split?

* Revert "no vue split?"

This reverts commit 27ccec971e2925184a58da65c3472655def2617c.

* function => const

* ✌️

* Revert "function => const"

This reverts commit 34f2feb224f65cc4fca090b29450adb00e85c2c5.

* function api
2023-01-17 17:36:18 +09:00
syuilo d75225e23b add new play preset 2023-01-17 17:10:33 +09:00
syuilo 8f0c598772 improve aiscript ui 2023-01-17 17:09:43 +09:00
syuilo fe4fbafcf0 存在しないカスタム絵文字をテキストで表示するように
Resolve #9516
2023-01-17 15:58:12 +09:00
syuilo 0de41063da 🎨 2023-01-17 14:10:25 +09:00
syuilo d79478c265 fix(client): playを削除する手段がなかったのを修正
Fix #9630
2023-01-17 13:40:27 +09:00
tamaina f8d0902080
enhahce(client): 🎨 通知のノートサマリーを1行にする (#9625)
* 🎨 add nowrap to notification

* 🎨 通知のノートサマリーを1行にする
2023-01-17 06:22:57 +09:00
Kainoa Kanter 84b8ffb7d0
enhance(client): Force error screen (#8947) 2023-01-17 03:26:41 +09:00
Mary 3feaf39294
ApRequestService: don't generate our own Host header (#9378) 2023-01-17 02:21:15 +09:00
tamaina 890564e1da refactor 2023-01-16 10:56:43 +00:00
tamaina 002f98987d fix 2023-01-16 10:51:51 +00:00
tamaina 43956f3ffb customEmojiCategories as computed 2023-01-16 10:36:29 +00:00
tamaina f2a9194c79 ✌️ 2023-01-16 10:13:19 +00:00
tamaina 4cd70df7f4 setInterval 2023-01-16 09:52:45 +00:00
tamaina 21e4c3dfe9 wip 2023-01-16 09:39:58 +00:00
syuilo 5416a295c1 fix spinner style 2023-01-16 14:24:24 +09:00
syuilo 77e491f52c refactor 2023-01-16 14:18:11 +09:00
syuilo 6f1243f722 Update vite.config.ts 2023-01-16 13:59:14 +09:00
syuilo fe0bb21b37 enhance(client): make possible to hide ads
Resolve #9590
Resolve #8996
2023-01-16 11:21:04 +09:00
syuilo 60d9bb0218 enhance(client): add timeline flash preset 2023-01-16 10:31:30 +09:00
syuilo 956375e2e8 enhance(client): AiScriptからカスタム絵文字一覧を参照できるように 2023-01-16 10:13:14 +09:00
syuilo 0fa602a184 tweak flash omikuji preset 2023-01-16 10:07:46 +09:00
syuilo d600296360 enhance(client): flash作成時のプリセットを追加 2023-01-16 10:04:10 +09:00
syuilo dace5b6940 🎨 2023-01-16 06:35:16 +09:00
syuilo ec63a50de2 fix css module 2023-01-16 06:12:43 +09:00
CyberRex 6e2d7e9792
Use pnpm for package manager (#9531)
* Use pnpm for package manager

* Fix

* Change github workflow

* use pnpm in workflow

* fix

* Fix test (e2e/jest)

* Update Dockerfile for pnpm

* Exclude node_modules from file search on VSCode

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Move typescript from devDependencies to dependencies

* Fix Dockerfile

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-16 06:08:42 +09:00
syuilo 39349dcba5 enhance(client): プロフィールが長い場合は折りたたむ 2023-01-16 06:06:28 +09:00
syuilo a5b1fe5d16 🎨 2023-01-16 06:06:05 +09:00
syuilo 91bbb67e4a プロフィールの文字数制限を緩和 2023-01-16 06:05:58 +09:00
syuilo f368bce9d5 enhance(client): カスタム絵文字一覧ページにカスタム絵文字管理ページへのリンクを追加 2023-01-16 05:35:01 +09:00
syuilo fbfe42d6f0 enhance(client): improve usability of user select 2023-01-16 05:29:44 +09:00
syuilo f3c5ca6cf4 refactor(client): use css modules 2023-01-16 05:26:29 +09:00
syuilo 0022267072 enhance(client): ロールのポリシーを絞り込めるように 2023-01-16 05:19:26 +09:00
syuilo 30fced38c4 refactor: rename instance.caughtAt to instance.firstRetrievedAt 2023-01-16 05:02:38 +09:00
tamaina 7e5f3dbf11
set -webkit-touch-callout (#9447) 2023-01-16 03:38:16 +09:00
syuilo 9f0dfb5517
typo 2023-01-16 03:16:44 +09:00
tamaina 678c7d9502
Fix style of messaging form, use css module (#9602)
* Fix style of messaging form, use css module

* clean up
2023-01-16 02:37:45 +09:00
tamaina c46b45a467 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-15 16:32:37 +00:00
tamaina 9385767b12 fix(client): add :disable-link="true" to some <MkAvatar /> Fix #9606 2023-01-15 16:32:24 +00:00
futchitwo 7795ff0c95
fix: note embedding in Pages editor (#9604) 2023-01-15 23:47:04 +09:00
tamaina a9acd72eb7 fix(client): Fix #9600 chat paging issue
Previous chat history not shown
2023-01-15 14:28:02 +00:00
Masaya Suzuki 67d366c3ca
fix(client): エラー画像表示崩れ修正 (#9599) 2023-01-15 21:58:09 +09:00
Masaya Suzuki 94004b7a3f
Fix widget tests (#9591) 2023-01-15 20:55:09 +09:00
syuilo 81f11d8f86 refactor: rename role.options -> role.policies 2023-01-15 20:52:53 +09:00
syuilo 518b3e2f73 ロールの各オプションに優先度を設定できるように 2023-01-15 19:10:39 +09:00
syuilo 7fc8d2e6d5 ロールでレートリミットを調整できるように
Resolve #9584
2023-01-15 16:52:12 +09:00
syuilo 92136272b0 enhance(client): show readable error when rate limit exceeded 2023-01-15 16:13:57 +09:00
syuilo d59914b959 tweak style 2023-01-15 14:18:45 +09:00
syuilo 07025caee9 refactor(client): use css modules 2023-01-15 14:03:28 +09:00
syuilo 1c0289e490 Fix #9582 2023-01-15 13:46:09 +09:00
syuilo 275fcd8bbc tweak style 2023-01-15 13:39:06 +09:00
Masaya Suzuki 3ff43cca02
frontendに@type/nodeをインストールする (#9571) 2023-01-15 11:55:12 +09:00
syuilo 7738a36014 refactor(client): use css modules 2023-01-15 11:30:40 +09:00
syuilo daddec8362 refactor(client): use css modules 2023-01-15 11:22:58 +09:00
syuilo cedb4267ba update deps 2023-01-15 09:19:02 +09:00
syuilo 9c6629d582 refactor(client): use css modules 2023-01-15 09:14:17 +09:00
syuilo 4ee4e70ee0 fix(client): Custom emojis in Inline emoji autocomplete(MkAutoComplete) is way too big
Fix #9570
2023-01-15 09:09:44 +09:00
syuilo bb7867351c typo 2023-01-15 09:03:07 +09:00
syuilo b66f4ebba1 chore: use computed 2023-01-15 08:35:03 +09:00
Masaya Suzuki 9ee1b5f30a
Fix widget test (#9565) 2023-01-15 08:34:26 +09:00
Masaya Suzuki 0f31a0548c
Fix import (#9566) 2023-01-15 08:33:07 +09:00
syuilo ffc29aa6f5 refactor(client): use css modules 2023-01-15 08:32:20 +09:00
syuilo d23aa94b41 refactor(client): use css modules 2023-01-15 08:30:29 +09:00
syuilo c1b6378951 refactor(client): use css modules 2023-01-15 08:07:11 +09:00
syuilo bb5d2bda51 refactor(client): use css modules 2023-01-15 08:01:46 +09:00
syuilo d075471b2d fix(client): fix custom emoji rendering 2023-01-15 07:53:15 +09:00
syuilo bd1f4b8d98 refactor 2023-01-14 21:04:30 +09:00
syuilo dc19f20153 refactor 2023-01-14 21:04:20 +09:00
syuilo f5cd809f62 refactor(client): use css modules 2023-01-14 20:51:07 +09:00
syuilo 09d5a7806a Update style.scss 2023-01-14 20:39:47 +09:00
syuilo 4606f23ed8 refactor(client): use css modules 2023-01-14 20:31:48 +09:00
syuilo 8451e08aaa Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-14 20:21:06 +09:00
syuilo 2047449294 enhance(server): add rate limits for some endpoints 2023-01-14 20:21:03 +09:00
Masaya Suzuki 170cfc6a0e
E2Eテスト "first widget should be removed" 修正 (#9556)
* Fix e2e test "first widget should be removed"

* E2Eテスト用クラス追加

* empty commit
2023-01-14 19:25:20 +09:00
syuilo e46e7f5252 ノートをピン留めできる数を設定可能に
Resolve #9555
2023-01-14 18:04:56 +09:00
syuilo 5952f1ac24 Update roles.editor.vue 2023-01-14 17:49:02 +09:00
syuilo a08369fe36 enhance(client): 分かりやすいエラーメッセージを表示するように 2023-01-14 17:46:45 +09:00
syuilo 6cb9612943 fix import 2023-01-14 17:40:51 +09:00
syuilo 76c049522e enhance: ユーザーリストおよびユーザーリスト内のユーザーの作成可能数を設定可能に 2023-01-14 17:38:16 +09:00
syuilo c41879c542 refactor(client): use css modules 2023-01-14 17:23:49 +09:00
syuilo c2009acb2d enhance: クリップおよびクリップ内のノートの作成可能数を設定可能に 2023-01-14 16:14:24 +09:00
syuilo 46d2a8726e fix missing import 2023-01-14 16:04:13 +09:00
syuilo 7df3ca7388 enhance(server): add rate limits for some endpoints 2023-01-14 15:59:15 +09:00
syuilo ab1124abba refactor(client): use css modules 2023-01-14 15:05:23 +09:00
syuilo 3db84a2e8f refactor(client): use css modules 2023-01-14 15:02:14 +09:00
syuilo 9a78bbf0f1 refactor(client): use css modules 2023-01-14 15:01:28 +09:00
syuilo efbec444e8 refactor(client): use css modules 2023-01-14 14:57:48 +09:00
tamaina b8da51e08c fix css module syntax error 2023-01-14 04:52:42 +00:00
tamaina 73d735a1f7 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-14 04:48:17 +00:00
tamaina b8b1899a9f chore: fix ref name (pages/timeline.vue) 2023-01-14 04:47:59 +00:00
syuilo d52f0617a1 fix(server): ドライブ容量超過時のエラーが適切にレスポンスされない問題を修正
Fix #9550
2023-01-14 13:41:53 +09:00
syuilo c730973294 多分 fix #9551 2023-01-14 13:36:18 +09:00
syuilo 2c2e064871 refactor(client): use css modules 2023-01-14 13:29:41 +09:00
syuilo e3c39d4b52 refactor(client): use css modules 2023-01-14 12:45:20 +09:00
syuilo 5da74897ae refactor(client): use css modules 2023-01-14 12:43:54 +09:00
syuilo 4b1009b34e refactor(client): use css modules 2023-01-14 12:30:32 +09:00
syuilo 203a7ad073 refactor(client): use css modules 2023-01-14 12:15:02 +09:00
syuilo 30fc166c08 refactor(client): use css modules 2023-01-14 11:59:08 +09:00
syuilo c84d86b368 refactor(client): use css modules 2023-01-14 11:48:30 +09:00
syuilo 1e5d4db0a1 refactor(client): use css modules 2023-01-14 11:46:22 +09:00
syuilo 5e02f0d325 refactor(client): use css modules 2023-01-14 11:39:35 +09:00
syuilo ce5506f331 refactor(client): use css modules 2023-01-14 11:23:02 +09:00
syuilo 91105845d8 refactor(client): use css modules 2023-01-14 11:18:12 +09:00
syuilo 2bedc084a3 tweak MkRolePreview 2023-01-14 11:14:14 +09:00
syuilo 027ef1ea4a Update vite.config.ts 2023-01-14 11:10:41 +09:00
syuilo 668aa17eef refactor(client): use css modules 2023-01-14 10:57:34 +09:00
syuilo ebf8ef22e4 🎨 2023-01-14 10:49:53 +09:00
syuilo bcb5182e86 Webhookの作成可能数を設定可能に 2023-01-14 10:48:11 +09:00
syuilo f45059b7b1 fix 2023-01-14 10:46:40 +09:00
syuilo 68e65ed5df update mfm-js 2023-01-14 09:02:33 +09:00
syuilo 367ccb9971 enhance(client): add new mfm function (position, fg, bg)
Resolve #9527
2023-01-14 08:52:32 +09:00
syuilo 4151087d3c フォロワー数、フォロー数もConditional roleで利用できるように 2023-01-14 08:27:23 +09:00
syuilo 39c058a4bb Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-14 08:04:41 +09:00
syuilo d1807ee5dc enhance: ハードワードミュートの最大文字数を設定可能に
Resolve #7574
2023-01-14 08:04:38 +09:00
こけっち 98469117bf
fix: follow request list api pagination (#9548)
* fix: follow request list api pagination

* fix: improve alias

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-14 06:18:58 +09:00
tamaina d2204fd5c8
refactor: pagination/date-separated-list系処理を良い感じに? (#8209)
* pages/messaging/messaging-room.vue

* wip

* wip

* wip???

* wip?

* ✌️

* messaaging-room.form.vue rewrite to compositon api

* refactor

* 関心事でないのでとりあえず置いておく

* 🎨

* 🎨

* i18n.ts

* fix scroll container find function

* fix

* FIX

* ✌️

* Fix scroll bottom detect

* wip

* aaaaaaaaaaa

* rename

* fix

* fix?

* ✌️

* ✌️

* clean up

* clena up

* refactor

* scroll event once or not

* fix

* fix once

* add safe-area-inset-bottom to spacer

* fix

* ✌️

* 🎨

* fix

* fix

* wip

* ✌️

* clean up

* fix lint

* Update packages/client/src/components/global/sticky-container.vue

Co-authored-by: Johann150 <johann.galle@protonmail.com>

* Update packages/client/src/components/ui/pagination.vue

Co-authored-by: Johann150 <johann.galle@protonmail.com>

* Update packages/client/src/pages/messaging/messaging-room.form.vue

Co-authored-by: Johann150 <johann.galle@protonmail.com>

* clean up: single line comment

* https://github.com/misskey-dev/misskey/pull/8209#discussion_r867386077

* fix

* asobi → tolerance

* pick form

* pick message

* pick room

* fix lint

* fix scroll?

* fix scroll.ts

* fix directives/sticky-container

* update global/sticky-container.vue

* fix, 🎨

* revert merge

* ✌️

* fix lint errors

* 🎨

* Update packages/client/src/types/date-separated-list.ts

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

* https://github.com/misskey-dev/misskey/pull/8209#discussion_r917225080

* use '

* Update packages/client/src/scripts/scroll.ts

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

* use Number.EPSILON

Co-authored-by: acid-chicken <root@acid-chicken.com>

* revert

* fix

* fix

* Use % instead of vh

* 🎨

* 🎨

* 🎨

* wip

* wip

* css modules

Co-authored-by: Johann150 <johann.galle@protonmail.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-01-13 18:25:40 +09:00
tamaina 303519a1bd
enhance: Judge instance block by endsWith (#9263)
* TypeScriptでendsWith

* fix

* SQL?

* バ〜カアホ

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

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

* add comment

* add description

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

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* Update packages/backend/src/core/chart/charts/federation.ts

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

* remove comment

* fix

* fix?

* add changelog

* ILIKE, ARRAY

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-13 18:21:07 +09:00
syuilo 161da24841 fix(server): signup-complete Broken
Fix #9538
2023-01-13 17:59:40 +09:00
syuilo 6e40024660 typo 2023-01-13 17:49:05 +09:00
syuilo 73c78d4c38 fix(client): 数式を含む投稿が表示されないのを修正
Fix #9535
2023-01-13 17:45:20 +09:00
syuilo 2654936c17 fix 2023-01-13 17:42:12 +09:00
syuilo bc0b8afb1f fix ads/update api 2023-01-13 15:15:31 +09:00
syuilo b250456814 カスタム絵文字の管理を権限を持つユーザーが行えるように
Resolve #9542
2023-01-13 14:58:27 +09:00
syuilo 0a6e237d09 refactor 2023-01-13 14:46:56 +09:00
syuilo 002ccbb5f0 fix(client): 特定の場所でカスタム絵文字を含むテキストが表示されないのを修正
Fix #9537
2023-01-13 14:29:01 +09:00
syuilo 7b7faf1e84 招待コード発行を権限を持つユーザーが行えるように
Resolve #9541
2023-01-13 14:22:53 +09:00
あずき⪥™ 9936088200
fix `navButtonIcon` not being aligned to center (#9543)
* fix `navButtonIcon` not being aligned to center

* fix `navButtonIcon` on deck not being aligned
2023-01-13 13:24:38 +09:00
syuilo 4c21d83639 プロフィールにロールを表示するように 2023-01-13 12:07:24 +09:00
syuilo d43a4a2d46 fix(client): ロールの条件を削除する手段が無かったのを修正 2023-01-13 11:51:36 +09:00
syuilo 4e39e690b6 Revert "リモートユーザーはcanPublicNoteがfalseでもhomeにしないように"
This reverts commit b2117ba3a1.
2023-01-13 11:14:23 +09:00
syuilo 6458239a7c remoteDriveCapacityMbをロールに統合 2023-01-13 11:14:07 +09:00
syuilo a5aaa032ca 🎨 2023-01-13 11:07:51 +09:00
syuilo 71bbef69c7 ✌️ 2023-01-13 11:04:58 +09:00
syuilo c5c40a73b7 feat: conditional role
Resolve #9539
2023-01-13 11:03:54 +09:00
syuilo 74910f8d70 Revert "perf: build backend with swc (#9463)"
This reverts commit 4579d02296.
2023-01-13 09:32:56 +09:00
syuilo e00003edff refactor 2023-01-13 08:56:06 +09:00
syuilo bedb98185e 🎨 2023-01-13 08:23:52 +09:00
syuilo da6f955d58 fix typo
Fix #9536
2023-01-13 08:22:23 +09:00
syuilo 6bdccea26b 🎨 2023-01-13 08:16:45 +09:00
tamaina b2117ba3a1 リモートユーザーはcanPublicNoteがfalseでもhomeにしないように
https://github.com/misskey-dev/misskey/issues/9534#issuecomment-1380645073
2023-01-12 16:54:11 +00:00
tamaina ba349fc62f Fix #9534 2023-01-12 16:33:00 +00:00
파링 4579d02296
perf: build backend with swc (#9463)
* feat: build backend with swc

* fix: swc build target

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-12 21:05:45 +09:00
tamaina 978a9bbb3b
perf(backend): Use undici instead of node-fetch and got (#9459)
* Implement? HttpFetchService

* ✌️

* remove node-fetch

* fix

* refactor

* fix

* gateway timeout

* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)

* fix

* add logger and fix url preview

* fix ip check

* enhance logger and error handling

* fix

* fix

* clean up

* Use custom fetcher for ApRequest / ApResolver

* bypassProxyはproxyBypassHostsに判断を委譲するように

* set maxRedirections (default 3, ApRequest/ApResolver: 0)

* fix comment

* handle error s3 upload

* add debug message

* no return await

* Revert "no return await"

This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2.

* reduce maxSockets

* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger

* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"

This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4.

* add logger

* fix

* change logger name

* safe

* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
syuilo 2470afaa2e
Role (#9437)
* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* Update create.ts

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* Update delete.ts

* Update delete.ts

* wip

* wip

* wip

* Update account-info.vue

* wip

* wip

* Update settings.vue

* Update user-info.vue

* wip

* Update show-file.ts

* Update show-user.ts

* wip

* wip

* Update delete.ts

* wip

* wip

* Update overview.moderators.vue

* Create 1673500412259-Role.js

* wip

* wip

* Update roles.vue

* 色

* Update roles.vue

* integrate silence

* wip

* wip
2023-01-12 21:02:26 +09:00
Masaya Suzuki 6555644b88
ログイン画面のユーザー名フォームへのautocomplete設定 (#9515)
* Add username class to username form

* Fix add class process

* Set id

* Set autocomplete
2023-01-12 09:33:06 +09:00
syuilo e51432a461 remove katex 2023-01-11 08:58:13 +09:00
syuilo 3043b2f619 fix(client): 画面の幅が狭いとウィジェットドロワーを閉じる手段がなくなるのを修正
Fix #7191
2023-01-10 20:21:39 +09:00