chore(brand): rename the product to ReplyPier

The upstream project name is gone from code, assets, docs and build
output: brand strings, domains (replypier.site and its app/api/docs/help
subdomains), env prefixes, image and network names, the widget's public
JS API (window.ReplyPier, replypierId/BaseUrl/Config/Token), CSS tokens
(--rp-*), file and directory names, and the WordPress plugin package.

- widget loader is now webclient/replypier.min.js; both bundles rebuilt
  from source (backend/assets/widget.{js,css}, frontend/public/webclient)
- NOTICE, llms.txt, CONTRIBUTING, HELP_CENTER_INFRA and config.dev.js
  rewritten rather than string-swapped; the demo config no longer ships
  the previous vendor's Firebase/Razorpay/Google keys
- new migration replypier_ai_model_001 adds REPLYPIER to the managed
  AIModelType and rewrites pre-rename rows
- local compose project, database, role and volume renamed; LOCAL_DEPLOY
  documents carrying the old local data over
This commit is contained in:
WangShen007 committed 2026-10-26 00:51:03 +08:00
1 parent ff0a09f0e5
commit 54b949b392
1156 files changed
+7292 -7147

No files matched your search

+5 -5
View File
@@ -1,5 +1,5 @@
"""
Copyright 2024-2026 ChatterMate
Copyright 2024-2026 ReplyPier
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -74,7 +74,7 @@ from app.services.help_center_seo import (
)
from app.services.public_rate_limit import allow_request
public_app = FastAPI(title="ChatterMate Help Center", docs_url=None, redoc_url=None, openapi_url=None)
public_app = FastAPI(title="ReplyPier Help Center", docs_url=None, redoc_url=None, openapi_url=None)
install_error_handlers(public_app)
# Serve ONLY help-center images on this app, so relative logo/article-image paths
# resolve on a subdomain/custom-domain origin (host dispatch). Scoped to the
@@ -154,11 +154,11 @@ async def _chrome_context(row: HelpCenterSettings, base_path: str = "") -> dict:
"favicon_url": await resolve_public_url(row.favicon_url) if row.favicon_url else None,
"header_links": row.header_links or [],
"widget_id": widget_id_for(row),
# The widget LOADER (chattermate.min.js) is served by the frontend, while
# The widget LOADER (replypier.min.js) is served by the frontend, while
# the widget APP it pulls in (/assets/widget.js) is served from
# VITE_WIDGET_URL by the backend. In prod both resolve to the app domain.
"widget_script_url": f"{settings.FRONTEND_URL}/webclient/chattermate.min.js",
# This install's API root, handed to the loader as window.chattermateBaseUrl
"widget_script_url": f"{settings.FRONTEND_URL}/webclient/replypier.min.js",
# This install's API root, handed to the loader as window.replypierBaseUrl
# (same contract as the dashboard's embed snippet). Without it the loader
# uses its build-time default — the vendor cloud — which no self-hosted
# deployment can talk to.