Skip to content

v1.1.0

Latest

Choose a tag to compare

@lfilho lfilho released this 28 Sep 03:57

Added

  • Optional Google Calendar provider (provider = "google"), alongside the existing macOS Calendar.app provider (provider = "macos-calendar", still the default). Each user authenticates with their own free Google Cloud OAuth client — no plugin-hosted infrastructure, no shared backend. See docs/google-calendar-setup.md.
    • RFC 8252-style OAuth loopback login (:Note2calGoogleLogin / :Note2calGoogleLogout).
    • Layered credential storage: native OS keychain (macOS Keychain / Linux Secret Service / Windows DPAPI) first, GPG-encrypted file fallback, with an explicit plain-file opt-in — never silently plaintext.
    • client_id/client_secret are env-var only (NOTE2CAL_GOOGLE_CLIENT_ID/NOTE2CAL_GOOGLE_CLIENT_SECRET), never valid setup() fields, so they can't accidentally end up committed in a public dotfiles repo.

Fixed

  • Google OAuth login silently failing after the browser redirect in some cases (query-param parsing order, a closure-scoping bug in the loopback server).
  • Local test toolchain (scripts/test.sh) pinned to lua@5.1 instead of an unversioned lua/busted, which had drifted broken after an unrelated Homebrew Lua upgrade.

Docs

  • New Google Calendar setup guide with required steps for OAuth consent screen, credentials, and Calendar API enablement (including a required propagation-wait step to avoid a common "API not enabled" error).