21 Commits

Author SHA1 Message Date
Raykov-MS
cceec9c4fb Remove SMB entirely, switch input to attached zip, add self-service token popover
- Drop SMB/SAMBA subsystem completely: app/samba_access.py, app/path_settings.py,
  app/path_store.py, app/pipeline/file_manager.py and their tests, plus the
  smbprotocol dependency and all related UI (login/password fields, path editor,
  SMB diagnostics) in main.py.
- run_batch now takes a .zip attached via Streamlit's file_uploader (same as the
  local dev tool) instead of reading from SMB or a fictitious OpenCloud "Attach"
  folder; renamed from run_local_zip_batch since it's now the single canonical
  batch entrypoint used by both main.py and scripts/local_zip_test_app.py.
- Fixed run number resolution: added next_opencloud_run_number() which lists the
  Out/year/month/day folder via WebDAV PROPFIND, so repeated runs land in
  incrementing subfolders instead of always overwriting "1".
- Added a self-service "Добавить токен" popover in main.py so users can link
  their own OpenCloud App Token to their Keycloak account (opencloud_token_store)
  without an admin running the CLI script; reworded the missing-token error to
  point at it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-17 15:34:53 +03:00
Raykov-MS
54bf2abc52 Switch OpenCloud uploads to per-user personal drives
Files no longer go into a shared test space with a guessed folder name.
Instead, resolve each user's personal drive id via GET /graph/v1.0/me/drives
(Basic Auth, same App Token as uploads) on every run, and upload into
Out/год/месяц/день/номер_запуска inside that drive, creating the path via
MKCOL since a fresh personal drive won't have it yet.

Removes the now-obsolete OPENCLOUD_SPACE_ID / resolve_opencloud_user_folder
and the shared-space smoke script.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-17 13:37:51 +03:00
Raykov-MS
6f69fc48cc Added db 2026-09-17 13:04:35 +03:00
Raykov-MS
79a35edcf4 Raw version migrate smb to openclaude 2026-09-14 17:25:05 +03:00
Raykov-MS
9968d84e3b fix 2026-08-11 01:09:07 +03:00
Raykov-MS
a717cab182 fix invalid error 2026-07-17 11:20:58 +03:00
Raykov-MS
50c69fb882 Add auto-create dir Input 2026-07-17 10:56:26 +03:00
Raykov-MS
ae78c67952 '.' 2026-07-13 16:25:15 +03:00
Raykov-MS
6403f5f585 prod version 2026-07-10 16:09:04 +03:00
Raykov-MS
9f55eeeecb if get delete error move to processed 2026-07-10 15:26:42 +03:00
Raykov-MS
d454cf1577 stage 3 2026-07-10 15:19:40 +03:00
Raykov-MS
197d26f050 del profiling 2026-07-07 11:37:03 +03:00
Raykov-MS
91ad3f8003 optimization 2026-07-07 11:05:28 +03:00
Raykov-MS
4482179e82 optimization 2026-07-07 10:04:09 +03:00
Raykov-MS
b9d4ba6573 preflight 2026-07-06 23:08:23 +03:00
Raykov-MS
400a218fc7 fix smb 2026-07-06 22:42:25 +03:00
Raykov-MS
27a11ae3ee fix 10% write in report to 95% 2026-07-06 13:27:10 +03:00
Raykov-MS
636acd1087 fixes 2026-06-22 11:48:39 +03:00
Raykov-MS
eccfcc543f fixes 2026-06-22 10:48:49 +03:00
Raykov-MS
ec5ab34686 fix 2026-06-22 08:03:22 +03:00
Raykov-MS
9cbfbd041f parser 2026-06-22 07:25:27 +03:00