Commit Graph
49 Commits
Author SHA1 Message Date
Bram 85f9e8e67d [2/2] Usage credit subscription: Measure AI usage (#6823)
* Measure AI usage

* Show the AI usage data of plugins per agent reply and AI values job

* Fixed feedback
2026-11-27 13:52:27 +00:00
Peter EvansandJeremie Pardou 5a62c876e4 fix: align custom code in builder Preview with the editor on shared hostnames (#6881)
* fix: restrict editor-written code in the builder editor and on the editor hostname

* fix: simplify builder author code restrictions by hostname

* refactor: remove redundant backend custom code hostname checks

* refactor: unify builder HTML element rendering restrictions

* refactor: clarify builder web frontend hostname terminology

* fix: distinguish untrusted builder content in preview notices

* refactor: remove unused backend preview security setting

* docs: shorten builder code restriction changelog

* fix: restrict iframe cookie access across frontend ports

* refactor: share web frontend hostname matching

* fix: preserve protected HTML interactions and bound iframe height

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-11-26 17:20:44 +00:00
Tsering Paljor 2c1e606597 fix: Move workspace plan badge to the overview (#6853)
* Move workspace plan badge to the overview and rename workspaces instantly

* Keep the overview add button visible on narrow screens.
2026-11-25 12:44:10 +04:00
Bram 1df4f9b44d Add workspace context menu hook and permission prefetching (#6822) 2026-11-24 19:56:15 +01:00
alamin-br 1106a141fc feat(agent): carry identities in templates and import/export (#6807)
* 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.
2026-11-24 19:14:28 +01:00
Peter EvansandJeremie Pardou c152a16f92 feat: let Kuma create, change and remove data source filters from the filter form, the chat and MCP (#6544)
* feat: let Kuma create, change and remove data source filters from the filter form, the chat and MCP

* fix: allow earlier data sources in Kuma builder filters

* refactor: share targeted Kuma action endpoint

* refactor: derive service filter validation from filter types

* fix: reuse shared boolean values in service filters

* refactor: expose filter deprecation on backend types

* refactor: delegate formula examples to application types

* fix: allow Kuma to edit summary widget filters

* test: include summary widgets in filter tool contract

* fix: allow dashboard service filter groups

* test: allow dashboard filter groups in assistant prompts

* feat: enable inline Kuma for summary widget filters

* test: initialize roles for transactional synced table copies

* fix: reject table changes during Kuma filter generation

* fix: reject current node formulas in service filters

* perf: batch filterable data source discovery

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-11-24 18:08:58 +00:00
Jonathan Adelineandpeter_baserow a8bf3b73ae feat: redesign app sidebar (#6798)
* 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>
2026-11-23 20:42:20 +04:00
Peter EvansandJeremie Pardou 2b8e6ba569 feat: add per-workspace snapshot allowances and protected snapshots (#6783)
* feat: add per-workspace snapshot allowances and protected snapshots

* fix: guard snapshot replacement and separate quota management

* refactor: delegate snapshot permission descriptions to application types

* fix: highlight inherited workspace snapshot maximums

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-11-23 11:23:05 +00:00
Tsering Paljorandpeter_baserow 98acd64960 feat: Dashboard sharing (#6408)
* Add backend changes: models, handler, etc.

* Add frontend share dashboard modal

* Add public dashboard endpoint

* Add frontend public dashboard view

* Add public dashboard auth

* Show the logo in the password page based on license

* Add abuse reporting and fix license check

* Fix tests

* fix tests

* Fix aggregation in public dashboard

* Fix styling on sharing options

* Ensure anonymous dashboard views only return the data it needs

* DRY public access token logic

* Add changelog

* Added UpdateDashboardSharingActionType to ensure audit log accurately records changes.

* Add e2e tests

* Remove old todo; creation-time check is sufficient

* Re-add request serializer field overrides

* fix test

* Ensure that the password protection modal can be persisted with an Enter keypress.

---------

Co-authored-by: peter_baserow <peter@baserow.io>
2026-10-22 09:07:48 +04:00
Bram e0759bd880 Make all workspaces sidebar extensible (#6205) 2026-09-29 15:38:44 +02:00
Bram 1cd55495cc Allow extending all workspaces homepage (#6176) 2026-09-28 11:27:43 +02:00
Bram e8887f392a All workspaces homepage [7/7] Minor recent workspace homepage changes (#6108)
* Minor recent workspace homepage changes

* Add kuma to dashboard recent homepage

* cleaned up further and made `isAssistantAvailable` reuable

* Fixed feedback
2026-09-25 14:12:53 +02:00
alamin-br bf4179d759 feat(database): plugin hooks for button field action list (#6174)
Lets a plugin add components next to each action type in the dropdown and
next to the Actions heading, so SaaS can show what an action costs.
2026-09-25 13:18:14 +02:00
Bram 92ce535aba feat: Report abuse in public views (#5766) 2026-07-29 13:24:21 +02:00
Jérémie Pardou f0d5ace0bf task: allow to customize history from plugins (#5626) 2026-07-02 09:09:56 +00:00
Tsering Paljor bd76e4ce89 feat: Count Workflow Executions (core) (#5324)
* Add before/after hooks around node dispatch.

* Add get_dispatch_cost() method

* Add table to store automation usage.

* Add update_automation_usage() receiver to persist usage.

* Update changelog

* Fix test

* Fix migrations

* Remove WorkspaceAutomationUsage; it should live in saas.

* Remove dispatch cost from core.

* Send a signal in before_run()

* Render automation header plugin

* Ensure post-dispatch signal is sent after node history is saved

* Add test to prevent regression around post-dispatch signal
2026-06-16 17:08:33 +07:00
Jérémie Pardou 6d902bb127 feat: add membership management for all app types (#5419) 2026-06-10 10:17:50 +00:00
Jérémie Pardou 3a50d61db6 Fix impersonate feature (#4741) 2026-02-12 16:57:03 +01:00
Bram 05969036af [1/6] View level permissions - Plumbing (#4069) 2025-12-03 13:36:00 +01:00
Cezary Statkiewicz 37ddb0f7d5 Date dependency #3735 2025-09-12 15:11:29 +02:00
Davide Silvestri b776ef3974 Introduce AI Assistant 1/3 2025-09-11 11:39:54 +02:00
Jérémie Pardou 336468828a Resolve "Allow to inject CSS/JS in application header" 2025-06-16 14:58:04 +02:00
Bram Wiepjes 5476dbfe2d Guided tour changes for reversed trial 2025-06-02 07:50:17 +00:00
Bram Wiepjes 3613d395ad Public view export 2025-02-04 21:48:08 +00:00
Przemyslaw Kukulski 5a156f64e3 Import and export workspace applications 2024-11-11 10:50:20 +00:00
Przemyslaw Kukulski 89fbe62d0d Resolve "Allow exporting workspace applications" 2024-10-10 16:12:12 +00:00
Bram Wiepjes 6766a4ee57 Allow adding user context components 2024-08-01 09:58:25 +02:00
Bram Wiepjes 04e1a69c03 New left sidebar 2024-07-31 13:41:49 +00:00
Jonathan Adeline 2df101c80c Add new workspace homepage 2024-07-25 17:05:43 +00:00
Cezary Statkiewicz aed83446bd 1911 ical feed 2024-07-23 14:19:26 +00:00
Bram Wiepjes 2a07ac3f0e Improved onboarding 2024-05-24 13:26:26 +00:00
Davide Silvestri d202691977 Resolve "The "Manage members" context icon should only be visible in databases" 2024-04-09 13:50:28 +00:00
Bram Wiepjes a73e72c313 Allow co-branding 2024-03-15 14:10:47 +00:00
Davide Silvestri 35a535e48a Resolve "Workspace level audit log feature" 2023-08-25 15:31:05 +00:00
Petr Stribny 0dac14ca9b Resolve "Self service 30 day free trial of Advanced" 2023-06-12 07:42:52 +00:00
Nigel Gott bf9b9ff204 Resolve "Migrations break when Enterprise not installed" 2023-04-19 14:51:10 +00:00
Peter Evans b1c4322056 Resolve "Fix RBAC roles assignments not being duplicated or snapshotted" 2023-04-18 08:34:20 +00:00
Peter Evans 0426ead072 Resolve "Rename group to workspace in frontend code." 2023-03-28 14:40:58 +00:00
Alexander Haller d0c81a7292 Add database + table level permissions 2022-11-25 08:23:38 +00:00
Bram Wiepjes 75bcd0e032 Enterprise support implementation 2022-11-21 16:23:47 +00:00
Bram Wiepjes e5ba39caa4 Allow adding an additional signup step 2022-10-13 11:27:07 +00:00
Alexander Haller 3ec6c23cae Resolve "Logo removal in publicly shared views" 2022-09-26 08:56:26 +00:00
Bram Wiepjes e925205411 Allow extending of the register page and app layout 2022-07-04 14:48:50 +00:00
Bram Wiepjes 0190a70662 Small fixes in preparation of the subscription service 2022-06-29 13:18:50 +00:00
Bram Wiepjes f7e6cc478c Resolve "Make the styling of the dashboard cleaner" 2022-06-22 17:40:39 +00:00
Petr Stribny e946074b25 Allow plugins to add items to main sidebar menu 2022-05-25 14:17:25 +00:00
Bram Wiepjes 1c48018a7d Resolve "Impersonate a user as admin" 2022-04-24 11:19:54 +00:00
Bram Wiepjes 69be44e468 Resolve "Fixed minor internationalization things" 2021-09-14 14:46:55 +00:00
Bram Wiepjes d61db61061 Resolve "Minor changes related to the SaaS version" 2020-04-30 15:07:20 +00:00