Commit Graph

765 Commits

Author SHA1 Message Date
syuilo
7be20ff1a7 tweak client 2022-06-30 10:53:40 +09:00
syuilo
8af0818ee7 feat(client): add instance-cloud widget 2022-06-29 23:28:52 +09:00
syuilo
b9c7b9be04 enhance(client): メニュー整理
Resolve #6389
Fix #8035
2022-06-29 11:13:32 +09:00
syuilo
4d89a77aef feat: make possible to delete an account by admin
Resolve #8830
2022-06-27 23:49:16 +09:00
syuilo
951dd79b78 chore(client): tweak client 2022-06-26 14:17:55 +09:00
syuilo
ede5c804a7 enhance(client): show warning in control panel when there is an unresolved abuse report 2022-06-21 19:48:28 +09:00
syuilo
69c45e4474 tweak client 2022-06-21 17:55:38 +09:00
futchitwo
2ee931e0c6 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
0e291ab3c3 enhance(client): improve file moderation ui 2022-06-17 15:03:02 +09:00
syuilo
c1282b4fd6 feat: image cropping (#8808)
* wip

* wip

* wip
2022-06-11 15:45:44 +09:00
syuilo
b262e19742 Revert "feat: option to collapse long notes (#8561)"
This reverts commit e675ffcf38b07f5c70d00b49c171c7ab3460e810.
2022-06-04 15:23:53 +09:00
Balazs Nadasdi
170ea0f6c2 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
ec47b46423 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
0738a65a78 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 02a43a310f6ad0cc9e9beccc26e51ab5b339e15f.

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

This reverts commit b21b0580058c14532ff3f4033e2a9147643bfca6.

* fix undefined reference

* fix: better error message

* enhance: only handle prefix of IPv6
2022-05-28 12:06:47 +09:00
Andreas Nedbal
7757d3e400 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
36db202263 enhance: Display TOTP Register URL
Close #7261

Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
2022-05-14 15:00:15 +09:00
tamaina
1df07ded68 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
c32867f296 enhance(client): アカウント情報の取得に失敗したとき強制ログアウトではなく警告を表示するように 2022-03-25 01:53:20 +09:00
syuilo
5e9a8ce883 perf(server): reduce db query 2022-03-21 20:43:43 +09:00
syuilo
8e9dd82ae8 tweal c;iemy 2022-03-11 18:55:47 +09:00
syuilo
3b86bdf18c feat: アンケート終了通知
Resolve #4664
2022-03-06 16:06:27 +09:00
syuilo
17f7b41240 feat: 時限ミュート
#7677
2022-03-04 20:23:53 +09:00
syuilo
f71aa3df32 feat: instance default theme 2022-03-01 23:58:01 +09:00
tamaina
13cc69fe1c 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
9717fc1dbf client: 検索構文でGoogle明示 & deprecated 2022-02-25 14:40:11 +09:00
syuilo
1d2be559e9 プロフィールの追加情報を最大16まで保存できるように
Close #8225
Close #8234
2022-02-20 16:53:06 +09:00
syuilo
18ea7a1142 remove max note text length setting
Resolve #8323
2022-02-20 16:07:43 +09:00
syuilo
eb24eedf12 feat(client): make size of reaction picker configuable 2022-02-11 13:38:47 +09:00
Johann150
84c409a52b 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
9e41714e6e feat: インスタンスのテーマカラーを設定できるように 2022-02-09 21:25:48 +09:00
syuilo
2570cd6693 feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +09:00
nullobsi
92e94d688c 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
f8fd491384 improve chart 2022-02-06 00:43:22 +09:00
tamaina
22da2fab2d 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
1b62061fb3 chore(client): add tooltip 2022-01-21 20:51:07 +09:00
Johann150
627e3c07b9 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
9117fd7a06 bye reversi 2022-01-12 17:34:53 +09:00
syuilo
a8ccb5ef81 bye room 2022-01-07 17:06:47 +09:00
syuilo
560c4f03f1 enhance(client): tweak ui 2021-12-30 21:47:48 +09:00
syuilo
fb31d04cec clean up 2021-12-23 17:05:50 +09:00
syuilo
3361c51c2a Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2021-12-22 22:38:45 +09:00
syuilo
986b8e8073 enhance(client): メールアドレスの認証にクリック必須に 2021-12-22 22:38:42 +09:00
tamaina
198b35872e wip (#8077) 2021-12-21 00:20:30 +09:00
syuilo
b88d23e7e5 improve(client): show reload tip 2021-12-18 14:56:15 +09:00
syuilo
e03cc6859c feat(client): improve toast component and show welcome message 2021-12-18 14:55:53 +09:00
syuilo
9c8ca41648 🎨 2021-12-17 16:14:43 +09:00
syuilo
b6cc8eea35 enhance(client): リアクションピッカーの表示方法を選択できるように 2021-12-17 16:14:31 +09:00
syuilo
1fab32e304 enhance(client): make possible to leave a group 2021-12-14 22:27:33 +09:00
syuilo
9b33e523fb 🎨 2021-12-10 16:01:35 +09:00
Robin B
4504813ef4 Fix japanese instanceMuteDescription string (#8047) 2021-12-10 10:05:18 +09:00
syuilo
faacf3ae68 feat: improve follow export 2021-12-10 01:22:35 +09:00
romaboo
27db3b99d2 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
d6f087495e feat: Undo Accept (#7980)
* allow breaking of follow

* send undo

* delete by using reject follow
2021-12-03 11:14:44 +09:00
syuilo
3892a582c7 feat(client): show confirm dialog when vote 2021-11-28 20:23:48 +09:00
syuilo
00ca556d1b Update ja-JP.yml 2021-11-26 13:41:31 +09:00
syuilo
4386c94f28 fix(client): ログインにおいてパスワードが誤っている際のエラーメッセージが正しく表示されない問題を修正 2021-11-21 14:01:53 +09:00
Johann150
956afc9743 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
e04500e36e feat(client): アカウント削除に確認ダイアログを出すように 2021-11-14 13:27:46 +09:00
syuilo
4ba1106272 feat: improve email validation 2021-11-07 20:16:01 +09:00
syuilo
ea12a5eb77 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
42151bca5e Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2021-11-05 16:19:01 +09:00
syuilo
a0855e18de ドキュメントをmisskey-hubに移行 2021-11-05 16:18:52 +09:00
Robin B
d9e05c2f4b 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
73d9b29a8d feat: thread mute (#7930)
* feat: thread mute

* chore: fix comment

* fix test

* fix

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

* ui

* fix bug

* fix bug

* fix bug

* 🎨
2021-10-08 13:37:02 +09:00
tamaina
dd3a8e869c enhance: ページロードエラーページにリロードボタンを追加 (#7835)
* wip

* modify page load error page

* add changelog

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

* add MkLoading
2021-10-02 16:36:25 +09:00
syuilo
9f50312a59 refactor components 2021-09-30 00:50:45 +09:00
syuilo
f41fbbfa36 #7813の修正 2021-09-22 22:12:10 +09:00
syuilo
132e662805 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
3637924de2 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
64276c7082 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
790c624b75 藍モード (#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
3acd78420a add setting to keep content warning (#7682) 2021-08-24 20:52:33 +09:00
syuilo
9af6e25ae2 enhance(client): ユーザー名についてのヒントを追加 2021-08-22 13:16:15 +09:00
syuilo
249d7c7a0a enhance: Improve account deletion experience 2021-08-21 12:48:50 +09:00
syuilo
edd213e72f 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
b61367e8aa feat: ノートの翻訳機能
Resolve #5213
2021-08-15 20:26:44 +09:00
syuilo
a6f6b61c77 feat(client): Misskey更新時にダイアログを表示するように 2021-08-13 17:59:54 +09:00
syuilo
1d4eeb2fac Improve about-misskey page 2021-08-12 11:48:06 +09:00
syuilo
16dae5d0ab ぼかし効果の切り替え機能 2021-08-11 22:34:45 +09:00
syuilo
7b33d67c1f Improve docs 2021-08-10 19:51:56 +09:00
syuilo
9fafb7c92f Update ja-JP.yml 2021-08-08 17:23:16 +09:00
syuilo
7830a87c01 Improve client 2021-08-07 17:55:16 +09:00
syuilo
f8c39680f4 Add doc for admin 2021-08-07 13:41:14 +09:00
syuilo
dc37c116a1 ハッシュタグ入力エリア
Resolve #7600
2021-08-07 12:47:01 +09:00
syuilo
2cbd929eac インスタンス一覧ページ 2021-08-07 10:24:50 +09:00
syuilo
81b322cfbc カスタム絵文字一覧ページ 2021-08-07 10:23:59 +09:00
syuilo
d469491de1 Add rainbow function for MFM 2021-08-05 21:55:41 +09:00
syuilo
0c848c4b3d Improve docs 2021-08-05 00:15:51 +09:00
syuilo
0eff9614f2 アイコンを四角で表示するオプション 2021-07-19 15:11:28 +09:00
syuilo
20dc72691b Classic UI 2021-07-19 11:36:35 +09:00
syuilo
9d6f87b397 Custom CSS 2021-07-14 00:11:05 +09:00