cp.nvim/lua/cp
Barrett Ruth ab67270472 fix: expand language IDs, fix AtCoder submit, normalize logging
Problem: AtCoder submit used a cookie fast-path that silently failed on
stale sessions; `_LANGUAGE_ID_EXTENSION` only covered 2 of 116 languages;
`LANGUAGE_VERSIONS` was incomplete for AtCoder, CF, and Kattis; AtCoder
`prolog` and `racket` entries had wrong IDs. Raw `vim.notify` calls
throughout bypassed `logger.log`, producing inconsistent or missing
`[cp.nvim]:` prefixes.

Solution: Remove cookie persistence from AtCoder login/submit — always
use a fresh login within a single session. Increase
`BROWSER_SUBMIT_NAV_TIMEOUT["atcoder"]` to 40s and switch to in-memory
buffer upload with the correct per-language extension. Expand
`LANGUAGE_VERSIONS` with all 116 AtCoder languages, 15 new CF languages
with full version variants (java8/21, kotlin 1.7/1.9/2.2, rust 2021/2024,
etc.), and 50+ Kattis languages. Fix AtCoder `prolog` ID (`6079`→`6081`,
was Pony) and remove non-existent `racket` entry. Replace all raw
`vim.notify` calls with `logger.log`.
2026-03-06 21:28:21 -05:00
..
commands refactor(race): replace :CP race with --race flag (#347) 2026-03-06 18:33:42 -05:00
pickers fix: expand language IDs, fix AtCoder submit, normalize logging 2026-03-06 21:28:21 -05:00
runner fix(submit): use file path over stdin; fix CF CodeMirror textarea (#305) 2026-03-05 14:34:14 -05:00
ui fix: cancel active process on contest switch (#316) 2026-03-05 17:42:50 -05:00
cache.lua fix(cache): skip non-table entries in get_contest_summaries 2026-03-06 20:20:04 -05:00
config.lua fix: expand language IDs, fix AtCoder submit, normalize logging 2026-03-06 21:28:21 -05:00
constants.lua fix: expand language IDs, fix AtCoder submit, normalize logging 2026-03-06 21:28:21 -05:00
credentials.lua feat: validate credentials on :CP <platform> login (#310) 2026-03-05 15:12:09 -05:00
health.lua fix: replace deprecated vim.loop with vim.uv 2026-02-26 22:45:07 -05:00
helpers.lua feat(ui): auto-hide source buffer on close 2025-10-24 14:47:12 -04:00
init.lua fix: expand language IDs, fix AtCoder submit, normalize logging 2026-03-06 21:28:21 -05:00
log.lua fix(submit): use file path over stdin; fix CF CodeMirror textarea (#305) 2026-03-05 14:34:14 -05:00
race.lua fix: expand language IDs, fix AtCoder submit, normalize logging 2026-03-06 21:28:21 -05:00
restore.lua fix(submit): use file path over stdin; fix CF CodeMirror textarea (#305) 2026-03-05 14:34:14 -05:00
scraper.lua feat(race): notification tiers, drift correction, and T=0 retry (#348) 2026-03-06 18:43:12 -05:00
setup.lua refactor: remove open_url config option in favour of :CP open (#322) 2026-03-05 22:55:43 -05:00
state.lua refactor(run): remove I/O view test navigation keymaps 2026-03-04 00:26:22 -05:00
stress.lua done 2026-03-06 20:22:19 -05:00
submit.lua fix: expand language IDs, fix AtCoder submit, normalize logging 2026-03-06 21:28:21 -05:00
utils.lua fix: expand language IDs, fix AtCoder submit, normalize logging 2026-03-06 21:28:21 -05:00
version.lua fix: refactor 2025-09-21 11:19:00 -04:00