Linus Rath
99d5276cfa
feat: add support for custom JMAP server endpoints in login and settings
2026-03-29 00:47:35 +01:00
Linus Rath
8d7cd26fa9
feat: enhance compose functionality with button integration and translations
2026-03-28 22:53:10 +01:00
Linus Rath
308adf0101
feat: add mail layout settings and update email list components
2026-03-28 01:40:41 +01:00
Linus Rath
574bd7ecef
fix: ensure draft editing function is called correctly in EmailViewer component #60
2026-03-28 00:52:28 +01:00
Linus Rath
af8ea8349e
fix: use UTC timestamps for timed event rendering
2026-03-28 00:33:38 +01:00
Linus Rath
ddb636ed73
feat: add auto-select reply identity feature with settings and localization
2026-03-27 23:58:42 +01:00
Linus Rath
92ff5fe449
feat: enhance calendar event handling with full-day detection and layout adjustments
2026-03-27 22:04:57 +01:00
Linus Rath
b5d471e9c8
feat: fix: enforce admin theme locks and repair theme ZIP bundles
2026-03-27 19:42:30 +01:00
Linus Rath
b868ad591d
feat: add calendar event normalization and sanitization functions with tests
2026-03-27 18:46:20 +01:00
Linus Rath
42734f16c3
feat: implement vacation responder functionality with UI integration and localization
2026-03-27 18:32:02 +01:00
Linus Rath
66cdfe64ce
fix: prevent infinite re-render loop on calendar page
2026-03-27 17:40:28 +01:00
Linus Rath
415c961937
feat: enforce forced/managed plugins and policy. Split user upload permission
2026-03-27 16:33:17 +01:00
Linus Rath
a9002763e2
feat: show admin panel in sidebar for Stalwart admin users
2026-03-27 01:53:16 +01:00
Linus Rath
b75d064f20
feat: add plain text only setting for email composer #105
2026-03-27 00:38:11 +01:00
Linus Rath
a46fb9c8af
feat: implement rate limiting handling in JMAPClient #104
2026-03-27 00:22:40 +01:00
Linus Rath
6696636df8
feat: implement Stalwart admin authentication and role check across admin routes
2026-03-26 20:21:12 +01:00
Linus Rath
37bc88dbad
feat: implement force enable/disable functionality for plugins and themes
2026-03-26 18:59:30 +01:00
Linus Rath
7a191cf78b
fix: resolve all 69 ESLint warnings across 40 files
...
- Remove unused imports (Mail, CalendarIcon, Plus, Circle, cn, Link,
MessageCircle, User, Tag, FolderUp, useEffect, LogOut, GripVertical,
Check, X, HoverActionsMode, HoverActionsCorner, asn1js, Convert, etc.)
- Prefix unused variables/params with underscore to satisfy no-unused-vars
- Add missing React hook dependencies (exhaustive-deps)
- Wrap handleNavigateUp in useCallback and selectedGroupMembers in useMemo
- Remove unused eslint-disable directives in jmap/client.ts
- Replace as any with typed casts in filter-store and smime-store tests
- Remove dead code (macOk assignment, unused now variable)
2026-03-26 18:35:56 +01:00
Linus Rath
9b25b6d03e
fix: adjust contact and calendar page for mobile layout #103
2026-03-26 16:30:20 +01:00
Linus Rath
4da1b7d8fc
feat: update file upload size handling to use dynamic max size #96
2026-03-26 13:04:34 +01:00
Linus Rath
4af20b8dc0
refactor: update styling and color classes across components
...
- Changed error message styling in ICalImportModal to use new color classes.
- Updated task completion styling in TaskListView to use new success color classes.
- Modified selected styling in ContactListItem tests to reflect new background class.
- Adjusted duplicate warning styling in ContactImportDialog to use new warning color classes.
- Refactored background and border colors in CalendarInvitationBanner for various statuses.
- Updated email list item and viewer components to use new warning and success color classes.
- Refined styling for unread indicators in email components.
- Enhanced error fallback styling in error components to use new warning color classes.
- Updated filter rule modal button hover styles to use new destructive color classes.
- Added experimental feature descriptions in Plugins and Themes settings.
- Refined vacation settings validation warning styling to use new warning color classes.
- Updated toast component styles to use new color classes for different states.
- Introduced a new built-in theme 'Qui' with specific color variables.
- Adjusted email security status colors to use new warning color classes.
2026-03-25 23:11:30 +01:00
Linus Rath
f64306be5e
feat: integrate policy checks for feature enablement in calendar, folder, and plugins settings
2026-03-25 11:06:35 +01:00
Linus Rath
05f6d61cea
feat: reorganize admin layout and enhance dashboard with settings sections
2026-03-25 10:58:05 +01:00
Linus Rath
0174051f3e
fix: enhance draft editing by fetching full email content when necessary #60
2026-03-25 10:36:47 +01:00
Linus Rath
136686f230
feat(settings): enhance error handling for settings operations and improve logging
2026-03-25 10:21:05 +01:00
Linus Rath
54981950b0
feat(plugins): resizable collapsible detail sidebar, auto-init on refresh
...
- Add email-detail-sidebar slot type for right-side plugin panels
- Plugin sidebar inside EmailViewer with ResizeHandle (200-500px, drag/dbl-click reset)
- Collapse/expand toggle with PanelRightClose/PanelRightOpen icons
- Call initializePlugins() on mount so plugins survive page refresh
- Fix plugin loader: call exposePluginExternals() before loading
- Fix CSP: add blob: to script-src for plugin bundle loading
- Fix enablePlugin: wire slot registration bridge before loading
- Fix email-banner PluginSlot: pass email via extraProps
- Fix sidebar-widget PluginSlot: move inside scrollable area
- Emit emailHooks.onEmailOpen/onEmailClose from selectEmail()
2026-03-25 00:44:05 +01:00
Linus Rath
29a222eef4
feat: add plugin/theme disable gates and move policy controls to their admin pages
...
- Add `pluginsEnabled` and `themesEnabled` master feature gates to FeatureGates
- Move theme policy UI (default theme, built-in/admin theme toggles, user uploads toggle) from policy page to themes admin page
- Add plugin policy UI (plugins enabled toggle) to plugins admin page
- Remove theme policy section and plugin/theme gates from policy page (with note directing to respective pages)
- Hide Themes and Plugins settings tabs when their feature gate is disabled
- Fix dark mode visibility of all admin toggle switches (bg-white → bg-background, increase off-state track opacity)
2026-03-25 00:44:04 +01:00
Linus Rath
76b21147e4
feat: add plugin/theme harness and admin dashboard
...
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
2026-03-25 00:44:03 +01:00
Linus Rath
d666bddbc4
fix: improve error handling for user settings retrieval in GET and settings store
2026-03-24 14:20:10 +01:00
Linus Rath
55c8d430ca
chore: update version to 1.4.8
2026-03-23 16:59:24 +01:00
Linus Rath
f7ee204262
feat: add support for marking emails as answered or forwarded and update UI accordingly
2026-03-23 15:45:37 +01:00
Linus Rath
13010c158d
feat: implement path prefix handling for OAuth and login redirects
2026-03-24 14:44:42 +01:00
Linus Rath
8eff9fdfab
feat: add notification settings with sound picker and preview
2026-03-22 01:55:21 +01:00
Linus Rath
d915e5fb64
feat: add all multi-part TLDs for domain validation #81
2026-03-21 21:33:55 +01:00
Linus Rath
31eee4bab9
chore: bump version to 1.4.7
2026-03-21 20:45:57 +01:00
Linus Rath
f04b97d52a
fix: handle updates and deletions for synthetic JMAP IDs in calendar events
2026-03-21 20:45:23 +01:00
Linus Rath
df272e38ef
feat: add resizable image component and rich text editor with image upload support
2026-03-21 20:45:23 +01:00
Linus Rath
30284859c7
feat: add task management features to calendar
2026-03-21 20:45:22 +01:00
Linus Rath
83a0a1e235
feat: add non-interactive SSO login flow for embedded/iframe deployments ( closes #69 )
2026-03-21 20:45:19 +01:00
Linus Rath
4c2d185be4
fix: refactor logout to use synchronous flow with full page redirect
...
- Rewrite logout() from async to synchronous to prevent React re-renders with stale state
- Replace router.push('/login') with redirectToLogin() (window.location.replace) in all page auth guards for reliable navigation in Edge/Safari
- Add performFullLogout() helper that clears auth state, feature stores, and localStorage
- Fix persist middleware partialize to return {} when not authenticated, preventing state resurrection
- Use keepalive fetch for background cookie/token cleanup so redirect fires immediately
- Remove unused useRouter imports from page.tsx and contacts/page.tsx
- Simplify all page logout handlers to directly call logout()
Fixes #63
2026-03-21 20:45:17 +01:00
Linus Rath
c73940e22a
feat: add option to show week numbers in mini-calendar
2026-03-21 20:45:16 +01:00
Linus Rath and GitHub
8c9cf3a66b
Bump app version from 1.4.3 to 1.4.6
2026-03-21 03:29:17 +01:00
Linus Rath
089583a9ef
feat(contacts): add no-category filter, drag-drop to category, and category combo box
...
- Add 'No Category' sidebar item to filter uncategorized contacts
- Categories section now always visible (not just when keywords exist)
- Add drag-and-drop support on category items in sidebar to assign keywords
- Fix effectAllowed mismatch (move -> copyMove) for category drop targets
- Replace plain text categories input with combo box in contact edit form
- Shows existing categories as clickable suggestions
- Displays assigned categories as removable badges
- Supports adding new categories inline
- Add translations for all 8 locales
2026-03-21 03:04:36 +01:00
Linus Rath
2547c10060
feat: add demo data for emails, files, filters, identities, mailboxes, vacation responses, and JMAP client interface
...
- Created demo emails with various states (inbox, sent, drafts, trash, etc.) in `emails.ts`.
- Added demo file nodes representing directories and files in `files.ts`.
- Implemented demo Sieve capabilities and scripts in `filters.ts`.
- Defined demo identities for users in `identities.ts`.
- Established demo mailboxes with permissions and counts in `mailboxes.ts`.
- Created a demo vacation response in `vacation.ts`.
- Introduced a comprehensive JMAP client interface in `client-interface.ts` to standardize interactions with the JMAP API.
2026-03-21 01:38:42 +01:00
Linus Rath
d68b81e6b8
chore: bump version to 1.4.5
2026-03-20 18:10:00 +01:00
Linus Rath
68e141b787
feat: add mobile visibility toggle for sidebar apps and update related components
2026-03-20 17:44:26 +01:00
Linus Rath
65fc489b9c
feat: add pending event preview functionality to calendar views and event modal
2026-03-20 17:21:44 +01:00
Linus Rath
bd686c092c
fix: validate event start field when fetching calendar events
2026-03-20 17:11:36 +01:00
Linus Rath
8a54ae2456
feat: add NotFound component to handle 404 errors and redirect unauthenticated users
2026-03-20 16:31:57 +01:00
Linus Rath
e26654a005
fix: enhance account switching logic and clear stores on account change
2026-03-20 16:29:32 +01:00