Commit graph

19212 commits

Author SHA1 Message Date
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
syuilo
67e2768c3e Update CHANGELOG.md 2021-09-26 01:58:20 +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
ac93af8eb5 Update extensions.json 2021-09-25 10:53:55 +09:00
syuilo
76cdbe74ba
Update CHANGELOG.md 2021-09-24 22:28:17 +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
78ac41a613 12.91.0 2021-09-22 22:53:20 +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
1ba5e433e5
New Crowdin updates (#7822)
* New translations ja-JP.yml (Esperanto)

* New translations ja-JP.yml (English)

* New translations ja-JP.yml (Esperanto)
2021-09-22 22:46:45 +09:00
syuilo
5bf4f569e4 enhance(client): アップデートが利用可能な場合エラー表示およびダイアログ表示しないように 2021-09-22 22:45:10 +09:00
syuilo
5a11844eff Update CHANGELOG.md 2021-09-22 22:36:20 +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
syuilo
4b9c605477 #7813の修正 2021-09-22 22:12:10 +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
b985e14b13 update deps 2021-09-22 21:51:24 +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
syuilo
909a09a0c0
Update CONTRIBUTING.md 2021-09-20 23:26:43 +09:00
syuilo
bb9fc56cc1 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2021-09-20 23:24:10 +09:00
syuilo
9f3b4ccd14 update contribution guide 2021-09-20 23:24:07 +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
8a0a46b1c9 test: improve e2e test 2021-09-19 14:27:16 +09:00
syuilo
186163ec3f refactor 2021-09-19 02:58:25 +09:00
syuilo
91171c559a Update .gitignore 2021-09-19 02:58:17 +09:00
syuilo
36b483d04d Update .gitignore 2021-09-19 02:43:39 +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