Commit graph

1192 commits

Author SHA1 Message Date
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
MeiMei
41e4505111 Fix crash at startup if TensorFlow is not supported (#8984)
* Lazy loading tensorflow

* CHANGELOG

* CHANGELOG

* Check CPU flags

* .
2022-07-12 10:38:57 +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
syuilo
e8a58722a2 update mfm-js 0.23.0-canary.1 2022-07-10 21:09:37 +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
cfbf19dea4 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-10 15:35:45 +09:00
syuilo
83e3fca600 chore(client): tweak style 2022-07-10 15:35:43 +09:00
tamaina
a461625b31 enhance(sw): If receiving a push notification issued more than a day, ignore it. (#8980)
* enhance(sw): ignore old push notification

* ✌️

* 半日

* !==

* 1日
2022-07-10 15:15:21 +09:00
syuilo
f73871e73e fix(client): fix style of mention 2022-07-10 13:16:11 +09:00
syuilo
f29dcb6e1f chore(dev): remove duplicated lint rule 2022-07-10 11:14:41 +09:00
dogcraft
8b106bf548 fix: QueryFailedError when logging user's IPs (#8973)
* fix QueryFailedError when logging user's IPs

* use `orIgnore` to fix
2022-07-10 11:02:46 +09:00
syuilo
fc531766ad update summaly 2022-07-09 18:23:21 +09:00
MeiMei
6125bd981e Fix Attempts to update all notifications (#8974)
* Fix massive update notification parameters

* CHANGELOG

* CHANGELOG
2022-07-09 18:18:39 +09:00
syuilo
638f0eba12 enhance: make active email validation configurable 2022-07-09 15:05:55 +09:00
syuilo
da51152662 enhance(server): tweak identicon generation 2022-07-09 13:22:35 +09:00
syuilo
2012c0937e fix test 2022-07-08 11:21:11 +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
cddfd5df4b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-07 19:08:21 +09:00
syuilo
bbd8f6cd57 chore(server): tweak api for admin 2022-07-07 19:08:18 +09:00
dependabot[bot]
154bbb9d17 chore(deps): bump moment from 2.29.3 to 2.29.4 in /packages/backend (#8958)
Bumps [moment](https://github.com/moment/moment) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 18:29:42 +09:00
syuilo
f19c367c42 update deps 2022-07-07 18:28:43 +09:00
syuilo
7e3404e763 chore(server): tweak api for admin 2022-07-07 18:09:50 +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
1485fa4efa Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-07 17:36:45 +09:00
Kainoa Kanter
a49d19686c enhance: Styled error screen (#8946)
* Styled error screen

* Make details margin auto

* Update boot.css

* Replace fontawesome with tabler svg

* Remove hr

* Add new style to flush screen

* Rename to `error.css`

* Fix

* Update base.pug

* Finally fix!

* Wrap details in `<code>`

* Add style to flush

* Fix

* BIOS -> Repair tool

* Fix

* Typo

* Adjust style

* Adjust text

* Flush -> Clear

* Revert flush changes

* Responsive

* Also hide splash
2022-07-07 17:35:56 +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
7cb84dc30a revert: feat: styled error screen (#8930) 2022-07-06 06:36:14 +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
syuilo
1812c49dbb rename: BIOS -> Repair Tool 2022-07-05 17:46:17 +09:00
Kainoa Kanter
36c502696b feat: styled error screen (#8930)
* Styled error screen

* Make details margin auto

* Update boot.css

* Replace fontawesome with tabler svg

* Remove hr

* Add new style to flush screen

* Rename to `error.css`
2022-07-05 17:44:05 +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
MeiMei
1831a6a339 fix: streamingテストおそい (#8912) 2022-07-03 20:54:54 +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
1fe89d6aab fix typo 2022-07-03 19:01:08 +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
cf36949256 enhance(server): アンケートを新しい順にソート 2022-07-02 12:34:22 +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
MeiMei
62d6d106a6 migrate parse5 to 7.0.0 (#8916)
* migrate parse5 to 7.0.0

* fix
2022-07-01 13:48:03 +09:00
syuilo
23c1109fb0 use parse5 6.0.1
Fix #8914
2022-07-01 11:07:14 +09:00
Johann150
95290ad085 fix typo
Co-authored-by: mei23 <m@m544.net>
2022-06-30 22:03:04 +02: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
f571188dd0 fix(server): cannot show users 2022-06-30 15:36:09 +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