cp.nvim/scrapers
Barrett Ruth 291de4e137
fix: expand language IDs, fix AtCoder submit, normalize logging (#353)
## Problem

Language version coverage was incomplete across all platforms, AtCoder
submit used a stale cookie fast-path that caused silent failures, and
raw
`vim.notify` calls throughout the codebase produced inconsistent or
missing `[cp.nvim]:` prefixes.

## Solution

Remove cookie persistence from AtCoder login/submit (always fresh
login),
increase the submit nav timeout to 40s, and switch to in-memory buffer
upload with the correct per-language extension from a full
`_LANGUAGE_ID_EXTENSION`
map covering all 116 AtCoder languages. Expand `LANGUAGE_VERSIONS` in
`constants.lua` with all AtCoder languages, 15 new CF languages with
full
version variants, and 50+ Kattis languages. Fix AtCoder `prolog` ID
(`6079`→`6081`, was Pony) and remove the non-existent `racket` entry.
Replace all raw `vim.notify` calls with `logger.log`. Simplify the
submit
language doc to point at `constants.lua` rather than maintaining a
static table.
2026-03-06 21:35:13 -05:00
..
__init__.py lol 2025-09-24 21:23:06 -04:00
atcoder.py fix: expand language IDs, fix AtCoder submit, normalize logging (#353) 2026-03-06 21:35:13 -05:00
base.py feat: validate credentials on :CP <platform> login (#310) 2026-03-05 15:12:09 -05:00
codechef.py fix(login): remove cookie fast-path from login subcommand (#344) 2026-03-06 17:53:22 -05:00
codeforces.py fix(login): remove cookie fast-path from login subcommand (#344) 2026-03-06 17:53:22 -05:00
cses.py fix: language version IDs, cache crash, and stress session restore (#352) 2026-03-06 20:22:28 -05:00
kattis.py fix: expand language IDs, fix AtCoder submit, normalize logging (#353) 2026-03-06 21:35:13 -05:00
language_ids.py fix: expand language IDs, fix AtCoder submit, normalize logging (#353) 2026-03-06 21:35:13 -05:00
models.py feat: race countdown support and language version selection (#346) 2026-03-06 18:18:21 -05:00
timeouts.py fix: expand language IDs, fix AtCoder submit, normalize logging (#353) 2026-03-06 21:35:13 -05:00
usaco.py feat: race countdown support and language version selection (#346) 2026-03-06 18:18:21 -05:00