Commit graph

874 commits

Author SHA1 Message Date
tamaina
2759fa5891 use MkStickyContainer (#9000) 2022-07-14 23:31:01 +09:00
syuilo
5f2a3917e6 Revert "fix(client): revert es2017"
This reverts commit 0ddabdbf68767566fd8f4fdeab1de82535dc44cb.
2022-07-14 22:14:42 +09:00
syuilo
94dece7946 Revert "debug"
This reverts commit fa5140310f05c00d641e794329073eb7d44f6825.
2022-07-14 22:13:04 +09:00
syuilo
8678e4d2c8 Revert "debug"
This reverts commit 800bbc4328e27944e785d2ad50da0293df0ee114.
2022-07-14 22:13:00 +09:00
syuilo
6184f34c91 debug 2022-07-14 21:40:30 +09:00
syuilo
3b199acdd2 debug 2022-07-14 21:32:21 +09:00
syuilo
0d28146099 fix(client): revert es2017 2022-07-14 21:06:07 +09:00
syuilo
22b02f0f72 chore(client): tweak ui 2022-07-14 17:52:59 +09:00
syuilo
6b1a892a86 refactor(client): rename menu(sidebar) -> navbar 2022-07-14 17:42:12 +09:00
syuilo
8a5a10077e chore(client): tweak style 2022-07-14 17:22:06 +09:00
syuilo
66ce279232 chore(client): trust ios 2022-07-13 21:41:06 +09:00
syuilo
bc4fb0ad6b lit fixes 2022-07-13 21:39:16 +09:00
syuilo
f4eaa9b3ce update deps 2022-07-13 21:37:48 +09:00
syuilo
0bdbbd31df update vite 2022-07-13 21:29:38 +09:00
Andreas Nedbal
0e9dec388b fix(client): hide bot protection warning with disabled registrations (#8794)
* fix(client): hide bot protection warning with disabled registrations

* Apply review suggestion 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-07-13 21:23:20 +09:00
syuilo
d2fb55866e chore(dev): add note 2022-07-13 21:19:27 +09:00
Johann150
e53284dc20 fix: add es2017 build target (#8931)
* remove top level awaits

* add es2017 target

* refactor: use setup and ref sugar
2022-07-13 21:17:19 +09:00
syuilo
d71af6ab8e chore(client): fix routing 2022-07-13 18:28:04 +09:00
syuilo
65ec13a137 fix(client): fix url encoded string handling of nirax
Fix #8878
2022-07-13 18:11:54 +09:00
syuilo
80b6b9966a 🎨 2022-07-13 18:09:47 +09:00
syuilo
c2e1cd19e7 chore(client): tweak explore page 2022-07-13 18:09:41 +09:00
syuilo
cedad19a89 chore(client): fix type def 2022-07-13 16:33:52 +09:00
syuilo
dc969590e8 chore(client): fix mention style 2022-07-13 16:33:39 +09:00
syuilo
f9929c7a7b 🎨 2022-07-13 16:33:18 +09:00
syuilo
ac335a17ae chore(client): tweak ui 2022-07-12 22:42:50 +09:00
syuilo
235e55790b feat: support <plain> syntax for mfm 2022-07-12 12:03:38 +09:00
syuilo
5f3245a921 enhance(client): improve widgets component 2022-07-11 23:36:39 +09:00
syuilo
fa72ec1f08 re: update mfm-js 0.23.0-canary.1 2022-07-11 23:13:23 +09:00
yzhe819
2d69600539 chore: fix lint errors (#8981) 2022-07-10 19:47:29 +09:00
syuilo
d97cae841d enhance(client): update themes 2022-07-10 15:36:02 +09:00
syuilo
83e3fca600 chore(client): tweak style 2022-07-10 15:35:43 +09:00
syuilo
f73871e73e fix(client): fix style of mention 2022-07-10 13:16:11 +09:00
syuilo
638f0eba12 enhance: make active email validation configurable 2022-07-09 15:05:55 +09:00
Johann150
84fe65fc3a enhance: show recipients of notes with specified visibility (#8949)
* enhance: reusable visibility component

* rename renote tooltip component

The tooltip that is used for renotes can be used in other cases as well.

* add tooltip for specified recipients

* add changelog entry

* Update visibility.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-07 21:17:47 +09:00
syuilo
ed5d81859f 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
f70965a258 chore(client): tweak ui 2022-07-07 21:00:42 +09:00
syuilo
011df8b99d chore(client): tweak ui 2022-07-07 20:19:50 +09:00
syuilo
f19c367c42 update deps 2022-07-07 18:28:43 +09:00
syuilo
4ba0d551e0 chore(client): tweak ui 2022-07-07 18:06:34 +09:00
syuilo
167a149a51 chore(client): tweak ui 2022-07-07 17:55:47 +09:00
syuilo
8034c60ae5 enhance(client): make widgets available on tablet again 2022-07-07 17:29:30 +09:00
syuilo
dc3508f784 chore(client): tweak style 2022-07-07 17:28:21 +09:00
syuilo
e39f762db5 chore(client): tweak ui 2022-07-07 17:28:13 +09:00
Johann150
1c0966726b refactor: use overflow-y to determine scroll container
By using `overflow-y` instead of `overflow` using `endsWith` can be
avoided and represents the data we are actually interested in here
more accurately.
2022-07-06 19:02:39 +02:00
Johann150
0af344b4e3 refactor: use autofocus parameter
Using the `ref` seems to be broken but using the autofocus parameter
seems to fix it.
2022-07-06 18:23:05 +02:00
syuilo
95ca3ab718 chore(client): tweak style 2022-07-06 18:20:32 +09:00
syuilo
21cdbdc7c8 perf(client): trying improve perf of emoji-picker 2022-07-06 07:54:04 +09:00
syuilo
2015c81ce4 Revert "revert emoji picker changes"
This reverts commit 38d5303ccd067e67f11ae130b643713f6ca86eef.
2022-07-06 07:30:56 +09:00
Johann150
d7ed3c370e fix prismjs import
fixes #8944
2022-07-06 00:29:51 +02:00
syuilo
7672369a7d revert emoji picker changes 2022-07-06 07:26:58 +09:00
syuilo
1ceeec7cfa fix(client): テーマを作成するとクライアントが起動しなくなる 2022-07-06 07:08:45 +09:00
syuilo
6b871b367d chore(client): rendering performance tweak a bit 2022-07-05 23:13:28 +09:00
syuilo
fc6074494b chore(client): rendering performance tweak a bit 2022-07-05 23:01:23 +09:00
syuilo
7bf93660be chore(client): remove unused class 2022-07-05 22:40:53 +09:00
syuilo
8e5af92d2e chore(client): tweak ui 2022-07-05 22:40:15 +09:00
syuilo
edbdb7c5c9 chore(client): rendering performance tweak a bit 2022-07-05 22:35:57 +09:00
syuilo
e5a6f4a136 chore(client): fix type 2022-07-05 22:25:34 +09:00
syuilo
c15641f08a enhance(client): improve usability 2022-07-05 22:25:27 +09:00
syuilo
ed6e80f7f9 feat(client): メニューからページをリロードできるように 2022-07-05 19:29:44 +09:00
syuilo
aac0251dd4 perf: allow get for notes/reactions 2022-07-05 19:16:21 +09:00
syuilo
bdba98a312 chore(client): tweak ui 2022-07-05 17:55:47 +09:00
Johann150
91c3c92573 fix: pagination uses API correctly (#8925) 2022-07-05 17:42:54 +09:00
syuilo
516cb31ca7 fix(client): user search of explore not working 2022-07-05 17:20:34 +09:00
syuilo
5ec6594c48 chore(client): tweak style 2022-07-05 16:19:52 +09:00
syuilo
e3d1f8db13 enhance(client): improve marquee 2022-07-05 16:16:13 +09:00
syuilo
9798cee234 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-05 16:07:55 +09:00
syuilo
c0335907ef chore(client): tweak deck 2022-07-05 16:07:53 +09:00
syuilo
9d24f0f8fb chore(client): tweak deck 2022-07-05 15:55:55 +09:00
Kainoa Kanter
aa2d1ccef9 Update store.ts (#8937) 2022-07-05 15:21:46 +09:00
syuilo
0e4389aa5a chore(client): tweak ui 2022-07-05 12:09:49 +09:00
Kainoa Kanter
698409a1b1 chore: fix client lint errors (#8934)
* Fix client lint

* Hide no-v-html

* Ignore banned type

* Update page-editor.vue
2022-07-05 11:21:59 +09:00
CyberRex
bc49a0e9be 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
Johann150
9538815980 fix lint @typescript-eslint/ban-types 2022-07-04 16:46:48 +02:00
Johann150
7cbd70bd36 fix lint no-prototype-builtins 2022-07-04 16:39:04 +02:00
Johann150
ae3a51a673 fix lint no-undef 2022-07-04 16:33:55 +02:00
Johann150
0dc3a8b2e8 fix lint: use let instead of const for $ref
Fixes lint no-const-assign.
2022-07-04 16:22:21 +02:00
Johann150
d23b262519 refactor: remove unnecessary computed
Fixes lint no-const-assign.
2022-07-04 16:17:07 +02:00
Johann150
99cc363327 fix lint vue/require-valid-default-prop 2022-07-04 16:06:46 +02:00
Johann150
3514e0afdb fix lint no-fallthrough 2022-07-04 16:05:41 +02:00
Johann150
2a8dbb43c0 fix lint padded-blocks 2022-07-04 15:59:24 +02:00
Johann150
c80e7f9a89 fix(lint): semicolong spacing 2022-07-04 15:56:16 +02:00
Johann150
454c90e28b fix: replace use of window 2022-07-04 15:27:21 +02:00
syuilo
b65c6fa640 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-04 21:29:10 +09:00
syuilo
aeb1713021 update vite 2022-07-04 21:29:07 +09:00
syuilo
694d2c94a1 enhance(client): deckのウイジェットカラムが未設定の時に説明を表示するように 2022-07-04 21:28:59 +09:00
Johann150
3439b4abf7 fix: spellcheck is boolean not string 2022-07-04 10:35:27 +02:00
syuilo
2a24fc18ca enhance(client): tweak statusbar 2022-07-04 01:37:47 +09:00
syuilo
284aa8b8ca chore(client): tweak style 2022-07-04 01:12:36 +09:00
syuilo
ad4d2cec91 enhance(client): tweak deck 2022-07-03 23:13:41 +09:00
syuilo
be4266e611 enhance(client): refine deck
Fix #7720
2022-07-03 20:30:58 +09:00
syuilo
ff80f1b584 fix(client): contextmenu of deck not working 2022-07-03 19:11:10 +09:00
syuilo
222777c803 chore(client): rename marquee -> ticker 2022-07-03 16:50:51 +09:00
syuilo
36f2b27852 chore(client): tweak style 2022-07-03 16:46:00 +09:00
syuilo
bd7bda0c0d fix(client): fix wrong import 2022-07-03 16:36:23 +09:00
syuilo
2ae11f265b chore(client): tweak style 2022-07-03 16:36:13 +09:00
syuilo
20f9bb10db fix(client): fix wrong import 2022-07-03 16:19:47 +09:00
syuilo
569cc28025 fix(client): style tweak for ios 2022-07-03 16:17:31 +09:00
syuilo
136cb46515 fix(client): フォロワー一覧がフォローににゃっているんだにゃあ 2022-07-03 14:44:18 +09:00
syuilo
dddb394302 chore(client): tweak style 2022-07-03 14:43:28 +09:00
syuilo
58ebe2ed05 feat(client): status bar (experimental) 2022-07-03 14:40:02 +09:00
syuilo
e5ccfa5158 feat: moderation note 2022-07-03 00:15:03 +09:00
syuilo
69272b49a4 update eslint rules 2022-07-02 23:01:13 +09:00
syuilo
d15507a090 chore(client): tweak ui 2022-07-02 22:07:04 +09:00
syuilo
31324181e9 fix(client): fix typo 2022-07-02 22:06:53 +09:00
syuilo
395b61b271 fix(client): use unique class names for root to prevent conflicts of style 2022-07-02 21:29:48 +09:00
syuilo
92aa415ea6 enhance(client): better sticky-container component 2022-07-02 21:28:55 +09:00
syuilo
89dbc73bef enhance(client): better marquee component 2022-07-02 21:28:04 +09:00
syuilo
ddcd10db8e feat(server): add fetch-rss api to reduce dependency of external apis 2022-07-02 21:26:33 +09:00
syuilo
e23e7de453 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
c8c7d10348 refactor(client): refactoring 2022-07-02 14:00:37 +09:00
syuilo
c90225ea02 chore(client): tweak ui 2022-07-02 12:22:52 +09:00
syuilo
d2e72307f6 enhance(client): cache pages in page-window 2022-07-02 12:12:10 +09:00
syuilo
aee19d16c6 feat(client): poll highlights in explore page 2022-07-01 23:42:03 +09:00
syuilo
307533c29d enhance(client): ハイライトをみつけるに統合 2022-07-01 23:33:47 +09:00
syuilo
8c3f155a79 chore(client): tweak ui 2022-07-01 18:55:45 +09:00
syuilo
2b472ee78d chore(client): tweak style 2022-07-01 17:08:45 +09:00
syuilo
206f323de1 chore(client): tweak style 2022-07-01 16:43:38 +09:00
syuilo
a10b4eb032 chore(client): tweak style 2022-07-01 15:23:49 +09:00
syuilo
0c252532be chore(client): tweak ui 2022-07-01 15:06:17 +09:00
syuilo
f4b4b9fdfc chore(client): fix pie rendering 2022-07-01 00:38:20 +09:00
syuilo
66c0059868 update deps 2022-07-01 00:21:25 +09:00
syuilo
63e6c7f72a chore(client): tweak rss-marquee 2022-06-30 23:53:58 +09:00
syuilo
d9b55a4bea chore(client): tweak ui 2022-06-30 23:51:18 +09:00
syuilo
04845cd3e1 feat(client): add rss-marquee widget 2022-06-30 23:45:11 +09:00
syuilo
b3c442860d chore(client): tweak style 2022-06-30 23:07:45 +09:00
syuilo
03b377eea6 chore(client): tweak ui 2022-06-30 22:02:08 +09:00
syuilo
0c04efa425 chore(client): tweak ui 2022-06-30 21:38:34 +09:00
syuilo
bbafaace6e update vite 2022-06-30 20:15:40 +09:00
syuilo
986b12d4a8 chore(client): tweak ui 2022-06-30 20:15:14 +09:00
syuilo
8d2c1c8658 chore(client): tweak ui 2022-06-30 19:19:54 +09:00
syuilo
38cdd46063 chore(client): tweak client 2022-06-30 15:32:11 +09:00
syuilo
d9c7409a6c enhance(client): show confirm dialog when logout 2022-06-30 15:09:10 +09:00
syuilo
36ec7462d7 refactor(client): use setup syntax 2022-06-30 12:48:42 +09:00
syuilo
c9ad7e1a5b perf(client): improve range control performance 2022-06-30 12:42:35 +09:00
syuilo
7be20ff1a7 tweak client 2022-06-30 10:53:40 +09:00
syuilo
bd76b1fed8 tweak client 2022-06-30 10:13:27 +09:00
Johann150
5d6c624757 fix client router catchall
fixes #8903
2022-06-29 22:09:44 +02:00
Johann150
b3983ee3f7 fix 'assignment to const' error 2022-06-29 17:44:03 +02:00
syuilo
8af0818ee7 feat(client): add instance-cloud widget 2022-06-29 23:28:52 +09:00
syuilo
7a9497649d Update .eslintrc.js 2022-06-29 23:06:03 +09:00
syuilo
1835825e21 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-06-29 21:22:18 +09:00
syuilo
6d51e4aa4f feat(client): add tag cloud component 2022-06-29 21:22:15 +09:00
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