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:
1 parent
ff0a09f0e5
commit
54b949b392
1156 files changed
+7292
-7147
No files matched your search
@@ -23,7 +23,7 @@
|
||||
// Meta tokens `…:app=<id>.<secret>:…` were issued by the customer's own Meta
|
||||
// app: GET /app answers that id and checks
|
||||
// appsecret_proof against that secret (any
|
||||
// other token is ChatterMate's app)
|
||||
// other token is ReplyPier's app)
|
||||
// Meta POST /<number> {webhook_configuration} verifies the override callback the way
|
||||
// Meta does — a GET with hub.verify_token
|
||||
// that must echo hub.challenge — before
|
||||
@@ -188,13 +188,13 @@ function graphError(message: string, code = 100): Answer {
|
||||
return { status: 400, body: { error: { message, type: 'OAuthException', code, fbtrace_id: 'e2e' } } }
|
||||
}
|
||||
|
||||
/** ChatterMate's own Meta app; its secret mirrors META_APP_SECRET in .env.e2e. */
|
||||
const CHATTERMATE_APP = { id: 'e2e-chattermate-app', secret: 'e2e-meta-app-secret' }
|
||||
/** ReplyPier's own Meta app; its secret mirrors META_APP_SECRET in .env.e2e. */
|
||||
const REPLYPIER_APP = { id: 'e2e-replypier-app', secret: 'e2e-meta-app-secret' }
|
||||
|
||||
/** The Meta app that issued a token. */
|
||||
function appOf(token: string): { id: string; secret: string } {
|
||||
const match = /:app=([^.:]+)\.([^:]+)/.exec(token)
|
||||
return match ? { id: match[1], secret: match[2] } : CHATTERMATE_APP
|
||||
return match ? { id: match[1], secret: match[2] } : REPLYPIER_APP
|
||||
}
|
||||
|
||||
/** Meta checks an override callback before taking it: the GET must echo the challenge. */
|
||||
|
||||
Reference in new issue
Block a user