Commit Graph
447 Commits
Author SHA1 Message Date
peter_baserow ca3e6e1c8c feat: store API keys for HTTP requests in an HTTP authentication integration 2026-12-04 10:31:11 +00:00
Tsering Paljor 6391674129 fix: Revoke a login's access tokens on logout (#6951)
* 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.
2026-12-02 08:57:10 +04: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
Przemyslaw Kukulski fa2a48b520 feat: search shared templates by author and link to "Your templates" (#6880) 2026-11-27 10:12:11 +01: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
Peter Evans 17c1af4cc4 feat: show formula data as a source badge and the data it points to (#6857)
* 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
2026-11-26 13:34:21 +00: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
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 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
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
Peter Evans bbe7b9da07 feat: add change events to Checkbox and Rating input elements (#6734) 2026-11-18 06:45:37 +00:00
Peter Evans 36b1468e6d fix: disallow dots in application builder subdomain names (#6716)
* fix: disallow dots in application builder subdomain names

* fix: reject Unicode dot equivalents in application builder subdomain names
2026-11-17 09:13:33 +00:00
Jonathan Adelineandpeter_baserow 062a3f829d feat: add onClick and onChange events to more elements (#6686)
* feat(builder): add click events to images, text and headings

* fix(builder): allow element clicks to dismiss menus

* feat(builder): add click actions to columns and containers

* fix(builder): isolate nested interactive controls

* feat(builder): add selection change events

* test(builder): complete event fixtures for CI

* fix: keep heading semantics and limit click areas on clickable builder elements

---------

Co-authored-by: peter_baserow <peter@baserow.io>
2026-11-17 10:27:34 +04:00
Tsering Paljor 9b646327d5 fix: Reload published page when site is re-published (#6685)
* Reload published page when site is re-published.

* Add interceptor that covers every API request returning 404 for published site tabs

* Show a notification if the user submits a form on a stale page

* Include element and data source in the stale errors notif.
2026-11-16 08:58:26 +04: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
Peter Evans 82f9a7f9d1 feat: add an HTTP request data source to the application builder (#6553)
* feat: add an HTTP request data source to the application builder
2026-11-12 09:36:00 +00:00
Jonathan Adeline 0063c5494b fix(builder): explain HTML embed editor limitations (#6636) 2026-11-11 21:53:55 +04:00
Peter Evans 58a04924fe feat: let builder data sources be tested and work without an integration (#6552)
* feat: let builder data sources be tested and work without an integration

* fix: return a clear error when testing a data source with a missing sort or filter field
2026-11-10 09:01:34 +00:00
Jonathan Adeline ff7885a003 fix(builder): validate required conditional fields on submit (#6637) 2026-11-06 19:12:04 +04:00
Przemyslaw Kukulski 308919f3d4 fix: keep input made before the page finished loading (#6627) 2026-11-06 13:50:48 +01:00
Jérémie Pardouandpeter_baserow 5ebc98d3c6 feat: block untrusted content in builder and automation imports (#6457)
Co-authored-by: peter_baserow <peter@baserow.io>
2026-10-29 11:08:35 +00:00
Jérémie Pardou 876d59ca8f fix(builder): restore form data in submit button labels (#6465) 2026-10-27 13:44:57 +01:00
Jonathan Adeline 4fda533102 feat(builder): add optional search to choice dropdowns (#6283) 2026-10-21 19:39:39 +04:00
Jérémie PardouandTsering Paljor 7342f849ef fix(application): resolve preview record selector names (#6393)
Co-authored-by: Tsering Paljor <tsering@baserow.io>
2026-10-21 15:21:53 +02:00
Tsering Paljor 7396be706d Fix image constraint translation lookup (#6429) 2026-10-21 08:57:31 +04:00
Peter Evans 1d1a75f8b0 Resolve the most frequent builder Sentry issues in the last 30d (#6396) 2026-10-20 16:05:50 +01:00
Peter Evans 86a7c0d204 stop data source changes from remounting the page editor (#6376) 2026-10-20 13:29:16 +01:00
Peter Evans 2f95f715bf feat: add an error style on builder/automation applications (#6377)
* Feature flagged: display an error style on a builder and automation application, and then its settings, if an integration is in error.

* Show the error message in a tooltip

* fix: merge duplicate integration error methods after rebase on develop

* Tweak the error message

* test: give the live integration fixture an authorized subject
2026-10-19 13:45:42 +01:00
Jérémie Pardou 08c577883a refactor(builder): migrate element visibility to data scopes (#6365)
* refactor(builder): use compound data scopes

* fix(builder): resolve nested current record in table actions

* docs(changelog): record builder data scope and nested action fixes

* docs(skills): add builder data scopes guide

* fix(builder): resolve current record in single-row property tables
2026-10-15 16:43:33 +02:00
Tsering PaljorandJeremie Pardou f9b342cf93 fix: Ensure data inside form is submitted (#6363)
* Fixed a bug in builder form submission due to visibility condition.

* fix(builder): scope visibility condition data

* fix(builder): deduplicate data scope import

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-10-13 16:04:11 +04:00
Peter EvansandJeremie Pardou 6c3176cd0c improve visibility condition validation and surface issues (#6331)
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-10-12 14:45:23 +01:00
Tsering Paljor 674e4b12a8 feat: Add markdown support to more Builder elements (#6124)
* WIP

* Remove formula conversion related changes

* Move the file input click guard to formatted text component

* Move format types into their own components

* Use a shared markdown-it instance

* Move the formatter into data explorer

* Move minification logic into BaserowFormulaMinified

* Renderer should own the root element

* Ensure long choice names are truncated

* Ensure line height doesn't grow for paragraphs

* Add tests

* Add changelog

* Add specific tests for choice element
2026-10-09 09:36:32 +04:00
Jérémie Pardou 64de425120 fix(builder): authenticate SSO callbacks before SSR (#6198) 2026-10-07 10:38:23 +02:00
Jérémie Pardou 5f1e418398 fix(builder): wait for data sources before rendering elements (#6169) 2026-09-29 13:17:02 +02:00
Jonathan Adeline 6e0cc70649 fix: premature validation errors on standalone builder inputs (#6132) 2026-09-28 14:18:49 +00:00
Jérémie Pardou 13a0f435b5 feat: add graph element (port from dashboard) (#5575) 2026-09-21 15:18:42 +00:00
Tsering Paljor 9d5261de66 fix: Ensure formula field handles existing null value (#5948)
* Fixed a crash when clicking in a formula field that has a null value.

* Revert changes around default mode value
2026-09-17 16:44:25 +04:00
Jérémie PardouandTsering Paljor 1874ac19f4 feat: port grouped aggregations data source to builder (#5546)
Co-authored-by: Tsering Paljor <tsering@baserow.io>
2026-09-17 07:41:59 +00:00
Peter Evans 1ea0d48e86 fix: field mapping list flickering when editing upsert action (#5982) 2026-09-14 15:17:40 +01:00
Jérémie Pardou 8471137a23 feat: allow raw formula mode in any formula fields (#5643)
* Allow raw formula mode

* Fix formula mode toggle

* Ignore formulas that are already in raw mode

* Simplify filter normalisation
2026-09-09 15:11:19 +02:00
Bram 42371d6beb feat: Add skeleton loading animation and make pages load instantly (#6023) 2026-09-09 11:03:03 +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 PaljorandJeremie Pardou aefdc35657 feat: Implement Application Builder user limit notification (core) (#5622)
* Add support for AB limits.

* Fix wrong count when multiple domains exist

* Fix translation issue

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-09-09 08:50:09 +04:00
Jonathan Adeline cabb46d9fc feat: detect more misconfigurations (#5979) 2026-09-08 22:27:14 +04:00
Peter Evans 00dc3ad544 feature: introduce further undo/redo support in builder (#5691) 2026-09-08 13:55:09 +01: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
Jonathan Adeline 54db5620f9 feat: show URL iframe placeholder in editor (#5878)
* fix: show URL iframe placeholder in editor

* Update changelog entry type from bug to feature

Changed issue type from 'bug' to 'feature' for clarity.
2026-08-27 10:01:01 +04:00
Jonathan Adeline 97d3afd59a feat: add configurable responsive breakpoints (#5738)
* first commit

* feat: add configurable breakpoints styles and update SCSS imports

* change icon and menu position

* fixings and improvments

* add changelog

* lint

* generate dynamic media queries from elementType

* store responsive breakpoints in a JSON field

* initialize default breakpoints when creating applications

* confirm breakpoint settings saves

* lint

* fix: address configurable breakpoint review feedback

* fix: address responsive breakpoint feedback
2026-08-26 16:07:08 +04:00