Commit Graph

998 Commits

Author SHA1 Message Date
Johann150
ef9c59430b Prevent access to user pages when not logged in [v2] (#8904)
* do not throw error when navigating

* enhance: add loginRequired to router

This allows client pages to require logging in before displaying the
page, useful for example for user settings pages.

* add login requirements

Co-authored-by: Andreas Nedbal <git@pixelde.su>
2022-06-29 18:26:06 +09:00
syuilo
65f3991773 chore(client): fix type def 2022-06-29 16:07:38 +09:00
syuilo
7bc77f6137 perf(client): remove needless reactivity 2022-06-29 16:06:13 +09:00
syuilo
c02f155c70 enhance(client): improve router
Fix #8902
2022-06-29 16:00:00 +09:00
syuilo
a40862106c chore(client): tweak client 2022-06-29 15:41:06 +09:00
syuilo
ee71296eb7 chore(client): tweak style 2022-06-29 14:19:40 +09:00
syuilo
d2790bfa60 enhance(client): add users tab to instance-info 2022-06-29 14:14:27 +09:00
syuilo
b9c7b9be04 enhance(client): メニュー整理
Resolve #6389
Fix #8035
2022-06-29 11:13:32 +09:00
syuilo
b1442b7107 refactor(client): remove invalid computed 2022-06-29 00:36:06 +09:00
syuilo
de950c7a24 fix(client): 非モデレーターがインスタンス情報ページを表示できない問題を修正 2022-06-28 22:56:18 +09:00
syuilo
4f0fb30fd2 chore(client): tweak style 2022-06-28 22:32:01 +09:00
syuilo
db6c451f02 chore(client): tweak style 2022-06-28 18:41:37 +09:00
syuilo
76094b7d9a chore(client): tweak style 2022-06-28 18:09:42 +09:00
syuilo
a827e29fe1 chore(client): fix #8858 2022-06-28 17:59:23 +09:00
syuilo
fe45097089 chore(client): tweak style 2022-06-28 16:02:39 +09:00
syuilo
3d2d5d7fe1 chore(client): refactor and style tweaks 2022-06-28 15:59:49 +09:00
syuilo
baa5ddfb75 refactor(client): use setup syntax 2022-06-28 14:34:44 +09:00
syuilo
97b4d43871 chore(client): fix type def 2022-06-28 13:06:31 +09:00
syuilo
73113f7631 improve instance doughnut charts 2022-06-28 13:05:20 +09:00
syuilo
c974ca3f00 chore(client): tweak style 2022-06-28 12:16:20 +09:00
syuilo
31474fc66d fix(api): fix instance schema 2022-06-28 12:16:11 +09:00
syuilo
0b64d87353 chore(client): tweak style 2022-06-28 10:42:54 +09:00
syuilo
506a443d76 feat(client): add instances doughnuts charts for dashboard 2022-06-28 10:42:26 +09:00
syuilo
c23105bad0 fix(client): fix chart tooltip rendering 2022-06-28 10:41:38 +09:00
syuilo
dcf30c1f4a feat(api): add federation/stats endpoint 2022-06-28 10:41:22 +09:00
syuilo
aa3914d7a2 fix(api): add missing themeColor property of instance 2022-06-28 10:40:49 +09:00
syuilo
e65dff8f0f lint fix 2022-06-28 00:27:24 +09:00
syuilo
6afe82b84b chore(client): tweak style 2022-06-28 00:20:51 +09:00
syuilo
4d89a77aef feat: make possible to delete an account by admin
Resolve #8830
2022-06-27 23:49:16 +09:00
Johann150
746f17450f refactor: remove duplicate code (#8895) 2022-06-27 21:48:10 +09:00
syuilo
f5593afcd8 chore(client): tweak client 2022-06-26 19:41:21 +09:00
MeiMei
9dcd23d74f fix: mocha テストが動かないのを修正 v2 (#8892)
* on push

* Fix mute test

* fix note test

* api

* inc timeout

* uploadUrl

* Revert "on push"

This reverts commit 778a58df61ff9a22421f8ec5dcce96b364eab38d.

* lint

* waitFire

* Wrap connectStream

* return
2022-06-26 19:16:32 +09:00
syuilo
bbad8434c4 fix #8894 2022-06-26 17:38:50 +09:00
syuilo
24126334f7 chore(client): tweak ui 🎨 2022-06-26 16:57:12 +09:00
syuilo
c248f7f939 chore(client): tweak ui 🎨 2022-06-26 16:38:27 +09:00
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