Commit Graph
38 Commits
Author SHA1 Message Date
“Naeel” 43a5041924 fix: clone — loadFunctions → reloadAll (v1.3.81) 2026-05-09 20:31:54 +04:00
“Naeel” 7cc7767418 feat: clone function — POST /functions/:name/clone (v1.3.80)
- Backend: function_clone.go — copies archive from storagesvc, creates
  new Package/Function/HTTPTrigger preserving all settings (env vars,
  timeout, entrypoint, executor type, podspec)
- Backend: route handlers.go — /functions/:name/clone POST
- Frontend: 'Клон' button in edit modal, inline name input form
- Frontend: JS toggleCloneArea/submitClone with validation
- Pre-fills clone name as '<original>-copy', validates format
2026-05-09 20:22:51 +04:00
“Naeel” fa6f5694c2 fix: валидация имён env vars — только [A-Za-z_][A-Za-z0-9_]* 2026-05-09 07:22:35 +04:00
“Naeel” d79bb4a0f5 fix: ошибка валидации env vars — выводить внутри модалки 2026-05-09 07:06:56 +04:00
“Naeel” b8ba3f3d08 fix: валидация дублей ключей env vars + подсветка красным 2026-05-09 07:02:10 +04:00
“Naeel” bf470a4408 feat: переменные окружения функций (env vars в CRD)
- Backend: handleGetFunctionEnvVars / handlePutFunctionEnvVars в function_crud.go
- API: GET/PUT /functions/:name/envvars
- handleGetFunction теперь возвращает env_vars в ответе
- Frontend: блок env vars в edit modal (key=value + [×] + [+ Добавить])
- TF-функции показывают env vars в режиме read-only
- Документация: doc/descriptions/function-envvars-flow.md
- Версия v1.3.72
2026-05-09 06:50:52 +04:00
“Naeel” 8dde74de8a feat: функции со статусом (Ready/Cold/Building/Error)
- Backend: новый файл status.go с функцией определения статуса пода и Package buildStatus
- API: GET /functions теперь возвращает функции с полем status в аннотациях
- Frontend: добавлена колонка Status в таблицу функций с цветными кругами
- Легенда статусов выше таблицы
- Версия v1.3.70
2026-05-09 06:29:46 +04:00
“Naeel” 43bb36bcbe fix: v1.3.69 — Info modal curl copy: use data-attr to fix broken onclick with quotes 2026-05-08 14:09:07 +04:00
“Naeel” 69690d805a feat: v1.3.68 — Info modal: copy buttons only on name/pkg/route, add curl copy field 2026-05-08 14:01:55 +04:00
“Naeel” cad4e24491 feat: v1.3.67 — UI table refactor: remove Env/Pkg columns, add Type icon + Info modal 2026-05-08 09:19:01 +04:00
“Naeel” 1e00f93ade feat: logs modal + ESC close + /functions/:name/logs endpoint (v1.3.61) 2026-05-07 20:51:02 +04:00
“Naeel” 6d24ff6f51 rules: запрет самодеятельных изменений рабочего кода — комментарии + правила 2026-05-07 20:39:24 +04:00
“Naeel” 5a8dddcd30 v1.3.55: validate zip magic bytes on upload (UI + backend) 2026-05-04 10:57:32 +04:00
“Naeel” e5c78a59e5 v1.3.54: лintер проверяет соответствие языка файлам в архиве
Если выбран Node.js но в архиве .py — сразу ошибка.
Фронтенд передаёт выбранный язык (ca-lang / e-lang-hidden) в запрос лintера.
2026-05-04 09:28:21 +04:00
“Naeel” afc4368d79 v1.3.53: лintер проверяет entrypoint — файл и функция должны существовать в архиве
Entrypoint формат module.function: лintер ищет module.py в архиве
и проверяет что def function(...) определена внутри.
Если нет — сразу ошибка, не нужно ждать таймаута вызова.
Фронтенд передаёт entrypoint из поля e-entry / ca-entry.
2026-05-04 09:21:31 +04:00
“Naeel” 05d3151ffb v1.3.52: fix archive name display — remove package name fallback 2026-05-04 08:27:27 +04:00
“Naeel” 7cf2c82ce2 v1.3.50: fix archive fn — entrypoint update in edit, store/show archive filename 2026-05-04 08:14:19 +04:00
“Naeel” 62b25044fb v1.3.49: edit modal — remove mode toggle, show archive name, timeout-only save; add PUT /functions/:name/timeout 2026-05-04 07:03:43 +04:00
“Naeel” 113c8f0952 v1.3.48: remove internal invoke_url from invoke modal output 2026-05-04 06:59:25 +04:00
“Naeel” cfab33a173 v1.3.47: fix InvokeStrategy in archive handler, modal error display, draggable modals 2026-05-04 06:54:18 +04:00
“Naeel” 40fc2febc9 v1.3.46: separate create modals — code (cc-) and archive (ca-) as independent modules 2026-05-04 06:46:45 +04:00
“Naeel” 7b5e50d24b fix: restore NSReconciler, archive upload create/edit, fix version label both places; v1.3.45
- tenant.go: restore StartNSReconciler (sync FISSION_RESOURCE_NAMESPACES every 30s)
- main.go: call nsm.StartNSReconciler on startup
- handlers.go: handleCreateFunctionFromArchive (multipart), handleUpdateFunctionArchive (PUT /archive)
  source-type annotation, source_type in GET response
- functions.js: submitCreate/submitEdit archive mode, openEdit uses source_type
- index.html: version label updated in BOTH places (line 103 and 403) to v1.3.45
- console.yaml: image v1.3.45
- doc: archive-and-edit-modal-flow.md
2026-05-04 06:16:11 +04:00
“Naeel” 4d0a7db3fc feat: explain-archive LLM endpoint + UI button v1.3.40 2026-05-03 21:33:18 +04:00
“Naeel” 444e2b581d feat: lint-archive endpoint, UI result inline v1.3.38 2026-05-03 21:08:32 +04:00
“Naeel” aa9ef9fb17 ui: progressive table render + load timer, v1.3.34 2026-05-03 17:34:07 +04:00
“Naeel” 7079158bf6 ui: archive upload mode + lint stub, fix stress warmup output, add descriptions 2026-05-03 17:14:25 +04:00
“Naeel” 3eadced98a feat(auth): demo-логин ≥6 симв, MultiAuthenticator, UUID v5, v1.3.26 2026-05-02 19:45:10 +04:00
“Naeel” 7a949a773d fix(ui): email без синего фона; версия v1.3.21 в подвале Help 2026-05-02 17:41:54 +04:00
“Naeel” d2b5ef56c2 refactor(ui): step11 - extract app.js (reloadAll + fn table render); fix: reloadAll was accidentally deleted in step10 2026-05-02 17:36:49 +04:00
“Naeel” a45f937ad1 refactor(ui): step10 - extract init.js (pollNSStatus, initLog, formatSeconds, explainDelay, startTimedStatus, renderInitStages и др.) 2026-05-02 17:33:43 +04:00
“Naeel” 0d42353845 refactor(ui): step9 - extract ai.js (llmGeneratedWarning, addLLMWarning, aiCheck, aiGenerate, aiExplain, askAssistant, toggleAssistant, showGenPrompt) 2026-05-02 17:30:33 +04:00
“Naeel” f1dad469a1 refactor(ui): step8 - extract functions.js (parseMethods, parseTimeout, onLangChange, openCreate/Edit/Invoke CRUD, removeFn) 2026-05-02 17:27:20 +04:00
“Naeel” 9f4cba728a refactor(ui): step7 - extract modals.js (openHelp, closeHelp, openInvoke, closeInvoke, submitInvoke) 2026-05-02 17:24:35 +04:00
“Naeel” ddbae81397 refactor(ui): step6 - extract triggers.js (httpTriggerByFn, timeTriggerByFn, toggleScheduleFields, schedulePayload, syncScheduleForFunction) 2026-05-02 17:22:27 +04:00
“Naeel” 97ad528aa8 refactor(ui): step5 - extract auth.js (doLogin, doLogout, checkAuth, showLoginOverlay, jwtEmail, setUserAvatar) 2026-05-02 17:20:31 +04:00
“Naeel” 7a9f7c7453 refactor(ui): step4 - extract ui.js (setText, showStatus, clearStatus, h, formatTimestamp, timestampCell) 2026-05-02 17:18:25 +04:00
“Naeel” be751ea2c5 refactor(ui): step3 - extract api.js (authHeaders, getJSON, requestJSON) 2026-05-02 17:16:32 +04:00
“Naeel” a7d5c23816 refactor(ui): step1+2 - extract CSS to styles.css, LANG_TEMPLATES to config.js 2026-05-02 17:14:01 +04:00