mirror of
https://github.com/zadam/trilium.git
synced 2025-12-10 01:14:25 +01:00
- Add database migration v234 for multi-user schema - Implement users, roles, user_roles, and note_shares tables - Add user management service with CRUD operations - Implement role-based permission system (Admin/Editor/Reader) - Add RESTful user management API endpoints - Update login flow to support username + password authentication - Maintain backward compatibility with legacy password-only login - Create default admin user from existing credentials during migration - Add session management for multi-user authentication - Include TypeScript type definitions for Node.js globals Tests: 948 passed | 17 skipped (965 total) Build: Successful (server and client) TypeScript: Zero errors