Commit graph

8900 commits

Author SHA1 Message Date
syuilo
bd8052fedb refactor(client): ダミーコンポーネントを使ってノートプレビューするように 2021-10-16 01:34:23 +09:00
syuilo
5fb4538315 refactor(client): コンポーネント名が紛らわしくなるのでpreview->simpleにリネーム 2021-10-16 01:28:34 +09:00
nullobsi
e78f16bcc4
feat: ノートプレビューを追加 (#7596)
* add note preview

* use if

* add draftedNote property

* custom emojis work

* Only show CW on preview when enabled

* move button to top

* fix css style
2021-10-16 01:19:49 +09:00
syuilo
fe62f3508b 🎨 2021-10-16 01:15:22 +09:00
syuilo
c11c22fc73 🎨 2021-10-15 23:35:28 +09:00
syuilo
056ab675cf Revert "🎨"
This reverts commit b77167a4a1.
2021-10-15 23:33:27 +09:00
syuilo
f00d543447 fix(client): Deck UIにおいて、重ねたカラムの片方を畳んだ状態で右に出すと表示が壊れる問題を修正
Fix #7867
2021-10-15 02:42:10 +09:00
syuilo
72b616a990 🎨 2021-10-14 23:14:14 +09:00
syuilo
8ee4b180f9 🎨 2021-10-14 22:40:43 +09:00
syuilo
46e4b07a87 🎨 2021-10-14 21:21:10 +09:00
syuilo
3ec6101b16 🎨 2021-10-14 20:55:59 +09:00
syuilo
955b3e313b 🎨 2021-10-14 18:51:15 +09:00
syuilo
3dc70f9878 🎨 2021-10-14 02:00:34 +09:00
syuilo
8e2be5e9a7 chore: ba6959b8c1 のリモート対応 2021-10-14 01:55:39 +09:00
syuilo
46f3736f44 🎨 2021-10-14 01:27:45 +09:00
syuilo
3f95bd53cd feat(client): add some theme functions 2021-10-14 01:25:50 +09:00
syuilo
23de45cea5 feat(client): add new theme 2021-10-14 01:25:19 +09:00
syuilo
ba6959b8c1 fix(api): 管理者およびモデレーターをブロックできてしまう問題を修正 2021-10-14 01:24:54 +09:00
syuilo
91c9a6390c 🎨 2021-10-12 21:46:18 +09:00
syuilo
a99478e2ea fix title 2021-10-12 21:41:27 +09:00
syuilo
12635da473 🎨 2021-10-12 02:15:31 +09:00
syuilo
36170c816a tweak ui 2021-10-12 01:04:50 +09:00
syuilo
50bad84747 chore: fix bug 2021-10-12 00:44:52 +09:00
syuilo
abd3efa318 chore: fix error 2021-10-11 02:47:23 +09:00
syuilo
816493e01f 🎨 2021-10-11 00:36:47 +09:00
syuilo
a0c9fd75d7 fix ui 2021-10-10 19:54:15 +09:00
syuilo
94bf7101f8 🎨 2021-10-10 17:48:07 +09:00
syuilo
46424f63f2 fix(client): ピン留めユーザーの設定項目がない問題を修正 2021-10-10 17:47:57 +09:00
syuilo
c33e93c662 improve ui 2021-10-10 15:19:16 +09:00
syuilo
49b43eb3c8 🎨 2021-10-09 14:47:52 +09:00
syuilo
6b22b7a31f 🎨 2021-10-09 14:43:40 +09:00
syuilo
b77167a4a1 🎨 2021-10-09 14:29:57 +09:00
syuilo
8006e7a34d feat(client): 通知ページで通知の種類によるフィルタ 2021-10-09 13:12:41 +09:00
syuilo
abc45ded9b refactor: use path alias 2021-10-09 12:47:40 +09:00
syuilo
ec05c07321 feat: 未読の通知のみ表示する機能 2021-10-09 12:44:19 +09:00
syuilo
27c056cbbf tweak ui 2021-10-09 12:33:08 +09:00
syuilo
b3779875d0 🎨 2021-10-09 00:46:52 +09:00
syuilo
748a451e23 🎨 2021-10-08 22:03:06 +09:00
syuilo
8b1999dc5b fix(api): (0 , ms_1.default) is not a function 2021-10-08 21:24:53 +09:00
syuilo
a38e4b0b14 server: コマンドラインオプション廃止
Resolve #7863
Resolve #6337
2021-10-08 21:24:05 +09:00
syuilo
5bf69476f6 enhance(api): ap系のエンドポイントをログイン必須化+レートリミット追加
他のサーバーにリクエストを送信するという性質上、攻撃の踏み台にされることがあるため
2021-10-08 14:05:07 +09:00
tamaina
597c9761cb
Revert "Revert "Fix idb"" (#7860)
This reverts commit 67875e2afa.
2021-10-08 13:37:55 +09:00
syuilo
b875cc9949
feat: アカウント作成にメールアドレス必須にするオプション (#7856)
* feat: アカウント作成にメールアドレス必須にするオプション

* ui

* fix bug

* fix bug

* fix bug

* 🎨
2021-10-08 13:37:02 +09:00
tamaina
67875e2afa Revert "Fix idb"
This reverts commit dd17065129.
2021-10-07 14:28:22 +09:00
tamaina
dd17065129 Fix idb 2021-10-07 14:26:16 +09:00
syuilo
8d05ef3058
fix(api): fix file type regex 2021-10-05 20:28:07 +09:00
syuilo
66369b4b1d 🎨 2021-10-03 23:51:54 +09:00
syuilo
9a33495694 🎨 2021-10-03 15:39:39 +09:00
syuilo
f0b2eaf70d fix bug 2021-10-03 12:27:29 +09:00
syuilo
ef67f3eee6 fix bug 2021-10-03 12:25:59 +09:00
syuilo
9cab659392 🎨 2021-10-03 02:46:58 +09:00
syuilo
dcd216daff 🎨 2021-10-03 00:33:29 +09:00
syuilo
8f673d80d4 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2021-10-02 23:11:23 +09:00
syuilo
3e81ebf8e9 🎨 2021-10-02 23:11:21 +09:00
tamaina
19d531922d
enhance: ページロードエラーページにリロードボタンを追加 (#7835)
* wip

* modify page load error page

* add changelog

* サーバーが死んでるエラーを追加

* add MkLoading
2021-10-02 16:36:25 +09:00
syuilo
9109ae02a7 chore: fix bug 2021-10-02 01:08:04 +09:00
syuilo
8d3fe0c5c2 🎨 2021-10-02 00:51:37 +09:00
syuilo
f9185f201a fix bug 2021-10-01 19:34:24 +09:00
syuilo
027380c013 fix bug 2021-10-01 19:32:16 +09:00
MeiMei
a73a787753
Fix prelude/url (#7855) 2021-10-01 02:25:57 +09:00
syuilo
bd9df789d1 refactor: prelude/urlでquerystringを使用しないように
Resolve #7854
2021-10-01 00:31:43 +09:00
Johann150
7974dbf477
insert space for unknown MFM functions (#7851) 2021-09-30 22:47:07 +09:00
syuilo
834fb3bebd fix(client): ユーザーページのタブが機能していない問題を修正
Fix #7853
2021-09-30 22:45:20 +09:00
syuilo
18fa317ee7 fix bug 2021-09-30 03:07:47 +09:00
Johann150
414f1d1158
fix: truncate image descriptions (#7699)
* move truncate function to separate file to reuse it

* truncate image descriptions

* show image description limit in UI

* correctly treat null

Co-authored-by: nullobsi <me@nullob.si>

* make truncate Unicode-aware

The strings that truncate returns should now be valid Unicode.

PostgreSQL also counts Unicode Code Points instead of bytes so this
should be correct.

* move truncate to internal, validate in API

Truncating could also be done in src/services/drive/add-file.ts or
src/services/drive/upload-from-url.ts but those would also affect
local images. But local images should result in a hard error if the
image comment is too long.

* avoid overwriting

Co-authored-by: nullobsi <me@nullob.si>
2021-09-30 01:44:22 +09:00
syuilo
c5e5a9b8ef 🎨 2021-09-30 01:13:54 +09:00
syuilo
1ac1a968b9 refactor components 2021-09-30 00:50:45 +09:00
syuilo
0d3a36e519
add todo 2021-09-28 01:50:02 +09:00
syuilo
ebce02c253 chore: clean up 2021-09-26 03:25:52 +09:00
syuilo
78b400e8b0 fix(client): MFM関数構文のサジェストで括弧を無視するように 2021-09-26 03:25:00 +09:00
syuilo
8d93f148be 重いというか邪魔 2021-09-26 03:17:16 +09:00
syuilo
4b8a2d2a6b fix(client): 絵文字一覧ページのタグ一覧をとりあえず無効に
重いため
2021-09-26 03:16:30 +09:00
syuilo
5fd549656b chore: clean up 2021-09-26 02:56:02 +09:00
syuilo
a70dbb7e74 feat(client): MFM関数構文のサジェストを実装 2021-09-26 02:55:11 +09:00
syuilo
a75f3fb87c refactor: fix types 2021-09-26 02:10:07 +09:00
MeiMei
ece3ac967d
Tune mfmToHtml (#7841)
* Tune mfmToHtml

* typo

* add
2021-09-26 01:57:38 +09:00
syuilo
da71d8f4af fix(client): fix tabs of page header behaviour 2021-09-26 01:53:56 +09:00
syuilo
ce4ea5071f enhance(client): アニメーションを減らす設定をメニューのアニメーションにも適用するように
Resolve #7826
2021-09-23 23:01:32 +09:00
MeiMei
8a558eed36
Update index.ts (#7830) 2021-09-23 22:41:02 +09:00
Johann150
ce32cd576b
fix inboxQueue import (#7829) 2021-09-23 22:32:16 +09:00
syuilo
be23ccf23b
New Crowdin updates (#7823)
* New translations ja-JP.yml (German)

* New translations ja-JP.yml (Esperanto)

* New translations create-plugin.md (Esperanto)
2021-09-22 22:53:01 +09:00
syuilo
5bf4f569e4 enhance(client): アップデートが利用可能な場合エラー表示およびダイアログ表示しないように 2021-09-22 22:45:10 +09:00
tamaina
14795b68f2
refactor: PackedHoge型をPacked<'Hoge'>型に書き換える (#7792)
* packedNotificationSchemaを更新

* read:gallery, write:gallery, read:gallery-likes, write:gallery-likesに翻訳を追加

* fix

* add header, choice, invitation

* test

* fix

* yatta

* remove no longer needed "as PackedUser/PackedNote"

* clean up

* add simple-schema

* fix lint

* define items in full Schema

* revert https://github.com/misskey-dev/misskey/pull/7772#discussion_r706627736

* user packとnote packの型不整合を修正

* add prelude/types.ts

* emoji

* signin

* game

* matching

* fix

* add emoji schema

* add reversiGame

* add reversiMatching

* remove signin schema (use Signin entity)

* add Packed type

* note-reaction

* user

* user-group

* user-list

* note

* app, messaging-message

* notification

* drive-file

* drive-folder

* following

* muting

* blocking

* hashtag

* page

* app (with modifying schema)

* import user?

* channel

* antenna

* clip

* gallery-post

* emoji

* Packed

* reversi-matching

* add changelog

* add changelog

* revert fix
2021-09-22 22:35:55 +09:00
syuilo
bea42f5804
New Crowdin updates (#7764)
* New translations ja-JP.yml (Korean)

* New translations ja-JP.yml (Chinese Simplified)

* New translations ja-JP.yml (Chinese Simplified)

* New translations apps.md (Chinese Simplified)

* New translations links.md (Chinese Simplified)

* New translations changelog.md (Chinese Simplified)

* New translations ja-JP.yml (Esperanto)

* New translations report-issue.md (Chinese Simplified)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations mfm.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations glossary.md (Esperanto)

* New translations timeline.md (Chinese Simplified)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations mfm.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations mfm.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (German)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations glossary.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations aiscript.md (English)

* New translations ja-JP.yml (Esperanto)

* New translations aiscript.md (English)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations links.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations note.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations note.md (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Korean)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (English)

* New translations faq.md (Korean)

* New translations faq.md (Korean)

* New translations misskey.md (Korean)

* New translations faq.md (Korean)

* New translations disable-timelines.md (Korean)

* New translations disable-timelines.md (Korean)

* New translations disable-timelines.md (Korean)

* New translations aiscript.md (Korean)

* New translations misskey.md (Korean)

* New translations aiscript.md (Korean)

* New translations changelog.md (Korean)

* New translations misskey.md (Korean)

* New translations misskey.md (Korean)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations glossary.md (Esperanto)

* New translations glossary.md (Esperanto)

* New translations glossary.md (Esperanto)

* New translations glossary.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations misskey.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations faq.md (Korean)

* New translations misskey.md (Korean)

* New translations apps.md (Korean)

* New translations faq.md (Korean)

* New translations misskey.md (Korean)

* New translations faq.md (Korean)

* New translations glossary.md (Korean)

* New translations faq.md (Korean)

* New translations glossary.md (Korean)

* New translations glossary.md (Korean)

* New translations glossary.md (Korean)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations create-plugin.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations keyboard-shortcut.md (Esperanto)

* New translations ja-JP.yml (Japanese, Kansai)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Chinese Simplified)

* New translations create-plugin.md (Chinese Simplified)

* New translations develop-bot.md (Chinese Simplified)

* New translations reversi-bot.md (Chinese Simplified)

* New translations ja-JP.yml (Japanese, Kansai)

* New translations reversi-bot.md (Chinese Simplified)

* New translations stream.md (Chinese Simplified)

* New translations ja-JP.yml (German)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations glossary.md (Esperanto)

* New translations glossary.md (Esperanto)

* New translations glossary.md (Esperanto)

* New translations reversi-bot.md (Chinese Simplified)

* New translations develop-bot.md (Chinese Simplified)

* New translations reversi-bot.md (Chinese Simplified)

* New translations reversi-bot.md (Chinese Simplified)

* New translations ja-JP.yml (French)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations troubleshooting.md (Esperanto)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations timeline.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations timeline.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations glossary.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations glossary.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations note.md (Esperanto)

* New translations glossary.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations glossary.md (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations reversi-bot.md (Chinese Simplified)

* New translations reversi-bot.md (Chinese Simplified)

* New translations reversi-bot.md (Chinese Simplified)

* New translations stream.md (Chinese Simplified)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (Esperanto)

* New translations glossary.md (Korean)

* New translations glossary.md (Korean)

* New translations glossary.md (Korean)

* New translations glossary.md (Korean)

* New translations links.md (Korean)

* New translations links.md (Korean)

* New translations ja-JP.yml (Korean)
2021-09-22 22:31:22 +09:00
syuilo
fbbce302bc enhance(client): 非ログイン自は更新ダイアログを出さないように
Resolve #7756
2021-09-22 22:18:08 +09:00
Skehmatics
a499ad6879
feat: MFM Sparkle animation (#7813)
* Add sparkle mfm animation 

* Cleanup sparkle effect

+ spaces -> tabs and other codestyle
+ use proper image
+ listen for resizes
+ use font-size to determine particle size (for fun with x2/3/4 stacking)
2021-09-22 22:09:23 +09:00
syuilo
76c5dc8999 fix(client): fix #7774 2021-09-22 21:58:08 +09:00
syuilo
61de9cdbd4 🎨 2021-09-22 21:42:07 +09:00
syuilo
9208825975 feat(server): 管理者用アカウント削除API実装
動作確認済み
Resolve #7735
2021-09-22 17:34:48 +09:00
syuilo
72a49f334a enhance(client): リスト、アンテナタイムラインを個別ページとして分割 2021-09-21 21:04:59 +09:00
syuilo
b35ca3b739 🎨 2021-09-21 04:13:54 +09:00
syuilo
85950f17fa 🎨 2021-09-21 04:09:28 +09:00
syuilo
78f95b5910 🎨 2021-09-21 02:01:25 +09:00
tamaina
90bf976fe2
enhance: ノートヘッダーにflex-shrinkを設定し、Acctを優先的に縮小して見栄えをよくするように (#7752)
* MAKE NOTE HEADER FLEX AGAIN

* span => div

* remove submodules
2021-09-20 22:14:49 +09:00
MeiMei
388de9dc96
chore, perf: Reduce redis memory (#7816)
* Reduce redis memory

* CHANGELOG

* a
2021-09-20 21:55:19 +09:00
syuilo
54e0a7f8a8
feat: 凍結された場合のダイアログを実装 (#7811)
* feat: 凍結された場合のダイアログを実装

* Update CHANGELOG.md

* Update basic.js

* improve error handling

* cypressなんもわからん

* Update basic.js
2021-09-19 02:23:12 +09:00
syuilo
6d4e96dea2 fix style 2021-09-18 21:26:31 +09:00
syuilo
a6958da091 enhance(server): アカウントが凍結されたときのエラーを判定しやすく 2021-09-18 17:58:37 +09:00
nullobsi
d5702f9d51
add resolver check for blocked instance (#7777)
* add resolver check for blocked instance

* lint

* Update note.ts
2021-09-18 15:45:02 +09:00
syuilo
5141afe476 fix(client): タイムラインでリストとかなかったの修正 2021-09-18 15:39:01 +09:00