Commit graph

963 commits

Author SHA1 Message Date
syuilo
3d3519c494 chore(client): fix type 2022-06-26 15:55:51 +09:00
syuilo
f4fd24f72a chore(client): tweak client 2022-06-26 15:54:07 +09:00
syuilo
951dd79b78 chore(client): tweak client 2022-06-26 14:17:55 +09:00
syuilo
b32561ab34 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-26 13:28:49 +09:00
syuilo
4655d7495d chore(client): tweak ui 2022-06-26 13:28:47 +09:00
tamaina
af100cb1c2 enhance(client): Enhance boot error display (#8879)
* Change boot error message

* fix

* ✌️

* fix
2022-06-26 12:47:43 +09:00
syuilo
4e20f39dca refactor(client): extract interval logic to a composable function
あと`onUnmounted`を`onMounted`内で呼んでいたりしたのを修正したりとか
2022-06-26 03:12:58 +09:00
syuilo
74c7d2843d enhance(client): tweak control panel dashboard 2022-06-26 01:45:33 +09:00
syuilo
8ce2967a11 fix(client): remove needless requestLog call 2022-06-25 23:16:02 +09:00
syuilo
0120497ba5 enhance(client): improve control panel 2022-06-25 23:01:40 +09:00
tamaina
69c730a027 fix notification-setting-window.vue 2022-06-25 09:29:42 +00:00
syuilo
107d282b9d Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-25 18:26:34 +09:00
syuilo
e25de6ccc8 feat: allow GET for some endpoints
Resolve #8263
2022-06-25 18:26:31 +09:00
syuilo
3639f76c56 refactor(client): extract tooltip logic of chart 2022-06-25 18:05:35 +09:00
Johann150
29a62ff001 refactor: notification setting window composition API (#8860)
* refactor: notification setting window composition API

* fix lint vue/require-valid-default-prop

* fix type
2022-06-25 17:14:13 +09:00
dependabot[bot]
a7cf1b30ec chore(deps): bump jsrsasign from 10.5.24 to 10.5.25 in /packages/backend (#8889)
Bumps [jsrsasign](https://github.com/kjur/jsrsasign) from 10.5.24 to 10.5.25.
- [Release notes](https://github.com/kjur/jsrsasign/releases)
- [Changelog](https://github.com/kjur/jsrsasign/blob/master/ChangeLog.txt)
- [Commits](https://github.com/kjur/jsrsasign/compare/10.5.24...10.5.25)

---
updated-dependencies:
- dependency-name: jsrsasign
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 16:28:36 +09:00
Andreas Nedbal
18787a29d1 fix(client): only enable hotkeys for logged in users (#8793)
* fix(client): only enable hotkeys for logged in users

* fix(client): keep theme and search hotkeys for logged out users
2022-06-25 14:25:22 +09:00
Johann150
a89486af35 fix: always respect instance mutes (#8854)
* fix: muted user query also checks instances

This way it can be ensured that the instance mute is used everywhere it
is required without checking the whole codebase again. Muted users and
muted instances should be used together anyways.

* fix lint
2022-06-25 14:23:59 +09:00
dependabot[bot]
a752b95e1a chore(deps): bump jpeg-js from 0.4.1 to 0.4.4 in /packages/backend (#8843)
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.1 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases)
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.1...v0.4.4)

---
updated-dependencies:
- dependency-name: jpeg-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 13:50:15 +09:00
dependabot[bot]
41a3917b81 chore(deps): bump undici from 5.4.0 to 5.5.1 in /packages/backend (#8842)
Bumps [undici](https://github.com/nodejs/undici) from 5.4.0 to 5.5.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.4.0...v5.5.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 13:50:06 +09:00
syuilo
a892657b28 chore(client): tweak MkKeyValue component 2022-06-25 11:50:19 +09:00
syuilo
6f64a90329 chore(client): tweak ui 2022-06-25 00:03:59 +09:00
syuilo
e2e9f67cc3 chore(client): improve usability 2022-06-24 23:49:47 +09:00
syuilo
2c92a4a895 fix bug 2022-06-24 21:48:54 +09:00
syuilo
fa4b1ca2f0 refactor: remove unused import 2022-06-24 21:46:49 +09:00
syuilo
d7a21948b3 feat: 管理者が特定ユーザーのアップロードしたファイル一覧を見れるように 2022-06-24 21:43:28 +09:00
syuilo
fd9e4f7f28 fix(client): アカウント作成フォームでエラーが出る問題を修正 2022-06-24 21:19:38 +09:00
syuilo
c4c6092718 fix(client): ログアウトできない問題を修正 2022-06-24 21:16:05 +09:00
syuilo
afd7a7a134 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-24 19:47:48 +09:00
syuilo
ae280df2b8 chore(client): tweak mini-chart rendering 2022-06-24 19:47:38 +09:00
Johann150
d78b20ba07 fix lints 2022-06-24 12:44:22 +02:00
MeiMei
aef9cb41f3 enhance: Redisをioredisに統一してIPv6サポート (#8869)
* Use ioredis, Supports IPv6 host

https://github.com/misskey-dev/misskey/issues/8862

* Fix import

* order

* a

* i

* fix

* flushdb

* family

* CHANGELOG

* redis_version

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-24 19:22:19 +09:00
Johann150
f73327f6f8 fix(client): ask to log in for poll vote (#8883) 2022-06-24 19:03:41 +09:00
syuilo
b3fe2b44b0 chore(client): tweak ui 2022-06-24 10:52:34 +09:00
syuilo
3221334849 refactor(client): use composition api 2022-06-24 10:52:28 +09:00
tamaina
7ebb1ca5be fix(nirax): Normalize path (#8877) 2022-06-24 01:26:15 +09:00
syuilo
161289dcd7 fix #8861 2022-06-24 00:47:55 +09:00
syuilo
4bb0ae25f4 chore(client): tweak ui 2022-06-23 23:45:22 +09:00
syuilo
fb64c7056b lint fixes 2022-06-23 21:46:15 +09:00
Johann150
aa22cd03de refactor: simplify ap/show with DbResolver (#8838)
Using the existing code in DbResolver we can avoid separate code for
parsing the URIs in this endpoint.

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-23 21:32:17 +09:00
Johann150
6c244d452e enhance: word mute checks CW (#8873) 2022-06-23 20:26:47 +09:00
syuilo
29fd5640cd chore(client): tweak client design 2022-06-23 13:39:28 +09:00
syuilo
2d4704e72c chore(dev): improve eslint config 2022-06-23 13:19:17 +09:00
syuilo
ec765154ad enhance(client): tweak ui 2022-06-22 23:40:53 +09:00
syuilo
c78e44f8d5 tweak client 2022-06-22 20:47:53 +09:00
syuilo
4f70f4a481 refactor(client): use composition api 2022-06-22 16:30:55 +09:00
syuilo
a22dc728fb refactor(client): refactor header tab handling 2022-06-22 16:30:45 +09:00
syuilo
519a97bf61 🎨 2022-06-22 00:48:16 +09:00
syuilo
41542d9186 tweak client 2022-06-22 00:10:34 +09:00
syuilo
9634483ee2 fix(client): moderators cannot view instance-info page 2022-06-21 23:22:18 +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
syuilo
2424261b9d refactor(client): use composition api 2022-06-21 14:39:23 +09:00
syuilo
0fddc528ed fix(server): faviconUrl of federated instance is missing 2022-06-21 14:28:43 +09:00
syuilo
e9213bfe0d chore: add comments 2022-06-21 14:18:06 +09:00
syuilo
2b5a5122ac tweak client
Fix #8856
2022-06-21 14:12:39 +09:00
Johann150
e5c40adb79 fix: block button in federation panel (#8855) 2022-06-20 23:48:38 +09:00
syuilo
91d6804646 tweak client 2022-06-20 21:05:18 +09:00
syuilo
dbeae92cdc fix client 2022-06-20 19:49:51 +09:00
syuilo
10a18cd514 refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
tamaina
e548abb13f refactor: チャットルームをComposition API化 (#8850)
* pick form

* pick message

* pick room

* fix lint

* fix scroll?

* fix scroll.ts

* fix directives/sticky-container

* update global/sticky-container.vue

* fix, 🎨

* test.1
2022-06-20 13:20:28 +09:00
tamaina
566e0d2bea feat: Add Badge Image to Push Notification (#8012)
* 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を戻した

* backend/src/web/index.ts

* notification-badges

* add scripts

* change create-notification.ts

* 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

* refactor

* キャッシュ対策

* Truncate push notification message

* fix

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

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

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

* return createEmptyNotification()

* fix

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

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

* pollEnded

* pollEnded

* URLをsw.jsに戻す

* clean up

* fix lint

* changelog

* alpha-test

* also with twemoji

* add isMimeImage function

* catch

* Colour => Color

* char2file => char2filePath

* Update autocomplete.vue

* remove clone?

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-20 00:33:46 +09:00
Andreas Nedbal
75f996a485 Refactor page-editor elements to use Composition API (#8721)
* refactor(client): refactor page-editor elements to use Composition API

* Apply review suggestions from @Johann150

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

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-06-18 18:39:04 +09:00
syuilo
c97f41c250 fix typo 2022-06-18 18:27:47 +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
futchitwo
361a7b81fd Refactor clip page to Composition API (#8822)
* Refactor clip page to use Composition API

* Refactor clip page

* Refactor clip page

* Refactor clip page
2022-06-18 18:23:54 +09:00
MeiMei
ea7c2ec26f enhance: Improve player detection in URL preview (#8849)
* enhance: Improve player detection in URL preview

* CHANGELOG
2022-06-18 16:02:31 +09:00
syuilo
0e291ab3c3 enhance(client): improve file moderation ui 2022-06-17 15:03:02 +09:00
syuilo
9f448319a5 chore(client): tweak range control design 2022-06-17 13:20:33 +09:00
Johann150
ebd33b9281 fix: render empty note content correctly
Instead of coercing to `null`, coercing to an empty string should simplify handling.
2022-06-16 12:51:44 +02:00
Johann150
efe35ea9e0 fix: correctly render note text
Fix a regression from #8787 that was previously fixed in #8440.
2022-06-16 12:32:09 +02:00
syuilo
515842dc9f enhance(client): improve files page of control panel 2022-06-16 16:05:43 +09:00
MeiMei
5508bd552c fix: GenerateVideoThumbnail (#8825)
* fix: GenerateVideoThumbnail

* CHANGELOG

* fix cleanup

* Revert "fix cleanup"

This reverts commit d54cf8262ac01a3deb6b8dd7689ec144d4d09ea8.
2022-06-14 23:02:14 +09:00
Johann150
537e3176ea fix: tmpdir cleanup removes contained files (#8826) 2022-06-14 23:00:10 +09:00
syuilo
24a10451c2 enhance(server): モデレーターであってもレートリミットを有効に 2022-06-14 22:59:19 +09:00
tamaina
ef3a582f64 fix: add limit to i/notifications (#8836)
* fix: add limit to i/notifications

* ms

* remove ms
2022-06-14 22:55:58 +09:00
Johann150
41eeb9a184 fix(docs): use correct description property 2022-06-14 11:55:58 +02:00
Johann150
d2d4a17ef7 fix: remove unused parameter 2022-06-14 11:54:55 +02:00
syuilo
ab2d56605e lint fixes 2022-06-14 18:01:23 +09:00
Johann150
ad858dd2e3 fix: missing file name parameter (#8820) 2022-06-13 00:25:06 +09:00
futchitwo
b506c8d2e0 Fix(client): fix wrong gallery page component (#8815) 2022-06-12 19:53:21 +09:00
syuilo
79dba2ad89 lint 2022-06-12 19:50:47 +09:00
syuilo
ee9cf6553b fix(client): デッキでウィジェットの情報が保存されない問題を修正
Fix #8818
2022-06-12 19:50:43 +09:00
tamaina
9bd3c82e6c fix: some fixes of multiple notification read (#8819)
* fix: limit multiple notification read

* fix

* fix
2022-06-12 19:28:13 +09:00
syuilo
0789955180 Update cropper-dialog.vue 2022-06-11 18:48:59 +09:00
syuilo
5bf947eb0b Update cropper-dialog.vue 2022-06-11 18:47:58 +09:00
syuilo
17731b978b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-11 16:46:23 +09:00
syuilo
f03d4ae585 fix(client): オブジェクトストレージを使用していると画像のクロップができない 2022-06-11 16:46:21 +09:00
Johann150
e161c0abe4 chore: synchronize visibility checks (#8687)
* reuse single meId parameter

* unify code style

Use template string to avoid having to use escaped quote marks.

* fix: follower only notes are visible to mentioned users

This synchronizes the visibility rules with the Notes.isVisibleForMe
method from packages/backend/src/models/repositories/note.ts

* add comment
2022-06-11 16:14:44 +09:00
syuilo
c1282b4fd6 feat: image cropping (#8808)
* wip

* wip

* wip
2022-06-11 15:45:44 +09:00
syuilo
01011ef9c5 update deps 2022-06-10 15:06:42 +09:00
syuilo
602df78fde Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-10 14:56:07 +09:00
syuilo
7dc86abec3 chore: tweak logo 2022-06-10 14:56:05 +09:00
Johann150
c8374e8ace chore: fix some lints automatically (#8788)
* chore: fix some lints automatically

Fixed lints that were automatically fixable with `eslint --fix`.

* fix type

* workaround for empty interface lint
2022-06-10 14:36:55 +09:00
Johann150
c7a2c42cc2 enhance(federation): use ActivityPub defined property in favour of proprietary property. (#8787)
* add activitypub `source` property

* parse MFM from new `source` attribute
2022-06-10 14:31:58 +09:00
Johann150
c8db27a71a refactor: follow button (#8789)
* fix: display cancelling follow request

* remove unnecessary branch

The executed code is the same as in the else branch so this special
condition is unnecessary.

* remove code duplication

Use the same callback as later for updating these variables.

* use $ref sugar

* remove unused import

Co-authored-by: blackskye-sx <saul.newman@gmail.com>
2022-06-10 14:29:46 +09:00
Johann150
674029f700 enhance: improve documentation for /users/ endpoints (#8790)
* docs: category & description for reset password

* docs: category & description for testing

* docs: descriptions for groups endpoints

* docs: descriptions for drive file endpoints

* docs: descriptions for sw endpoints

* docs: descriptions for user list endpoints

* docs: descriptions & result type for gallery posts

* docs: descriptions & result type for user endpoints

* docs: add return type for stats
2022-06-10 14:25:20 +09:00
Andreas Nedbal
cfc6370dbc fix(client): render quote renote CWs as MFM (#8792)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-09 23:45:16 +09:00
Johann150
ca99288baf fix: use autocomplete=new-password (#8797) 2022-06-09 23:42:00 +09:00
Johann150
bb8e8d7daf properly display alt text for videos (#8802)
The alt text is already properly federated and given by the API,
it is just not displayed properly by the client.
2022-06-09 23:35:58 +09:00