pending.nvim/lua/pending
Barrett Ruth 25c8bd4eb0 refactor(sync): extract shared OAuth into oauth.lua
Problem: `gcal.lua` and `gtasks.lua` duplicated ~250 lines of identical
OAuth code (token management, PKCE flow, credential loading, curl
helpers, url encoding).

Solution: Extract a shared `OAuthClient` metatable in `oauth.lua` with
module-level utilities and instance methods. Both backends now delegate
all OAuth to `oauth.new()`. Skip `oauth` in `health.lua` backend
discovery by checking for a `name` field.
2026-03-05 01:17:47 -05:00
..
sync refactor(sync): extract shared OAuth into oauth.lua 2026-03-05 01:17:47 -05:00
buffer.lua refactor(icons): ascii defaults, checkbox overlays, and cleanup (#57) 2026-03-04 18:44:41 -05:00
complete.lua refactor: remove file token feature (#50) 2026-02-26 22:41:38 -05:00
config.lua feat(gtasks): add Google Tasks bidirectional sync 2026-03-05 00:58:52 -05:00
diff.lua refactor(icons): ascii defaults, checkbox overlays, and cleanup (#57) 2026-03-04 18:44:41 -05:00
health.lua refactor(sync): extract shared OAuth into oauth.lua 2026-03-05 01:17:47 -05:00
init.lua refactor(cli): promote sync backends to top-level subcommands 2026-03-05 00:59:00 -05:00
parse.lua refactor: remove file token feature (#50) 2026-02-26 22:41:38 -05:00
recur.lua feat: time-aware due dates, persistent undo, @return audit (#33) 2026-02-25 20:37:50 -05:00
store.lua refactor: organize tests and dry (#49) 2026-02-26 20:03:42 -05:00
textobj.lua feat: text objects and motions for the pending buffer (#39) 2026-02-26 16:28:58 -05:00
views.lua refactor(icons): ascii defaults, checkbox overlays, and cleanup (#57) 2026-03-04 18:44:41 -05:00