35 Commits
Author SHA1 Message Date
Peter Evans c772afdb22 feat: show application integrations in one grouped table (#6901)
* 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
2026-11-27 15:39:11 +00:00
Tsering PaljorandJeremie Pardou 250748c8dc feat: Workspace level integrations (#6547)
* 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>
2026-11-27 15:49:32 +04:00
Peter Evans b13c47f329 fix: run scripts inside the builder HTML element in preview and published apps (#6854)
* fix: run scripts inside the builder HTML element in preview and published apps

* fix: keep HTML element scripts off in preview on the editor hostname

* chore: add a changelog entry for scripts in the builder HTML element

* perf: stop scripts in one HTML element from delaying scripts in another

* test: remove the duplicated widget resize test

* test: drop the toSorted-free browser setup from the dashboard tests
2026-11-27 10:03:29 +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
Przemyslaw Kukulski 19bb477c64 fix: show apps and dashboards in signed-out template previews; user template previews run no data sources (#6841) 2026-11-24 12:56:08 +01:00
Jonathan Adelineandpeter_baserow 03f6d194cf feat: add custom HTML to the application head (#6782)
* 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>
2026-11-20 10:26:09 +00:00
Jérémie Pardou f39b526db6 fix(builder): skip validation for fields hidden by ancestor containers (#6794)
* fix(builder): exclude ancestor-hidden fields from form submission

* fix(builder): link form visibility changelog to issue 6462

* fix(builder): preserve stored values of ancestor-hidden inputs
2026-11-19 14:51:00 +01:00
216d724aa3 Add dashboard text filter widgets (#6572)
* feat: add dashboard input filters and connected widget filtering

* style(dashboard): refine filter widget layout and resize handles

* fix: hide optional labels in dashboard filter settings

* feat(dashboard): resolve dropdown filter values from formulas

* feat(dashboard): add input and dropdown filter settings with cached options

* style(dashboard): use segmented control for filter type

* style(dashboard): remove separator above filter type

* style(dashboard): align filter settings field spacing

* feat(dashboard): support list-valued dropdown filters

* feat(dashboard): add single and multiple selection controls

* feat(ui): allow item cards without an icon

* feat(dashboard): simplify filter target configuration

* fix(ui): position floating dropdowns around their trigger

* feat(dashboard): simplify widget filter condition editing

* style(dashboard): streamline filter sidebar settings

* style(dashboard): clarify filter action buttons and spacing

* test(dashboard): align widget fixture with card rendering

* chore(changelog): document dashboard filters

* fix: preserve dashboard filter links across trash and restore

* fix: merge pending dashboard widget saves and settle all callers

* fix: match individual values in dashboard multi-select filters

* style: refine dashboard clear selection button

* feat: show dashboard filter cases as tabs with condition counts

* fix: limit dashboard refresh waits to dependent widget saves

* refactor: share the builder and dashboard item picker

* style: improve the dashboard text filter illustration

* feat: show inherited dashboard filters in widget refinements

* test: include table schemas in dashboard source responses

* fix: defer builder element availability checks until picker opens

* test: use shared item picker selectors in end-to-end tests

* feat: show Select actions for dashboard filter option fields

* feat: choose dashboard filter defaults from available options

Reuse cached options for single and multiple default selections and place the default picker below Filter values. Store multiple defaults as JSON lists while preserving existing string defaults.

* fix: clear dashboard filter defaults when options change

Save the new options and cleared default together so undo restores both. Ignore unchanged formula values and leave option refreshes unaffected.

* fix: persist filter defaults when switching selection modes

* fix: normalize dashboard filter defaults at the write boundary

* fix: preserve active filter selections when switching modes

* fix: remove unavailable dashboard filter defaults

* fix: reconcile filter defaults when dashboard options load

* fix: roll back filter selections independently of other widget saves

* fix: preserve explicit filter selections during failed saves

* fix: align dashboard filter input and dropdown dimensions

* feat: indicate when dashboard widget results are filtered

* feat: toggle dashboard filters for individual widgets

* feat: confirm and reset widget filters when changing tables

* fix: use source context data for dashboard filter options

* refactor: resolve dashboard filter options in the frontend

* refactor: organize dashboard filter providers and lifecycle hooks

* test: align dashboard context schema expectations

* fix: accept formula validation context in dashboard providers

* refactor: share dashboard update hooks and table selection

* refactor: configure nested dashboard formulas with shared field

* test: use grouped table selector in button field workflows

* refactor: validate dashboard runtime data through providers

* refactor: share formula property extraction across dashboard and builder

* refactor: delegate filter status to service types

* refactor: simplify dashboard restoration hooks and request cache

* perf: cache dashboard property extraction per widget

* refactor: resolve dashboard runtime filters through widget hooks

* refactor: rely on request transactions for dashboard source updates

* perf: share dashboard widget lookups and validation per request

* refactor: resolve dashboard context sources through handler

* refactor: validate dispatch data through every provider

* refactor: extract dashboard properties using source handler

* refactor: validate dashboard source ownership when saving formulas

* refactor: apply dashboard filters as additional AND groups

* refactor: store dashboard widget filters in relational models

* refactor: share grouped filter conversion and persistence

* refactor: delegate empty summary values to aggregation types

* refactor: place dashboard settings separators in data forms

* refactor: defer dashboard source formula imports

* fix: expose table field options for all data source types

* fix: scope dashboard cache signals to dashboard models

* feat: support option labels in selection filters

* fix: preserve summary widget spacing in edit mode

* test: preserve selection labels during filter imports

* fix: harden dashboard filters on public dashboards and select label view filters

* fix: keep dashboard filter imports, settings and stored links consistent

* fix: accept stale multi-value selections and validate inactive dashboard filter conditions

* feat: gate dashboard filter creation behind a feature flag

* feat: default dashboard filter conditions to their widget value

* fix: explain when the formula data explorer is empty

* test: use grouped table selector for agent triggers

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
Co-authored-by: peter_baserow <peter@baserow.io>
2026-11-18 15:22:53 +00:00
Jonathan Adelineandpeter_baserow d443af3b4e feat: add an Enterprise HTML element (#6658)
* feat: add an Enterprise static HTML element to the Application Builder

* fix: validate widget markup across imports and browser rendering

* test: refresh the E2E database fixture for the HTML element

* fix: follow browser rules for duplicate attributes and URL lists

* feat: show the embed preview hint on custom HTML elements

* docs: explain how to add widget scripts in the HTML element form

* chore: align HTML element changelog with repository conventions

* feat(builder): render HTML in a sandboxed editor preview

* fix(builder): remove excess HTML editor preview spacing

* fix(builder): match empty HTML and iframe styling

* fix(builder): flag empty HTML element sources

* docs(builder): generalize HTML source helper text

* docs(builder): clarify HTML helper script options

* docs(builder): keep external script helper vendor neutral

* feat(builder): validate HTML source immediately in the editor

* refactor(builder): simplify HTML element as trusted custom code

* docs(builder): shorten HTML source helper

* feat(builder): support formulas in the HTML element

* style(builder): format the HTML element migration

* Tweak the FormulaField migration. Add a placeholder to the formula field in the frontend.

* Bump the HTMLElement migration IDs.

* fix(ci): align E2E fixture with renumbered HTML migration

---------

Co-authored-by: peter_baserow <peter@baserow.io>
2026-11-12 16:09:53 +04:00
Jérémie PardouandTsering Paljor e83d592353 feat: add response node (#5595)
Co-authored-by: Tsering Paljor <tsering@baserow.io>
2026-09-24 15:41:25 +02:00
alamin-br 5275ede481 fix: make SMTP and Slack integration credentials write-only (#6072)
* fix: make integration credentials write-only in the API

The SMTP password and Slack bot token were returned in plain text by the
integration API and broadcast to every collaborator over the websocket.

* fix: record integration config changes in the undo log

The exclude list used sensitive_fields, which for SMTP covers every field,
so undoing an SMTP integration update restored nothing.

* fix: require the SMTP password when the connection target changes

Keeping the stored password while changing host, port or use_tls let a
user redirect it to a server of their choosing, or downgrade the
connection so it crossed the wire in the clear.

* fix: refresh integration state from the update response

The has_password and has_token flags are derived server side and nothing
else refreshes them for the user who made the change.

* feat: keep the saved SMTP password when it is not retyped

The API no longer returns the password, so the form must distinguish an
untouched field from a deliberate clear.

* feat: keep the saved Slack bot token when it is not retyped

Also mask the input, which rendered a bearer credential in plain text.

* feat: explain why an integration credential must be re-entered

* chore: add changelog entry for write-only integration secrets

* test: cover write-only integration secrets end to end

Unit tests on either side cannot see the seam between the form omitting an
untouched credential and the backend reading an omitted one as keep.

* fix: correct Slack integration copy and defaults for write-only tokens

The summary read the token itself, so a configured bot showed as not
configured, and the create warning told users the token could be read
back through the API.

* fix: keep every sensitive field out of the integration action log

Narrowing the exclude list put the SMTP host into a replayable log while
the credential stayed out, so a recorded target change could be replayed
onto a password supplied later by someone else. It also wrote the AI
integration's provider API keys into the action and audit logs.

* fix: keep integration secrets required when there is nothing to keep

Making every secret optional so an update need not retype it also made the
Slack token optional on create, where no stored value can be kept.

* fix: never use the instance SMTP account for an integration

Django's SMTP backend replaces a None username or password with the instance's own.

* fix: read has_token when checking a Slack bot in button field actions

* fix: list writable credentials in the integration request schemas

Also keep the blank error code for an empty token on create.

* docs: correct integration secret comments and changelog

* style: format button field action list spec

* fix: validate integration updates as partial

Keeps secrets required on create so the schema matches the server, and
drops the None stripping and view-level secret check it made redundant.

* docs: cross-reference the two secret_field_dependencies

* docs: describe the write-only contract of integration secrets

The copy stops a base serializer's extra_kwargs leaking into the type's
shared dict, which made name optional on the create serializer.

* docs: move integration secret reasoning into docstrings

* fix: name the credential generically in the retype message

* test: select the SMTP password input by type

* test: expect the credential wording in the retype e2e

* fix: document integration updates as partial

The update validates with partial=True, but its per-type schema components
still listed token and host as required.

* fix: let undo restore non-credential SMTP settings

Only secrets and the targets they protect stay out of the action log, so an
SMTP username change can be undone. Types without secrets still exclude every
sensitive field.

* docs: point sensitive_fields readers to secret_fields

sensitive_fields does not hide a field from API responses, so new
integration credentials need secret_fields too.
2026-09-14 16:07:05 +02:00
Jérémie PardouandTsering Paljor 40c18a3c9f feat: add separate domain for preview (#5682)
Co-authored-by: Tsering Paljor <tsering@baserow.io>
2026-09-09 08:53:47 +02:00
Tsering Paljor 9e8e2639fe Revert changes around additional markdown support for Builder. (#6026) 2026-09-07 14:51:10 +04:00
Tsering Paljor 50ad792796 feat: Allow markdown in more Builder elements and fields (#5957)
* Allow markdown in text collection fields.

* Add support for markdown format in more Builder elements and fields.

* Add tests

* Fix tests

* Fix test

* Fix frontend tests

* Remove markdown from tags for now

* Fix markdown rendering extra newline

* Ensure markdown with relative links don't do a full reload
2026-09-03 08:55:55 +04:00
Peter Evans 8caa08c3da resolve flaky ratingElement e2e test and missing ffmpeg on retry (#5901) 2026-08-14 12:43:02 +01:00
Jonathan AdelineandJeremie Pardou 3fb5c3c78b feat: improve action selection with searchable grouped menus (#5720)
---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-07-30 15:58:46 +04:00
Peter Evans bc8c5e825c chore: add an element visibility e2e test (#5674) 2026-07-22 19:03:58 +01:00
Peter EvansandJeremie Pardou b70bc968db chore: (1/2) implement the graph system in the builder backend (#4706)
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-06-25 10:09:24 +01:00
Jonathan Adeline e5c3aa4353 Nuxt3 migration continue (#4595)
* Refactor store registration to use SSR methods across multiple plugins for improved state management

* fix database file field drag and drop

* fix storybook dependencies warning.

* refactor: Replace `useAsyncData` with a direct `watch` and `renderMarkdown` function for markdown content.

* fix workspace hydratation warning

* replace direct `role.isBillable` access with `roleIsBillable` computed property

* fix auth settings form

* fix alert slot usage

* please linter

* please prettier

* fix SSR rendering

* refactor: simplify relay state URL generation by directly passing the user source object.

* refactor: Replace `registerModuleSSR` with `registerModuleNuxtSafe` for Vuex module registration across all plugins.

* please linter

* fix: add retry logic for Firefox NS_BINDING_ABORTED navigation errors in E2E tests

* test: reload page and assert link visibility using getByRole after setting parameters.

* refactor: simplify `goto` navigation by removing retry logic and adding a fixed delay.

* refactor: trigger initial markdown rendering via immediate watcher option

* update snapshots
2026-02-09 17:32:12 +04:00
716d43a9a8 Nuxt 3 migration (#4342)
Update the nuxt3 version.

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
Co-authored-by: Cezary <cezary@baserow.io>
Co-authored-by: Tsering Paljor <tsering@baserow.io>
Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io>
Co-authored-by: Bram <bram2w@users.noreply.github.com>
2026-01-22 10:27:19 +01:00
Bramandpeter_baserow 9898aa1156 Migrate baserow formulas to object (#4080)
* Iimplement the migration

* Further improvements to FormulaField. Introducing JSONFormulaField so that CollectionField.config works correctly. Updating so.. so many tests.

* Further backend tweaks. Found issues in builder and dashboard.

* Further backend tweaks to support the 'used properties' checks.

* Add support for view filter component placeholders. For now it just used in ViewFilterTypeText.

* Lots of frontend changes in AB/WA/Integrations to support the new formula object.

* Fix link resolution

* Re-create the migrations

* Improvements added to JSONFormulaField to support multiple formula properties. Fixing oh-so-many tests in builder, premium and database.

* Fixing frontend tests.

* Addressing AI field feedback, adding BaserowFormulaObjectSerializer

* Fixing e2e tests.

---------

Co-authored-by: peter_baserow <peter@baserow.io>
2025-10-22 17:06:00 +02:00
Jérémie Pardou e58d45fbe2 Resolve "Improve application debugging experience for designers" - v1 2025-07-03 10:03:28 +02:00
Tsering Paljor f1ce62eeab Add e2e tests for Automation Node 2025-06-11 14:20:58 +04:00
Jérémie Pardou 318d05a288 Add http action 2025-05-27 10:01:04 +02:00
Jeremie Pardou 67cf463045 Add e2e tests 2025-05-16 20:52:50 +02:00
Tsering Paljor 05d9d96df7 Add ability to manage Automation workflows 2025-04-17 17:01:26 +04:00
Bram Wiepjes e327ac5a71 [2/4] Updated grid view styling 2025-04-17 10:26:35 +00:00
Jérémie Pardou 38da185cd8 Fix AB template permissions for preview 2025-04-02 11:20:19 +02:00
Evren Ozkan 332ec39ef6 Add array support to query parameters validation handlers 2025-03-31 09:55:57 +00:00
Evren Ozkan f9cbd62473 feat: Add rating elements to app builder 2025-03-27 13:34:31 +00:00
Evren Ozkan e95007cb9d #3172 Apply add new element modal redesign 2025-03-11 17:58:08 +00:00
Evren Ozkan a5f191ce2b fix: skip null values in URL query param resolution 2025-02-18 14:23:01 +00:00
Evren Ozkan 557b8966f8 Add query_parameters to pages 2025-02-03 15:37:04 +00:00
Jérémie Pardou b10a65666a Resolve "Create a multi-page container element" 2024-11-28 08:47:54 +00:00
Jérémie Pardou 63117027a6 Add builder first e2e tests 2024-11-14 12:30:42 +00:00