shuki and Linus Rath
a7db3883aa
feat: apiFetch helper for mount-prefix-aware API calls
...
Makes every client-side fetch('/api/...') call respect the mount prefix
when Bulwark is served behind a reverse proxy at a sub-path (e.g.
`/webmail`).
### Problem
`getPathPrefix()` (added in 1.4.13 by #XXX / d762b94) already fixes
router navigation and redirect URIs for reverse-proxy deployments.
Client-side `fetch()` calls, though, still target the browser origin:
await fetch('/api/foo')
// Browser at /webmail/en/inbox → hits /api/foo (not proxied → 404)
That means the login flow, session establishment, settings save, plugin
loader, calendar import, etc. all break the moment you front Bulwark
with nginx (or any proxy) at a sub-path.
### Fix
Add `apiFetch(input, init)` next to `getPathPrefix()` in
`lib/browser-navigation.ts`. It prepends the mount prefix to any
absolute path at call time:
await apiFetch('/api/foo')
// /webmail/en/inbox → /webmail/api/foo
// /en/inbox → /api/foo
Same runtime-detection model as `getPathPrefix()` — the built bundle
works at any mount point without rebuilding or env-var config.
Protocol-relative (`//cdn...`) and absolute (`https://...`) URLs pass
through unchanged. Server-side route handlers are untouched (the mount
prefix is a browser-only concept).
### Migration
Mechanical rewrite of every client-side `fetch('/api/...')` call in
hooks/, lib/, stores/, components/, app/ — 99 call sites across
26 files. `route.ts` handlers and other server-only files are skipped.
### Compat
- No behaviour change when mounted at `/` (the common case): an empty
prefix + raw path is identical to raw path.
- No new config knobs, env vars, or build flags.
- Supersedes PR #181 (which required a build-time `NEXT_PUBLIC_BASE_PATH`)
— will close #181 after this lands.
### Testing
Should run the existing suite; smoke-tested by Jabali Panel which
reverse-proxies Bulwark at `/webmail/` (https://github.com/shukiv/jabali-panel ).
2026-04-14 14:37:19 +02:00
Linus Rath
168b36d419
fix: add calendarAddress and replyTo to calendar participants for Stalwart compatibility #189 #192
2026-04-14 14:26:28 +02:00
Linus Rath
d24f402b0c
fix: style links in plain text emails
2026-04-12 01:38:53 +02:00
Linus Rath
927a3b8b11
feat: store trusted senders in a dedicated JMAP address book #176
2026-04-12 01:10:28 +02:00
Linus Rath
4ad8396adc
fix: remount composer on draft edit and preserve identity #60
2026-04-12 00:11:36 +02:00
Linus Rath
18d9b9adf6
fix: include mount prefix in SSO redirect URI when app is served under a subpath
2026-04-11 22:05:56 +02:00
Linus Rath
88d87be685
fix: correct PWA icons with proper sizing, transparency, and dark/light mode support
2026-04-10 19:26:12 +02:00
Linus Rath
4f54f768e8
Feat: enable keyword reordering #174 and multi-tag support per email #173
2026-04-10 17:31:13 +02:00
Pascal Dietrich and Linus Rath
f9052eb23f
feat: add SESSION_SECRET_FILE and OAUTH_CLIENT_SECRET_FILE env vars
2026-04-09 22:13:08 +02:00
Linus Rath
d0cc439fd1
feat: add automatic identity synchronization ( #167 )
2026-04-09 19:39:04 +02:00
Linus Rath
6499da6281
feat: sync mail view to browser history for back/forward navigation
2026-04-08 22:20:36 +02:00
Linus Rath
63593e2146
fix: use fetch param type instead of RequestInit
2026-04-08 13:18:07 +02:00
Linus Rath
10cbe7a637
fix: stream WebDAV PUT uploads to avoid buffering in memory #162
2026-04-08 13:16:28 +02:00
Linus Rath
ffad3ea78b
feat: Ability to rename address book #152
2026-04-08 13:05:42 +02:00
Linus Rath
3d76fe6d75
fix: focused mode expanding to the right of the screen #156
2026-04-08 12:43:48 +02:00
Linus Rath
4aac65d7d2
feat: add birthday calendar feature with settings and localization
2026-04-03 22:45:07 +02:00
Linus Rath
14ecae61dc
feat: enhance error handling in Stalwart API responses
2026-04-03 15:10:11 +02:00
Linus Rath
5aad97d64e
feat: add PWA support with service worker and install prompt
2026-04-03 04:39:19 +02:00
Linus Rath
c4673acb65
fix: replace unguarded crypto.randomUUID() with safe generateUUID() utility
2026-04-02 14:51:21 +02:00
Linus Rath
1bdc51dcc7
feat: implement version badge and easter egg in settings
2026-04-02 14:31:25 +02:00
Linus Rath
6ee0f6a40a
feat: disable plugins by default, require admin approval
2026-04-02 13:50:02 +02:00
Linus Rath
8836f9cdca
fix: wrap handleArchive call to prevent MouseEvent leaking as argument
2026-04-02 11:19:36 +02:00
Linus Rath
26bfe9cb6c
fix: extend file drop zone to fill remaining viewport height
2026-04-02 11:14:38 +02:00
Linus Rath
6173a9ad13
fix: resolve settings sync Identity mismatch for OAuth/SSO sessions #127
2026-04-02 10:54:35 +02:00
Linus Rath
aa40c8be26
fix: harden proxy auth and SSRF defenses
2026-03-31 17:47:09 +02:00
Linus Rath
34dd5122b3
feat: logging to include categories for better log management
2026-03-31 16:31:27 +02:00
Linus Rath
66fe7fd359
fix: enhance security by blocking plugins with dangerous JS patterns and enforcing strict session secret length
2026-03-31 15:56:32 +02:00
Linus Rath
f6bec519f4
fix: update file feature disabled messages and add stability warnings
2026-03-31 15:18:13 +02:00
Linus Rath
a3d894730b
fix: hardened security, CSP enforcement, SSRF redirect validation, reenabled S/MIME chain verify, IP spoofing prevention, PDF iframe sandbox
2026-03-31 15:11:38 +02:00
Linus Rath
68214c3e91
chore: update version to 1.4.10
2026-03-31 00:51:36 +02:00
Linus Rath
5da0e2bdf1
fix: patch critical auth bypass and credential leak vulnerabilities
2026-03-31 00:46:15 +02:00
Linus Rath
aaa283357e
feat: implemented plugin configuration UI and calendar event action slot
...
- Add configSchema support to plugin manifest and ServerPlugin registry
- Add schema-driven admin config page (string, secret, boolean, number, select fields)
- Add per-plugin config storage backend (JSON files + REST API)
- Add calendar-event-actions and admin-plugin-page slot names to plugin store
- Add registerCalendarEventAction and registerAdminPage to plugin API
- Add calendarFormHooks (onCalendarEventFormOpen/Save) to hook bus
- Add PluginSlot in calendar event modal for plugin action buttons
- Style calendar event action buttons to match Bulwark outline button design
- Add Configure link per plugin in admin plugins dashboard
- Add Jitsi Meet plugin with tests (repos/plugins/jitsi-meet)
- Exclude data/admin/plugins from ESLint (deployed plugin bundles)
2026-03-30 21:12:05 +02:00
Linus Rath
67210c9924
fix: handle 2FA/TOTP session expiry with basic auth #117
2026-03-30 16:37:07 +02:00
Linus Rath
c512352f77
fix: add replyToAddresses to email composer
2026-03-30 15:27:50 +02:00
Linus Rath
4c853f176b
feat: add iCal subscription editing and batch event import
2026-03-29 18:27:16 +02:00
Linus Rath
75b5d31414
feat: implement client-side recurrence expansion for calendar events
2026-03-29 17:12:30 +02:00
Linus Rath
02577c7502
feat: add calendar hover preview settings and functionality
2026-03-29 14:10:28 +02:00
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