mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 16:05:39 +00:00
32b5298cdd66546b945f61a0ce556543662d4078
queryEvents used to ignore its after/before arguments and ask Stalwart for every event in the account with limit:1000. When an account holds more than one page of events, the response was silently capped and the grid rendered empty for the visible month — the missing events sat past the truncation, never fetched. Meanwhile any recurring master whose base start predates the window was returned exactly the same way, so the client-side recurrence expander (already wired) never saw it. Now the query sends after/before as a real filter ANDed with the inCalendar restriction, and iterates position by page size until a short page comes back (or 20 pages, as a bug backstop). Stalwart's matcher accepts a master when any occurrence overlaps the window, so the expander gets the raw event and produces the visible occurrences. The refactor factors buildEventFilter() so the calendar / no-calendar and window / no-window combinations produce the right filter shape (single condition, AND, or absent). Tests updated to lock the new filter shape and to cover the paging path (regression: 1000 events that used to become 1000, now 1002). Picked up from Jim Preston's uncommitted diff in the sister worktree during the 2026-08-03 diagnostic session (artifact PkOWkT8C).
Bulwark Mobile
Beta - work in progress. Many features are unfinished or rough. Expect bugs, missing functionality, and breaking changes between releases. Do not rely on this for primary email yet.
React Native (Expo SDK 54) client for Bulwark Webmail - a JMAP-based mail, calendar, and contacts app.
What works today
- Sign in to any JMAP server (e.g. Stalwart)
- Multiple accounts
- Email list, threads, compose
- Calendar (basic)
- Contacts (basic)
- Push notifications via FCM relay
- In-app sideload updates from GitHub Releases
What's missing or rough
- iOS builds, but push notifications and client certificates are Android-only so far
- Filters & rules, S/MIME, plugins, themes, file storage - UI stubs only
- Calendar editing is partial; contacts editing is basic
- No Play Store distribution yet (sideload APK from Releases); iOS ships via TestFlight
Run locally
npm install
npx expo start
Then press a for Android, i for iOS, or scan the QR with Expo Go.
For a release APK build see .github/workflows/release-android.yml. For iOS builds and TestFlight distribution see docs/ios-release.md.
License
AGPL-3.0-only. See LICENSE.
Languages
TypeScript
96%
Kotlin
2.1%
JavaScript
0.9%
Swift
0.4%
HTML
0.3%
Other
0.2%