30 Commits
Author SHA1 Message Date
yau-wd abe4a8601a Fix Flowise 746 Chat Message Route (#6719)
fix(flowise-746): chat message route
2026-08-10 22:55:55 +08:00
yau-wd e816d26a7d Fix Flowise-552 Add Allow List Execution Path (#6658)
fix(flowise-552): add allow list execution path
2026-07-24 08:43:26 +08:00
yau-wd 441c4e9878 Fix Flowise 544 GitHub Workflow (#6649)
fix(flowise-544): github workflow
2026-07-23 11:51:05 +08:00
yau-wd 9d3059fdc0 Fix Flowise 849 SSO And Role (#6634)
fix(flowise-849): sso and role
2026-07-22 12:04:20 +08:00
yau-wd ed9e100fb7 Fix Flowise 809 Sanitize Organization User (#6633)
fix(flowise-809): sanitize organization user
2026-07-17 11:54:07 +08:00
yau-wd 9fcb7ffbd5 Fix Flowise 788 Improve Tenant Validation (#6620)
* fix(flowise-788): improve tenant validation

* fix: use updatedBy instead of createdBy in organization user update
2026-07-15 11:54:38 +08:00
yau-wd bb773ffa71 Fix Flowise 722 node load method workspace (#6593)
fix(flowise-722):add node load method workspace scope
2026-07-06 12:30:01 +08:00
yau-wdandgemini-code-assist[bot] db8de568a8 Fix Flowise 610 openai-realtime cross-workspace authorization (#6586)
* fix(flowise-610): enforce workspace scoping and RBAC on openai-realtime routes

* Update packages/server/src/services/openai-realtime/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-07-01 14:09:55 +08:00
yau-wd f5d16835bc Fix Flowise 709 Make Custom MCP stdio command allowlist operator-controlled (#6578)
fix(flowise-709): make Custom MCP stdio command allowlist operator-controlled
2026-06-30 13:57:33 +08:00
yau-wdandgemini-code-assist[bot] de3a91827f Fix Type Validation For Session ID (#6568)
* fix: add type validation for session id

* Update packages/server/src/utils/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update packages/server/src/utils/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update packages/server/src/utils/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-06-26 10:19:55 +08:00
yau-wdandCopilot Autofix powered by AI 71b01d89b2 Fix Docker Node Version Build Deps (#6548)
* fix: add NODE_VERSION build-arg and native build deps to fix Docker CI build

* fix: add NODE_VERSION build-arg and native build deps to fix Docker CI build

* fix: use native ARM runners and parallel matrix builds for Docker Hub CI

* fix: update Docker Hub CI artifact pattern to include 'linux' in filename

* Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-06-24 08:52:03 +08:00
yau-wd f4e2794f6a Fix Flowise 606 (#6499)
fix(flowise-606): remove AirtableAgent and CSVAgent due to security vulnerabilities
2026-06-10 11:22:58 +08:00
yau-wdandgemini-code-assist[bot] 42d593f8ca Fix Flowise 591 (#6476)
* fix(flowise-591): Unicode homoglyph bypass

* Update packages/components/src/pythonCodeValidator.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix gemini lint error

* fix: strip backslash line-continuation sequences in validator normalization to close eval bypass

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-06-05 11:41:04 +08:00
yau-wd a4c4e4988c Fix Flowise 552 (#6471)
fix(flowise-552): default Custom MCP to SSE and switch env vars from deny-list to allow-list
2026-06-04 00:32:30 +08:00
yau-wd b2550f7ffe Fix FLOWISE-703 (#6446)
fix(flowise-703): workspace import/export privileges
2026-05-30 08:15:14 +08:00
yau-wd 2f528ceced Fix FLOWISE-597 (#6445)
* fix(flowise-597): chatflow deletion permissions handling

* fix(package.json): ERR_PNPM_MISSING_TARBALL_INTEGRITY  Cannot install package "xlsx@https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz": its lockfile entry has no "integrity" field, so pnpm cannot verify the downloaded tarball.
2026-05-30 08:05:24 +08:00
yau-wd bc22bf8bae Fix FLOWISE 596 (#6435)
disable files API endpoint and UI route
2026-05-26 23:11:19 +08:00
yau-wd 0fc7692083 Fix FLOWISE 453 (#6431)
* fix(httpSecurity.ts): flowise 453

* fix(httpSecurity.ts): ensure IP comparison uses parsed IP format

* fix(httpSecurity.ts): improve IP denial logic by using CIDR parsing and adjusting masks

* fix(httpSecurity.ts): skip malformed IPv4-mapped CIDR entries in deny list processing

* fix(httpSecurity.ts): enhance IP denial logic to handle non-canonical IPv6 addresses and improve entry comparison
2026-05-26 23:08:52 +08:00
yau-wd 3086cb7e32 Fix FLOWISE 429 executeJavaScriptCode (#6306)
fix: flowise 429 executeJavaScriptCode
2026-04-30 17:40:31 +08:00
yau-wd da8b251a9a Fix FLOWISE 566 OAuth2 (#6276)
* fix: flowise 556 oauth2

* fix(flowise-566): code review suggestions from Gemini

* feat(oauth2Security.test.ts): add test script

* feat(constants.ts): add Pipedream to default OAuth2 allowed domains
2026-04-28 21:22:48 +08:00
yau-wdandgemini-code-assist[bot] b17dabbb26 Fix FLOWISE-319 Sanitize User (#6269)
* fix(account): flowise-319 sanitize user

* Update packages/server/src/enterprise/services/account.service.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-27 16:20:23 +08:00
yau-wd ec7a7f9ebe Chore update Node.js version to 20.20.2 in CI workflows (#6277)
chore: update Node.js version to 20.20.2 in CI workflows
2026-04-23 11:27:06 -07:00
yau-wd 311a3f47d0 Fix clickjacking (#6185)
* fix(server): clickjacking

* fix(XSS.ts): handle CSV and null values in getAllowedIframeOrigins
2026-04-14 20:23:00 +08:00
yau-wd c4e689b97a Feature/Add Audit and Deletion (#5994)
* feat(audit): add emitEvent and file-based audit logging

* fix(sanitize.util.ts): correct IPv6 sanitization for audit log IP masking

* feat(account): add account deletion

* fix(sanitize.util.ts): add recursive sanitization for nested metadata

* fix(MainLayout/Header/Workspace): refresh workspace list when clicking dropdown

* feat(views/account): require typed confirmation for account deletion
2026-04-02 22:15:05 +08:00
yau-wd 3ecb97865a Revert "fix: redis pub/sub and streaming response issue" (#6084)
Revert "fix: redis pub/sub and streaming response issue (#6008)"

This reverts commit 34aa82e3a0.
2026-03-30 21:00:47 +08:00
yau-wd 84758d794d Fix server Jest test structure and standardize test scripts (#5909)
* fix(server): restructure Jest tests and standardize test scripts

* chore(main.yml): run build before test
2026-03-05 18:18:18 +08:00
yau-wd 72b920b019 Chore/Refactor login activity component (#5679)
chore(audit): refactor
2026-02-03 18:48:21 +08:00
yau-wd 8ce06c7201 Refactor/Update endpoint routing configuration (#5645)
refactor(server): update endpoint routing configuration
2026-01-21 15:50:39 +08:00
e135b29433 Feature/Add Permissions To API Keys (#5590)
* feat(database.util.ts): add function to check if column exists in table

* feat(migrations): add permission column to apikey table

* chore(services/apikey): remove auto-create default API key

* chore: remove auto-create default API key

* fix(migrations): rename permission to permissions in apikey table

* feat(services/apikey): add permissions to create and update

* feat(views/apikey): add permissions to create and update

* feat(api): use API key permissions instead of role permissions

* feat(permissions): filter by user.permissions except for ROLE type

* feat(services/apikey): filter keys by user permissions in getAllApiKeys

* feat(services/apikey): limit API key permissions to user permissions during creation/update

* fix(database.util.ts): replace non-null assertion with explicit error handling

* feat(services/apikey): log errors for malformed API key permissions

* refactor(services/apikey): extract permission validation

* feat(permission): enhance permission filtering based on user features and platform type

* chore(migrations): lower API key permission value

* Update packages/ui/src/views/apikey/APIKeyDialog.jsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update packages/ui/src/views/apikey/APIKeyDialog.jsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* refactor: remove deprecated APIKEY_PATH and APIKEY migration

* refactor(apikey): remove functionality related to import apikey

* feat(permission): filter out workspace and admin categories for non-ROLE

* feat(services/apikey): validate API key permissions during create and update

* chore(migrations): clean up role permissions values

* fix(migrations): handle corrupted permissions gracefully

* fix(server/src/index.ts): add error handling for API key permissions parsing

* fix(APIKeyDialog.jsx): handle corrupted permissions when editing API key

* fix(views/apikey/index.jsx): handle corrupted permissions in API key list

* fix(services/apikey): validate permissions JSON in API key operations

* Potential fix for code scanning alert no. 83: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* feat(migrations): change ApiKey.permissions column from TEXT to JSON

* Update packages/server/src/services/apikey/index.ts

Co-authored-by: Jocelyn Lin <[email protected]>

* feat(PricingDialog.jsx): handle downgrade with excessive apikey permissions

* feat(controllers\apikey): enforce permissions validation

* chore(services/apikey): remove redundant null checks

* fix(services/dataset): throw error when dataset not found before fetching rows

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Jocelyn Lin <[email protected]>
2026-01-16 12:21:48 +08:00
yau-wd 67b7ec1b1f feat(models.json): add gemini-3-flash-preview 2025-12-23 15:06:22 +08:00