[CU-8689pphvt] Adds content ingestion for models (#1397)

* Adds service and webhook to ingest model content

* Adds migration and adjustments to allow model ingestion

* Adds reports page for mods

* Adds example env vars

* Fixes after merging with main

* 5.0.139

* Adjusts moderator/models page

* Fix images API endpoint not supporting postId properly

* 5.0.143

* Adds a quick way for mods to update a flagged model while resolving

* Prevents awaiting model ingestion

* Allows sorting flagged models

---------

Co-authored-by: Luis Rojas <lrojas94@gmail.com>
This commit is contained in:
Manuel Emilio Urena
2024-10-04 15:39:40 -04:00
committed by GitHub
parent 783f46efd0
commit 4a4f50f09e
19 changed files with 973 additions and 230 deletions
+4
View File
@@ -177,3 +177,7 @@ CF_INVISIBLE_TURNSTILE_SECRET=1x0000000000000000000000000000000AA
NEXT_PUBLIC_CF_MANAGED_TURNSTILE_SITEKEY=1x00000000000000000000AA
CF_MANAGED_TURNSTILE_SECRET=1x0000000000000000000000000000000AA
# Model Ingestion
CONTENT_SCAN_ENDPOINT=http://localhost:3000
CONTENT_SCAN_CALLBACK_URL=http://localhost:3000