Plugin & Theme System: - Add plugin type definitions, permissions (30+), and validation constants - Add IndexedDB storage layer for plugin code, theme CSS, and previews - Add theme CSS sanitization, injection, and safety validation - Add HookBus event system with 130+ hooks across 20 domains - Add plugin ZIP extraction and manifest validation with JS security checks - Add sandboxed PluginAPI factory with scoped storage, logging, and permission gating - Add plugin loader with blob URL dynamic import and auto-disable circuit breaker - Add 3 built-in themes (Nord, Catppuccin, Solarized) - Add Zustand plugin store with install/uninstall/enable/disable lifecycle - Add PluginSlot, PluginSlotRenderer, and PluginErrorBoundary components - Add plugins and themes settings UI panels - Integrate plugin slots into email viewer, composer, navigation rail, sidebar, and context menu - Extend theme store with custom theme installation and activation Admin Dashboard: - Add admin authentication with scrypt password hashing and AES-256-GCM sessions - Add rate-limited login (5 attempts/15min per IP) - Add config manager with admin override > env var > default priority - Add settings policy system with feature gates and per-setting restrictions - Add audit logging with rotation - Add admin API routes (login, logout, config, policy, audit, password change) - Add admin UI pages (login, dashboard, config, policy, audit) - Add policy store for client-side feature gate enforcement - Wire admin password initialization into server instrumentation Tests: - Add 139 tests across 10 test files covering all plugin/theme modules
98 lines
2.7 KiB
JSON
98 lines
2.7 KiB
JSON
{
|
|
"name": "bulwark-webmail",
|
|
"version": "1.4.8",
|
|
"description": "Bulwark Webmail — a modern webmail client built for Stalwart Mail Server",
|
|
"author": "Bulwark Webmail <bulwark@rbm.systems>",
|
|
"license": "AGPL-3.0-only",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bulwarkmail/webmail.git"
|
|
},
|
|
"homepage": "https://github.com/bulwarkmail/webmail",
|
|
"bugs": {
|
|
"url": "https://github.com/bulwarkmail/webmail/issues"
|
|
},
|
|
"keywords": [
|
|
"jmap",
|
|
"webmail",
|
|
"stalwart",
|
|
"email",
|
|
"nextjs",
|
|
"react",
|
|
"typescript"
|
|
],
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build --turbopack",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"lint:fix": "next lint --fix",
|
|
"test:translations": "vitest run lib/__tests__/translations.test.ts",
|
|
"prepare": "husky",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-virtual": "^3.13.18",
|
|
"@tiptap/extension-color": "^3.20.4",
|
|
"@tiptap/extension-image": "^3.20.4",
|
|
"@tiptap/extension-link": "^3.20.4",
|
|
"@tiptap/extension-placeholder": "^3.20.4",
|
|
"@tiptap/extension-text-align": "^3.20.4",
|
|
"@tiptap/extension-text-style": "^3.20.4",
|
|
"@tiptap/extension-underline": "^3.20.4",
|
|
"@tiptap/pm": "^3.20.4",
|
|
"@tiptap/react": "^3.20.4",
|
|
"@tiptap/starter-kit": "^3.20.4",
|
|
"asn1js": "^3.0.7",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"dompurify": "^3.3.3",
|
|
"jszip": "^3.10.1",
|
|
"lucide-react": "^0.575.0",
|
|
"next": "^16.1.5",
|
|
"next-intl": "^4.5.8",
|
|
"pkijs": "^3.3.3",
|
|
"postal-mime": "^2.7.4",
|
|
"pvtsutils": "^1.3.6",
|
|
"react": "^19.2.1",
|
|
"react-dom": "^19.2.1",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.4.0",
|
|
"webcrypto-liner": "^1.4.3",
|
|
"zustand": "^5.0.9"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.3",
|
|
"@playwright/test": "^1.58.2",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.1",
|
|
"@types/node": "^25.2.3",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
"@typescript-eslint/parser": "^8.49.0",
|
|
"@vitejs/plugin-react": "^5.1.2",
|
|
"@vitest/ui": "^4.0.16",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"fake-indexeddb": "^6.2.5",
|
|
"globals": "^17.0.0",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^28.1.0",
|
|
"tailwindcss": "^4.1.17",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.0.16"
|
|
},
|
|
"overrides": {
|
|
"elliptic": {
|
|
".": "^6.6.1",
|
|
"webcrypto-liner": "$elliptic"
|
|
},
|
|
"flatted": "^3.4.2",
|
|
"undici": "^7.24.0"
|
|
}
|
|
}
|