Commit Graph

385 Commits

Author SHA1 Message Date
4a7bec4e57 lint 2022-09-20 05:36:51 +09:00
567c550120 lint 2022-09-20 05:32:18 +09:00
3010dc207a refactor(backend): refactor ChartManagementService 2022-09-20 05:19:37 +09:00
89174904bc fix(test): fix chart test 2022-09-19 08:25:44 +09:00
a2eac9fff6 test 2022-09-19 03:11:50 +09:00
92c78218bc revert 2022-09-19 03:08:54 +09:00
0163cb7bc1 test 2022-09-19 03:03:11 +09:00
6c5a42e745 fix queue bug 2022-09-19 03:00:25 +09:00
2fbd09a07e fix 2022-09-18 23:36:00 +09:00
91d2c954fc typo 2022-09-18 23:30:08 +09:00
a66111ac1f refactor(backend): simplify boot 2022-09-18 23:17:32 +09:00
dd35f2cce6 refactor(backend): refactor logger 2022-09-18 23:07:41 +09:00
1cb85c5c76 fix(backend): サービスが二重にインスタンス化されるのを修正 2022-09-18 06:24:30 +09:00
b69bd0ee7c refactor 2022-09-18 06:10:10 +09:00
b75184ec8e なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
1b014bc3e5 fix(server): 他人の通知を既読にできる可能性があるのを修正 2022-09-06 20:54:49 +09:00
773139b737 enhance(client): add html color-schema support 2022-08-27 00:39:59 +09:00
f3164c9cf2 fix: use new for throw error
Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-08-01 17:44:53 +09:00
9f5c8f42e0 tweak rate limit 2022-07-24 17:56:48 +09:00
b6556c7ff1 リモートユーザーを正しくブロックできるように修正する (#9027) 2022-07-22 15:41:31 +09:00
53d24c2ba1 chore: improve error message of boot 2022-07-21 22:30:36 +09:00
a3c2dbbfb5 fix(server): make sure getFileInfo doesn't fail if detectSensitivity ever fails (#9020) 2022-07-19 17:09:21 +09:00
c1c8c9c37c fix(server): fix bind of method
Fix #9006
2022-07-16 19:03:41 +09:00
44f560b453 tweak boot.js 2022-07-14 22:25:57 +09:00
f2e91f4d62 tweak boot.js 2022-07-14 22:04:16 +09:00
10f4815d34 tweak boot.js 2022-07-14 21:52:58 +09:00
d78faf1134 chore: use tab 2022-07-14 21:02:45 +09:00
cb00786f1e improve error handling of client boot 2022-07-14 20:41:17 +09:00
61e26696aa log error while client boot 2022-07-14 20:29:45 +09:00
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
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
4550a4459b feat: support <plain> syntax for mfm 2022-07-12 12:03:38 +09:00
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
a5648fb07f re: update mfm-js 0.23.0-canary.1 2022-07-11 23:13:23 +09:00
9107de63b4 chore: fix lint errors (#8981) 2022-07-10 19:47:29 +09:00
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
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
53e54c22fa Fix Attempts to update all notifications (#8974)
* Fix massive update notification parameters

* CHANGELOG

* CHANGELOG
2022-07-09 18:18:39 +09:00
75d516011b enhance: make active email validation configurable 2022-07-09 15:05:55 +09:00
522ddba3d7 enhance(server): tweak identicon generation 2022-07-09 13:22:35 +09:00
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
da239b8362 chore(server): tweak api for admin 2022-07-07 19:08:18 +09:00
423e7692db chore(server): tweak api for admin 2022-07-07 18:09:50 +09:00
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
b35c3114c8 revert: feat: styled error screen (#8930) 2022-07-06 06:36:14 +09:00
972b03f842 perf: allow get for notes/reactions 2022-07-05 19:16:21 +09:00
cb246d3459 rename: BIOS -> Repair Tool 2022-07-05 17:46:17 +09:00
40656e3ee2 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
cd07eb222e 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
26c89e053d fix typo 2022-07-03 19:01:08 +09:00