feat(khira): complete remediation, performance optimization, and Cloudflare Turnstile integration

- Backend:
  - Fix ListTickets parameter order mismatch for assignee filtering
  - Replicate all 13 PostgreSQL tables and columns during disaster recovery sync and rollback
  - Implement server-side session store with HttpOnly cookies and Bearer tokens
  - Add profile update verification requiring current password
  - Whitelist allowed file uploads and apply strict security headers (nosniff, CSP)
  - Enforce role check on error deletion (admin/lead/tester only) and authenticate SSE stream
  - Align foreign key user_id for saved filters and api tokens
  - Add ReopenTicket endpoint and workflow
  - Integrate Cloudflare Turnstile verification with testing/production key support
- Frontend:
  - Remove liquid glass displacement filter and lens capsule for high-performance UI
  - Eliminate recursive backdrop-filters and heavy inset shadows
  - Add debounced search and optimize SSE re-rendering
  - Wire Saved Views filter bar with creation, active indicators, and deletion
  - Add Linked & Related Tickets management UI to sheet
  - Seed 6 demo personas in PostgreSQL with instant sign-in
  - Add Cloudflare Turnstile widgets to authentication modals
  - Add keyboard arrow navigation to Command Palette
- Image Manipulator, Docs & Tooling:
  - Sync image manipulator updates, docs, and test coordinates
This commit is contained in:
2026-11-17 18:39:25 +05:30
parent 72ea6cd59d
commit cc6bed127b
84 changed files with 1869 additions and 1339 deletions
+34 -159
View File
@@ -8245,7 +8245,7 @@
"eps": [
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/new_enhancer/",
"api_key": "Cre_Aws_Waifu2x_Model",
"api_key": "Real-ESRGAN + CodeFormer Super-Resolution",
"chips": [],
"curl": "",
"desc": "Combines Real-ESRGAN 4x upscaling with CodeFormer/GFPGAN facial restoration to denoise, deblur, sharpen eyelashes/skin texture, and increase pixel density.",
@@ -8310,63 +8310,11 @@
"subs": [],
"summary": "Super-resolution upscaling and facial detail reconstruction.",
"title": "Real-ESRGAN + CodeFormer Super-Resolution"
},
{
"chips": [],
"curl": "curl -X POST \"{{base}}:5925/new_enhancer/image_previous/\" \\\n -F \"[email protected]\" \\\n -F \"src=value\" \\\n -F \"scale_ratio=value\" \\\n -F \"noise_level=value\"",
"desc": "Legacy alias for the Real-ESRGAN + GFPGAN enhancement pipeline. Functionally identical to /new_enhancer/image/ . Accepts base64 image source as alternative to file upload.",
"full_url": "https://apigp0006.creinnovations.in/apis/mlm/new_enhancer/image_previous/",
"id": "ml-new-enhancer-previous",
"method": "POST",
"params": [
{
"al": "image",
"df": "None",
"ds": "Low-resolution, compressed, or blurry portrait.",
"lc": "multipart/form-data",
"n": "image0",
"rq": true,
"ty": "file (binary)"
},
{
"al": "",
"df": "None",
"ds": "Base64-encoded image, as an alternative to uploading a file.",
"lc": "multipart/form-data",
"n": "src",
"rq": false,
"ty": "string"
},
{
"al": "",
"df": "2.0",
"ds": "Upscaling multiplication factor.",
"lc": "multipart/form-data",
"n": "scale_ratio",
"rq": false,
"ty": "float"
},
{
"al": "",
"df": "3",
"ds": "Denoising strength applied during enhancement.",
"lc": "multipart/form-data",
"n": "noise_level",
"rq": false,
"ty": "integer"
}
],
"path": "/new_enhancer/image_previous/",
"resp": "image/png",
"subpath": "image_previous/",
"subs": [],
"summary": "Legacy alias for the Real-ESRGAN + GFPGAN enhancement pipeline.",
"title": "Face \u0026 Image Enhancer — Legacy Alias"
}
],
"full_url": "https://apigp0006.creinnovations.in/apis/mlm/new_enhancer/image/",
"id": "api-cre-aws-waifu2x-model",
"method": "MULTI",
"method": "POST",
"params": [
{
"al": "image0",
@@ -8419,7 +8367,7 @@
"resp": "image/png",
"subs": [],
"summary": "Super-resolution upscaling and facial detail reconstruction.",
"title": "Cre_Aws_Waifu2x_Model"
"title": "Real-ESRGAN + CodeFormer Super-Resolution"
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/colorization/",
@@ -8585,7 +8533,7 @@
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/advance_image_segment_anything_dichotomous/",
"api_key": "Cre_Aws_Advance_Image_Segment_Anything_Dichotomous_Model",
"api_key": "DIS + SAM Dichotomous Segmentation",
"chips": [],
"curl": "",
"desc": "High-resolution foreground extraction for complex structures like netting, bicycles, animal fur, jewelry, and lace where standard segmentation models fail.",
@@ -8599,11 +8547,11 @@
"method": "POST",
"params": [
{
"al": "image0",
"al": "image",
"df": "None",
"ds": "Intricate high-frequency image.",
"lc": "multipart/form-data",
"n": "image",
"n": "image0",
"rq": true,
"ty": "file (binary)"
}
@@ -8621,11 +8569,11 @@
"method": "POST",
"params": [
{
"al": "image0",
"al": "image",
"df": "None",
"ds": "Intricate high-frequency image.",
"lc": "multipart/form-data",
"n": "image",
"n": "image0",
"rq": true,
"ty": "file (binary)"
}
@@ -8635,7 +8583,7 @@
"resp": "image/png",
"subs": [],
"summary": "Dichotomous Image Segmentation (DIS) capturing ultra-intricate geometry.",
"title": "Cre_Aws_Advance_Image_Segment_Anything_Dichotomous_Model"
"title": "DIS + SAM Dichotomous Segmentation"
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/cloth_segmentation/",
@@ -8765,7 +8713,7 @@
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/lamaCleaner/",
"api_key": "Cre_Aws_Lama_Cleaner_Model",
"api_key": "LaMa Inpainting Object Remover",
"chips": [],
"curl": "",
"desc": "Fast Fourier Transform convolutions allow LaMa to erase photobombers, text watermarks, blemishes, and unwanted objects while synthesizing matching background textures.",
@@ -8788,22 +8736,13 @@
"ty": "file (binary)"
},
{
"al": "mask_image",
"al": "",
"df": "None",
"ds": "Binary mask image (white pixels = erase and inpaint, black = retain).",
"lc": "multipart/form-data",
"n": "mask",
"rq": true,
"ty": "file (binary)"
},
{
"al": "",
"df": "None",
"ds": "Optional exemplar reference image for guided inpainting replacement.",
"lc": "multipart/form-data",
"n": "paintByExampleImage",
"rq": false,
"ty": "file (binary)"
}
],
"path": "/lamaCleaner/image/",
@@ -8828,22 +8767,13 @@
"ty": "file (binary)"
},
{
"al": "mask_image",
"al": "",
"df": "None",
"ds": "Binary mask image (white pixels = erase and inpaint, black = retain).",
"lc": "multipart/form-data",
"n": "mask",
"rq": true,
"ty": "file (binary)"
},
{
"al": "",
"df": "None",
"ds": "Optional exemplar reference image for guided inpainting replacement.",
"lc": "multipart/form-data",
"n": "paintByExampleImage",
"rq": false,
"ty": "file (binary)"
}
],
"path": "/lamaCleaner/image/",
@@ -8851,11 +8781,11 @@
"resp": "image/png",
"subs": [],
"summary": "Large Mask Inpainting (LaMa) for seamless object and watermark removal.",
"title": "Cre_Aws_Lama_Cleaner_Model"
"title": "LaMa Inpainting Object Remover"
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/background_remover_p3m/",
"api_key": "Cre_Aws_Background_Remover_Model",
"api_key": "Background Remover P3M",
"chips": [],
"curl": "",
"desc": "High-accuracy portrait matting powered by P3M-Net (Privacy-Preserving Portrait Matting). Extracts subjects with fine alpha masks around wispy hair, translucent garments, and complex edges.",
@@ -8869,11 +8799,11 @@
"method": "POST",
"params": [
{
"al": "image0",
"al": "image",
"df": "None",
"ds": "Input photo to extract subject from (JPEG/PNG/WEBP).",
"lc": "multipart/form-data",
"n": "image",
"n": "image0",
"rq": true,
"ty": "file (binary)"
}
@@ -8883,7 +8813,7 @@
"subpath": "image/",
"subs": [],
"summary": "Deep portrait matting producing transparent alpha cutouts.",
"title": "P3M-Net Alpha Matte Background Remover"
"title": "Background Remover P3M"
}
],
"full_url": "https://apigp0006.creinnovations.in/apis/mlm/background_remover_p3m/image/",
@@ -8891,11 +8821,11 @@
"method": "POST",
"params": [
{
"al": "image0",
"al": "image",
"df": "None",
"ds": "Input photo to extract subject from (JPEG/PNG/WEBP).",
"lc": "multipart/form-data",
"n": "image",
"n": "image0",
"rq": true,
"ty": "file (binary)"
}
@@ -8905,7 +8835,7 @@
"resp": "image/png",
"subs": [],
"summary": "Deep portrait matting producing transparent alpha cutouts.",
"title": "Cre_Aws_Background_Remover_Model"
"title": "Background Remover P3M"
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/cartoon_effects/",
@@ -9029,7 +8959,7 @@
}
],
"summary": "3D facial mesh and landmark detector for eyes, nose, lips, jawline, and brows.",
"title": "68-Point \u0026 468-Point Facial Landmark Detection"
"title": "Face_Coordinates"
},
{
"chips": [],
@@ -9334,15 +9264,6 @@
"n": "image",
"rq": true,
"ty": "file (binary)"
},
{
"al": "",
"df": "None",
"ds": "Base64-encoded image string fallback.",
"lc": "multipart/form-data",
"n": "src",
"rq": false,
"ty": "string"
}
],
"path": "/face_hair_segmentation/image/",
@@ -9358,15 +9279,10 @@
"d": "Couple photo face \u0026 hair separation",
"m": "POST",
"p": "/face_hair_segmentation/image_couple/"
},
{
"d": "Isolated single head mask",
"m": "POST",
"p": "/face_hair_single_segmentation/image/"
}
],
"summary": "Simultaneously segments face, hair, and torso regions for single and couple photos.",
"title": "Dual Face \u0026 Hair Multi-Channel Segmentation"
"title": "Cre_Face_With_Hair_Segment_Model"
}
],
"full_url": "https://apigp0006.creinnovations.in/apis/mlm/face_hair_segmentation/image/",
@@ -9381,15 +9297,6 @@
"n": "image",
"rq": true,
"ty": "file (binary)"
},
{
"al": "",
"df": "None",
"ds": "Base64-encoded image string fallback.",
"lc": "multipart/form-data",
"n": "src",
"rq": false,
"ty": "string"
}
],
"path": "/face_hair_segmentation/image/",
@@ -9405,11 +9312,6 @@
"d": "Couple photo face \u0026 hair separation",
"m": "POST",
"p": "/face_hair_segmentation/image_couple/"
},
{
"d": "Isolated single head mask",
"m": "POST",
"p": "/face_hair_single_segmentation/image/"
}
],
"summary": "Simultaneously segments face, hair, and torso regions for single and couple photos.",
@@ -9417,7 +9319,7 @@
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/cartoonify_caricature_effects/",
"api_key": "Cre_Cartoonify_Caricature_Effects_Model",
"api_key": "CartoonGAN \u0026 Anime Stylizer",
"chips": [],
"curl": "",
"desc": "Employs CartoonGAN with edge-promoting adversarial loss to produce high-contrast cel-shaded cartoon anime imagery from natural portraits.",
@@ -9445,7 +9347,7 @@
"ds": "🔑 Authentication: Authentication key (\\\u0007bcdef\\).",
"lc": "multipart/form-data",
"n": "secretKey",
"rq": false,
"rq": true,
"ty": "string"
},
{
@@ -9454,7 +9356,7 @@
"ds": "Target anime art style: `\"hayao\"`, `\"shinkai\"`, `\"hosoda\"`, or `\"paprika\"`.",
"lc": "multipart/form-data",
"n": "style_id",
"rq": false,
"rq": true,
"ty": "string"
},
{
@@ -9494,7 +9396,7 @@
"ds": "🔑 Authentication: Authentication key (\\\u0007bcdef\\).",
"lc": "multipart/form-data",
"n": "secretKey",
"rq": false,
"rq": true,
"ty": "string"
},
{
@@ -9503,7 +9405,7 @@
"ds": "Target anime art style: `\"hayao\"`, `\"shinkai\"`, `\"hosoda\"`, or `\"paprika\"`.",
"lc": "multipart/form-data",
"n": "style_id",
"rq": false,
"rq": true,
"ty": "string"
},
{
@@ -9521,11 +9423,11 @@
"resp": "image/png",
"subs": [],
"summary": "Transforms portraits into Hayao Miyazaki / Makoto Shinkai anime aesthetic.",
"title": "Cre_Cartoonify_Caricature_Effects_Model"
"title": "CartoonGAN \u0026 Anime Stylizer"
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/hair_segmentation/",
"api_key": "Cre_Hair_Detection_Segment_Model",
"api_key": "High-Precision Hair Segmentation",
"chips": [],
"curl": "",
"desc": "BiSeNet-based semantic hair segmentation. Isolates hair boundaries from facial skin, clothing, and background for hair recoloring or restyling pipelines.",
@@ -9539,22 +9441,13 @@
"method": "POST",
"params": [
{
"al": "image0",
"al": "image",
"df": "None",
"ds": "Portrait photograph displaying hair.",
"lc": "multipart/form-data",
"n": "image",
"n": "image0",
"rq": true,
"ty": "file (binary)"
},
{
"al": "",
"df": "None",
"ds": "Base64-encoded image fallback string.",
"lc": "multipart/form-data",
"n": "src",
"rq": false,
"ty": "string"
}
],
"path": "/hair_segmentation/image/",
@@ -9580,15 +9473,6 @@
"n": "image",
"rq": true,
"ty": "file (binary)"
},
{
"al": "",
"df": "None",
"ds": "Base64-encoded image fallback string.",
"lc": "multipart/form-data",
"n": "src",
"rq": false,
"ty": "string"
}
],
"path": "/hair_segmentation_yolo_sam/image/",
@@ -9604,22 +9488,13 @@
"method": "MULTI",
"params": [
{
"al": "image0",
"al": "image",
"df": "None",
"ds": "Portrait photograph displaying hair.",
"lc": "multipart/form-data",
"n": "image",
"n": "image0",
"rq": true,
"ty": "file (binary)"
},
{
"al": "",
"df": "None",
"ds": "Base64-encoded image fallback string.",
"lc": "multipart/form-data",
"n": "src",
"rq": false,
"ty": "string"
}
],
"path": "/hair_segmentation/image/",
@@ -9627,7 +9502,7 @@
"resp": "image/png",
"subs": [],
"summary": "Alpha-matte hair segmentation extracting individual locks and flyaways.",
"title": "Cre_Hair_Detection_Segment_Model"
"title": "High-Precision Hair Segmentation"
},
{
"api_ip_link": "https://apigp0006.creinnovations.in/apis/mlm/stable_diffusion_hair_segmentation/",