pending.nvim/lua/pending
Barrett Ruth 90f1378cb6 refactor(sync): centralize with_token in oauth.lua with shared lock
Problem: `with_token` was duplicated in `gcal.lua` and `gtasks.lua`,
with the concurrency lock added only to the gtasks copy. Any new
backend would silently inherit the same race, and gcal back-to-back
push could still create duplicate remote calendar events.

Solution: lift `with_token` into `oauth.lua` as
`M.with_token(client, name, callback)` behind a module-level
`_sync_in_flight` guard. All backends share one implementation; the
lock covers gcal, gtasks, and any future backend automatically.
2026-03-06 16:03:46 -05:00
..
sync refactor(sync): centralize with_token in oauth.lua with shared lock 2026-03-06 16:03:46 -05:00
buffer.lua feat: warn on dirty buffer before store-dependent actions (#83) 2026-03-06 12:08:10 -05:00
complete.lua refactor: remove file token feature (#50) 2026-02-26 22:41:38 -05:00
config.lua feat(sync): add opt-in remote deletion for gcal and gtasks (#85) 2026-03-06 13:12:53 -05:00
diff.lua fix: empty buffer placeholder and checkbox pattern fixes (#82) 2026-03-06 12:07:52 -05:00
health.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
init.lua feat: :Pending auth subcommands + fix #61 (#84) 2026-03-06 12:36:47 -05:00
log.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
parse.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
recur.lua feat: time-aware due dates, persistent undo, @return audit (#33) 2026-02-25 20:37:50 -05:00
store.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
textobj.lua fix(diff): preserve due/rec when absent from buffer line (#68) 2026-03-05 12:46:54 -05:00
views.lua feat: warn on dirty buffer before store-dependent actions (#83) 2026-03-06 12:08:10 -05:00