pending.nvim/spec
Barrett Ruth 17774b1355 refactor(forge): simplify auth gating and rename gitea_backend
Problem: forge auth/warning logic was scattered through
`fetch_metadata` — per-API-call auth status checks, `_warned` flags,
and `warn_missing_cli` conditionals on every fetch.

Solution: replace `_warned` with `_auth` (cached per session), add
`is_configured()` to skip unconfigured forges entirely, extract
`check_auth()` for one-time auth verification, and strip
`fetch_metadata` to a pure API caller returning `ForgeFetchError`.
Gate `refresh` and new `validate_refs` with both checks. Rename
`gitea_backend` to `gitea_forge`.
2026-03-11 12:16:40 -04:00
..
archive_spec.lua fix(sync): normalize log prefixes and S3 prompt UX (#115) 2026-03-08 20:56:22 -04:00
complete_spec.lua refactor(config): remove legacy gcal top-level config key (#51) 2026-02-26 22:53:51 -05:00
diff_spec.lua Revert "feat(diff): disallow editing done tasks by default (#132)" (#133) 2026-03-10 22:45:07 -04:00
edit_spec.lua refactor: organize tests and dry (#49) 2026-02-26 20:03:42 -05:00
filter_spec.lua refactor: organize tests and dry (#49) 2026-02-26 20:03:42 -05:00
forge_spec.lua refactor(forge): simplify auth gating and rename gitea_backend 2026-03-11 12:16:40 -04:00
gtasks_spec.lua feat(sync): diff metadata preservation, auth unification, and sync quality improvements (#74) 2026-03-05 22:40:19 -05:00
helpers.lua test: add store, parse, and diff specs 2026-02-24 15:10:09 -05:00
icons_spec.lua refactor(icons): ascii defaults, checkbox overlays, and cleanup (#57) 2026-03-04 18:44:41 -05:00
oauth_spec.lua fix(sync): auto-trigger auth flow on unauthenticated sync actions (#120) (#123) 2026-03-10 11:37:16 -04:00
parse_spec.lua feat(archive): duration syntax and confirmation prompt (#113) 2026-03-08 20:28:06 -04:00
recur_spec.lua feat: omnifunc completion, recurring tasks, expanded date syntax (#27) 2026-02-25 13:27:52 -05:00
s3_spec.lua fix(sync): auto-trigger auth flow on unauthenticated sync actions (#120) (#123) 2026-03-10 11:37:16 -04:00
status_spec.lua refactor: organize tests and dry (#49) 2026-02-26 20:03:42 -05:00
store_spec.lua feat(buffer): persist fold state across sessions (#94) 2026-03-07 20:18:34 -05:00
sync_spec.lua feat: auth backend (#111) 2026-03-08 19:53:42 -04:00
sync_util_spec.lua feat(sync): s3 backend (#112) 2026-03-08 20:20:16 -04:00
textobj_spec.lua feat: text objects and motions for the pending buffer (#39) 2026-02-26 16:28:58 -05:00
views_spec.lua feat: auth backend (#111) 2026-03-08 19:53:42 -04:00