Отдельный файл отчёта для этой задачи не найден или не указан. Показан сохранённый результат задачи.
You can now upload an XLSX or CSV timesheet, map its sheet and columns, tick the rows to submit, and check them in a Dry Run. Nothing is written to Coral Time. The full test suite passes (253 tests), but I haven't looked at the pages in a browser because none is installed on the server, so the mobile and desktop layout still needs a manual look.
Root cause. An earlier attempt had left an import module that couldn't work:
preview.html), and a function it called was never imported.openpyxl and python-multipart were missing from requirements.txt.I removed that code and rewrote it.
How it works now
POST /import accepts .xlsx, .xlsm and .csv up to 8 MB, with an optional "Project for all rows" field. Nothing is pre-selected.Timesheet, row 4. The other sheets stay in the worksheet dropdown, and you can type a header row or clear the field to detect again.DD.MM.YYYY, DD.MM.YY, ISO and DD/MM/YYYY.7,5, 7.5, 7.5h, 7:30 or Excel time cells, between 0 and 24.;, , or tab.Total/Summe rows) show their error and their checkbox is disabled./import/{token}/dry-run): a "No Coral write" banner, the rows to be submitted and the excluded rows, and selected hours split by Internal/External and by day. The Submit to Coral Time button is disabled. snapshot.json returns the safe snapshot (coral_write: false, never the file contents).Files changed: app/imports/ (new), app/main.py, app/views.py, app/templates/index.html, new app/templates/dry_run.html, new app/static/js/import.js, app/static/css/app.css, app/templates/base.html, requirements.txt, README.md.
Tests added: test_import_parsing.py, test_import_review.py, test_import_web.py and test_import_no_writes.py. They cover file parsi
[truncated]