egirlskey/packages/backend/migration
おさむのひと 61fae45390
feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758)
* feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする

* モデログに対応&エンドポイントを単一オブジェクトでのサポートに変更(API経由で大量に作るシチュエーションもないと思うので)

* fix spdx

* fix migration

* fix migration

* fix models

* add e2e webhook

* tweak

* fix modlog

* fix bugs

* add tests and fix bugs

* add tests and fix bugs

* add tests

* fix path

* regenerate locale

* 混入除去

* 混入除去

* add abuseReportResolved

* fix pnpm-lock.yaml

* add abuseReportResolved test

* fix bugs

* fix ui

* add tests

* fix CHANGELOG.md

* add tests

* add RoleService.getModeratorIds tests

* WebhookServiceをUserとSystemに分割

* fix CHANGELOG.md

* fix test

* insertOneを使う用に

* fix

* regenerate locales

* revert version

* separate webhook job queue

* fix

* 🎨

* Update QueueProcessorService.ts

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-06-08 15:34:19 +09:00
..
1000000000000-Init.js
1556348509290-Pages.js
1556746559567-UserProfile.js
1557476068003-PinnedUsers.js
1557761316509-AddSomeUrls.js
1557932705754-ObjectStorageSetting.js
1558072954435-PageLike.js
1558103093633-UserGroup.js
1558257926829-UserGroupInvite.js
1558266512381-UserListJoining.js
1561706992953-webauthn.js
1561873850023-ChartIndexes.js
1562422242907-PasswordLessLogin.js
1562444565093-PinnedPage.js
1562448332510-PageTitleHideOption.js
1562869971568-ModerationLog.js
1563757595828-UsedUsername.js
1565634203341-room.js
1571220798684-CustomEmojiCategory.js
1572760203493-nodeinfo.js
1576269851876-TalkFederationId.js
1576869585998-ProxyRemoteFiles.js
1579267006611-v12.js
1579270193251-v12-2.js
1579282808087-v12-3.js
1579544426412-v12-4.js
1579977526288-v12-5.js
1579993013959-v12-6.js
1580069531114-v12-7.js
1580148575182-v12-8.js
1580154400017-v12-9.js
1580276619901-v12-10.js
1580331224276-v12-11.js
1580508795118-v12-12.js
1580543501339-v12-13.js
1580864313253-v12-14.js
1581526429287-user-group-invitation.js
1581695816408-user-group-antenna.js
1581708415836-drive-user-folder-id-index.js
1581979837262-promo.js
1582019042083-featured-injecttion.js
1582210532752-antenna-exclude.js
1582875306439-note-reaction-length.js
1585361548360-miauth.js
1585385921215-custom-notification.js
1585772678853-ap-url.js
1586624197029-AddObjectStorageUseProxy.js
1586641139527-remote-reaction.js
1586708940386-pageAiScript.js
1588044505511-hCaptcha.js
1589023282116-pubRelay.js
1595075960584-blurhash.js
1595077605646-blurhash-for-avatar-banner.js
1595676934834-instance-icon-url.js
1595771249699-word-mute.js
1595782306083-word-mute2.js
1596548170836-channel.js
1596786425167-channel2.js
1597230137744-objectStorageSetPublicRead.js
1597236229720-IncludingNotificationTypes.js
1597385880794-add-sensitive-index.js
1597459042300-channel-unread.js
1597893996136-ChannelNoteIdDescIndex.js
1600353287890-mutingNotificationTypes.js
1603094348345-refine-abuse-user-report.js
1603095701770-refine-abuse-user-report2.js
1603776877564-instance-theme-color.js
1603781553011-instance-favicon.js
1604821689616-delete-auto-watch.js
1605408848373-clip-description.js
1605408971051-comments.js
1605585339718-instance-pinned-pages.js
1605965516823-instance-images.js
1606191203881-no-crawle.js
1607151207216-instance-pinned-clip.js
1607353487793-isExplorable.js
1610277136869-registry.js
1610277585759-registry2.js
1610283021566-registry3.js
1611354329133-followersUri.js
1611397665007-gallery.js
1611547387175-objectStorageS3ForcePathStyle.js
1612619156584-announcement-email.js
1613155914446-emailNotificationTypes.js
1613181457597-user-lang.js
1613503367223-use-bigint-for-driveUsage.js
1615965918224-chart-v2.js
1615966519402-chart-v2-2.js
1618637372000-user-last-active-date.js
1618639857000-user-hide-online-status.js
1619942102890-password-reset.js
1620019354680-ad.js
1620364649428-ad2.js
1621479946000-add-note-indexes.js
1622679304522-user-profile-description-length.js
1622681548499-log-message-length.js
1626509500668-fix-remote-file-proxy.js
1629004542760-chart-reindex.js
1629024377804-deepl-integration.js
1629288472000-fix-channel-userId.js
1629512953000-user-is-deleted.js
1629778475000-deepl-integration2.js
1629833361000-AddShowTLReplies.js
1629968054000_userInstanceBlocks.js
1633068642000-email-required-for-signup.js
1633071909016-user-pending.js
1634486652000-user-public-reactions.js
1634902659689-delete-log.js
1635500777168-note-thread-mute.js
1636197624383-ff-visibility.js
1636697408073-remove-via-mobile.js
1637320813000-forwarded-report.js
1639325650583-chart-v3.js
1642611822809-emoji-url.js
1642613870898-drive-file-webpublic-type.js
1643963705770-chart-v4.js
1643966656277-chart-v5.js
1643967331284-chart-v6.js
1644010796173-convert-hard-mutes.js
1644058404077-chart-v7.js
1644059847460-chart-v8.js
1644060125705-chart-v9.js
1644073149413-chart-v10.js
1644095659741-chart-v11.js
1644328606241-chart-v12.js
1644331238153-chart-v13.js
1644344266289-chart-v14.js
1644395759931-instance-theme-color.js
1644481657998-chart-v15.js
1644551208096-following-indexes.js
1645340161439-remove-max-note-text-length.js
1645599900873-federation-chart-pubsub.js
1646143552768-instance-default-theme.js
1646387162108-mute-expires-at.js
1646549089451-poll-ended-notification.js
1646633030285-chart-federation-active.js
1646655454495-remove-instance-drive-columns.js
1646732390560-chart-federation-active-sub-pub.js
1648548247382-webhook.js
1648816172177-webhook-2.js
1651224615271-foreign-key.js
1652859567549-uniform-themecolor.js
1655368940105-nsfw-detection.js
1655371960534-nsfw-detection-2.js
1655388169582-nsfw-detection-3.js
1655393015659-nsfw-detection-4.js
1655813815729-driveCapacityOverrideMb.js
1655918165614-user-ip.js
1656122560740-file-ip.js
1656251734807-nsfw-detection-5.js
1656328812281-ip-2.js
1656408772602-nsfw-detection-6.js
1656772790599-user-moderation-note.js
1657346559800-active-email-validation.js
1664694635394-turnstile.js
1665091090561-add-renote-muting.js
1669138716634-whetherPushNotifyToSendReadMessage.js
1671924750884-RetentionAggregation.js
1671926422832-RetentionAggregation2.js
1672562400597-PerUserPvChart.js
1672703171386-remove-latestRequestSentAt.js
1672704017999-remove-lastCommunicatedAt.js
1672704136584-remove-latestStatus.js
1672822262496-Flash.js
1673336077243-PollChoiceLength.js
1673500412259-Role.js
1673515526953-RoleColor.js
1673522856499-RoleIroiro.js
1673524604156-RoleLastUsedAt.js
1673570377815-RoleConditional.js
1673575973645-MetaClean.js
1673783015567-Policies.js
1673812883772-firstRetrievedAt.js
1674086433654-flashScriptLength.js
1674118260469-achievement.js
1674255666603-loggedInDates.js
1675053125067-fixforeignkeyreports.js
1675404035646-cleanup.js
1675557528704-role-icon-badge.js
1676434944993-drop-group.js
1676438468213-ad3.js
1677054292210-ad4.js
1677570181236-role-assignment-expires-at.js
1678164627293-per-note-reaction-acceptance.js
1678426061773-tweak-varchar-length.js
1678427401214-remove-unused.js
1678602320354-role-display-order.js
1678694614599-sensitive-words.js
1678869617549-retention-date-key.js
1678945242650-add-props-for-custom-emoji.js
1678953978856-clip-favorite.js
1679309757174-antenna-active.js
1679639483253-enableChartsForRemoteUser.js
1679651580149-cleanup.js
1679652081809-enableChartsForFederatedInstances.js
1680228513388-channelFavorite.js
1680238118084-channelNotePining.js
1680491187535-cleanup.js
1680582195041-cleanup.js
1680702787050-UserMemo.js
1680775031481-avatar-url-and-banner-url.js
1680931179228-account-move.js
1681400427971-serverRules.js
1681870960239-RoleTLSetting.js
1682190963894-movedAt.js
1682754135458-preservedUsernames.js
1682985520254-channelColor.js
1683328299359-channelArchive.js
1683682889948-prevent-ai-larning.js
1683683083083-public-reactions-default-true.js
1683789676867-fix-typo.js
1683847157541-UserList.js
1683869758873-UserListFavorites.js
1684206886988-remove-showTimelineReplies.js
1684386446061-emoji-improve.js
1685973839966-errorImageUrl.js
1688280713783-add-meta-options.js
1688720440658-refactor-invite-system.js
1688880985544-add-index-to-relations.js
1689102832143-nsfw-cache.js
1689325027964-UserBlacklistAnntena.js
1690417561185-fix-renote-muting.js
1690417561186-ChangeCacheRemoteFilesDefault.js
1690417561187-Fix.js
1690569881926-user-2fa-backup-codes.js
1690782653311-SensitiveChannel.js
1690796169261-play-visibility.js
1691649257651-refine-announcement.js
1691657412740-refine-announcement-2.js
1691959191872-passkey-support.js
1694850832075-server-icons-and-manifest.js
1694915420864-clipped-count.js
1695260774117-verified-links.js
1695288787870-following-notify.js
1695440131671-short-name.js
1695605508898-mutingNotificationTypes.js
1695901659683-note-updated-at.js
1695944637565-notificationRecieveConfig.js
1696003580220-AddSomeUrls.js
1696222183852-withReplies.js
1696323464251-user-list-membership.js
1696331570827-hibernation.js
1696332072038-clean.js
1696373953614-meta-cache-settings.js
1696388600237-revert-note-edit.js
1696405744672-clean-up.js
1696569742153-clean-up.js
1696581429196-clean-up.js
1696743032098-AdsOnStream.js
1696807733453-userListUserId.js
1696808725134-userListUserId-2.js
1697247230117-InstanceSilence.js
1697420555911-deleteCreatedAt.js
1697436246389-antenna-localOnly.js
1697441463087-FollowRequestWithReplies.js
1697673894459-note-reactionAndUserPairCache.js
1697847397844-avatar-decoration.js
1697941908548-avatar-decoration2.js
1698041201306-enable-ftt.js
1698840138000-add-allow-renote-to-external.js
1699141698112-announcement-silence.js
1700096812223-enableFanoutTimelineDbFallback.js
1700303245007-supportVerifyMailApi.js
1700383825690-hard-mute.js
1700902349231-add-bday-index.js
1702718871541-ffVisibility.js
1703209889304-bannedEmailDomains.js
1703658526000-supportTrueMailApi.js
1704373210054-support-mcaptcha.js
1704959805077-bubble-game-record.js
1705222772858-optimize-note-index-for-array-column.js
1705475608437-reversi.js
1705654039457-reversi-2.js
1705793785675-reversi-3.js
1705794768153-reversi-4.js
1705798904141-reversi-5.js
1706081514499-reversi-6.js
1706791962000-fix-meta-disableRegistration.js
1707429690000-prohibited-words.js
1707808106310-MakeRepositoryUrlNullable.js
1708266695091-repositoryUrl-from-syuilo-to-misskey-dev.js
1708399372194-per-instance-mod-note.js
1710512074000-url-preview-meta.js
1710919614510-antenna-exclude-bots.js
1713656541000-abuse-report-notification.js feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758) 2024-06-08 15:34:19 +09:00
1716129964060-ChannelIdDenormalizedForMiPoll.js
1716345015347-NotRespondingSince.js
1716447138870-SuspensionStateInsteadOfIsSspended.js
1716450883149-RemoveAntennaNotify.js
1717117195275-inquiryUrl.js