Commit Graph

458 Commits

Author SHA1 Message Date
syuilo
8f3a534c64 fix: use new for throw error
Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-08-01 17:44:53 +09:00
syuilo
3058236d2f update deps 2022-07-31 22:01:01 +09:00
syuilo
a57b524f9f use es2021 for node 2022-07-31 14:20:10 +09:00
syuilo
a462544027 update deps 2022-07-25 21:10:06 +09:00
syuilo
3a8b93ac26 tweak rate limit 2022-07-24 17:56:48 +09:00
dependabot[bot]
ed5ee682ba chore(deps): bump undici from 5.5.1 to 5.8.0 in /packages/backend (#9028)
Bumps [undici](https://github.com/nodejs/undici) from 5.5.1 to 5.8.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.5.1...v5.8.0)

---
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-07-23 14:41:01 +09:00
dependabot[bot]
c07d014275 chore(deps): bump file-type from 17.1.2 to 17.1.3 in /packages/backend (#9030)
Bumps [file-type](https://github.com/sindresorhus/file-type) from 17.1.2 to 17.1.3.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v17.1.2...v17.1.3)

---
updated-dependencies:
- dependency-name: file-type
  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-07-23 14:40:54 +09:00
syuilo
0549e62e3a update tfjs 2022-07-23 14:31:15 +09:00
xianon
fed327b437 リモートユーザーを正しくブロックできるように修正する (#9027) 2022-07-22 15:41:31 +09:00
syuilo
b374c4dcf6 chore: improve error message of boot 2022-07-21 22:30:36 +09:00
Acid Chicken (硫酸鶏)
bfce689abc fix(server): make sure getFileInfo doesn't fail if detectSensitivity ever fails (#9020) 2022-07-19 17:09:21 +09:00
syuilo
c56f14473f Update 1651224615271-foreign-key.js
#8852
2022-07-17 05:12:59 +09:00
syuilo
958260795f Update 1651224615271-foreign-key.js
#8852
2022-07-16 23:51:32 +09:00
syuilo
14463b7cbf fix(server): fix bind of method
Fix #9006
2022-07-16 19:03:41 +09:00
syuilo
2284142e58 tweak boot.js 2022-07-14 22:25:57 +09:00
syuilo
e00b4724ac tweak boot.js 2022-07-14 22:04:16 +09:00
syuilo
8c9530fb41 tweak boot.js 2022-07-14 21:52:58 +09:00
syuilo
a3a2d1186c chore: use tab 2022-07-14 21:02:45 +09:00
syuilo
975e22089a improve error handling of client boot 2022-07-14 20:41:17 +09:00
syuilo
ae5596dce2 log error while client boot 2022-07-14 20:29:45 +09:00
syuilo
f4eaa9b3ce update deps 2022-07-13 21:37:48 +09:00
tamaina
1665262483 fix(sw, notification): Don't issue an event if there is no affect (#8979)
* test

* ]v]
2022-07-13 21:07:49 +09:00
Johann150
278b7a70a7 enhance: read theme color nodeinfo (#8977)
* provide theme color in nodeinfo metadata

* read theme color from nodeinfo

Prefer to read the theme color from the nodeinfo since it is more
performant than performing selector search on a DOM.
2022-07-13 21:06:24 +09:00
nvisser
a60b0dd757 Make tensorflow an optinal dependency (#8986) 2022-07-13 21:00:59 +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
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
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
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
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
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
7e3404e763 chore(server): tweak api for admin 2022-07-07 18:09:50 +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
7cb84dc30a revert: feat: styled error screen (#8930) 2022-07-06 06:36:14 +09:00
syuilo
aac0251dd4 perf: allow get for notes/reactions 2022-07-05 19:16:21 +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
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
MeiMei
1831a6a339 fix: streamingテストおそい (#8912) 2022-07-03 20:54:54 +09:00
syuilo
1fe89d6aab fix typo 2022-07-03 19:01:08 +09:00
syuilo
e5ccfa5158 feat: moderation note 2022-07-03 00:15:03 +09:00