calckey/packages/backend/migration
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
..
1000000000000-Init.js fix migrations 2022-03-01 00:07:03 +09:00
1556348509290-Pages.js fix migrations 2022-03-01 00:07:03 +09:00
1556746559567-UserProfile.js fix migrations 2022-03-01 00:07:03 +09:00
1557476068003-PinnedUsers.js fix migrations 2022-03-01 00:07:03 +09:00
1557761316509-AddSomeUrls.js fix migrations 2022-03-01 00:07:03 +09:00
1557932705754-ObjectStorageSetting.js fix migrations 2022-03-01 00:07:03 +09:00
1558072954435-PageLike.js fix migrations 2022-03-01 00:07:03 +09:00
1558103093633-UserGroup.js fix migrations 2022-03-01 00:07:03 +09:00
1558257926829-UserGroupInvite.js fix migrations 2022-03-01 00:07:03 +09:00
1558266512381-UserListJoining.js fix migrations 2022-03-01 00:07:03 +09:00
1561706992953-webauthn.js fix migrations 2022-03-01 00:07:03 +09:00
1561873850023-ChartIndexes.js fix migrations 2022-03-01 00:07:03 +09:00
1562422242907-PasswordLessLogin.js fix migrations 2022-03-01 00:07:03 +09:00
1562444565093-PinnedPage.js fix migrations 2022-03-01 00:07:03 +09:00
1562448332510-PageTitleHideOption.js fix migrations 2022-03-01 00:07:03 +09:00
1562869971568-ModerationLog.js fix migrations 2022-03-01 00:07:03 +09:00
1563757595828-UsedUsername.js fix migrations 2022-03-01 00:07:03 +09:00
1565634203341-room.js fix migrations 2022-03-01 00:07:03 +09:00
1571220798684-CustomEmojiCategory.js fix migrations 2022-03-01 00:07:03 +09:00
1572760203493-nodeinfo.js fix migrations 2022-03-01 00:07:03 +09:00
1576269851876-TalkFederationId.js fix migrations 2022-03-01 00:07:03 +09:00
1576869585998-ProxyRemoteFiles.js fix migrations 2022-03-01 00:07:03 +09:00
1579267006611-v12.js fix migrations 2022-03-01 00:07:03 +09:00
1579270193251-v12-2.js fix migrations 2022-03-01 00:07:03 +09:00
1579282808087-v12-3.js fix migrations 2022-03-01 00:07:03 +09:00
1579544426412-v12-4.js fix migrations 2022-03-01 00:07:03 +09:00
1579977526288-v12-5.js fix migrations 2022-03-01 00:07:03 +09:00
1579993013959-v12-6.js fix migrations 2022-03-01 00:07:03 +09:00
1580069531114-v12-7.js fix migrations 2022-03-01 00:07:03 +09:00
1580148575182-v12-8.js fix migrations 2022-03-01 00:07:03 +09:00
1580154400017-v12-9.js fix migrations 2022-03-01 00:07:03 +09:00
1580276619901-v12-10.js fix migrations 2022-03-01 00:07:03 +09:00
1580331224276-v12-11.js fix migrations 2022-03-01 00:07:03 +09:00
1580508795118-v12-12.js fix migrations 2022-03-01 00:07:03 +09:00
1580543501339-v12-13.js fix migrations 2022-03-01 00:07:03 +09:00
1580864313253-v12-14.js fix migrations 2022-03-01 00:07:03 +09:00
1581526429287-user-group-invitation.js fix migrations 2022-03-01 00:07:03 +09:00
1581695816408-user-group-antenna.js fix migrations 2022-03-01 00:07:03 +09:00
1581708415836-drive-user-folder-id-index.js fix migrations 2022-03-01 00:07:03 +09:00
1581979837262-promo.js fix migrations 2022-03-01 00:07:03 +09:00
1582019042083-featured-injecttion.js fix migrations 2022-03-01 00:07:03 +09:00
1582210532752-antenna-exclude.js fix migrations 2022-03-01 00:07:03 +09:00
1582875306439-note-reaction-length.js fix migrations 2022-03-01 00:07:03 +09:00
1585361548360-miauth.js fix migrations 2022-03-01 00:07:03 +09:00
1585385921215-custom-notification.js fix migrations 2022-03-01 00:07:03 +09:00
1585772678853-ap-url.js fix migrations 2022-03-01 00:07:03 +09:00
1586624197029-AddObjectStorageUseProxy.js fix migrations 2022-03-01 00:07:03 +09:00
1586641139527-remote-reaction.js fix migrations 2022-03-01 00:07:03 +09:00
1586708940386-pageAiScript.js fix migrations 2022-03-01 00:07:03 +09:00
1588044505511-hCaptcha.js fix migrations 2022-03-01 00:07:03 +09:00
1589023282116-pubRelay.js fix migrations 2022-03-01 00:07:03 +09:00
1595075960584-blurhash.js fix migrations 2022-03-01 00:07:03 +09:00
1595077605646-blurhash-for-avatar-banner.js fix migrations 2022-03-01 00:07:03 +09:00
1595676934834-instance-icon-url.js fix migrations 2022-03-01 00:07:03 +09:00
1595771249699-word-mute.js fix migrations 2022-03-01 00:07:03 +09:00
1595782306083-word-mute2.js fix migrations 2022-03-01 00:07:03 +09:00
1596548170836-channel.js fix migrations 2022-03-01 00:07:03 +09:00
1596786425167-channel2.js fix migrations 2022-03-01 00:07:03 +09:00
1597230137744-objectStorageSetPublicRead.js fix migrations 2022-03-01 00:07:03 +09:00
1597236229720-IncludingNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1597385880794-add-sensitive-index.js fix migrations 2022-03-01 00:07:03 +09:00
1597459042300-channel-unread.js fix migrations 2022-03-01 00:07:03 +09:00
1597893996136-ChannelNoteIdDescIndex.js fix migrations 2022-03-01 00:07:03 +09:00
1600353287890-mutingNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1603094348345-refine-abuse-user-report.js fix migrations 2022-03-01 00:07:03 +09:00
1603095701770-refine-abuse-user-report2.js fix migrations 2022-03-01 00:07:03 +09:00
1603776877564-instance-theme-color.js fix migrations 2022-03-01 00:07:03 +09:00
1603781553011-instance-favicon.js fix migrations 2022-03-01 00:07:03 +09:00
1604821689616-delete-auto-watch.js fix migrations 2022-03-01 00:07:03 +09:00
1605408848373-clip-description.js fix migrations 2022-03-01 00:07:03 +09:00
1605408971051-comments.js fix migrations 2022-03-01 00:07:03 +09:00
1605585339718-instance-pinned-pages.js fix migrations 2022-03-01 00:07:03 +09:00
1605965516823-instance-images.js fix migrations 2022-03-01 00:07:03 +09:00
1606191203881-no-crawle.js fix migrations 2022-03-01 00:07:03 +09:00
1607151207216-instance-pinned-clip.js fix migrations 2022-03-01 00:07:03 +09:00
1607353487793-isExplorable.js fix migrations 2022-03-01 00:07:03 +09:00
1610277136869-registry.js fix migrations 2022-03-01 00:07:03 +09:00
1610277585759-registry2.js fix migrations 2022-03-01 00:07:03 +09:00
1610283021566-registry3.js fix migrations 2022-03-01 00:07:03 +09:00
1611354329133-followersUri.js fix migrations 2022-03-01 00:07:03 +09:00
1611397665007-gallery.js fix migrations 2022-03-01 00:07:03 +09:00
1611547387175-objectStorageS3ForcePathStyle.js fix migrations 2022-03-01 00:07:03 +09:00
1612619156584-announcement-email.js fix migrations 2022-03-01 00:07:03 +09:00
1613155914446-emailNotificationTypes.js fix migrations 2022-03-01 00:07:03 +09:00
1613181457597-user-lang.js fix migrations 2022-03-01 00:07:03 +09:00
1613503367223-use-bigint-for-driveUsage.js fix migrations 2022-03-01 00:07:03 +09:00
1615965918224-chart-v2.js fix migrations 2022-03-01 00:07:03 +09:00
1615966519402-chart-v2-2.js fix migrations 2022-03-01 00:07:03 +09:00
1618637372000-user-last-active-date.js fix migrations 2022-03-01 00:07:03 +09:00
1618639857000-user-hide-online-status.js fix migrations 2022-03-01 00:07:03 +09:00
1619942102890-password-reset.js fix migrations 2022-03-01 00:07:03 +09:00
1620019354680-ad.js fix migrations 2022-03-01 00:07:03 +09:00
1620364649428-ad2.js fix migrations 2022-03-01 00:07:03 +09:00
1621479946000-add-note-indexes.js fix migrations 2022-03-01 00:07:03 +09:00
1622679304522-user-profile-description-length.js fix migrations 2022-03-01 00:07:03 +09:00
1622681548499-log-message-length.js fix migrations 2022-03-01 00:07:03 +09:00
1626509500668-fix-remote-file-proxy.js fix migrations 2022-03-01 00:07:03 +09:00
1629004542760-chart-reindex.js fix migrations 2022-03-01 00:07:03 +09:00
1629024377804-deepl-integration.js fix migrations 2022-03-01 00:07:03 +09:00
1629288472000-fix-channel-userId.js fix migrations 2022-03-01 00:07:03 +09:00
1629512953000-user-is-deleted.js fix migrations 2022-03-01 00:07:03 +09:00
1629778475000-deepl-integration2.js fix migrations 2022-03-01 00:07:03 +09:00
1629833361000-AddShowTLReplies.js fix migrations 2022-03-01 00:07:03 +09:00
1629968054000_userInstanceBlocks.js fix migrations 2022-03-01 00:07:03 +09:00
1633068642000-email-required-for-signup.js fix migrations 2022-03-01 00:07:03 +09:00
1633071909016-user-pending.js fix migrations 2022-03-01 00:07:03 +09:00
1634486652000-user-public-reactions.js fix migrations 2022-03-01 00:07:03 +09:00
1634902659689-delete-log.js fix migrations 2022-03-01 00:07:03 +09:00
1635500777168-note-thread-mute.js fix migrations 2022-03-01 00:07:03 +09:00
1636197624383-ff-visibility.js fix migrations 2022-03-01 00:07:03 +09:00
1636697408073-remove-via-mobile.js fix migrations 2022-03-01 00:07:03 +09:00
1637320813000-forwarded-report.js fix migrations 2022-03-01 00:07:03 +09:00
1639325650583-chart-v3.js fix migrations 2022-03-01 00:07:03 +09:00
1642611822809-emoji-url.js fix migrations 2022-03-01 00:07:03 +09:00
1642613870898-drive-file-webpublic-type.js fix migrations 2022-03-01 00:07:03 +09:00
1643963705770-chart-v4.js fix migrations 2022-03-01 00:07:03 +09:00
1643966656277-chart-v5.js fix migrations 2022-03-01 00:07:03 +09:00
1643967331284-chart-v6.js fix migrations 2022-03-01 00:07:03 +09:00
1644010796173-convert-hard-mutes.js fix migrations 2022-03-01 00:07:03 +09:00
1644058404077-chart-v7.js fix migrations 2022-03-01 00:07:03 +09:00
1644059847460-chart-v8.js fix migrations 2022-03-01 00:07:03 +09:00
1644060125705-chart-v9.js fix migrations 2022-03-01 00:07:03 +09:00
1644073149413-chart-v10.js fix migrations 2022-03-01 00:07:03 +09:00
1644095659741-chart-v11.js fix migrations 2022-03-01 00:07:03 +09:00
1644328606241-chart-v12.js fix migrations 2022-03-01 00:07:03 +09:00
1644331238153-chart-v13.js fix migrations 2022-03-01 00:07:03 +09:00
1644344266289-chart-v14.js fix migrations 2022-03-01 00:07:03 +09:00
1644395759931-instance-theme-color.js fix migrations 2022-03-01 00:07:03 +09:00
1644481657998-chart-v15.js fix migrations 2022-03-01 00:07:03 +09:00
1644551208096-following-indexes.js fix migrations 2022-03-01 00:07:03 +09:00
1645340161439-remove-max-note-text-length.js fix migrations 2022-03-01 00:07:03 +09:00
1645599900873-federation-chart-pubsub.js fix migrations 2022-03-01 00:07:03 +09:00
1646143552768-instance-default-theme.js feat: instance default theme 2022-03-01 23:58:01 +09:00
1646387162108-mute-expires-at.js feat: 時限ミュート 2022-03-04 20:23:53 +09:00
1646549089451-poll-ended-notification.js feat: アンケート終了通知 2022-03-06 16:06:27 +09:00
1646633030285-chart-federation-active.js feat: add active to federation chart 2022-03-07 15:10:16 +09:00
1646655454495-remove-instance-drive-columns.js delete needless instance drive columns 2022-03-07 21:20:14 +09:00
1646732390560-chart-federation-active-sub-pub.js fix federation chart 2022-03-08 22:56:46 +09:00
1648548247382-webhook.js feat: Webhook (#8457) 2022-04-02 15:28:49 +09:00
1648816172177-webhook-2.js feat: Webhook (#8457) 2022-04-02 15:28:49 +09:00
1651224615271-foreign-key.js chore: synchronize code and database schema (#8577) 2022-05-05 22:45:22 +09:00
1652859567549-uniform-themecolor.js hotfix: uniform color migration fix 2022-05-19 15:42:55 +02:00
1655368940105-nsfw-detection.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1655371960534-nsfw-detection-2.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1655388169582-nsfw-detection-3.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1655393015659-nsfw-detection-4.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1655813815729-driveCapacityOverrideMb.js Add additional drive capacity change support (#8867) 2022-07-05 00:21:01 +09:00
1655918165614-user-ip.js feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
1656122560740-file-ip.js feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
1656251734807-nsfw-detection-5.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1656328812281-ip-2.js feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
1656408772602-nsfw-detection-6.js feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
1656772790599-user-moderation-note.js feat: moderation note 2022-07-03 00:15:03 +09:00