Commit Graph
100 Commits
Author SHA1 Message Date
naeel d1415d5d21 v2.0.6: convert-service интеграция
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 10:20:44 +04:00
naeel 5d8bcd61ea v2.0.5: интеграция с convert-service (HTTP вместо subprocess libreoffice)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 10:18:17 +04:00
naeel 6334ca2e3e v2.0.5: заголовок страницы
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 09:07:59 +04:00
naeel 58bc80371d v2.0.5: вернуть версию 2.0.5
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 09:05:50 +04:00
naeel a15c3e8e94 v2.0.4: вернуть версию (честный счётчик загрузки)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 09:04:47 +04:00
naeel f4bae5a6b9 v2.0.5: честный счётчик соединение... Nс вместо фейкового ↑N% при upload
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 09:02:56 +04:00
naeel 4f9bee4c1e v2.0.4
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 08:30:35 +04:00
naeel 2d5606d6d7 fix: check_arithmetic(ops) — was passing contract_id (string) instead of ops list
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 08:29:33 +04:00
naeel cc3a53a229 fix: spec_events.py — from compare.metrics → from services.metrics
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 08:28:47 +04:00
naeel 1bd62a51ef v2.0.3 — bump version
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 08:23:18 +04:00
naeel 2fd5f2944f fix: spec_events schema — add seq,action,target_hash,new_values,comment,status columns
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 08:22:04 +04:00
naeel b5d97bdd98 docs: НЕ МЕНЯТЬ комментарии в files.js — загрузка проверена в бою
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 08:20:16 +04:00
naeel ae8f6819fc fix: bust JS cache — version query string 1.0.179→2.0.2
Deploy contracts-flask / validate (push) Successful in 0s
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
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 08:09:29 +04:00
naeel e4c010acd3 fix: all rows visible immediately, then upload one by one
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 07:51:42 +04:00
naeel b8340a0637 v2.0.2: fix SQLite — UUID in all INSERTs, now()→datetime, ::jsonb cleanup
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 07:29:51 +04:00
naeel 9e22182f9a v2.0.1: XHR→fetch, no .doc, progress restore, bump version
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 07:20:28 +04:00
naeel abedffe4d0 fix: restore upload progress display — fake % via setInterval, fetch() for no RST
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 07:16:31 +04:00
naeel 11015fd55b fix: remove .doc support — libreoffice unavailable on Штурвал
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 07:01:44 +04:00
naeel ea92730bd8 fix: XHR → fetch() for upload — drhider v0.0.29 fix for ERR_CONNECTION_RESET
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-16 07:00:52 +04:00
naeel d8d53661d9 fix: remove http2=True — h2 package not installed on Штурвал
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 12:13:08 +04:00
naeel 49dd873db3 fix: warmup fetch('/health') on page load — prevents first-upload RST
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:57:03 +04:00
naeel 32660d2590 fix: add app.run() — script was creating app then exiting
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:46:23 +04:00
naeel f176ddad71 fix: spec_events.py — get_pool → get_conn, remove FOR UPDATE
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:43:01 +04:00
naeel aafb038921 fix: db/*.py imports — from db.connection, not just connection
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:40:59 +04:00
naeel f9669755cd fix: direct imports (no site. prefix, no relative) — works with python site/app.py
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:37:57 +04:00
naeel 15137f8e94 fix: all imports → relative (from .xxx) — no stdlib site conflict
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:32:49 +04:00
naeel 85a958e2aa fix: sys.path insert + del sys.modules — stronger site conflict workaround
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:29:57 +04:00
naeel 0e8a8eef66 fix: del sys.modules['site'] — stdlib conflict workaround
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:27:07 +04:00
naeel cd77e7d709 fix: site/ with __init__.py — proper Python package, no stdlib conflict
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:23:13 +04:00
naeel 81aba97304 fix: site/ → src/ (stdlib conflict — site is built-in Python module)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-15 11:16:42 +04:00
naeel a7b53fde19 feat: PostgreSQL → SQLite — thread-local, WAL, session-key, os.remove cleanup
Deploy contracts-flask / validate (push) Successful in 0s
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)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 17:01:40 +04:00
naeel 16ef92fc74 fix: drhider help — pdfplumber not LibreOffice (v1.14)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 16:59:49 +04:00
naeel 819193c6ad fix: drhider PDF indicator short (*.docx) v1.13
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 16:43:47 +04:00
naeel f68597f680 fix: drhider PDF→DOCX via pdfplumber (LibreOffice cant do it) v1.12
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 16:37:36 +04:00
naeel 88b63733b1 fix: drhider sticky header (v1.11)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 16:27:48 +04:00
naeel 42855fe9b3 feat: drhider PDF→DOCX indicator in file list (v1.10)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 16:23:57 +04:00
naeel 211f391c6c feat: drhider PDF→DOCX conversion (LibreOffice), collision dialog (v1.9)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 16:14:00 +04:00
naeel e128b2614a fix: drhider multipart UTF-8 filename decode (v1.8)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 15:50:43 +04:00
naeel 54be17dad5 fix: drhider _build_zip — ZipInfo UTF-8 flag for Cyrillic filenames (v1.7)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 15:34:36 +04:00
naeel 78c5503cfd chore: bump drhider v1.5→v1.6, contracts v1.0.192→v1.0.193
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 15:26:07 +04:00
naeel 7008ed751c fix: drhider _checksum_inn12 (IndexError), revert broken _build_zip
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 15:24:15 +04:00
naeel e4e950ea18 fix: drhider _checksum_inn12 — compute n1 before s2 (IndexError fix)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 15:20:50 +04:00
naeel aeca68340a fix: drhider _build_zip metadata_encoding=utf-8 (Cyrillic filenames)
Deploy contracts-flask / validate (push) Successful in 0s
2026-07-07 15:17:20 +04:00
naeel b8a45096b7 docs: architecture diagram
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-30 13:44:22 +04:00
naeel db24c438c6 feat: testgen pipeline tests — generate → parse → textify → prompt (20 tests)
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-30 13:40:19 +04:00
naeel d17baa767c fix: audit — json try/except, ZIP-bomb drhider, classify reset only processing
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-30 11:25:29 +04:00
naeel 8deebc7ac4 fix: DB_NAME=baza, classify_status DEFAULT pending
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-30 10:42:14 +04:00
naeel 3176436b64 fix: missing columns migration (classify_status, doc_type, etc.)
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-30 10:33:51 +04:00
naeel 87e68bd9b1 fix: batch_id migration + nginx 8777→8766
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-30 10:32:22 +04:00
naeel ae64913c00 refactor: services/ → compare/ + drhider/ (разделение Сверки и Хайдера)
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-30 10:08:25 +04:00
naeel 5466b6df7f fix: DrHider на contractor.pythonk8s.services.ngcloud.ru/drhider, ссылка на сверку
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 19:24:29 +04:00
naeel 645d9b2c09 fix: UTF-8 BOM в mapping.csv — Excel больше не кракозябрит
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 19:11:35 +04:00
naeel 8699334c9c fix: китайский иероглиф → "более длинных"
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 19:08:17 +04:00
naeel c2f58a7e7c feat: ? справка — модальное окно с описанием сервиса (v1.4)
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 19:01:04 +04:00
naeel cb9eab38af fix: M2 word boundaries + L2 sorted_keys once (Opus review)
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:57:52 +04:00
naeel 64a45a18bf fix: Opus review — C1 path traversal, H1 MAX_BODY, H2 dedup, M1 passport, M3+L1 versions+imports
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:52:40 +04:00
naeel de66eb9b1e fix: drhider standalone server port 8767, inline SVG, DB try/except
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:39:35 +04:00
naeel 78f0e4d269 fix: phone negative lookbehind, docx runs guard, 15 tests
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:26:54 +04:00
naeel 2ebdaad2aa test: DrHider comparison test — 12/13 PASS (address needs LLM)
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:19:17 +04:00
naeel 091f1fbaa8 fix: phone \b boundaries, kor/sch regex
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:17:06 +04:00
naeel e98bac278e fix: manual multipart parser (reliable)
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:08:34 +04:00
naeel f5f8bf294b fix: XHR+FormData like main service, multipart on VM — v1.3
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:05:26 +04:00
naeel 0a663645c6 docs: Opus analysis — reuse main upload logic
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:03:28 +04:00
naeel 74c2bdfcb7 docs: Opus — reuse main service upload logic for DrHider
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 18:00:12 +04:00
naeel 6cedab89ae fix: chunked base64 encoding to avoid JS argument overflow — v1.2
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:57:07 +04:00
naeel 2197b7e526 docs: DrHider working state — v1.1, VM, 19 entities, 30s, 6 files ZIP
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:55:44 +04:00
naeel f70dbb40b3 fix: DRHIDER_VERSION 0.9→1.1
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:44:50 +04:00
naeel 274119dfca fix: nginx timeout 600s, timer in UI, v1.1
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:43:41 +04:00
naeel c9bb7bdb22 fix: DrHider fully on VM, managed Flask only redirect — v1.1/v1.0.194
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:37:19 +04:00
naeel a075d7f820 fix: DrHider via VM — v1.0/v1.0.193
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:32:45 +04:00
naeel 11d1398bad fix: _scan_regex for docx, PERSON cyrillic-only, 101 entities found — v0.9/v1.0.192
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:19:24 +04:00
naeel 07879328ed fix: JSON base64 instead of multipart to avoid HTTP2 error — v0.8/v1.0.191
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:16:27 +04:00
naeel 18ce26d5d3 fix: revert to sync API, keep all obfuscation fixes — v0.7/v1.0.190
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 17:05:52 +04:00
naeel ac8b325896 fix: full paths in all Opus History files
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 16:54:44 +04:00
naeel efb9eefed6 docs: Opus HTTP2 protocol error diagnostic
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 16:45:39 +04:00
naeel 7c40c178fe fix: paragraph-level docx replace, LLM-NER, НУБЕС whitelist, COMPANY_PATTERN limit — v0.6/v1.0.189
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 16:32:35 +04:00
naeel a2a094969b feat: async DrHider — POST job + poll + download, v0.5/v1.0.188
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 16:16:18 +04:00
naeel 58bc73385d fix: skip .doc binary files unchanged + bump v0.4/v1.0.187
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 16:07:56 +04:00
naeel 2f81fb3645 chore: bump main v1.0.186-flask
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 16:02:26 +04:00
naeel 9fd1bffe41 chore: bump DrHider v0.3
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 16:01:28 +04:00
naeel 944ec84002 fix: gunicorn with 5min timeout instead of Flask dev server
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:57:31 +04:00
naeel a05e1f4893 fix: fail-safe imports for docx/pdfplumber, threaded Flask
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:44:34 +04:00
naeel 425fd50b0d fix: add python-docx+pdfplumber to requirements, bump DrHider v0.2
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:36:13 +04:00
naeel d8713561a4 fix: Opus review — all 5 critical bugs fixed
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:25:27 +04:00
naeel 12416115ad fix: self-referencing path in Opus review
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:19:40 +04:00
naeel 0654a41d29 fix: absolute paths in Opus review
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:18:18 +04:00
naeel 6c00ce3cb4 docs: Opus code review request for DrHider
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:17:16 +04:00
naeel b03ca0359a fix: _expand_zips — inner_name → name (ZIP was never expanded)
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:16:47 +04:00
naeel 709603c372 fix: DrHider — direct processing, no proxy, just ZIP fix
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:15:27 +04:00
naeel 7f9f7c0e62 fix: DrHider — better JS error handling, progress messages, timeout
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:14:01 +04:00
naeel b081042f98 chore: DrHider own version v0.1
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:12:35 +04:00
naeel 304731f196 chore: bump v1.0.185, add version to DrHider
Deploy contracts-flask / validate (push) Successful in 0s
2026-06-29 15:11:40 +04:00