SPB Git forge

spb/spb-cloud

Public
10commits 1branches 0releases
3.2 MBsize
maindefault branch
2 h agolast push
JavaScript 56.7% TypeScript 42.6%

History of lib/auth.ts · clear filter

  1. Sat, Feb 21, 2026 1

    1. feat: AI improvements, shared spaces, password manager & UX enhancements
      …
      ## New Features
      
      ### Password Manager
      - Full credential vault with AES-256-GCM encryption (lib/crypto.ts)
      - Password generator (length, charset options) + strength checker
      - Reveal/copy/edit/delete per entry with favicon icons
      - API routes: GET/POST /api/passwords, GET/PATCH/DELETE /api/passwords/[id]
      - Sidebar link added under "Mots de passe"
      
      ### Shared Spaces
      - Users can now create shared folders (not just admin)
      - CreateSharedFolderModal with user picker
      - Admin management page at /admin/shared-spaces
      - SharedSpaceManagement component + SharedBadge UI
      - User-facing shared space view at /dashboard/shared-space/[id]
      - Full API: list/create/update/delete spaces, members, storage quota
      
      ### Change Password
      - ChangePasswordModal with current/new/confirm fields + strength indicator
      - POST /api/auth/change-password with bcrypt verify & hash
      - Button in sidebar footer
      
      ## AI Improvements
      - Upgraded to claude-sonnet-4-6 with streaming SSE chat
      - Multi-turn conversation history support
      - react-markdown rendering for assistant messages
      - File mention detection: auto-attach PDF/image/text content to chat
      - New Analyser tab with file picker; Search results have Analyser/Download/Summarize actions
      - Fixed: legacy files with userId=null now included in all AI queries
      
      ## Other Improvements
      - Word document preview via mammoth.js (WordPreview plugin)
      - Colored file type icons in FileCard
      - Proper try/catch on all password API routes
      - Better error handling in frontend (network errors, non-JSON responses)
      - lib/prisma.ts cleanup for hot-reload stability
      
      Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
      simon-pierre boucher committed 7 mo ago · 1 file +6 −4
  2. Wed, Feb 18, 2026 1

    1. SPB Private Cloud v2.0 - Full-featured personal cloud
      …
      Multi-user system with roles (admin/user/viewer), TOTP 2FA authentication,
      AI-powered search/chat/OCR/auto-tagging via Claude Sonnet 4.5, AES-256
      encrypted storage, backup system, notification system, REST API with
      API keys, bulk file operations, folder ZIP download, light/dark theme,
      and mobile-first responsive design.
      
      Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
      simon-pierre boucher committed 7 mo ago · 1 file +38