16 Commits

Author SHA1 Message Date
Raykov-MS
7b90daa396 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.
2026-09-17 15:34:53 +03:00
Raykov-MS
f47953273c 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.
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
44f23947a3 diagntostic fix 2026-09-02 10:51:54 +03:00
Raykov-MS
ae78c67952 '.' 2026-07-13 16:25:15 +03:00
Raykov-MS
2e5f9a1514 add input dir 2026-07-13 16:10:05 +03:00
Raykov-MS
6403f5f585 prod version 2026-07-10 16:09:04 +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
Raykov-MS
3549ea7f20 to prod view 2026-06-04 17:22:42 +03:00
Raykov-MS
5719e3ec1a fix 2026-06-04 17:13:16 +03:00
Raykov-MS
1657fdf67d fix 2026-06-04 16:37:36 +03:00
Raykov-MS
2d31aa1f66 Правик 2026-06-04 16:27:02 +03:00
Raykov-MS
a295417287 move to streamlit 2026-06-04 14:13:30 +03:00