Commit Graph

12 Commits

Author SHA1 Message Date
pezkuwichain 54f565621c fix(auth): namespace edge functions, restore miniapp sign-in
The Supabase edge-function volume on the host is shared with pwap-web, which
deploys into it by rsyncing its whole tree. Both projects defined a function
called telegram-auth, so on 2026-06-28 pwap-web's login-widget handler replaced
this project's initData handler. Sign-in and every wallet screen behind it have
returned 401 ever since; nothing failed loudly because the name still resolved.

Rename this project's two colliding functions to a tgm- namespace so the two
deploys can no longer reach the same directory, and point the client at the new
name. process-withdraw is renamed too: it is currently unreferenced here, but it
moves platform funds, so leaving it shadowed by another project's version is not
something to keep.

Also deploy functions from CI. They were last pushed by hand in April, so seven
of them had drifted behind the repo and one had never shipped at all. The new
step writes through the host's ownership gate, which refuses any name this
project does not own — the drift and the collision both stop here.

Ownership is recorded in /opt/supabase-self-hosted/functions-registry.json.
2026-07-29 20:21:37 -07:00
pezkuwichain 704a46f459 Fix auto-pr to not fail when branches are already in sync 2026-03-02 15:09:11 +03:00
pezkuwichain d14c8f1a3c Replace force-push sync with PR-based auto-merge workflow 2026-03-02 14:22:58 +03:00
pezkuwichain 94c6347521 ci: add post-deploy cleanup step to remove old assets on VPS 2026-03-02 01:37:45 +03:00
pezkuwichain dbd081ee64 fix: use GITHUB_TOKEN instead of PAT_TOKEN for branch sync 2026-02-19 06:21:32 +03:00
pezkuwichain 73ab592b13 ci: add sync-branches workflow to keep main and master in sync 2026-02-19 05:56:04 +03:00
pezkuwichain b3241005ba ci: skip VPS1 deploy, only deploy to telegram.pezkiwi.app 2026-02-15 04:12:21 +03:00
pezkuwichain e93cb143e2 fix: deploy pezkiwi.app to correct VPS (VPS2) 2026-02-15 00:06:30 +03:00
pezkuwichain f6125a127d feat(deploy): add telegram.pezkiwi.app as second deploy target 2026-02-14 11:08:25 +03:00
pezkuwichain e5dd2b4b5b refactor(ci): modularize workflows into ci, code-quality, security, deploy
- Split monolithic ci.yml into focused workflow files
- Add code-quality.yml with complexity analysis and duplicate detection
- Replace template codeql.yml with comprehensive security.yml (CodeQL, dependency audit, dependency review, secret scan)
- Separate deploy into its own workflow triggered by CI success
2026-02-14 11:02:05 +03:00
pezkuwichain 7495366ce9 ci: add deposit address env vars 2026-02-08 03:21:39 +03:00
pezkuwichain ddd28705c1 Initial commit - PezkuwiChain Telegram MiniApp 2026-02-05 10:53:13 +03:00