* fix: send the full workspace in the group_created event
Other tabs added the workspace without its users, so later workspace user
events failed on it.
* fix: don't add a workspace the store already has
A tab could fetch the new workspace and then get its group_created event too.
* fix: keep the default Sentry filters when the app config extends them
The app config replaced ignoreErrors and beforeSend instead of extending
them, so deployments that set their own dropped Baserow's silenced error
patterns, the handled API error filter and the private link redaction.
* fix: preserve Sentry redaction across app hooks
* feat: support numeric input in dashboard filters
* fix: show only the numeric filter error outline
* fix: recover stale filters in shared dashboards
* fix: initialize the English translation fallback
* Show the first workspace settings page when the permissions load after the modal opens
* Show a spinner while the workspace settings modal loads and a message when it has no page.
* Stop a failed permissions fetch of an earlier opening from closing the reopened settings modal.
* Fix tests
* Give the workspace settings modal a minimum height so it doesn't grow once its page loads.
* Reject the access tokens of a login session once the user logs out.
* Reject user source access tokens once the user logs out of the published application.
* Refuse websocket connections made with the access token of a logged-out session.
* Keep a logged-out session revoked for backends running another Baserow version.
* Test that an unreadable revoked-session marker keeps a token off the websocket cached fast path.
* Revoke the session's access tokens when logging out with an expired refresh token.
* Test that logging out with an already rotated refresh token rejects the session's access tokens.
* Make the user source blacklist test show that the access token authenticates before the logout.
* Log a published application visitor out in the tabs where their login ended elsewhere.
* Add the changelog entries.
* Keep a published app login whose cookie the browser never saved, such as in a cross-site iframe.
A cell unmounted in the same render it was mounted in has no cell ref yet, and a
context can be hidden after an awaited request outlived it (Sentry FE-BX, FP, FN).
* chore: remove core and WAB feature flags shipping in v3
* docs: drop stale feature flag mentions from invitation link comments
* docs: add missing changelogs for released core features
* docs: mark identities ADR as accepted
* chore: remove the identities feature flag
* docs: add changelog for workspace identities
* test: remove obsolete identity feature flag test
* docs: remove stale identities feature flag references
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* chore: add changelog entry for the MCP shared tools
The tools PRs left it for when the milestone was done.
* feat(mcp): always turn on OAuth sign-in
BASEROW_MCP_OAUTH_ENABLED is removed before it ships, so OAuth sign-in is
on everywhere. The settings page opens the endpoint tab when the OAuth
connections fail to load.
* feat(dashboard): add choice selector and field option picker
* refactor(dashboard): import raw option paths separately
* chore(dashboard): remove redundant choice selector changelog
* fix(dashboard): open explorer when switching to formula mode
* fix: show the formula again when a reused formula input leaves raw mode
---------
Co-authored-by: peter_baserow <peter@baserow.io>
* fix(agent): show held calls in full, name option renames, stop replies on trash
Approvers saw cut previews of what was sent, option renames hid the rows they
change, and trashing an agent left its running reply going.
* fix(agent): let a removed member's running reply finish
Removal now only blocks the member's next send or approval, so an accidental
removal doesn't leave a partial result that won't resume.
* feat: add a shared base for integrations that connect an account through OAuth
* fix: keep OAuth account scopes current and bound provider answers
* fix: share parent registration between form APIs
* fix: preserve refreshed OAuth tokens when actions fail
* refactor: use absolute imports for parent OAuth modules
* refactor: decouple OAuth cleanup from application publication models
* refactor: use common import hooks for OAuth connections
* fix: keep OAuth account integrations out of the workspace
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* feat: show application integrations in one grouped table
* feat: show application integrations in one grouped table
* test: open the integration menu to promote in the automation settings spec
* refactor: share one integration row between both integrations tables
* feat: list every invitation link of a workspace in the workspace settings modal
* fix: show the table of view invite links, keep the list steady while searching and wrap its header
* Add ADR-013 for workspace level integrations
* Add implementation
* Improve context section and remove technical points
* Move bulk replacement point to v2
* Remove workspace-level ownership on import since manual promotion should handle this.
* Add a glossary section
* Do Lazy creation + Celery migration
* Remove demotion
* Tighten the Options considered section
* Add Decision describing where the integrations are managed
* Update implementation plan after changes to ADR
* Sync plan and adr
* Rename adr and implementation
* Add the shared application that owns workspace integrations
* Create the shared application of every workspace
* Let only workspace admins manage workspace integrations
* Let applications use the integrations of their workspace.
* Trash workspace integrations in their workspace.
* Copy workspace integrations into exports and keep them in duplicates.
* Workspace admins can share integrations with every application in the workspace.
* Load the shared application of each workspace in the frontend and keep it out of application lists.
* Manage workspace integrations from an Integrations page in workspace settings.
* Offer workspace integrations in the integration dropdowns of every application.
* Move promoted integrations to the workspace list in other open tabs.
* Let admins make an app's integration available to the whole workspace from its integration settings.
* Preselect a workspace integration for new nodes and data sources when the app has none of its own.
* fix tests
* Delete implementation file
* More fixes after rebase
* Fix tests
* Let builders of an application see and use the workspace integrations from it.
* Show the workspace integrations, read-only, in the integration settings of applications.
* Keep a dashboard's integration out of promotion to the workspace.
* Leave the shared applications out of the admin dashboard's application count.
* Create the shared application of the workspaces made by the fill commands.
* Say in the promotion modal that an integration nobody authorized will run as the promoting admin.
* Say in the promotion modal that undoing it won't make the integration run as the previous person again.
* Ignore integration ids in sample data when publishing copies the workspace integrations an app uses.
* Let only undoing a promotion move an integration out of the workspace.
* Let the shared application backfill stop itself after 5 minutes and skip workspaces another transaction has locked.
* Say in the workspace integrations settings that published applications and workflows keep their own copy until they're published again.
* Leave the shared application out of the assistant evals' application counts.
* Refresh the workspace integrations when the Builder's data, events, users and integrations panels open.
* Say that anything new using a promoted integration blocks undoing the promotion, even from its own application.
* Warn when a database button sends through a workspace integration with no host or token.
* Refuse roles and invitations on the shared application.
* Fix tests
* Show an application only the workspace integrations of types it can use.
* Say in the promotion modal what builders of other applications can do as the integration.
* Leave the shared application type out of the API docs for creating and updating applications.
* Check who receives a workspace integration event in one permission call.
* Say which workspaces have a shared application and who creates it.
* Let a redone promotion record what uses the integration again.
* Update docstrings
* Stop template visitors from listing the integrations of the template's workspace.
* Let database buttons find their own copy of a workspace integration after an import.
* Say what holds the workspace row lock while a shared application is created.
* Fix tests
* Stop the workspace integration form component from being made reactive.
* Make test runs use a new copy of the workflow after an integration it uses changes.
* Hide the Members settings tab from members who can't list the workspace members.
* Add changelog
* Fix migration conflict
* Fix migration conflict
* Fix test
* Update comments and ADR number
* Link to the workspace integrations from the sidebar's Settings menu.
* fix: refresh agent action errors when workspace integrations change
* fix: move workspace integrations into workspace settings
* fix: use share icon for workspace integration promotion
* refactor: use explicit shared application relations
* feat: centralize default integration selection
* refactor: share integration change notifications
* refactor: prepare integration mappings before import
* refactor: collect integration references during export
* refactor: prepare integration ownership changes without a new hook
* test: restore registered service model after mocking
* test: cover shared integration defaults in Builder
* test: include Slack in Agent workspace integration choices
* Fix migrations
* Stop template visitors from listing the workspace integrations through an application of the template.
* Only offer integrations of the user source's integration type when updating a user source.
* Say the workspace integration copy means published Application Builder apps and automation workflows.
* Use the same spacing under both integration settings sections and enlarge their headings.
* Keep the shared application out of automatic snapshot schedules.
* Fix test after rebase
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* fix: keep agent approval controls visible on every pending call
* fix: show private tool failure details to agent builders
* fix: align approval buttons and wrap them as a group
* fix: highlight failed tool calls and show the reason on demand
* fix: preserve native disclosure buttons in tool history
* fix: label the batch action Always approve all
* fix: simplify approval rows and open tool errors in a context
* fix: give the always approve action more room
* fix: show failed tool calls once in approval cards
* feat: show live tool execution status in agent conversations
* fix: align tool status icons across approval rows
* fix: shorten batch button to Always approve
* fix: explain future tool access in approval tooltips
* fix: right-align tool statuses with trailing icons
* fix: match the tool spinner to the status icons
* fix: give approval buttons equal widths
* fix: explain email failures at the agent boundary
* fix: map known integration failures to safe agent messages
* fix: wrap tool statuses and refresh private diagnostics on demand
* fix: order the agent diagnostics migration and verify finish payloads
* fix(agent): small Agent Builder fixes from the launch review
Imported actions ask first, SECRET_KEY_FALLBACKS is read, signed links keep their query,
Gemini retries transient errors, approval cards stop saying 'by you', and agent-builder turns identities on.
* test(assistant): turn identities off by having no flags
The agent-builder flag now turns identities on as well.
* fix(agent): address review of the launch quick fixes
Key fallbacks are JSON arrays, Gemini retries once per Kuma call, and an
imported action must carry the service its type runs.
* feat: show formula data as a source badge and the data it points to
* docs: add a changelog entry for the formula data redesign
* test: close the data explorer before saving a button field in e2e tests
* fix: keep long formula data inside the filter row and wrap its tooltip
* fix: show the link styling tabs for a column just changed to a link
* refactor(agent): type the exported identity format and carry the importer in the config
Follow-up to the review of #6807. The cleanup of a failed import stays out of
the delete action, because a builder may import but not delete identities.
* fix: derive the file importer from the user, and test the import cleanup and modal line
import_multiple_applications took the importer from two places that could disagree.
The discard test now checks the extension hook and the signal; the modal spec checks the rendered line.
* feat(agent): skip Agents when importing with the feature flag off
* feat(agent): use an enabled model when an imported Agent's model isn't available
* feat(agent): keep an imported Agent's tool choices until an identity is picked
* feat(agent): tell the editor an imported Agent's tools turn on with an identity
* feat(agent): let template previews read an Agent's configuration
* feat(agent): show Agents in the template preview
* fix(agent): check the configuration permission when copying an Agent into a user template
* fix(agent): let signed out visitors preview an Agent in a template
* fix(agent): sync a template again once its Agents can be imported
* fix(agent): make an installed Agent's data-changing tools ask first
* fix(agent): list only MCP servers as connected apps in the template preview
* test(agent): cover blank imported models and duplicates without their identity
* fix(agent): keep pending tools when tools are saved without an identity
Tools stay off without an identity, so a full-config save from an API client
shouldn't throw away the choices an imported Agent is waiting to apply.
* fix(agent): fail a template install when every application is left out
With the agent builder flag off, a template holding only Agents installed
nothing yet reported success and counted the install.
* fix(agent): say why a template with nothing to install fails
"The content of the template was removed" sent people looking for a broken
template when the real cause is a feature turned off on this instance.
* docs(agent): say a user template copy refuses an Agent the owner can't read
* fix(agent): import Agents for users granted the flag
Feature flags can now be granted per user, so the import checks the user it's for instead of only the instance.
* fix(agent): sign up with a template of only Agents while their flag is off
The signup install raised TemplateHasNothingToInstall and returned a 500 without creating the account.
* fix(agent): refuse a user template when none of its applications can be copied
An owner without the Agent flag got an empty template that no one could install.
* fix(agent): refuse a user template that would leave out a selected Agent
A mixed selection lost its Agents without notice, and every update lost them again.
* fix(agent): skip templates with nothing to install in fill_workspaces
* feat(agent): create a scoped identity for each Agent a template installs
An installed Agent waits for an identity before its tools work. An admin with
roles can now get one per Agent at install, with access to only the template's
databases, instead of picking a workspace-wide identity by hand.
* fix(agent): name the applications a user template can't copy
The job failed with a generic message, and checking before the copy creates nothing.
* fix(agent): don't offer hidden applications to export or save as a template
Agents without their feature flag were listed, so Select all always failed.
* chore(agent): log the templates fill_workspaces skips
* fix(agent): filter pickers by type availability, not by permissions
Permissions can load after the update form preselects, which dropped builders and automations.
* fix(agent): keep the count check after a user template copy
* fix(agent): don't count unusable applications as template content
* feat(agent): offer a scoped identity per Agent when installing a template
Only shown where the installer has roles and may create identities and assign
their roles, so the default flow stays as it was everywhere else.
* fix(agent): skip the identity when a template installs no database
An identity scoped to nothing can't run the Agent's tools, so it's left waiting for one to be picked.
* fix(agent): audit binding an installed Agent to its new identity
The Agent gets the identity's access, so the bind is recorded like one made by hand.
* fix(agent): import Agents whatever the importer's feature flags
A user's early access must not change what an import saves. Agents are
now kept by template sync, template installs, user template copies and
workspace file imports, so someone who gets the flag later finds them
with their configuration. Also moves is_template_storage after the
existing ImportExportConfig fields, so positional arguments keep their
meaning.
* fix(agent): hide Agents in template previews and install toasts without the flag
The preview opens another application when the preferred one is a hidden
Agent, and the install toast links to the first application the user can
see.
* fix(agent): hide the identity option for a template without databases
The backend skips the identity when nothing would grant it access, so the option did nothing.
* feat(agent): let builders scope template identities and keep their roles
Builders install templates but can't create identities, so a narrower permission covers one with no workspace access and a role only on what they installed.
Templates now carry the application roles of an Agent's identity, so an install recreates them.
* feat(agent): offer template identities to builders for any application
The identity now gets a role on every application of the template, not only databases.
* fix(agent): recreate only builder or viewer roles from a template identity
An exported role list is now applied exactly, so an empty one no longer falls back to access on every application, and malformed entries are skipped.
* fix(agent): only skip role permissions when scoping template identities
Licence, subject and scope checks still run, an identity that would get no
role isn't created, and expected failures are logged as warnings.
* fix(agent): keep the identity roles of a user template's Agent
The template copy of an Agent waits for an identity, so its export dropped
the roles it was imported with and installs fell back to tool-based roles.
* fix(agent): hide unreadable roles of an Agent waiting for an identity
An export by a user leaves out the carried roles they can't read, like
those of a bound Agent's identity.
* fix(agent): create no install identities while the Agent builder is off
The installer can't see the Agents or manage their identities then.
* fix(agent): recreate exact template identity roles on install
Editor and commenter roles are kept, admin only when the installer may change roles.
Agent-only templates get an identity without access; names with links get none.
Identities are created through a scoped identity action; unexpected failures reach Sentry.
* fix(agent): show the full install identity option and what it gets
The option wraps instead of being cut, explains the identity's access, and shows for Agent-only templates.
The user template form no longer says the Agent identity roles aren't copied.
* fix(agent): never export more identity access than the template had
An application with table or view roles, or roles the exporter can't read, is left out, so the install gives no access to it instead of the tools' defaults.
* chore: renumber the install template job migration to 0144
Develop added 0142 and 0143 core migrations.
* feat(agent): export the identity of an Agent as an object with a key
Other application types can refer to the same identity later, and Agents
that ran as one identity share the new one an install creates.
* feat(agent): carry identities in templates and exports as workspace objects
Identities are described beside the applications and created before them, so
rows, view owners and filters that point at an identity keep pointing at one.
Creation needs no install option, since identities take no license seat.
* fix(agent): renumber the identity definition migration to 0023
* fix(agent): make the identity definition migration follow 0022
* feat(agent): let applications report and bind the identities they refer to
An identity keeps the role it had on its workspace instead of a role guessed
from its Agent's tools, and an application can refer to several identities.
Also carries team and per-application roles, and Agents with only triggers.
* fix: align the sidebar glyph across workspace views
* style: match the sidebar glyph to the 13px design
* style: balance spacing around the workspace breadcrumb slash
* style: refine the sidebar search icon and field shadow
* style: use the design background color for the sidebar
* fix: keep unread indicators on workspace controls
* feat: add workspace learning resources to sidebar help
* fix: show loading on the workspace being opened
* fix: truncate long application names in the workspace sidebar
* fix: release the workspace picker when navigation completes
* fix: preserve the active workspace when navigation is refused
* feat: redesign sidebar workspace navigation
* feat: redesign the sidebar footer and account menu
Match the account menu to the sidebar prototype and reuse the admin
navigation in a submenu. Keep Add new above the footer while the
application list scrolls.
* fix: show the sortable indicator only when dragging
* feat: refine workspace sidebar application navigation
* feat: reorganize workspace sidebar shortcuts
* fix: isolate workspace sidebar menus and actions
* fix: cancel sortable drops on hidden lists
* fix(enterprise): allow retrying Direct support
* feat: simplify the workspace overview header
* fix: prevent horizontal overflow around the sidebar
Constrain animated tree groups to the width of the sidebar so long labels truncate. On narrow screens, let the sidebar expand over the content instead of reducing the usable page width.
* fix: fit workspace cards and creation menus on mobile
* test: keep the current table selected after reload
* fix: undo and redo edits across expanded sidebar applications
* fix: keep sidebar groups out of the tab order
* fix: highlight the active database in the tables tour
* feat: label workspace integrations in the settings menu
* fix: keep the workspace sidebar and guided tour usable on phones
* fix: undo sidebar row imports in the destination database
* fix: keep the guided tour highlight on the current step
* fix: show an empty state in the workspace picker
* fix: confirm workspace deletion before moving it to trash
* feat: open registered workspace settings tabs from the sidebar
* fix: keep the sidebar logo the same size across workspaces
---------
Co-authored-by: peter_baserow <peter@baserow.io>
* feat: trigger automations and agents when a row comment is posted
* fix: verify row comment trigger access at setup and dispatch
* refactor: pass the trigger event source as a plain task argument
Drop the Celery headers and the per-type flag kept for the previous
release's workers: Agent Builder is behind a feature flag. A service type
names what it watches through get_event_source_id. Check a table's
trigger read permissions in one call, add the trigger's msgid and
shorten the changelog entry.
* feat: lock agent triggers the workspace's license doesn't cover
The configuration lists every trigger type the instance offers, and the
license is checked apart. A locked trigger shows switched off with
read-only settings that open the upgrade modal; it can still be renamed,
replaced by another type or deleted, and resumes once coverage returns.
Menus mark paid items with the lock badge, in Agents and Automations.
* address feedback
* fix: address second round of row comment trigger feedback
- Treat an integration the service list loads as None as trashed
- Restore a locked trigger as it was; license checked on edit and fire
- Drop a queued event whose trigger watches another source, no skip
- Disable the mention checkbox when the host's form can't be used
- Fence the comment event text as labelled JSON for agents
- Mention the license in the trigger API docs and error
* fix: address third round of row comment trigger feedback
- pass the run identity's name to the comment form from the agent host
- keep only server-decided data in service form choices
- log comments a misconfigured comment trigger skips
- mention the license in the remaining trigger type texts
* test: serialize comment trigger nodes with the user's table access
* feat(agent): skip Agents when importing with the feature flag off
* feat(agent): use an enabled model when an imported Agent's model isn't available
* feat(agent): keep an imported Agent's tool choices until an identity is picked
* feat(agent): tell the editor an imported Agent's tools turn on with an identity
* feat(agent): let template previews read an Agent's configuration
* feat(agent): show Agents in the template preview
* fix(agent): check the configuration permission when copying an Agent into a user template
* fix(agent): let signed out visitors preview an Agent in a template
* fix(agent): sync a template again once its Agents can be imported
* fix(agent): make an installed Agent's data-changing tools ask first
* fix(agent): list only MCP servers as connected apps in the template preview
* test(agent): cover blank imported models and duplicates without their identity
* fix(agent): keep pending tools when tools are saved without an identity
Tools stay off without an identity, so a full-config save from an API client
shouldn't throw away the choices an imported Agent is waiting to apply.
* fix(agent): fail a template install when every application is left out
With the agent builder flag off, a template holding only Agents installed
nothing yet reported success and counted the install.
* fix(agent): say why a template with nothing to install fails
"The content of the template was removed" sent people looking for a broken
template when the real cause is a feature turned off on this instance.
* docs(agent): say a user template copy refuses an Agent the owner can't read
* fix(agent): import Agents for users granted the flag
Feature flags can now be granted per user, so the import checks the user it's for instead of only the instance.
* fix(agent): sign up with a template of only Agents while their flag is off
The signup install raised TemplateHasNothingToInstall and returned a 500 without creating the account.
* fix(agent): refuse a user template when none of its applications can be copied
An owner without the Agent flag got an empty template that no one could install.
* fix(agent): refuse a user template that would leave out a selected Agent
A mixed selection lost its Agents without notice, and every update lost them again.
* fix(agent): skip templates with nothing to install in fill_workspaces
* fix(agent): name the applications a user template can't copy
The job failed with a generic message, and checking before the copy creates nothing.
* fix(agent): don't offer hidden applications to export or save as a template
Agents without their feature flag were listed, so Select all always failed.
* chore(agent): log the templates fill_workspaces skips
* fix(agent): filter pickers by type availability, not by permissions
Permissions can load after the update form preselects, which dropped builders and automations.
* fix(agent): keep the count check after a user template copy
* fix(agent): don't count unusable applications as template content
* fix(agent): import Agents whatever the importer's feature flags
A user's early access must not change what an import saves. Agents are
now kept by template sync, template installs, user template copies and
workspace file imports, so someone who gets the flag later finds them
with their configuration. Also moves is_template_storage after the
existing ImportExportConfig fields, so positional arguments keep their
meaning.
* fix(agent): hide Agents in template previews and install toasts without the flag
The preview opens another application when the preferred one is a hidden
Agent, and the install toast links to the first application the user can
see.
* fix(mcp): show the old endpoint's tools when signing in with its URL
Clients given the old /mcp/<key>/sse URL signed in for /mcp and offered every
tool, but kept connecting with the key's tools. Also brings back the ChatGPT tab.
* fix(mcp): keep an existing grant's tools when signing in with the old URL
Signing in with the old endpoint URL replaced the tools of a grant the app
already had in that workspace through /mcp.
* fix(mcp): complete the old endpoint URL sign-in at the token endpoint
Clients send the old URL as the resource of the token and refresh requests,
which were rejected because the grant is bound to /mcp. Also stop disabled or
missing tools from blocking or emptying the grant.
* test(mcp): give the mocked consent request a query
* fix(agent): address agent builder feedback
* feat(identities): let builders bind existing identities
Binding an Agent or a Local Baserow integration to an existing identity takes the new identity.bind permission, held by workspace builders and admins. Creating, editing and deleting identities stays admin-only. ADR 013 updated and trimmed of migration and deployment details.
* fix(agent): show ask before changes only for the Everything preset
* fix(agent): fix CI and polish the tools modal and input table
Update tests for the identity bind rule and the key/value input table, keep table keys on one line, use one toggle style in the external tools modal, and apply Prettier.
* fix(agent): compact the pending approvals menu
Each conversation is one line: its title with an ellipsis, then Always allow, Reject and Approve. The chat keeps the full approval card.
* feat(agent): make the conversation sidebar collapsible
* address feedback
* Added a little bit of space after the trigger
---------
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
* feat(builder): support custom HTML in the document head
* fix(builder): place head HTML below custom JavaScript
* fix(builder): autosave custom head HTML
* fix(builder): remove redundant head HTML help text
* feat(builder): add an expanded editor for head HTML
* refactor(builder): reuse preview credentials for head HTML
* refactor(builder): reuse custom code paths for head HTML
* fix: say when head HTML is left out of Preview
---------
Co-authored-by: peter_baserow <peter@baserow.io>
* fix(core): open user template links without the user_templates flag
* fix(core): list no user templates for type=user without the flag
Without the user_templates flag, a list filtered by type=user returned the official templates. It now returns nothing.
---------
Co-authored-by: Davide Silvestri <silvestri.eng@gmail.com>