Commit Graph

190 Commits

Author SHA1 Message Date
Kagami Sascha Rosylight
4b98920f02
Fix import related TypeScript errors (#9321)
* Add missing @types packages

* Fix TS1272 type only imports

* Fix TS2821 import assertion
2022-12-14 00:01:45 +09:00
syuilo
b4b742ca89 fix #9299 2022-12-10 15:25:39 +09:00
syuilo
9d14476a6a fix(server): cookieが取得されないのを修正 2022-12-06 14:17:53 +09:00
syuilo
3b7c943440 fix(server): cookieが設定されないのを修正 2022-12-06 14:14:41 +09:00
syuilo
9cda400c80 fix(server): GitHub連携ができない問題を修正 2022-12-06 12:41:11 +09:00
syuilo
bbb49457f9 refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
syuilo
22ccb0fa71 refactor 2022-12-04 10:16:03 +09:00
syuilo
3a7182bfb5
Fastify (#9106)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* Update SignupApiService.ts

* wip

* wip

* Update ClientServerService.ts

* wip

* wip

* wip

* Update WellKnownServerService.ts

* wip

* wip

* update des

* wip

* Update ApiServerService.ts

* wip

* update deps

* Update WellKnownServerService.ts

* wip

* update deps

* Update ApiCallService.ts

* Update ApiCallService.ts

* Update ApiServerService.ts
2022-12-03 19:42:05 +09:00
tamaina
5decad9cf1 fix: add missing , 2022-12-02 14:12:09 +00:00
squidicuz
2492f4e81e
fix for pinned users. update changelog (#9159) 2022-11-11 11:22:31 +09:00
CyberRex
1309367884
Add Cloudflare Turnstile CAPTCHA support (#9111)
* Add Cloudflare Turnstile CAPTCHA support

* Update packages/client/src/components/MkCaptcha.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-10-13 09:19:57 +09:00
syuilo
7670f364e3 type 2022-09-24 17:13:09 +09:00
syuilo
3c4b7d3bd0 fix type 2022-09-24 17:02:19 +09:00
syuilo
89ef21e3b0 fix type 2022-09-24 16:53:53 +09:00
syuilo
349f37bf57 fix 2022-09-24 10:43:23 +09:00
syuilo
0f7cbb5922 fix type 2022-09-24 10:39:17 +09:00
syuilo
f4b981cefe fix type 2022-09-24 10:25:32 +09:00
syuilo
2c45c5b13e fix 2022-09-24 09:03:04 +09:00
syuilo
6eace8894a fixes 2022-09-24 08:41:27 +09:00
syuilo
614b11951b refactor 2022-09-24 07:15:16 +09:00
syuilo
786f1d8be8 remove unused files 2022-09-24 07:13:01 +09:00
syuilo
c8f6bc0dab fixes 2022-09-24 07:12:11 +09:00
syuilo
417f52359d fixes 2022-09-24 06:45:44 +09:00
syuilo
174a8b1b3e fixes 2022-09-23 06:21:31 +09:00
こけっち
bcbda6940a
feat: Youtube window player (#9095)
* wip: feat: Youtube Player Window

* fix: player fill window

* fix: improve design

* fix: disable at mobile and creanup code

* fix: tailing comma

* fix: delete debug output

* fix: eslint

* fix: switch to component

* fix(backend): add missing dependency

Fix #9101

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-09-22 08:20:31 +09:00
Takuya Yoshida
2e0075e79c
Fix ioredis import typo (#9099)
* Fix import typo

* Fix type
2022-09-21 10:12:18 +09:00
syuilo
01d4d55e78 fix import type 2022-09-21 05:33:11 +09:00
syuilo
3bc6205150 refactor(backend): ロジックをサービスに切り出す 2022-09-21 02:52:19 +09:00
syuilo
dc43fc68ef enhance(backend): metaのポーリング頻度を減らし、redisで更新を受け取るように 2022-09-21 02:35:49 +09:00
syuilo
567c550120 lint 2022-09-20 05:32:18 +09:00
syuilo
a2eac9fff6 test 2022-09-19 03:11:50 +09:00
syuilo
dd35f2cce6 refactor(backend): refactor logger 2022-09-18 23:07:41 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
syuilo
1b014bc3e5 fix(server): 他人の通知を既読にできる可能性があるのを修正 2022-09-06 20:54:49 +09:00
syuilo
9f5c8f42e0
tweak rate limit 2022-07-24 17:56:48 +09:00
syuilo
c1c8c9c37c
fix(server): fix bind of method
Fix #9006
2022-07-16 19:03:41 +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
syuilo
a5648fb07f re: update mfm-js 0.23.0-canary.1 2022-07-11 23:13:23 +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
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
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
da239b8362 chore(server): tweak api for admin 2022-07-07 19:08:18 +09:00
syuilo
423e7692db chore(server): tweak api for admin 2022-07-07 18:09:50 +09:00
syuilo
972b03f842 perf: allow get for notes/reactions 2022-07-05 19:16:21 +09:00
CyberRex
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
syuilo
26c89e053d fix typo 2022-07-03 19:01:08 +09:00
syuilo
dd426735a0 feat: moderation note 2022-07-03 00:15:03 +09:00
syuilo
949dbb3918 feat(server): add fetch-rss api to reduce dependency of external apis 2022-07-02 21:26:33 +09:00
syuilo
eccc90c843
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