Commit Graph

977 Commits

Author SHA1 Message Date
kabo2468 228c92f2ca
ドライブのファイルを消すときの文章を「ノートは消えない」と修正 (#10096)
* Update ja-JP.yml

* Update ja-JP.yml
2023-03-10 02:16:00 +09:00
tamaina c75afad64a
enhance: アカウント削除時のクライアントの挙動をいい感じにするなど (#10002)
* refreshAccounts
Resolve #9322

* アカウント管理画面でリストを更新するように

* Update packages/frontend/src/account.ts

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

* ✌️

* クライアント起動時は現在ログインしているアカウントのみリフレッシュする

* clean up

* なんかめっちゃ変えた

* refactor

* refactor

* fix lint

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-03-09 14:27:16 +09:00
syuilo dd6569a1bb
feat: Reaction acceptance (#10256)
* wip

* wip

* デフォルト設定
2023-03-08 08:56:47 +09:00
syuilo 4c2f7c64cc
feat: Per-user renote mute (#10249)
* feat: per-user renote muting

From FoundKey/c414f24a2c https://akkoma.dev/FoundKeyGang/FoundKey

* Update ja-JP.yml

* Delete renote-muting.ts

* rename

* fix ids

* lint

* fix

* Update CHANGELOG.md

* リノートをミュートしたユーザー一覧を見れるように

* 🎨

* add test

* fix test

---------

Co-authored-by: Hélène <pleroma-dev@helene.moe>
2023-03-08 08:56:09 +09:00
syuilo 7b8e1e6913 enhance(client): tweak signup form 2023-03-05 14:05:28 +09:00
nexryai 72b315491b
Fix: If mail delivery is disabled on the server, make the settings page indicate this (#10191)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-03-04 19:19:55 +09:00
syuilo dcd4d80869 enhance(client): improve channel ui 2023-03-04 10:34:54 +09:00
syuilo b4e96181f5 localization: インスタンス -> サーバー
Resolve #7599
2023-03-03 11:36:26 +09:00
syuilo 1c5291f818
feat: 時限ロール (#10145)
* feat: 時限ロール

* クライアントから期限を確認できるように

* リファクタとか

* fix test

* fix test

* fix test

* clean up
2023-03-01 10:20:03 +09:00
syuilo 7c3a390763 enhance(client): ノートの操作部をホバー時のみ表示するオプション 2023-02-28 20:53:32 +09:00
syuilo ab7a8a2dae enhance(client): 招待コードが必要なことが分かりやすいように 2023-02-28 16:05:05 +09:00
tamaina 5c989ed18f
fix/refaftor(client): MkTime.vueの変更 (#10061)
* fix(client): MkTime.timeにstringでもDateでない値が入った場合、?を表示

* fix(client): MkTimeを改良

* numberを許容

* falsyな値もとる

* 不明

* ありません

* fix
2023-02-24 16:21:49 +09:00
atsuchan e211d4e0cb
Add dialog to remove follower (#9718) 2023-02-24 13:08:06 +09:00
syuilo ff8437c378 enhance(client): ローカルのみ -> 連合なし
Resolve #10055
2023-02-24 10:24:25 +09:00
tamaina becc4d2e54
fix: i/notificationsで古い通知タイプを許容するなど、古い通知タイプの清算 (#10042)
* wip

* fix

* create migration

* oops

* fix front const

* changelog

* fix type

* fix

* wip

* Revert "wip"

This reverts commit 6cdb3600e280be3550b8b6353b2c7930f7b31438.

* enumのこす

* fix

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-23 20:46:14 +09:00
syuilo 69869307bf enhance(client): improve entrance page
Resolve #9986
2023-02-22 11:00:34 +09:00
tamaina 980bf1306e
🎨 2FA設定のデザイン向上 / セキュリティキーの名前を変更できるように (#9985)
* wip

* fix

* wip

* wip

* ✌️

* rename key

* 🎨

* update CHANGELOG.md

* パスワードレスログインの判断はサーバーで

* 日本語

* 日本語

* 日本語

* 日本語

* ✌️

* fix

* refactor

* トークン→確認コード

* fix password-less / qr click

* use otpauth

* 日本語

* autocomplete

* パスワードレス設定は外に出す

* 🎨

* 🎨

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-20 16:40:24 +09:00
nenohi 71c42bef9b
広告開始時期の設定 (#9944)
* 広告開始時期の設定

* 過去のものも表示するように
2023-02-15 14:29:40 +09:00
syuilo 8caf288ac1
drop group (#9942)
* drop group

* Update operations.ts
2023-02-15 13:37:18 +09:00
syuilo 2f48d109dd enhance(client): make possible to in-channel renote/quote 2023-02-12 10:59:22 +09:00
syuilo f5bfc6f0c1 enhance(client): improve api error handling 2023-02-12 10:21:17 +09:00
syuilo e1d41063cd enhance(client): make renote collapsing optional
Resolve #9891
2023-02-12 08:18:22 +09:00
syuilo 73a1372940 enhance(client): 迷惑になる可能性のある投稿を行う前に警告を表示
Resolve #9862
2023-02-11 13:54:27 +09:00
syuilo b0616b52ea 一部のMFM構文をopt-inに
あとMFMチートシートはMisskey Hubに移動
2023-02-11 11:31:18 +09:00
syuilo adad4bcfe3 クロップ時の質問を分かりやすく 2023-02-10 10:45:32 +09:00
syuilo b3e8671dd9 利用規約同意UIの調整 2023-02-10 10:36:25 +09:00
tamaina 512e451f24 app auth / miauthの文言編集 2023-02-09 17:29:22 +00:00
tamaina ca0d53ec5d enhance(client): /authおよびMiAuthのUIをブラッシュアップ
Fix #9742
2023-02-09 17:18:27 +00:00
syuilo 6159cfd138 enhance(client): improve api error handling 2023-02-09 18:07:51 +09:00
syuilo 7afee5977f feat(client): add channel column to deck 2023-02-09 10:35:28 +09:00
syuilo d65e5f6794 単なるラッキーの獲得確立を調整 2023-02-05 14:38:21 +09:00
syuilo 6a3039f7b7 feat: ロールにアイコンを設定してユーザー名の横に表示できるように
Resolve #9761
2023-02-05 10:37:03 +09:00
syuilo b906ff3fed add an achievement 2023-01-22 20:30:56 +09:00
syuilo 42f3d9188b add a secret achievement 2023-01-22 20:22:38 +09:00
syuilo 26ae2dfc0f add achievement 2023-01-22 08:00:42 +09:00
syuilo 8dc0e0abbb Update ja-JP.yml 2023-01-21 16:08:42 +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 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 336d8fe785 feat(client): リアクション一覧詳細ダイアログを表示できるように
Resolve #9634
2023-01-19 10:29:30 +09:00
syuilo fe0bb21b37 enhance(client): make possible to hide ads
Resolve #9590
Resolve #8996
2023-01-16 11:21:04 +09:00
syuilo d600296360 enhance(client): flash作成時のプリセットを追加 2023-01-16 10:04:10 +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 e46e7f5252 ノートをピン留めできる数を設定可能に
Resolve #9555
2023-01-14 18:04:56 +09:00
syuilo a08369fe36 enhance(client): 分かりやすいエラーメッセージを表示するように 2023-01-14 17:46:45 +09:00
syuilo 76c049522e enhance: ユーザーリストおよびユーザーリスト内のユーザーの作成可能数を設定可能に 2023-01-14 17:38:16 +09:00
syuilo c2009acb2d enhance: クリップおよびクリップ内のノートの作成可能数を設定可能に 2023-01-14 16:14:24 +09:00
syuilo bcb5182e86 Webhookの作成可能数を設定可能に 2023-01-14 10:48:11 +09:00
syuilo 4151087d3c フォロワー数、フォロー数もConditional roleで利用できるように 2023-01-14 08:27:23 +09:00
syuilo d1807ee5dc enhance: ハードワードミュートの最大文字数を設定可能に
Resolve #7574
2023-01-14 08:04:38 +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 b250456814 カスタム絵文字の管理を権限を持つユーザーが行えるように
Resolve #9542
2023-01-13 14:58:27 +09:00
syuilo 7b7faf1e84 招待コード発行を権限を持つユーザーが行えるように
Resolve #9541
2023-01-13 14:22:53 +09:00
syuilo a5aaa032ca 🎨 2023-01-13 11:07:51 +09:00
syuilo c5c40a73b7 feat: conditional role
Resolve #9539
2023-01-13 11:03:54 +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 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
syuilo d06f61f23f feat(client): add instance info widget 2023-01-09 20:35:36 +09:00
syuilo c179d6f735 feat(client): add profile widget
Resolve #7722
2023-01-09 20:23:06 +09:00
syuilo 27c2ca5048 feat(client): 🍪👈 2023-01-08 17:41:09 +09:00
syuilo 2e2ed1385f delete pollVote notification 2023-01-08 10:54:45 +09:00
syuilo d99be6697e enhance(client): donation dialog 2023-01-07 11:49:00 +09:00
syuilo ebe340d510
MisskeyPlay (#9467)
* wip

* wip

* wip

* wip

* wip

* Update ui.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* 🎨

* wip

* ✌️
2023-01-05 13:59:48 +09:00
syuilo 7093573f0c drop latestRequestSentAt of instance 2023-01-03 08:48:00 +09:00
syuilo 7a95339296 enhance(client): user activity page 2023-01-02 10:18:47 +09:00
syuilo e414737179 feat: make possible to export favorited notes
#9331
2023-01-01 16:53:10 +09:00
syuilo 43fafc8d57 enhance(client): tweak url preview 2022-12-30 14:24:00 +09:00
syuilo 4c24bd3933 tweak ui 2022-12-28 13:34:47 +09:00
syuilo 88dca1400e 🎨 2022-12-27 14:25:20 +09:00
Sam Smucny 5ebcdb4f31
enhance(client): Add link to copy RSS feed in user profile menu (#9419)
* add link to RSS feed

* update changelog and locale file

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-12-27 12:14:42 +09:00
syuilo d106fb39ab feat: introduce fluent emoji 2022-12-26 16:04:56 +09:00
syuilo 6acc10b4ba feat(client): add user list widget 2022-12-26 10:29:47 +09:00
syuilo b3decf965f pages関連 2022-12-24 11:57:06 +09:00
syuilo 2efd06f4ad enhance(client): show warning on screen when logged in as bot
Related #9386
2022-12-23 17:13:43 +09:00
syuilo d970534d92 enhance(client): improve ux of sound settings 2022-12-22 09:01:58 +09:00
syuilo 689411c19a refactor(client): refacotr MkMediaCaption 2022-12-21 16:00:00 +09:00
syuilo 049cd16257 Update ja-JP.yml 2022-12-20 15:41:06 +09:00
syuilo 9d7812f436 🎨 2022-12-20 15:11:20 +09:00
tamaina 867e31c9ff
enhance: Push notification of Antenna note (#9338)
* wip

* wip

* wip

* fix

* fix

* 🎨
2022-12-18 19:50:02 +09:00
tamaina 4ecc42744c
enhance: Implement the toggle to (or not to) close push notifications when notifications or messages are read (#9219)
* create file

* wip

* fix

* wip

* tabun dekita

* ✌️

* implement subscribe push notification button to tutorial

* check-exists→show-registration

* add column sendReadMessage

* fix migration file

* sw api

* change PushNotificationService

* wip

* ✌️

* fix tutorial footer flex
2022-12-18 01:59:59 +09:00
syuilo 187237b35e Update ja-JP.yml 2022-12-08 17:40:20 +09:00
CyberRex 1309367884
Add Cloudflare Turnstile CAPTCHA support (#9111)
* Add Cloudflare Turnstile CAPTCHA support

* Update packages/client/src/components/MkCaptcha.vue

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

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-10-13 09:19:57 +09:00
syuilo 27b40053c7 🎨 2022-09-20 07:14:47 +09:00
syuilo bdaa35d11f feat(client): improve widget 2022-08-04 22:20:00 +09:00
Johann150 b934c738a6
Collapse long notes (#8990)
* Revert "Revert option to collapse long notes (#8561)"

This reverts commit 71150f21cd and reinstates
the option to collapse long notes again after they were expanded.

* fix(client): wrongly collapsed posts

* fix: don't use ref

* tweak style

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-08-01 17:55:24 +09:00
tamaina 14c2f9e47e
feature: Client Preferences Registry (#8511)
* Fix settings page

* nanka iroiro

* clean up

* clean up

* feature: Client Preferences Registry on the account

* add changelog

* インデックスに戻ってもタイトルが残ってしまうのを修正

* fix createdAt -> updatedAt

* remove console.log

* 適用→このデバイスに適用

* add wallpaper

* ローカルのjsonファイルを保存・読み込みできるように

* clean up

* use apiWithDialog

* Update packages/client/src/pages/settings/preferences-registry.vue

Co-authored-by: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>

* Update packages/client/src/pages/settings/preferences-registry.vue

Co-authored-by: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>

* Update packages/client/src/pages/settings/preferences-registry.vue

Co-authored-by: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>

* fix lint

* ✌️

* change router

* nanka iroiro

* tweak

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>
2022-07-31 21:55:20 +09:00
syuilo 5b8d960b9f fix(client): tweak mfm-cheat-sheet 2022-07-19 17:13:24 +09:00
syuilo 8f3ca867d2 enhance(client): tweak ui 2022-07-17 23:18:05 +09:00
syuilo 0331f3c61b chore(client): tweak deck ui 2022-07-17 05:33:21 +09:00
syuilo a3a9b7fbd3 chore(client): tweak deck ui 2022-07-16 15:19:44 +09:00
syuilo 92e8a5dbd6 chore(client): tweak ui 2022-07-15 22:09:05 +09:00
syuilo 6f45208ab6 enhance(client): RSSティッカーで表示順序をシャッフルできるように 2022-07-15 17:12:08 +09:00
syuilo 242538ddce refactor(client): rename menu(sidebar) -> navbar 2022-07-14 17:42:12 +09:00
syuilo 75d516011b enhance: make active email validation configurable 2022-07-09 15:05:55 +09:00
syuilo e560601815
feat: auto nsfw detection (#8840)
* feat: auto nsfw detection

* ✌️

* Update ja-JP.yml

* Update ja-JP.yml

* ポルノ判定のしきい値を高めに

* エラーハンドリングちゃんとした

* Update ja-JP.yml

* 感度設定を強化

* refactor

* feat: add video support for auto nsfw detection

* rename: image -> media

* .js

* fix: add missing error handling

* fix: use valid pathname instead of using filename due to invalid usage

* perf(nsfw-detection): decode frames

* disable detection of video for some reasons

* perf(nsfw-detection): streamify detection process for video

* disable disallowUploadWhenPredictedAsPorn option

* fix(nsfw-detection): improve reliability

* fix(nsfw-detection): use Math.ceil instead of Math.round

* perf(nsfw-detection): delete tmp frames after used

* fix(nsfw-detection): FSWatcher does not emit ready event

* perf(nsfw-detection): skip black frames

* refactor: strip exists check

* Update package.json

* めっちゃ変えた

* lint

* Update COPYING

* オプションで動画解析できるように

* Update yarn.lock

* Update CHANGELOG.md

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-07-07 21:06:37 +09:00
syuilo a785f1f933 chore(client): tweak ui 2022-07-07 21:00:42 +09:00
Usuyuki ce9d29828d
fix:typo 「有効する必要…」→「有効にする必要…」 (#8936) 2022-07-05 11:17:42 +09:00
CyberRex cd07eb222e
Add additional drive capacity change support (#8867)
* Add additional drive capacity change support

* Update packages/backend/src/server/api/endpoints/admin/drive-capacity-override.ts

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* 🎨

* show instance default capacity in placeholder

* fix

* update api/drive

* fix

* remove :

* fix lint

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-07-05 00:21:01 +09:00
syuilo 65c12903e4 enhance(client): deckのウイジェットカラムが未設定の時に説明を表示するように 2022-07-04 21:28:59 +09:00
syuilo 1cb847aa80 enhance(client): tweak deck 2022-07-03 23:13:41 +09:00
syuilo 1163c85db6 enhance(client): refine deck
Fix #7720
2022-07-03 20:30:58 +09:00
syuilo 57c6db6952 chore(client): rename marquee -> ticker 2022-07-03 16:50:51 +09:00
syuilo 44c85aff86 feat(client): status bar (experimental) 2022-07-03 14:40:02 +09:00
syuilo dd426735a0 feat: moderation note 2022-07-03 00:15:03 +09:00
syuilo eccc90c843
feat: Log user ips (#8872)
* wip

* store ip and headers

* Update admin-file.vue

* require admin for view ip/headers

* IP (recent) 消した

* admin必須

* opt in

* clean ips periodically

* respect logging setting in drive/files/create
2022-07-02 15:12:11 +09:00
syuilo b773d516d3 chore(client): tweak ui 2022-07-02 12:22:52 +09:00
syuilo 6ba888f476 feat(client): add rss-marquee widget 2022-06-30 23:45:11 +09:00
syuilo 6f2d2a71f9 enhance(client): show confirm dialog when logout 2022-06-30 15:09:10 +09:00
syuilo bffe6fb9bf tweak client 2022-06-30 10:53:40 +09:00
syuilo 99dcd7bb27 feat(client): add instance-cloud widget 2022-06-29 23:28:52 +09:00
syuilo 0f1c0a42a2 enhance(client): メニュー整理
Resolve #6389
Fix #8035
2022-06-29 11:13:32 +09:00
syuilo 329f055a97 feat: make possible to delete an account by admin
Resolve #8830
2022-06-27 23:49:16 +09:00
syuilo c27d9e11b4 chore(client): tweak client 2022-06-26 14:17:55 +09:00
syuilo 2d181ba5af enhance(client): show warning in control panel when there is an unresolved abuse report 2022-06-21 19:48:28 +09:00
syuilo f880d0631c tweak client 2022-06-21 17:55:38 +09:00
futchitwo 5b7595d9d7
Improve: unclip (#8823)
* Refactor clip page to use Composition API

* Refactor clip page

* Refactor clip page

* Refactor clip page

* Improve: unclip

* Fix unclip

* Fix unclip

* chore: better type and name

* Fix

* Fix clipPage vue provider

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-18 18:27:09 +09:00
syuilo 8df2f19b5b enhance(client): improve file moderation ui 2022-06-17 15:03:02 +09:00
syuilo ecb3c43520
feat: image cropping (#8808)
* wip

* wip

* wip
2022-06-11 15:45:44 +09:00
syuilo 71150f21cd Revert "feat: option to collapse long notes (#8561)"
This reverts commit e675ffcf38.
2022-06-04 15:23:53 +09:00
Balazs Nadasdi e675ffcf38
feat: option to collapse long notes (#8561)
* feat: option to collapse long notes

Closes #8559

* do not collapse if cw exists

* use '閉じる' to close / show less.

* make it sticky

* Change style of the Show less button
2022-06-04 13:57:09 +09:00
Johann150 804fa33535
refactor: improve code quality (#8751)
* remove unnecessary if

`Array.prototype.some` already returns a boolean so an if to return
true or false is completely unnecessary in this case.

* perf: use count instead of find

When using `count` instead of `findOneBy`, the data is not
unnecessarily loaded.

* remove duplicate null check

The variable is checked for null in the lines above and the function
returns if so. Therefore, it can not be null at this point.

* simplify `getJsonSchema`

Because the assigned value is `null` and the used keys are only
shallow, use of `nestedProperty.set` seems inappropriate. Because the
value is not read, the initial for loop can be replaced by a `for..in`
loop.

Since all keys will be assigned `null`, the condition of the ternary
expression in the nested function will always be true. Therefore the
recursion case will never happen. With this the nested function can be
eliminated.

* remove duplicate condition

The code above already checks `dragging` and returns if it is truthy.
Checking it again later is therefore unnecessary.

To make this more obvious the `return` is removed in favour of using
an if...else construct.

* remove impossible "unknown" time

The `ago` variable will always be a number and all non-negative numbers
are already covered by other cases, the negative case is handled with
`future` so there is no case when `unkown` could be achieved.
2022-05-29 15:15:52 +09:00
Johann150 161659de5c
enhance: replace signin CAPTCHA with rate limit (#8740)
* enhance: rate limit works without signed in user

* fix: make limit key required for limiter

As before the fallback limiter key will be set from the endpoint name.

* enhance: use limiter for signin

* Revert "CAPTCHA求めるのは2fa認証が無効になっているときだけにした"

This reverts commit 02a43a310f.

* Revert "feat: make captcha required when signin to improve security"

This reverts commit b21b058005.

* fix undefined reference

* fix: better error message

* enhance: only handle prefix of IPv6
2022-05-28 12:06:47 +09:00
Andreas Nedbal 1d9a4f68f4
Refactor pleaseLogin to show a sign-in dialog (#8630)
* refactor(client): refactor pleaseLogin to show a sign-in dialog

* Apply review suggestions from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-19 20:28:08 +09:00
syuilo 98e42ec6ff enhance: Display TOTP Register URL
Close #7261

Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
2022-05-14 15:00:15 +09:00
tamaina 766559c6e9
feat: Improve Push Notification (#7667)
* clean up

* ev => data

* refactor

* clean up

* add type

* antenna

* channel

* fix

* add Packed type

* add PackedRef

* fix lint

* add emoji schema

* add reversiGame

* add reversiMatching

* remove signin schema (use Signin entity)

* add schemas refs, fix Packed type

* wip PackedHoge => Packed<'Hoge'>

* 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

* update stream.ts

* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339

* fix lint

* clean up?

* add app

* fix

* nanka iroiro

* wip

* wip

* fix lint

* fix loginId

* fix

* refactor

* refactor

* remove follow action

* clean up

* Revert "remove follow action"

This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.

* Revert "clean up"

This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.

* remove fetch specification

* renoteの条件追加

* apiFetch => cli

* bypass fetch?

* fix

* refactor: use path alias

* temp: add submodule

* remove submodule

* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

* Update packages/client/src/components/notification.vue

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

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

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

* clean up

* clean up

* キャッシュ対策

* Truncate push notification message

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* URLをsw.jsに戻す

* clean up

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-30 21:52:07 +09:00
syuilo 863b6c48f8 enhance(client): アカウント情報の取得に失敗したとき強制ログアウトではなく警告を表示するように 2022-03-25 01:53:20 +09:00
syuilo ff19640171 perf(server): reduce db query 2022-03-21 20:43:43 +09:00
syuilo 5490d82e3b tweal c;iemy 2022-03-11 18:55:47 +09:00
syuilo 2442592ef1 feat: アンケート終了通知
Resolve #4664
2022-03-06 16:06:27 +09:00
syuilo e68278f93e feat: 時限ミュート
#7677
2022-03-04 20:23:53 +09:00
syuilo ba4ef23d6b feat: instance default theme 2022-03-01 23:58:01 +09:00
tamaina e314be5b59
Fix avatar/banner proxy (#8346)
* Fix avatar/banner proxy

Co-authored-by: mei23 <m@m544.net>

* use getAvatarUrl

* fix

* join avatar and banner to improve performance

* join

* Update hybrid-timeline.ts

* fix

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +09:00
syuilo 9202ce6d7c client: 検索構文でGoogle明示 & deprecated 2022-02-25 14:40:11 +09:00
syuilo 92f5027c3c プロフィールの追加情報を最大16まで保存できるように
Close #8225
Close #8234
2022-02-20 16:53:06 +09:00
syuilo a1c7c1fb49 remove max note text length setting
Resolve #8323
2022-02-20 16:07:43 +09:00
syuilo cc019a217f feat(client): make size of reaction picker configuable 2022-02-11 13:38:47 +09:00
Johann150 afb6304979
fix: regular expressions in word mutes (#8254)
* fix: handle regex exceptions for word mutes

* add i18n strings

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* stricter input validation in backend

* add migration for hard mutes

* fix

* use correct regex library in migration

* use query builder to avoid SQL injection

Co-authored-by: Robin B <robflop98@outlook.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2022-02-10 19:47:46 +09:00
syuilo 4ae1a65958 feat: インスタンスのテーマカラーを設定できるように 2022-02-09 21:25:48 +09:00
syuilo 190b47aad2 feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +09:00
nullobsi 3ff89fa7ec
feat: Option to show replies in timeline (rebase #7685) (#8202)
* Add an option for timeline replies. Credit to Emilis (puffaboo)

* update db on request
2022-02-06 16:02:48 +09:00
syuilo 80fa92fb97 improve chart 2022-02-06 00:43:22 +09:00
tamaina 55b3ae22ee
enhance: メニュー関連をComposition API化、switchアイテム追加 (#8215)
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備

* メニュー型定義を分離 (TypeScriptの型支援が効かないので)

* disabled

* make keepOriginal to follow setting value

* fix

* fix

* Fix

* clean up
2022-01-30 14:11:52 +09:00
syuilo 901453ba7d chore(client): add tooltip 2022-01-21 20:51:07 +09:00
Johann150 cbb7e95d82
enhance: Forward report (#8001)
* implement sending AP Flag object

Optionally allow a user to select to forward a report about a remote
user to the other instance. This is added in a backwards-compatible way.

* add locale string

* forward report only for moderators

* add switch to moderator UI to forward report

* fix report note url

* return forwarded status from API

apparently forgot to carry this over from my testing environment

* object in Flag activity has to be an array

For correct interoperability with Pleroma the "object" property of the Flag
activity has to be an array.

This array will in the future also hold the link to respective notes, so it
makes sense to correct this on our side.

* Update get-note-menu.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 03:06:38 +09:00
syuilo b267a504ca bye reversi 2022-01-12 17:34:53 +09:00
syuilo faef125b74 bye room 2022-01-07 17:06:47 +09:00
syuilo 616b18a9e5 enhance(client): tweak ui 2021-12-30 21:47:48 +09:00
syuilo 2e80f9dfba clean up 2021-12-23 17:05:50 +09:00
syuilo ee144acea9 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2021-12-22 22:38:45 +09:00
syuilo 35b7ce1a96 enhance(client): メールアドレスの認証にクリック必須に 2021-12-22 22:38:42 +09:00
tamaina dc0e55bf16
wip (#8077) 2021-12-21 00:20:30 +09:00
syuilo cb16ff866c improve(client): show reload tip 2021-12-18 14:56:15 +09:00
syuilo d6e85ffb59 feat(client): improve toast component and show welcome message 2021-12-18 14:55:53 +09:00
syuilo d9257a5c0e 🎨 2021-12-17 16:14:43 +09:00
syuilo f7c90b58d6 enhance(client): リアクションピッカーの表示方法を選択できるように 2021-12-17 16:14:31 +09:00
syuilo 9cd2b767a9 enhance(client): make possible to leave a group 2021-12-14 22:27:33 +09:00
syuilo 225d7701a4 🎨 2021-12-10 16:01:35 +09:00
Robin B d15c8afcdf
Fix japanese instanceMuteDescription string (#8047) 2021-12-10 10:05:18 +09:00
syuilo 20134a5367 feat: improve follow export 2021-12-10 01:22:35 +09:00
romaboo 054417354c
feat: user-level instance mute (#7712)
* Update ja-JP.yml

* Added settable config for muted instances

* added psql query for removal of muted notes

* Added filtering and trimming for instance mutes

* cleaned up filtering of bad instance mutes and added a refresh at the end for the list on the client

* Added notification & streaming timeline muting

* Updated changelog

* Added missing semicolon

* Apply japanese string suggestions from robflop

Co-authored-by: Robin B. <robflop98@outlook.com>

* Changed Ja-JP instance mute title string to one suggested by sousuke

Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>

* Update ja-JP instanceMuteDescription based on sousuke's suggestion

Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>

* added notification mute

* added notification and note children muting

* Fixed a bug where local notifications were getting filtered on cold start

* Fixed instance mute imports

* Fixed not saving/loading instance mutes

* removed en-US translations for instance mute

* moved instance mute migration to js

* changed settings index back to spaces

* removed destructuring assignment from notification stream in instance mute check call

Co-authored-by: tamaina <tamaina@hotmail.co.jp>

* added .note accessor for checking note data instead of notification data

* changed note to use Packed<'Note'> instead of any and removed usage of snake case

Co-authored-by: tamaina <tamaina@hotmail.co.jp>

* changed notification mute check to check specifically for notification host

* changed to using single quotes

* moved @click to the end for the linter

* revert unnecessary changes

* restored newlines

* whitespace removal

Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Robin B. <robflop98@outlook.com>
Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>
Co-authored-by: puffaboo <emilis@jigglypuff.club>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2021-12-09 21:38:56 +09:00
nullobsi f33ded3107
feat: Undo Accept (#7980)
* allow breaking of follow

* send undo

* delete by using reject follow
2021-12-03 11:14:44 +09:00
syuilo 561b0fc10e feat(client): show confirm dialog when vote 2021-11-28 20:23:48 +09:00
syuilo b4ebf254c8 Update ja-JP.yml 2021-11-26 13:41:31 +09:00
syuilo 8e04bd12cf fix(client): ログインにおいてパスワードが誤っている際のエラーメッセージが正しく表示されない問題を修正 2021-11-21 14:01:53 +09:00
Johann150 12fad68f58
limit depth of reply posts (#7979)
* limit depth of reply posts

* some tweaks

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-11-18 22:11:44 +09:00
syuilo c864d700d2 feat(client): アカウント削除に確認ダイアログを出すように 2021-11-14 13:27:46 +09:00
syuilo 68192126e6 feat: improve email validation 2021-11-07 20:16:01 +09:00
syuilo a28c515ef6
feat: make possible to configure following/followers visibility (#7959)
* feat: make possible to configure following/followers visibility

* add test

* ap

* add ap test

* set Cache-Control

* hide following/followers count
2021-11-07 18:04:32 +09:00
syuilo c0144db75c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2021-11-05 16:19:01 +09:00
syuilo 8630542146 ドキュメントをmisskey-hubに移行 2021-11-05 16:18:52 +09:00
Robin B a674657bcb
fix(client): Add missing localization string (#7944)
* 欠けるi18nストリングの追加

* Update ja-JP.yml

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-11-05 12:32:47 +09:00
syuilo fc65190ef7
feat: thread mute (#7930)
* feat: thread mute

* chore: fix comment

* fix test

* fix

* refactor
2021-10-31 15:30:22 +09:00
syuilo dfd92efa89 🎨 2021-10-24 20:16:55 +09:00
syuilo 652588abed refactor client 2021-10-24 14:50:00 +09:00
syuilo 7413634734 リアクション一覧の公開をオプトインに 2021-10-18 01:16:59 +09:00
syuilo bd8052fedb refactor(client): ダミーコンポーネントを使ってノートプレビューするように 2021-10-16 01:34:23 +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 c33e93c662 improve ui 2021-10-10 15:19:16 +09:00
syuilo 79a591d72d Update ja-JP.yml 2021-10-09 14:29:49 +09:00
syuilo ec05c07321 feat: 未読の通知のみ表示する機能 2021-10-09 12:44:19 +09:00
syuilo b875cc9949
feat: アカウント作成にメールアドレス必須にするオプション (#7856)
* feat: アカウント作成にメールアドレス必須にするオプション

* ui

* fix bug

* fix bug

* fix bug

* 🎨
2021-10-08 13:37:02 +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 1ac1a968b9 refactor components 2021-09-30 00:50:45 +09:00
syuilo 4b9c605477 #7813の修正 2021-09-22 22:12:10 +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
tamaina 935d6473ed
chore: APIドキュメントの修正 (#7771)
* packedNotificationSchemaを更新

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

* fix

* add header, choice, invitation
2021-09-09 20:23:31 +09:00
Johann150 7364fb84ef
fix missing strings (#7674)
* fix sort menu in federation panel

* add missing strings in report menu

* change i18n key too
2021-09-04 18:21:45 +09:00
syuilo 8407702b38
藍モード (#7687)
* wip

* wip

* シンボリックリンクやめた

* install lib dependency

* bring live2d assets from misskey-dev/assets

* refactor

* nanka iroiro

* コミット忘れ

* random motion

* wip

* run git submodule update --init

* コミット忘れ

* refactor

* fix bug

* Update misskey-assets

* lint

* lint

* lint

* 藍モード修正 (#7702)

* lazy load live2d script

* fix typo

* lazy load also widget

* hot link to cubism core

* https://github.com/misskey-dev/misskey/pull/7702/files#r695623821

* fix lint

* remove live2d stuff

* use iframe

* update

* Update gulpfile.ts

* update

* Update .gitattributes

* update

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2021-09-04 17:54:24 +09:00
Johann150 2af158be26
add setting to keep content warning (#7682) 2021-08-24 20:52:33 +09:00
syuilo 8785e1c3a4 enhance(client): ユーザー名についてのヒントを追加 2021-08-22 13:16:15 +09:00
syuilo a53e1e4ec3 enhance: Improve account deletion experience 2021-08-21 12:48:50 +09:00
syuilo fd1ef4a62d
enhance(server): Use job queue for account delete (#7668)
* enhance(server): Use job queue for account delete

Fix #5336

* ジョブをひとつに

* remove done call

* clean up

* add User.isDeleted

* コミット忘れ

* Update 1629512953000-user-is-deleted.ts

* show dialog

* lint

* Update 1629512953000-user-is-deleted.ts
2021-08-21 12:41:56 +09:00
syuilo cced83024b feat: ノートの翻訳機能
Resolve #5213
2021-08-15 20:26:44 +09:00
syuilo 1561391293 feat(client): Misskey更新時にダイアログを表示するように 2021-08-13 17:59:54 +09:00
syuilo 555954c71e Improve about-misskey page 2021-08-12 11:48:06 +09:00
syuilo 0f55e65701 ぼかし効果の切り替え機能 2021-08-11 22:34:45 +09:00