FolkJS collaborative canvas with subdomain routing for community spaces
Go to file
Jeff Emmett cdfe8c5b78 feat: add unified notification system with real-time WS delivery
Persistent, PostgreSQL-backed notification system replacing the in-memory
access request polling. Notifications are created via notify(), persisted
to DB, and delivered in real-time over WebSocket with a 30s polling fallback.

Infrastructure:
- notifications + notification_preferences tables in EncryptID schema
- 10 CRUD functions in db.ts (create, list, count, read, dismiss, etc.)
- notification-service.ts: core notify(), WS registry, notifySpaceAdmins()
- notification-routes.ts: REST API at /api/notifications
- rstack-notification-bell.ts: bell icon component with dropdown panel

Module integration (11 hooks):
- spaces.ts: access_request, access_approved, access_denied, member_joined,
  member_left, role_changed
- index.ts WS handler: ping_user (24h expiry)
- encryptid/server.ts: guardian_accepted, recovery_initiated (owner + guardians),
  recovery_approved

Legacy cleanup:
- Removed access request polling, badge, and approve/deny UI from
  rstack-identity.ts (now handled by notification bell)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 18:59:09 -08:00
backlog chore: backlog tasks 87-101 for recent untracked work 2026-03-03 14:03:40 -08:00
db Add rSplat module — Gaussian splat viewer with x402 gated uploads 2026-02-21 20:55:45 +00:00
deploy/twenty-crm feat: add multi-workspace Twenty CRM support & CRM view component 2026-03-03 18:17:09 -08:00
docs feat: layered local-first data architecture — encrypted backup, relay persistence, at-rest encryption 2026-03-02 17:09:07 -08:00
lib feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
modules feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
public/.well-known fix: change WebAuthn RP ID from jeffemmett.com to rspace.online 2026-02-18 14:32:57 -07:00
scripts feat: Transak credit card → USDC fiat on-ramp for rFunds TBFF 2026-03-02 18:04:53 -08:00
server feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
shared feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
src feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
types fix: resolve all TypeScript build errors across modules 2026-02-23 19:42:44 -08:00
website feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
.dockerignore fix: make Docker build self-contained with local context 2026-02-16 18:51:24 -07:00
.gitignore refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
Dockerfile feat: move rApp secrets to Infisical, add seed script 2026-03-01 18:06:21 -08:00
Dockerfile.encryptid refactor: consolidate EncryptID into main docker-compose.yml 2026-03-02 19:36:17 -08:00
MODULE_SPEC.md docs: add MODULE_SPEC.md with permission model and capabilities 2026-02-17 12:30:14 -07:00
ONTOLOGY.md feat: add rSchedule module — persistent cron-based job scheduling 2026-03-03 14:34:53 -08:00
bun.lock feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
docker-compose.encryptid.yml feat: admin dashboard with user management and delete capabilities 2026-02-28 22:30:21 -08:00
docker-compose.standalone.yml refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
docker-compose.yml feat: add rSchedule module — persistent cron-based job scheduling 2026-03-03 14:34:53 -08:00
entrypoint.sh feat: Gemini AI integration + zine generator + fix Ollama network 2026-03-02 21:27:11 -08:00
package-lock.json fix: switch all module shell themes from light to dark 2026-02-24 19:42:33 -08:00
package.json feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
tsconfig.json fix: resolve all TypeScript build errors across modules 2026-02-23 19:42:44 -08:00
vite.config.ts feat: add universal reminders system with calendar integration & cross-module drag 2026-03-03 17:37:54 -08:00