Commit graph

2700 commits

Author SHA1 Message Date
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
Kagami Sascha Rosylight
efb5e1d1cc Additional changes for the merge 2023-03-25 08:13:30 +01:00
Kagami Sascha Rosylight
3b524f32bf Subtree merged in packages/misskey-js 2023-03-25 08:09:24 +01:00
syuilo
da2483f7fe fix test 2023-03-24 19:09:02 +09:00
syuilo
31f3f5f0f0 enhance(backend): リモートサーバーのチャート生成を無効にするオプションを追加 2023-03-24 19:08:08 +09:00
syuilo
09a846a45c enhance(backend): use ❤️ for reaction fallback 2023-03-24 18:55:31 +09:00
syuilo
4edc7d8956 enhance of f01e6ef6bf 2023-03-24 18:48:42 +09:00
syuilo
6a29b182ee perf(backend): ドライブのチャートはローカルユーザーのみ生成するように 2023-03-24 18:37:08 +09:00
syuilo
46f99755db refactor 2023-03-24 18:29:39 +09:00
syuilo
05cba6d357 fix: add missing import 2023-03-24 17:03:03 +09:00
syuilo
cabed6098d perf(frontend): cache user lists 2023-03-24 16:58:57 +09:00
syuilo
5f52b13325 enhance(frontend): クリップボタンをノートアクションに追加できるように 2023-03-24 16:54:37 +09:00
syuilo
e438091113 refactor(backend): rename cache class 2023-03-24 16:43:42 +09:00
syuilo
4a17906530 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-03-24 16:01:38 +09:00
syuilo
ab26a8016d fix(server): 空のアンテナが作成できるのを修正 2023-03-24 16:01:35 +09:00
kakkokari-gtyih
972963913b
i18n: Webhook 設定画面に翻訳を追加 (#10379)
* Webhook 設定画面に翻訳を追加

* fix: typo

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-24 15:44:26 +09:00
syuilo
f01e6ef6bf enhance(backend): リモートユーザーのチャート生成を無効にするオプションを追加 2023-03-24 15:43:36 +09:00
Acid Chicken (硫酸鶏)
7f9a41b05c
fix: redesign cat ears (#10039)
* fix: viewing disgusting objects when user is a cat with having transparent avatar

* chore: mask cat ears when useBlurEffect is enabled

* fix: typo

* style: add comment

* chore: shrink mask

* chore: blur mask

* refactor: minify

* chore: use SVG to determine ear color

* style: comment

* refactor: use `<component>`

* refactor: separate cat definitions

* refactor: use singleton SVG definitions

* perf: use CSS instead of SVG

* refactor: unused definer

* refactor: not used anymore

* refactor: minify

* refactor: minify

* fix: import
2023-03-23 18:06:26 +09:00
syuilo
41d1b1b8c9 enhance: コンディショナルロールの条件に「投稿数が~以下」「投稿数が~以上」を追加
Resolve #10395
2023-03-23 17:18:38 +09:00
syuilo
48a97d25e5 fix(client): センシティブワードの一覧にピン留めユーザーのIDが表示される問題を修正
Fix #10398
2023-03-23 17:07:46 +09:00
YS
658901a47f
bump aws-sdk to v3 for s3 (#10363)
* indent

* aws-sdk v3移行
2023-03-23 13:48:14 +09:00
syuilo
050787238b fix(backend): 絵文字を編集すると保存できないことがある問題を修正
Fix #10384
2023-03-22 18:45:55 +09:00
syuilo
c6fc9af77a fix(client): ドライブファイルのメニューが正常に動作しない問題を修正
Fix #10387
2023-03-22 18:29:17 +09:00
syuilo
24a3a0bbff fix(client): An error occurs when you press the Play button of Misskey Play
Fix #10381
2023-03-22 16:26:11 +09:00
syuilo
78a3d78a7f fix drive-cleaner 2023-03-22 09:09:43 +09:00
syuilo
9a40a4e315
Update packages/backend/test/utils.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-22 08:59:50 +09:00
CyberRex
7331de0bce
feat: queue force promote (#10370)
* feat: queue force promote

* Update CHANGELOG.md

* small fix
2023-03-22 08:58:23 +09:00
syuilo
dac4fbcb1e tweak settings/navbar.vue 2023-03-20 20:35:49 +09:00
Ekke
21b10603fe
feat(frontend): ナビゲーションバーのカスタマイズをドラッグ&ドロップで行えるようにする (#10356)
* feat(frontend): ナビゲーションバーのカスタマイズをドラッグ&ドロップで行えるようにする

* eslintのエラーを修正

* ハンドルをつかんでドラッグするように変更

* eslintのエラーを修正

* デザインの軽微な変更

* 修正

* Update CHANGELOG.md

* Update CHANGELOG.md

* ドラッグハンドルを3本線から2本線に

---------

Co-authored-by: root <root@Adam-Windows>
2023-03-20 20:21:54 +09:00
syuilo
54630edb0f enhance: 使われてないアンテナは自動停止されるように
Resolve #9373
2023-03-20 20:12:38 +09:00
choco
eb5781465b
fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す (#10344)
* fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す

* test(users/show): ステータスコードの期待値を修正
2023-03-20 14:26:11 +09:00
nenohi
e152047912
絵文字の名前に@や:が使用できる (#9964)
* fix(#9918)名前の一致でもエラーとするように

* 判定を逆に

* )の位置間違えてる

* カテゴリ分けとかしたときにエラーになる

* エラー消し

* こういうこと・・・?
2023-03-20 14:24:18 +09:00
syuilo
3d6aaa7aaa tweak drive-cleaner 2023-03-20 13:20:21 +09:00
syuilo
32c60c774c fix indentation 2023-03-20 13:00:21 +09:00
CyberRex
1d6f43aa30
feat: drive cleaner (#10366)
* feat: drive-cleaner

* Update CHANGELOG.md
2023-03-20 12:58:06 +09:00
kakkokari-gtyih
866aded6bc
fix: PC版設定ページでスマホ用UIが表示されるのを防ぐリダイレクトを追加 (#10326)
* (Fix misskey-dev#10324)設定画面:PC版UIへのリダイレクトをルート遷移時にも実行

* Update changelog

* (fix) missing semicolon

* (fix) strict equals
2023-03-19 20:28:19 +09:00
Kagami Sascha Rosylight
e542a030e4
fix(backend/URLPreviewService): エラーでHTTP 422を出すように (#10339)
* fix(backend/URLPreviewService): エラーでHTTP 402を出すように

* fix import
2023-03-19 20:27:17 +09:00
Nanashia
2e051c5871
test(backend): Add tests for clips (#10358) 2023-03-19 20:26:38 +09:00
kakkokari-gtyih
459d3053d3
fix: 非ログイン時に「Misskeyについて」ページから投稿フォームが出ないようにする (#10345)
* (fix misskey-dev#9486) 非ログイン時の I ❤ Misskey のふるまい

* 「キャンセル」ボタンにより適切な翻訳をあてる

* Update CHANGELOG.md

* もともと用意されていたサインイン確認関数に置き換え

* Update CHANGELOG.md

* 独自ダイアログでなくなった以上、async指定は要らないので解除

* ボタンをそもそも非表示にする
2023-03-19 17:05:31 +09:00
Kagami Sascha Rosylight
c091d9e6d5
feat(frontend/MkUrlPreview): oEmbedのサポート (#10306)
* feat(frontend/MkUrlPreview): oEmbedのサポート

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* playerとoEmbedの統合

* Update CHANGELOG.md

* loading=lazyはここでは不要

* border: 0

* プレビュー直後にautoplayできる機能の復旧

* add test

* refactor test

* explain about cache

* expandPreviewはもう使わない

* summaly v4

* update summaly

* scrolling=no to fix pixiv

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-19 16:59:31 +09:00
syuilo
4d73080da1 perf(backend): improve performance of timeline apis 2023-03-19 16:52:38 +09:00
atsuchan
793dacef19
Fix: foreignkey on reports (#9753) 2023-03-19 15:46:24 +09:00
syuilo
7699b49d33 enhance(client): add ads page 2023-03-18 14:30:16 +09:00
Nanashia
8571c692ba
test(backend): Add tests for web resources (#10341) 2023-03-18 09:01:10 +09:00
syuilo
e5ad37e6d0 update aiscript 2023-03-17 20:41:25 +09:00
syuilo
ed51209172 絵文字のライセンスを表示できるように 2023-03-17 20:24:47 +09:00
syuilo
ac0e0122f6 refactor 2023-03-17 15:09:43 +09:00
syuilo
b644567735 feat: clip favorite
Resolve #10337
2023-03-16 17:24:49 +09:00
syuilo
8ae9d2eaa8 enhance: カスタム絵文字にライセンス情報を付与できるように
Resolve #10091
2023-03-16 15:08:48 +09:00