Commit Graph
12 Commits
Author SHA1 Message Date
CatoandClaude 45fd5e076a docs: archive 2025 plans that read as current (#1351)
Forty-five 2025 plans, assessments, design scenarios, status reports and
superseded business docs move to docs/archive/ (same relative path). Each
described a plan or a snapshot as if it were the running system: strict:false,
a five-table schema, an "organization" entity, price_sats, a Gemini /api/chat
widget, a /auth/forgot-password page, Google Places, building group labels and
contract voting flows that never landed.

Fixed in place: NAVIGATION_UX_DESIGN.md (referenced by .claude/rules) gains a
status note naming what shipped and where; GENERIC_API_HANDLERS.md lists the
handler options the code actually takes; datetime_standards.md points at
scripts/dev/; CONTRIBUTING.md describes the auto-merge shipping flow. Inbound
links repointed (SECURITY.md at the root, SUPABASE_SCHEMA_GUIDE.md for schema).


Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:25:12 +02:00
CatoandClaude Opus 5.5 24c3d140ae docs: archive point-in-time records, fix live docs against the tree (#1349)
* docs: archive point-in-time records, drop broken guide symlinks

Status reports, progress trackers, audits, session summaries, completed
migration plans and the 2025 roadmap move to docs/archive/ (same relative
path), with a README saying they describe the day they were written.
.ai-guides/ held only symlinks into a docs/guides/ai/ that no longer
exists, tests/unit/docs/ held a stray copy of an old getting-started page,
and docs/operations/PORT_MANAGEMENT_README.md duplicated port-management.md;
all three are deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

* docs: correct drifted paths, links and versions in current docs

Fix in place the reference docs agents use: point paths at where the code
lives now (src/stores/auth.ts, src/lib/supabase/*, scripts/dev/*,
docs/reference/api/CONVENTIONS.md, the squashed baseline migration),
rewrite the development, features, operations and API index pages to list
documents that exist, say plainly where something is gone (/api/metrics,
the CSP report route, .envrc in the repo, Loki's `migrate` script), and
correct the Next.js major. docs-truth findings: 468 -> 2 (both "Next 30/90
Days" headings in the legal overview, a checker false positive).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:09:06 +02:00
CatoandClaude Opus 5.5 487f94772c fix(copy): public pages give a real mailbox and stop claiming what is not true (#1214)
* fix(copy): public pages give a real mailbox and stop claiming what is not true

- FAQ, /status, /security, privacy, terms and the OpenAPI spec named
  hello@, support@, security@ and integrations@orangecat.ch; cato@ is the
  only mailbox on the domain. One CONTACT_EMAIL in brand.ts now.
- /company/careers listed four full-time jobs with salaries, health cover
  and unlimited PTO that do not exist; it now lists the real ways in.
  /company/about drops the invented "passionate team".
- Footer said "All rights reserved" and the OpenAPI spec "Proprietary";
  the code is MIT.
- /technology hand-typed "Next.js 15" (app is on 16); reads STACK now.
- /docs claimed BTCPay; Lightning runs on NWC + LNURL.
- /security claimed encryption at rest "provided by Supabase" (self-hosted,
  no encrypted volume on the box) and a bug-bounty channel; both cut.
- bitbaum.com (does not resolve) -> bitbaum.orangecat.ch; partners
  "Talk to the studio" went to the donation page, now the hire page, and
  drops "clients". Solon's /api/v1/decisions index 404s -> /proposals.
- README: 15 entity types (was 13), Next.js 16.
- Guard: public-copy-claims.test.ts fails on a role address, a literal
  mailto, or a hand-typed framework version (mutation-checked).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(copy): SDK is MIT, no dead address in emails or security docs, no partner course that does not exist

The guard now also scans packages/, supabase/templates, legal/, content/,
docs/security and the root README/SECURITY/package.json for dead role
addresses and a non-MIT licence claim.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(copy): verified-client link opens mail, not the backing page; cut unmeasured security and member claims

- /docs/sign-in-with-orangecat: "ask for a verified client" and "Questions,
  or a verified client" linked ROUTES.SUPPORT (the Bitcoin backing page);
  both now mailto CONTACT_EMAIL.
- docs/security/README.md: cut the security score, "0 Critical, 0 High",
  the passed pentest, the review cadence and nine links to files that do
  not exist; it is now an index of the documents that do.
- audit-report.md: cut the "coming soon" bug bounty and the unverified
  "platform messaging" report channel.
- Reset email templates: cut "10,000+ Bitcoin innovators" and
  "bank-grade security".
- Guard: public-copy-claims now fails on a question/contact link to
  ROUTES.SUPPORT and on "N+ members/users" or "bug bounty" in prose
  outside the app (both mutation-checked).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* docs(changelog): move this PR's entries under 2026-10-07

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017cqEJ2nWRCs2CA6GP6BmoZ

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 04:59:30 -07:00
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 ae55dc1f80 docs: consolidate taxonomy from ~40 dirs into ~13 coherent areas
The docs tree had sprawled into ~40 overlapping/singleton/empty directories.
Consolidated (history preserved via git rename detection; links rewritten so
no previously-working link broke):

- architecture/ ← adr/, database/, + loose *_ARCHITECTURE / my-cat specs
- development/  ← standards, contributing, guides, examples, templates, components, ai
- operations/   ← devops (+runbooks), deployment, supabase
- design-system/← design, UX, ux-improvements, branding
- reference/    ← api, changelog, content, misc
- forward-looking/ ← planning, improvements, implementation
- archive/2026-h1/ ← point-in-time reports/plans that were loose at docs/ root
- removed empty docs/analysis/; rewrote docs/README.md as a current index

Verified: non-README relative-link health 81→83 OK (0 regressions, same 64
pre-existing-rot broken); all new README links resolve; external refs in
.claude/ + root repointed to moved targets.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:34:28 +02:00
Your Name 5cd7495b78 feat: Complete entity relationship system - 11 APIs connecting profiles, organizations, campaigns, projects
- Added intelligent onboarding with AI analysis and personalized recommendations
- Implemented organization creation with founder membership and role-based access
- Built 11 production APIs for full entity relationships:
  * Profile endpoints: campaigns, projects, organizations
  * Organization endpoints: campaigns, projects, member management
  * Project endpoints: campaigns, add/remove campaigns
  * Campaign endpoints: stats and enhanced detail
- Enhanced UX with guest-first campaign creation flow
- Fixed sidebar naming consistency (Campaigns vs Fundraising)
- Improved onboarding with interactive category cards and clean animations
- Added comprehensive documentation and integration guides
- Implemented proper JSX structure and TypeScript fixes
2025-10-18 09:44:02 +02: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
Your Name 59173d7cdc auth(reset): redirect error params to /auth/reset-password; docs: add recovery flow + prod URL config; config: set canonical NEXT_PUBLIC_SITE_URL in production template 2025-08-25 15:01:17 +02:00
cato 931fc85eb9 Add password reset documentation and Supabase email template 2025-07-03 02:12:48 +02:00
cato e0c543fe0a � MAJOR FIX: Complete password reset system overhaul + critical production fixes
✅ NEW FEATURES:
- Beautiful dedicated forgot-password page with Bitcoin Orange branding
- Enhanced reset-password page with real-time validation
- Professional email template design (in documentation)

� CRITICAL FIXES:
- Fixed broken build (added PostCSS, lodash.debounce dependencies)
- Removed broken AuthProvider imports, switched to working Zustand auth
- Recreated missing pages (organizations, people, projects) with functional UIs
- Fixed dozens of broken imports (Input component, Supabase client, lodash)
- Updated Supabase redirect URLs from old Vercel preview to orangecat.ch domain

�️ INFRASTRUCTURE:
- Added compatibility test shims and mocks for legacy imports
- Fixed Input component tests (43 tests now passing)
- Updated CORS configuration for production domain
- Consolidated database schema migrations

� DOMAIN FIXES:
- Password reset emails now redirect to orangecat.ch instead of old Vercel URLs
- Updated Supabase configuration files with correct production domain
- Comprehensive documentation of new password reset system

� UI/UX IMPROVEMENTS:
- Consistent Bitcoin Orange (#F7931A) and Tiffany Blue design system
- Mobile-responsive authentication flows
- Real-time email validation and password strength indicators
- Professional error handling and user feedback

Production ready: ✅ Build working ✅ Tests passing ✅ Domain configured ✅ Authentication functional
2025-07-03 01:48:57 +02:00
cato 7bd344de18 � PRODUCTION READY: Complete deployment preparation - Security hardening (vulnerabilities 13→1), build fixes (TypeScript/auth), performance optimizations (SWC/caching), 83.3% test success rate, modular architecture - Ready for GitHub→Vercel deployment 2025-06-08 20:33:33 +02:00
cato 03b33fee9c feat: Comprehensive blog filtering system, security improvements, and UX enhancements - implement advanced topic/time filtering, unified grid display, profile security, draft management, and currency formatting 2025-06-05 00:34:28 +02:00