Commit Graph
180 Commits
Author SHA1 Message Date
“Naeel” d2894ad7c5 v2.0.13: этап 3 — выбор папок + рекурсивный клиентский ZIP
Deploy contracts-flask / validate (push) Canceled after 0s
- pages_bp: route /upload/<path> отдаёт ES-модули upload/frontend
- index.html: инпут папки (webkitdirectory) + мост listZipFiles
- files.js: expandZipClient (рекурсивный ZIP через drhider listZipFiles)
- app.js: обработчик выбора папки (фильтр .pdf/.doc/.docx/.zip)
2026-08-26 08:40:19 +03:00
“Naeel” c2344f9738 bump 2.0.12 (этап 2: модуль upload через sink)
Deploy contracts-flask / validate (push) Canceled after 0s
2026-08-26 08:15:48 +03:00
“Naeel” db58a433fb этап 2: переиспользуемый модуль upload (sink) вместо рукописного транспорта
- копирую модуль upload/ из drhider (слои 1-2)
- blueprint: параметр sink (drhider-сессия по умолчанию, сверка — DB+парсинг)
- upload_bp: contracts_upload_sink = _store_and_parse
- routes: регистрирую create_upload_refs_blueprint(cfg, sink=...)
- app.py: корень репо в sys.path (для import upload)
- History: план переиспользования + ревью Соннета
2026-08-26 08:07:43 +03:00
“Naeel” 55bd7a027d v2.0.11: вся загрузка через ВМ-буфер (ZIP + .doc)
Deploy contracts-flask / validate (push) Canceled after 0s
- /api/unzip_refs: pull ZIP с ВМ + распаковка
- /api/convert_refs: pull .doc с ВМ + конвертация в .docx
- convertDoc/addZipFile: PUT на ВМ вместо прямого multipart
2026-08-24 22:08:01 +03:00
“Naeel” 37ea5e2c31 v2.0.10: nginx /contracts-upload/ на alias + CORS как у drhider
Deploy contracts-flask / validate (push) Canceled after 0s
2026-08-24 21:51:48 +03:00
“Naeel” 78045f2c81 v2.0.10: загрузка через ВМ-буфер (паттерн drhider)
Deploy contracts-flask / validate (push) Canceled after 0s
- /api/upload_refs: pull файлов с ВМ (SSRF-guard, лимит 50МБ, ретраи, DELETE)
- uploadFile: PUT на WebDAV /contracts-upload/ → refs → pull
- nginx: location /contracts-upload/ (WebDAV + CORS для managed-фронта)
2026-08-24 21:45:46 +03:00
naeel 4653aa5e8e Docs: диагностика HTTP 502 на 19МБ PDF — OOMKill пода (лимит 1Gi)
Deploy contracts-flask / validate (push) Canceled after 0s
2026-08-17 18:32:06 +04:00
“Naeel” 956aed0971 v2.0.9: правильные лого и фавикон из design/ 2026-07-16 10:58:09 +04:00
“Naeel” 3b2e576284 v2.0.9: фавикон nubes.ru (U-арка) 2026-07-16 10:56:58 +04:00
“Naeel” de05d746cc v2.0.8: конвертация .doc → .docx через convert-service перед upload 2026-07-16 10:42:21 +04:00
“Naeel” c677206d03 v2.0.7: .doc в accept и подсказке 2026-07-16 10:29:14 +04:00
“Naeel” d1415d5d21 v2.0.6: convert-service интеграция 2026-07-16 10:20:44 +04:00
“Naeel” 5d8bcd61ea v2.0.5: интеграция с convert-service (HTTP вместо subprocess libreoffice) 2026-07-16 10:18:17 +04:00
“Naeel” 6334ca2e3e v2.0.5: заголовок страницы 2026-07-16 09:07:59 +04:00
“Naeel” 58bc80371d v2.0.5: вернуть версию 2.0.5 2026-07-16 09:05:50 +04:00
“Naeel” a15c3e8e94 v2.0.4: вернуть версию (честный счётчик загрузки) 2026-07-16 09:04:47 +04:00
“Naeel” f4bae5a6b9 v2.0.5: честный счётчик соединение... Nс вместо фейкового ↑N% при upload 2026-07-16 09:02:56 +04:00
“Naeel” 4f9bee4c1e v2.0.4 2026-07-16 08:30:35 +04:00
“Naeel” 2d5606d6d7 fix: check_arithmetic(ops) — was passing contract_id (string) instead of ops list 2026-07-16 08:29:33 +04:00
“Naeel” cc3a53a229 fix: spec_events.py — from compare.metrics → from services.metrics 2026-07-16 08:28:47 +04:00
“Naeel” 1bd62a51ef v2.0.3 — bump version 2026-07-16 08:23:18 +04:00
“Naeel” 2fd5f2944f fix: spec_events schema — add seq,action,target_hash,new_values,comment,status columns 2026-07-16 08:22:04 +04:00
“Naeel” b5d97bdd98 docs: НЕ МЕНЯТЬ комментарии в files.js — загрузка проверена в бою 2026-07-16 08:20:16 +04:00
“Naeel” ae8f6819fc fix: bust JS cache — version query string 1.0.179→2.0.2 2026-07-16 08:16:23 +04:00
“Naeel” 04cb3f5bfe fix: process.py — use apply_ops() instead of phantom add_row/update_row/delete_row 2026-07-16 08:09:29 +04:00
“Naeel” e4c010acd3 fix: all rows visible immediately, then upload one by one 2026-07-16 07:51:42 +04:00
“Naeel” b8340a0637 v2.0.2: fix SQLite — UUID in all INSERTs, now()→datetime, ::jsonb cleanup 2026-07-16 07:29:51 +04:00
“Naeel” 9e22182f9a v2.0.1: XHR→fetch, no .doc, progress restore, bump version 2026-07-16 07:20:28 +04:00
“Naeel” abedffe4d0 fix: restore upload progress display — fake % via setInterval, fetch() for no RST 2026-07-16 07:16:31 +04:00
“Naeel” 11015fd55b fix: remove .doc support — libreoffice unavailable on Штурвал 2026-07-16 07:01:44 +04:00
“Naeel” ea92730bd8 fix: XHR → fetch() for upload — drhider v0.0.29 fix for ERR_CONNECTION_RESET 2026-07-16 07:00:52 +04:00
“Naeel” d8d53661d9 fix: remove http2=True — h2 package not installed on Штурвал 2026-07-15 12:13:08 +04:00
“Naeel” 49dd873db3 fix: warmup fetch('/health') on page load — prevents first-upload RST 2026-07-15 11:57:03 +04:00
“Naeel” 32660d2590 fix: add app.run() — script was creating app then exiting 2026-07-15 11:46:23 +04:00
“Naeel” f176ddad71 fix: spec_events.py — get_pool → get_conn, remove FOR UPDATE 2026-07-15 11:43:01 +04:00
“Naeel” aafb038921 fix: db/*.py imports — from db.connection, not just connection 2026-07-15 11:40:59 +04:00
“Naeel” f9669755cd fix: direct imports (no site. prefix, no relative) — works with python site/app.py 2026-07-15 11:37:57 +04:00
“Naeel” 15137f8e94 fix: all imports → relative (from .xxx) — no stdlib site conflict 2026-07-15 11:32:49 +04:00
“Naeel” 85a958e2aa fix: sys.path insert + del sys.modules — stronger site conflict workaround 2026-07-15 11:29:57 +04:00
“Naeel” 0e8a8eef66 fix: del sys.modules['site'] — stdlib conflict workaround 2026-07-15 11:27:07 +04:00
“Naeel” cd77e7d709 fix: site/ with __init__.py — proper Python package, no stdlib conflict 2026-07-15 11:23:13 +04:00
“Naeel” 81aba97304 fix: site/ → src/ (stdlib conflict — site is built-in Python module) 2026-07-15 11:16:42 +04:00
“Naeel” a7b53fde19 feat: PostgreSQL → SQLite — thread-local, WAL, session-key, os.remove cleanup 2026-07-15 10:56:42 +04:00
“Naeel” 96718fc065 revert: app/ → site/ (drhider proves site/ works fine) 2026-07-14 22:56:19 +04:00
“Naeel” 38547404f5 fix: add /chat and /chat.cfm endpoint (was missing) 2026-07-14 22:33:13 +04:00
“Naeel” 8f688215cc Steps 3-8: config, blueprints (upload/pipeline/api/prompts/health/pages), new app.py (no VM proxy), process.py adapted to generator, VM_API='' 2026-07-14 22:30:58 +04:00
“Naeel” e635cb855a Step 2: copy compare/ services to app/services/ with fixed imports 2026-07-14 22:27:30 +04:00
“Naeel” fc08db0c76 Step 1: copy db/ modules + llm_prompt.py to app/ 2026-07-14 22:25:38 +04:00
“Naeel” 976e59b496 Step 0: rename site/ → app/ (Python stdlib conflict fix) 2026-07-14 22:24:24 +04:00
“Naeel” ca7b70fe41 fix: drhider modal header sticky (v1.15) 2026-07-07 17:01:40 +04:00