Skip to content

Add Departures Theme, Alarm Reminders, Security Hardening, and CI Improvements - #1

Merged
smnexstudio merged 1 commit into
mainfrom
feature/themes-and-alarms
Oct 28, 2026
Merged

smnexstudio merged 1 commit into
mainfrom
feature/themes-and-alarms

Conversation

@smnexstudio

Copy link
Copy Markdown
Owner

This PR introduces the Departures theme, persistent alarm reminders, enhanced privacy and security, improved event management architecture, and hardened build and release workflows.

UI & Theming

  • Add the Departures station-board theme with split-flap date tiles in light and dark modes, alongside Postcard.
  • Introduce configurable Theme (Postcard/Departures) and Mode (System/Light/Dark).
  • Replace the Android time dialog with a themed clock-face picker (TimeSheet).
  • Add event-specific card designs, editable card headings, and OFL-licensed Archivo, JetBrains Mono, and Great Vibes fonts.

Reminders

  • Support Notification, Alarm, or Both reminder modes.
  • Add persistent ringing alarms with AlarmSound and a lock-screen AlarmActivity.
  • Replace individual people-reminder alarms with a single rolling alarm to avoid Android's 500-alarm limit.
  • Clear legacy per-reminder alarms during the upgrade.
  • Add reminder diagnostics showing upcoming reminders, last sent status, refused alarms, and a shareable log without names or dates.

Privacy & Security

  • Require the real signing key for release builds; use the debug key and .debug application suffix for debug builds.
  • Harden notification and widget deep links by preserving link tokens, removing NEW_TASK after validation, and queueing links until navigation is ready.
  • Add lock-screen name hiding (enabled by default), screenshot protection, and strong-biometric-only app locking.
  • Improve backup security with explicit no-password opt-in, an eight-character minimum password, and authenticated format 2 headers while retaining support for older backups.
  • Add an erase-everything option and the ability to delete cards saved to the gallery.
  • Download festival dates only when festivals are enabled.
  • Show a Home-screen backup reminder when no recent backup exists.
  • Add SECURITY.md and PRIVACY.md, and document network activity explicitly in the README.

Architecture

  • Cache events and settings in memory and publish separate streams for events, settings, history, and festival dates.
  • Introduce typed Prefs definitions for settings keys, defaults, and backup rules.
  • Add a shared Agenda index for upcoming, missed, and per-day events.
  • Introduce type-safe Route navigation while preserving existing memora:// links.

Build, CI & Dependencies

  • Run wrapper validation, build, unit tests, and lint on every push and pull request.
  • Harden release automation with protected environments, SHA-pinned actions, lint checks, and a CycloneDX SBOM attached to each release.
  • Enable dependency locking through app/gradle.lockfile.
  • Add a quarterly dependency report that opens issues for outdated or vulnerable dependencies.
  • Update test-only Bouncy Castle to 1.85.2 and Guava to 33.7.2 to address five advisories.

Testing

  • Expand the test suite to 46 tests, including Robolectric coverage.
  • Cover backups and restore, typed preferences, PIN handling, Agenda indexing, rolling alarms, navigation routes, and deep-link validation.

Expected impact

  • More flexible appearance and reminder options.
  • More reliable alarms and navigation.
  • Stronger privacy, backup integrity, and release security.
  • Better maintainability through shared state, typed settings, and centralized event indexing.
  • Improved confidence through automated CI checks and expanded regression coverage.

…and security, authenticated backups, optimized event architecture, type-safe navigation, and hardened CI/CD with dependency auditing and comprehensive tests
@smnexstudio
smnexstudio merged commit 28f7e64 into main Oct 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant