rspace-online/server
Jeff Emmett 4a54e6af16 fix: enforce subdomain routing — spaces are subdomains, never path segments
Audit and fix ~60 violations across 47 files where URLs were constructed
as /{space}/moduleId instead of /moduleId (subdomain provides the space).

- Add getModuleApiBase() helper to shared/url-helpers.ts
- Fix client components: use getModuleApiBase() for fetch URLs,
  rspaceNavUrl() for navigation
- Fix server routes: use c.get("isSubdomain") for redirects and
  JSON response URLs
- Fix OAuth callbacks (notion, google, clickup): subdomain-aware redirects
- Fix email notification URLs (rvote): use {space}.rspace.online format
- Fix webhook registration (rtasks/clickup): subdomain-aware endpoint URL
- Replace broken #getSpaceSlug() methods in folk-feed, folk-splat
- Replace NODE_ENV checks with proper isSubdomain checks (rdata, rnetwork)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 14:09:53 -07:00
..
local-first fix: persist docs created via setDoc (fixes payment not found) 2026-04-03 02:54:11 +00:00
oauth fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
auth.ts refactor(auth): replace @encryptid/sdk imports with local auth module 2026-03-22 16:41:59 -07:00
bonding-curve.ts feat(rwallet): HyperSwitch full-loop fiat↔CRDT payment integration 2026-03-23 17:34:48 -07:00
cad-orchestrator.ts fix(cad): CSS containment + Scribus image gen for all CAD shapes 2026-03-25 17:53:42 -07:00
clock-service.ts feat: system clock heartbeat + ephemeral clock delivery (TASK-47) 2026-03-11 16:20:04 -07:00
community-store.ts fix(spaces): pin visibility and ownerDID as server-authoritative 2026-03-25 18:03:43 -07:00
encryptid-sdk.d.ts feat(identity): local persona switcher for client-side multi-account 2026-03-23 12:10:55 -07:00
index.ts feat(rgov): add rGov governance decision circuit module 2026-04-03 13:01:08 -07:00
ipfs-routes.ts feat(ipfs): add IPFS integration for backups and generated files 2026-04-02 14:24:39 -07:00
ipfs.ts fix(ipfs): correct Kubo container hostname (collab-server-ipfs-1) 2026-04-02 15:06:05 -07:00
landing-proxy.ts fix(infra): consolidate external service URLs to rspace.online (TASK-51.1) 2026-03-11 19:12:51 -07:00
landing.ts fix(shell): update space-switcher on landing pages to show user's space or demo 2026-04-02 16:05:14 -07:00
mi-agent.ts feat(mi): agentic upgrade — multi-turn loop, LiteLLM, media gen, live data 2026-03-24 19:26:56 -07:00
mi-data-queries.ts feat(mi): agentic upgrade — multi-turn loop, LiteLLM, media gen, live data 2026-03-24 19:26:56 -07:00
mi-media.ts feat(mi): agentic upgrade — multi-turn loop, LiteLLM, media gen, live data 2026-03-24 19:26:56 -07:00
mi-provider.ts feat(mi): agentic upgrade — multi-turn loop, LiteLLM, media gen, live data 2026-03-24 19:26:56 -07:00
mi-routes.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
notification-routes.ts fix(notifications): use full URL pathname for proxy path 2026-03-23 13:36:51 -07:00
notification-service.ts feat(rtime): commitment notifications + email delivery channel 2026-04-01 14:59:10 -07:00
output-list.ts fix(routing): eliminate /{space} from paths on subdomain routing 2026-03-24 18:45:16 -07:00
seed-campaign.ts fix(canvas): prevent shape re-seeding after user clears canvas 2026-03-22 14:40:28 -07:00
seed-demo.ts fix: ensure demo community visibility is always public on startup 2026-03-24 13:21:59 -07:00
seed-template.ts fix(canvas): prevent shape re-seeding after user clears canvas 2026-03-22 14:40:28 -07:00
shell.ts feat(shell): add Request Access button and Go to My Space fallback on access gate 2026-04-02 16:20:56 -07:00
sidecar-manager.ts feat(infra): add ollama to on-demand sidecar lifecycle 2026-03-31 14:26:23 -07:00
spaces.ts Fix sidebar showing all modules: hide Manage panel when none disabled 2026-04-01 12:32:53 -07:00
sync-instance.ts feat: layered local-first data architecture — encrypted backup, relay persistence, at-rest encryption 2026-03-02 17:09:07 -08:00
token-schemas.ts feat(rwallet): HyperSwitch full-loop fiat↔CRDT payment integration 2026-03-23 17:34:48 -07:00
token-service.ts feat(rwallet): HyperSwitch full-loop fiat↔CRDT payment integration 2026-03-23 17:34:48 -07:00