Commit Graph

465 Commits

Author SHA1 Message Date
syuilo
58a3a0b7d4 forkbomb DOS mitigation 2022-12-03 18:42:06 +09:00
syuilo
7c89a27e61 update deps 2022-09-10 19:14:07 +09:00
syuilo
1b014bc3e5 fix(server): 他人の通知を既読にできる可能性があるのを修正 2022-09-06 20:54:49 +09:00
Takuya Yoshida
057d1642c8
Update typeorm to 0.3.9 (#9083) 2022-09-06 14:57:46 +09:00
syuilo
47b2e56967 update deps 2022-08-27 16:34:14 +09:00
syuilo
773139b737 enhance(client): add html color-schema support 2022-08-27 00:39:59 +09:00
syuilo
dddc076d01 update deps 2022-08-13 18:45:29 +09:00
syuilo
f3164c9cf2 fix: use new for throw error
Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-08-01 17:44:53 +09:00
syuilo
78f061b9db update deps 2022-07-31 22:01:01 +09:00
syuilo
b5bf4e75a6 use es2021 for node 2022-07-31 14:20:10 +09:00
syuilo
f835421d70 update deps 2022-07-25 21:10:06 +09:00
syuilo
9f5c8f42e0
tweak rate limit 2022-07-24 17:56:48 +09:00
dependabot[bot]
d93ad43c49
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]
ab9fcc863f
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
3acfeb1680 update tfjs 2022-07-23 14:31:15 +09:00
xianon
b6556c7ff1
リモートユーザーを正しくブロックできるように修正する (#9027) 2022-07-22 15:41:31 +09:00
syuilo
53d24c2ba1 chore: improve error message of boot 2022-07-21 22:30:36 +09:00
Acid Chicken (硫酸鶏)
a3c2dbbfb5
fix(server): make sure getFileInfo doesn't fail if detectSensitivity ever fails (#9020) 2022-07-19 17:09:21 +09:00
syuilo
bec2d9e3fa Update 1651224615271-foreign-key.js
#8852
2022-07-17 05:12:59 +09:00
syuilo
e4453e9ca8 Update 1651224615271-foreign-key.js
#8852
2022-07-16 23:51:32 +09:00
syuilo
c1c8c9c37c
fix(server): fix bind of method
Fix #9006
2022-07-16 19:03:41 +09:00
syuilo
44f560b453 tweak boot.js 2022-07-14 22:25:57 +09:00
syuilo
f2e91f4d62 tweak boot.js 2022-07-14 22:04:16 +09:00
syuilo
10f4815d34 tweak boot.js 2022-07-14 21:52:58 +09:00
syuilo
d78faf1134 chore: use tab 2022-07-14 21:02:45 +09:00
syuilo
cb00786f1e improve error handling of client boot 2022-07-14 20:41:17 +09:00
syuilo
61e26696aa log error while client boot 2022-07-14 20:29:45 +09:00
syuilo
e30a03b5c4 update deps 2022-07-13 21:37:48 +09:00
tamaina
ae92378689
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
714c80bf3f
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
947f079735
Make tensorflow an optinal dependency (#8986) 2022-07-13 21:00:59 +09:00
syuilo
4550a4459b feat: support <plain> syntax for mfm 2022-07-12 12:03:38 +09:00
MeiMei
660781afd9
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
a5648fb07f re: update mfm-js 0.23.0-canary.1 2022-07-11 23:13:23 +09:00
syuilo
18206e3cf6 update mfm-js 0.23.0-canary.1 2022-07-10 21:09:37 +09:00
yzhe819
9107de63b4
chore: fix lint errors (#8981) 2022-07-10 19:47:29 +09:00
tamaina
83ebe79a3f
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
d92200a6d6
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
49012f8352 update summaly 2022-07-09 18:23:21 +09:00
MeiMei
53e54c22fa
Fix Attempts to update all notifications (#8974)
* Fix massive update notification parameters

* CHANGELOG

* CHANGELOG
2022-07-09 18:18:39 +09:00
syuilo
75d516011b enhance: make active email validation configurable 2022-07-09 15:05:55 +09:00
syuilo
522ddba3d7 enhance(server): tweak identicon generation 2022-07-09 13:22:35 +09:00
syuilo
207d7e0478 fix test 2022-07-08 11:21:11 +09:00
syuilo
e560601815
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
15a9a4b119 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-07-07 19:08:21 +09:00
syuilo
da239b8362 chore(server): tweak api for admin 2022-07-07 19:08:18 +09:00
dependabot[bot]
10f7e976ee
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
423e7692db chore(server): tweak api for admin 2022-07-07 18:09:50 +09:00
Kainoa Kanter
a23f59b996
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
b35c3114c8 revert: feat: styled error screen (#8930) 2022-07-06 06:36:14 +09:00