Commit graph

2748 commits

Author SHA1 Message Date
syuilo ed4a100e96 fix(backend): restore date properly of federated instance cache 2023-04-07 18:55:11 +09:00
syuilo 1377ea4178 perf(backend): improve cache of federated instances 2023-04-07 18:48:45 +09:00
syuilo 6e1ae7b242 enhance(backend): tweak cache of role
#10439
2023-04-07 18:15:47 +09:00
syuilo 930724f9de Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-07 18:12:27 +09:00
syuilo 3bbeec70ec perf(backend): improve cache of instance of user 2023-04-07 18:12:24 +09:00
okayurisotto 69828e8dac
fix(sw): プッシュ通知の操作でZen UIなクライアントが開かれてしまう場合がある問題を修正 (#10497) (#10498) 2023-04-07 15:48:49 +09:00
syuilo 1e3fb5531b typo 2023-04-07 11:33:15 +09:00
syuilo 239d3f2dbf feat(backend): ジョブキュー用Redisを別サーバーに分離できるように 2023-04-07 11:27:01 +09:00
syuilo ff6d9d2860 feat(backend): イベント用Redisを別サーバーに分離できるように 2023-04-07 11:20:14 +09:00
syuilo f4588f3907 perf(backend): reduce db query 2023-04-07 10:07:41 +09:00
syuilo a561b83070 fix deps 2023-04-06 20:29:17 +09:00
syuilo 88f22da052 update deps 2023-04-06 20:22:26 +09:00
syuilo f8cdab6d02 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-06 19:48:28 +09:00
syuilo 521eb95dbc perf(backend): cache avatar and banner url to db 2023-04-06 19:48:24 +09:00
syuilo c29f21ac56
perf(backend): prevent emit needless db queries 2023-04-06 19:45:12 +09:00
syuilo de9d136a3f perf(backend): reduce db query 2023-04-06 18:27:42 +09:00
syuilo a0d5e2469d Update about-misskey.vue 2023-04-06 18:08:35 +09:00
syuilo b38811af7c fix(backend): fix pack of notification behaviour 2023-04-06 15:09:21 +09:00
syuilo a574d0fbcb
fix 2023-04-06 11:36:20 +09:00
syuilo 73203a3d72 perf(backend): cache local custom emojis 2023-04-06 11:14:43 +09:00
syuilo bd142b8fe5 refactor 2023-04-06 10:12:30 +09:00
syuilo 384a3bed09 perf(backend): reduce db query 2023-04-06 10:09:44 +09:00
totegamma 9629929977
fix misskey-dev/misskey-#10417 (#10418) 2023-04-06 08:37:18 +09:00
Ryu jongheon e76d3e72db
refactor(fronted): setup syntax to menubar of Classic UI (#10474) 2023-04-06 08:35:14 +09:00
syuilo 19349b930a 🎨 2023-04-06 08:23:00 +09:00
Acid Chicken (硫酸鶏) 3b3f683f8c
feat(#8149): respect nsfw settings on gallery list (#10481)
* feat(#8149): respect nsfw settings on gallery list

* ci(#10336): use pull_request

* test(#8149): add interaction tests

* test(#10336): use `waitFor`

* chore: transition
2023-04-06 08:19:49 +09:00
tamaina 2650a7a5b8
fix: 通知インジケータが光りっぱなしになる問題を修正 (#10483)
* fix(misskey-js): ストリームがstringで送信される場合があるのを修正

* pnpm run api

* force read notification

* fix competition
2023-04-06 06:11:59 +09:00
Acid Chicken (硫酸鶏) b930443ffe
Merge branch 'develop' into stories/components-ab 2023-04-06 03:17:18 +09:00
Acid Chicken (硫酸鶏) 41aafdea00
test(#10336): stabilize MkError stories 2023-04-06 03:10:45 +09:00
Acid Chicken (硫酸鶏) 310381ca80
Merge branch 'develop' into stories/components-ab 2023-04-05 18:51:07 +09:00
syuilo 0bb882c9d4 🎨 2023-04-05 15:45:44 +09:00
xtexChooser 62efe2b4d5
fix: webhook delivery content-type (#9823) (#10458)
* fix: webhook delivery content-type (#9823)

* style: indent

* Update packages/backend/src/queue/processors/WebhookDeliverProcessorService.ts

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

* style: trailing comma

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-05 14:49:58 +09:00
tamaina 6798effbab
enhance(client): 投稿フォームをちょっといい感じに (#10442)
* .formラッパーを削除

* fix type of MkPostFormAttaches

* 🚀

* 🎨

* 🎨

* 🎨

* 🎨

* specifiedの時は連合なしをdisabledに

* ✌️

* set select default

* gap: 2px (max-width: 500px) / 4px

* wip

* ✌️

* 🎨

* fix maxTextLength

* 今後表示しない

* 🎨

* cache channel

* 🎨

* 連合なしにする

* use i18n.ts.neverShow

* ✌️

* refactor

* fix indent

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-05 14:30:03 +09:00
syuilo d739aeee32 fix(frontend): add missing import 2023-04-05 14:29:18 +09:00
syuilo a093c373c4 fix 2023-04-05 13:57:22 +09:00
syuilo 288cce4a22 fix 2023-04-05 13:50:05 +09:00
syuilo 28647de196 enhance(backend): improve userkeypair cache 2023-04-05 12:10:40 +09:00
syuilo cf6a302f8f add note 2023-04-05 12:08:18 +09:00
syuilo 1c3d9a5df0 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-05 10:21:13 +09:00
syuilo f44504097c enhance(backend): improve cache 2023-04-05 10:21:10 +09:00
syuilo 625fed8838 enhance(backend): チャンネルの既読管理を削除
- 現状上手く機能していない
- パフォーマンス上の理由
- 実装するにしてももっと効率的な方法がある
2023-04-05 07:52:49 +09:00
Acid Chicken (硫酸鶏) 7bd0001e76
Merge branch 'develop' into fix/visibility-widening 2023-04-05 00:41:49 +09:00
Acid Chicken (硫酸鶏) b03aeeca9d
ci(#10336): preload assets 2023-04-04 22:31:45 +09:00
Acid Chicken (硫酸鶏) 80161afc14
test(#10336): add components/Mk[A-B].* stories 2023-04-04 22:15:17 +09:00
Acid Chicken (硫酸鶏) 31233467ac
chore(#10336): register snippets 2023-04-04 22:14:17 +09:00
syuilo ecaf152b4a enhance(backend): improve cache 2023-04-04 17:32:09 +09:00
syuilo 7f3afac0a2 refactor(backend): rename Cache -> MemoryCache 2023-04-04 15:56:47 +09:00
Acid Chicken (硫酸鶏) d6e04da20b
style(#10336): update comment-out codes 2023-04-04 15:03:45 +09:00
Acid Chicken (硫酸鶏) 55652a7a18
build(#10336): bump storybook to v7 2023-04-04 15:01:55 +09:00
syuilo 6954a6300c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-04 14:07:04 +09:00
syuilo 30d6992684 perf(backend): 通知をRedisに保存するように
Resolve #10168
2023-04-04 14:06:57 +09:00
tamaina c25d89ef9c fix(client): fix prop type in MkOmit 2023-04-04 01:45:01 +00:00
Acid Chicken (硫酸鶏) 38d0b62167
build(#10336): Storybook & Chromatic & msw (#10365)
* build(#10336): init

* fix(#10336): invalid name conversion

* build(#10336): load locales and vite config

* refactor(#10336): remove unused imports

* build(#10336): separate definitions and generated codes

* refactor(#10336): remove hatches

* refactor(#10336): module semantics

* refactor(#10336): remove unused common preferences

* fix: typo

* build(#10336): mock assets

* build(#10336): impl `SatisfiesExpression`

* build(#10336): control themes

* refactor(#10336): semantics

* build(#10336): make .storybook as an individual TypeScript project

* style(#10336): use single quote

* build(#10336): avoid intrinsic component names

* chore: suppress linter

* style: typing

* build(#10336): update dependencies

* docs: note about Storybook

* build(#10336): sync

* build(#10336): full reload server on change

* chore: use defaultStore instead

* build(#10336): show popups on Story

* refactor(#10336): remove redundant div

* docs: fix

* build(#10336): interactions

* build(#10336): add an interaction test for `<MkA/>`

* build(#10336): bump storybook

* docs(#10336): mention to pre-build misskey-js

* build(#10336): write stories for `MkAcct`

* build(#10336): write stories for `MkAd`

* build(#10336): fix missing type definition

* build(#10336): use `toHaveTextContent`

* build(#10336): write some stories

* build(#10336): hide internal args

* build(#10336): generate `components/global` stories only

* build(#10336): write stories for `MkMisskeyFlavoredMarkdown`

* fix: conflict errors

* build(#10336): subcomponents on sidebar

* refactor: restore `SatisfiesExpression`

* docs(#10336): note development status

* build(#10336): use chokidar-cli

* docs(#10336): note chokidar-cli mode

* chore(#10336): untrack generated stories files

* fix: pointer handling

* build(#10336): finalize

* chore: add static option to `MkLoading`

* refactor(#10336): bind to local args

* fix: missing case

* revert: restore `SatisfiesExpression`

This reverts commit f246699f38.

* build(#10336): make storybook buildable

* build(#10336): staticify assets

* build(#10336): staticified directory structure

* build(#10336): normalize path for Windows

* ci(#10336): create actions

* build(#10336): ignore tsc errors

* build(#10336): ignore tsc errors

* build(#10336): missing dependencies

* build(#10336): missing dependencies

* build(#10336): use fast-glob

* fix: invalid lockfile

* ci(#10336): increase heap size

* build(#10336): use unpkg for storybook tabler icons

* build(#10336): use unpkg for storybook twemojis

* build(#10336): disable `ProfilePageCat`

* build(#10336): blur `MkA` before interaction ends

* ci(#10336): stabilize

* ci(#10336): fetch-depth

* build(#10336): isChromatic

* ci(#10336): notify on changes

* ci(#10336): fix typo

* ci(#10336): missing working directory

* ci(#10336): skip build

* ci(#10336): fix path

* build(#10336): fails on Windows

* build(#10336): available on Windows

* ci(#10336): disable animation on chromatic

* ci(#10336): add static option to `PageHeader.tabs`

* chore: void

* ci(#10336): change parameters

* docs(#10336): update CONTRIBUTING

* docs(#10336): note about meta overriding and etc.

* ci(#10336): use Chromatic for checks

* ci(#10336): use `pull_request` instead of `pull_request_target` for now

* ci(#10336): use `exitOnceUploaded`

* ci(#10336): reuse built storybook

* ci(#10336): back to `pull_request_target`

* chore: unused dependencies

* style(#10336): reduce prettier indents

* style: note about `TSSatisfiesExpression`
2023-04-04 09:38:34 +09:00
syuilo 8a0201fe9c add notes 2023-04-03 20:14:19 +09:00
A.Yamamoto ce1fb06ce8
Merge branch 'develop' into fix/visibility-widening 2023-04-03 15:08:54 +09:00
Acid Chicken (硫酸鶏) 8a9847b06a
Merge branch 'develop' into acid-chicken-patch-1 2023-04-03 13:01:15 +09:00
syuilo da6b30c5dd Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-04-03 12:47:46 +09:00
nexryai 92ddebb3fd
オブジェクトストレージの設定画面を分かりやすくする (#10456)
* enhance: Improved object storage configuration page

* Update ja-JP.yml

* Update CHANGELOG
2023-04-03 12:47:30 +09:00
syuilo b53d6c7f8c perf(backend): store notes of an antenna to redis instead of postgresql
Resolve #10169
2023-04-03 12:11:16 +09:00
syuilo c032dd1214 fix(frontend): tweak MkPagination behaviouyr 2023-04-03 11:50:17 +09:00
syuilo 4f9f625e65 perf(backend): cache timeline of a channel to redis 2023-04-03 11:49:58 +09:00
A.Yamamoto a46bfc7c14
レビュー対応
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-03 11:24:19 +09:00
na2na-p 3877b366b3
除外範囲考慮するように 2023-04-03 10:16:43 +09:00
tamaina a0c3dede8e enhance(server): 動画サムネイルの縦の長さを最大422pxにする
Related to #10149
Related to #10450
2023-04-02 15:49:07 +00:00
syuilo bc5e457a63 Delete vue.d.ts 2023-04-01 14:04:40 +09:00
syuilo 9224b6635f refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
syuilo f16a7cbcf2 refactor(frontend): remove $i 2023-04-01 13:52:07 +09:00
syuilo 7a8a756789 refactor(frontend): remove $instance 2023-04-01 13:46:04 +09:00
syuilo c823cbe63b refactor(frontend): remove $store 2023-04-01 13:42:40 +09:00
Acid Chicken (硫酸鶏) 14977ed2b7
fix: the avatar in the title bar is clipped 2023-03-31 07:47:03 +00:00
Acid Chicken (硫酸鶏) 13a406b6cf
Merge branch 'develop' into acid-chicken-patch-1 2023-03-31 16:41:55 +09:00
syuilo a9f0bea60c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-31 16:41:29 +09:00
syuilo 152247bfda refactor: remove autobind-decorator dep 2023-03-31 16:41:27 +09:00
tamaina 6a4d56c81c fix(client): set overflow: clip to page header title container
#10413
2023-03-31 07:38:28 +00:00
syuilo 9bc5d52e41 feat: チャンネルにノートをピン留めできるように
Resolve #7740
2023-03-31 15:01:56 +09:00
syuilo f0a70a70c3 refactor 2023-03-31 14:14:30 +09:00
syuilo 3cb0cc7989 feat: チャンネルをお気に入りに登録できるように
Resolve #10097
2023-03-31 11:30:27 +09:00
syuilo 5d94062581 lint fix 2023-03-31 09:20:52 +09:00
syuilo a23b25bff7 tweak misskey-js eslintrc 2023-03-31 09:18:58 +09:00
tamaina 26068a3a8f use workspace:*, use pnpm@8.1.0 2023-03-30 13:01:00 +00:00
tamaina 0398787520 fix misskey-js/tsconfig.json (add dom lib) 2023-03-30 12:52:51 +00:00
tamaina dccf03ffc2 Fix misskey-js/tsconfig.json
Fix #10441
2023-03-30 12:51:24 +00:00
syuilo 6d78162323 tweak misskey-js config 2023-03-30 14:00:51 +09:00
syuilo d7fbef0a55 specify .js 2023-03-30 13:49:56 +09:00
syuilo ea6f9f1e7d tweak misskey-js config 2023-03-30 13:46:25 +09:00
syuilo ffbe896f28 enhance(client): ノートのリアクションを大きく表示するオプションを追加 2023-03-30 12:49:23 +09:00
syuilo e9769c937b misskey-jsのビルド設定を修正 2023-03-30 12:30:59 +09:00
syuilo e03d5a86a4 lint fix 2023-03-30 12:16:03 +09:00
syuilo bb2b33f2c9 update deps 2023-03-30 12:03:04 +09:00
syuilo 0fa9f945cf Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-30 11:48:35 +09:00
Acid Chicken (硫酸鶏) 5c80ad8fe9
Merge branch 'develop' into acid-chicken-patch-1 2023-03-30 11:03:51 +09:00
Kagami Sascha Rosylight cee1d5e2d0
chore: integrate misskey-js as a workspace item (git subtree) (#10409)
* Additional changes for the merge

* api-misskey-js
2023-03-30 09:33:19 +09:00
Acid Chicken (硫酸鶏) 49d4c538fe
fix: typo 2023-03-29 23:37:43 +09:00
syuilo c1d9e23171 enhance(client): 検索ページでURLを入力した際に照会したときと同等の挙動をするように 2023-03-29 17:22:34 +09:00
Acid Chicken (硫酸鶏) 4d3f0be419
chore: respect the animation preference 2023-03-27 05:16:39 +00:00
Acid Chicken (硫酸鶏) 07cfab0489
fix: add tight state to cat ears for workarounds 2023-03-26 09:36:46 +00:00
Acid Chicken (硫酸鶏) 453574644c
fix: add workaround for cat ears on iOS Safari 2023-03-26 09:25:51 +00:00
YS 31cc188bbd
regionが空文字列のときはundefinedとする (#10410) 2023-03-25 18:45:14 +09:00
Kagami Sascha Rosylight 772e05e835 Revert "Subtree merged in packages/misskey-js"
This reverts commit 3b524f32bf, reversing
changes made to 5be54451a8.
2023-03-25 08:20:41 +01:00
Kagami Sascha Rosylight abdb43c440 Revert "Additional changes for the merge"
This reverts commit efb5e1d1cc.
2023-03-25 08:20:34 +01:00