14 Commits
Author SHA1 Message Date
Georgy ButaevandClaude Opus 4.8 a52836c793 chore: remove all Vercel — everything runs on Hetzner
Production is fully self-hosted on the Hetzner box (bitbaum, behind Caddy)
with self-hosted Supabase. This scrubs the remaining Vercel footprint:

Code (src/ now has zero Vercel references):
- security page: "Hosted on Vercel" → self-hosted infrastructure
- FleetCrown URL fleetcrown.vercel.app → fleetcrown.orangecat.ch (entity
  registry + external-publish allowlist; the dead vercel.app subdomain was
  also a re-registration risk in an allowlist)
- webhook-secret error + cron/env comments point at the box, not Vercel
- corrected stale "Vercel kills the function on response" comments (false
  on a persistent server) to accurate await-before-respond reasoning

Security/config:
- supabase/config.toml: dropped dead *.vercel.app auth redirect URLs
- @vercel/mcp-adapter dependency removed (unused)

Artifacts removed:
- scripts/auth/vercel-login.js, scripts/preview-url.sh,
  scripts/dev/merge-env.js, scripts/monitoring/deployment-monitor.js,
  scripts/db/setup-env.js, mcp-servers/vercel-openapi.json, .vercel/
- setup_vercel_secrets MCP tool in mcp-servers/github-server.js
- .gitignore Vercel section; env scripts stripped of vercel-login/token

Docs + .claude rules/commands rewritten to the self-host deploy flow
(scripts/deploy-selfhost.sh / .github/workflows/cd.yml; env at
/opt/orangecat/app/.env). Historical/archive records left intact.

Verified: tsc 0 errors, SELF_HOST=1 build green, cron unit tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 08:50:43 +02:00
Georgy ButaevandClaude Opus 4.8 2208a0ad8b chore(cleanup): remove retired managed-cloud scripts + stray template
Delete 30 dead scripts that drove the retired managed Supabase Cloud via the
Management API / dashboard (key fetchers, Management-API migration runners,
cloud diagnostics). All were already neutered (banner + exit) in 054204e9 and
referenced nowhere in code/CI — the DB is self-hosted (psql + migration files)
so they have no purpose. Also drop env_tokens_template.txt (redundant with
.env.example). History preserves them.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 10:58:18 +02:00
Georgy ButaevandClaude Opus 4.8 054204e943 chore(infra): retire managed Supabase cloud; Hetzner self-host is SSOT
The managed Supabase Cloud project (ohkueislstxomdjavyhs) is retired; the
self-hosted instance at supabase.orangecat.ch on the Hetzner box is the single
source of truth. Repoint the image host + setup scripts, rewrite the agent/dev
guidance to use the self-host directly (not the Supabase MCP, which only reaches
the retired cloud), update active docs, exit retired cloud-Management-API
scripts behind a RETIRED guard, env-ify direct-connect scripts, gitignore
.env-backups, and add a founder-run DECOMMISSION-CLOUD runbook. No live code
path references the managed project anymore.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 09:26:58 +02:00
Georgy ButaevandClaude Fable 5 2e43593920 chore(cleanup): remove the Vercel-era deploy toolchain (post-migration orphan sweep)
Everything a developer could run or read that still targeted the exited
Vercel platform is gone or corrected:
- scripts/deployment/: 19 Vercel-era scripts deleted (one-button-deploy,
  vercel-monitor, auto-deploy-agent, …); browser-verify.js kept with a
  new README — it's the platform-agnostic post-deploy smoke test
- w + scripts/dev/w.bat + scripts/dev/sync-env.js deleted (auto-commit/
  Vercel-deploy/env-sync automation; w.bat triggered a deleted workflow)
- package.json: 14 dead scripts removed (ship, deploy*, deployment:*,
  env:pull/push, monitor:logs, mcp:vercel, w); deploy:rollback pointed
  at a file that didn't exist
- Makefile: dead 'ship' target removed
- docs: 1.3k lines of Vercel pipeline docs deleted (DEPLOYMENT_PROCESS,
  GITHUB_VERCEL_SETUP/STATUS, legacy-tools, action-plan.json) and
  replaced with short true versions; ci-cd.md rewritten; ghost links and
  stale instructions fixed in devops/README, ENVIRONMENT, debugging,
  workflows/README (DEPLOYMENT_WORKFLOW.md never existed)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 01:51:13 +02:00
Your Name 1b2a2371e9 refactor: Complete codebase improvements per engineering principles
- Fix currency defaults (SATS → CHF) across forms, configs, and API routes
- Remove @ts-nocheck from socialService.ts and improve type safety
- Replace console.log statements with proper logger utility in production code
- Additional type safety improvements and code quality enhancements
- Documentation updates for improved maintainability

All changes follow DRY, SSOT, and separation of concerns principles.
2026-01-04 12:25:26 +01:00
Your Name a1b3aba810 fix: TypeScript errors in messaging service, profile hooks, and core types
- Fixed messaging service Supabase insert/update type errors
- Fixed profile hooks (useProfileForm, useAuth, useActiveRoute, useMobileMenu)
- Added missing type exports (UserProduct, UserService, UserCause, Profile with email)
- Fixed messaging API route type errors
- Updated Database types for proper Supabase type safety

Note: Some TypeScript errors remain in non-critical areas (commerce, entity configs, tests) but core messaging and profile functionality is type-safe.
2025-12-22 15:38:36 +01:00
Your Name 38cc4669d8 chore: comprehensive codebase cleanup and organization
- Move 100+ files from root to proper directories
  - Migration scripts → scripts/db/
  - SQL files → supabase/sql/archive/
  - Test/debug scripts → scripts/test/
  - Documentation → docs/archive/ (organized by category)
  - Shell scripts → scripts/ (organized by category)

- Fix test organization
  - Remove nested tests/unit/tests/unit/ structure
  - Consolidate test files to proper locations

- Update documentation references
  - Update migration script paths in workflow docs
  - Update scripts/README.md with moved file notes

- Delete placeholder files
  - Remove empty placeholder.ipynb

- Result: Root directory now contains only essential config files
- Result: Professional, organized codebase structure
- Result: All files in proper locations per project standards

See docs/CLEANUP_COMPLETE.md for full details.
2025-12-21 22:57:54 +01:00
Your Name 94bfe613b6 chore: deploy local snapshot
Commit current local state for production deploy.
2025-12-10 16:56:40 +01:00
Your Name b537f5887a feat: implement new features and improvements 2025-12-02 15:42:31 +01:00
Your Name 0ea5436461 feat: comprehensive updates including wallet components, location fixes, profile improvements, and documentation
- Refactor wallet components from old structure to new wallets/
- Add contact email column and migrations
- Fix location implementation and integration
- Update profile editing and dashboard components
- Add comprehensive testing and validation
- Update documentation and architecture guides
- Add performance indexes and audit logging
- Fix various bugs and improve UX
2025-12-02 11:55:28 +01:00
Your Name 20ffb3469f feat: deployment fixes - MOCK_RATES fix, browser testing improvements, profile updates
- Fix MOCK_RATES ReferenceError in DynamicSidebar.tsx
- Update wallet management and timeline components
- Enhance profile editing and social features
- Browser testing workflow improvements
- Database migration updates for contact email
- Location system enhancements
2025-12-01 10:20:02 +01:00
Your Name 472fa4c75d feat: implement comprehensive wallet management code quality improvements
- Replace console.error with structured logging using logger utility
- Extract duplicate error handling into centralized utilities
- Add constants for magic numbers and timeouts
- Improve type safety by eliminating any types and adding proper interfaces
- Standardize error response format across all wallet API endpoints
- Fix timeout cleanup issues and memory leaks
- Add comprehensive error handling for wallet operations
2025-11-30 18:41:50 +01:00
Your NameandClaude 4d26977e39 feat: Implement consistent navigation naming across app
Major consistency improvements:
- Renamed "My Journey" → "My Timeline" in sidebar
- Added "My" prefix to sidebar items (My Wallets, My Info)
- Added People tab to public profiles
- Renamed /journey route to /timeline
- Updated all code references from journey to timeline

Sidebar Navigation (My View):
- Dashboard
- My Timeline (was: My Journey)
- My Projects
- My People
- My Wallets (was: Wallets)
- My Info (new)

Public Profile Tabs:
- Overview (matches Dashboard)
- Timeline
- Projects
- People (new)
- Wallets
- Info

Route Changes:
- /journey → /timeline

Files Changed:
- src/config/navigationConfig.ts - Updated sidebar nav
- src/components/profile/PublicProfileClient.tsx - Added People tab
- src/components/profile/ProfilePeopleTab.tsx - New component
- src/components/timeline/SocialTimeline.tsx - journey → timeline
- src/app/(authenticated)/timeline/ - Renamed from journey
- src/app/(authenticated)/timeline/page.tsx - Updated references

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 16:14:30 +01:00
Your NameandClaude 2872828779 chore: version 0.1.1 deployment - fix configuration and dependencies
- Bump version to 0.1.1 for tracking
- Add webpack-bundle-optimizer script for Next.js config
- Simplify ESLint configuration to resolve missing dependencies
- Prepare for production deployment with proper version control

This deployment includes:
- Profile update fixes with banner_url support
- LN address validation
- Auth cookie fixes for profile updates
- Various documentation and testing improvements

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 09:30:45 +02:00