43 Commits
Author SHA1 Message Date
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 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
Jérémie Pardou 64de425120 fix(builder): authenticate SSO callbacks before SSR (#6198) 2026-10-07 10:38:23 +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
Tsering Paljor 9e8e2639fe Revert changes around additional markdown support for Builder. (#6026) 2026-09-07 14:51:10 +04:00
Peter Evans c8f78278d8 bug: address further page corruption edge cases (#5798) 2026-09-04 13:59:54 +01: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 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
Tsering Paljor 512d16b8db Fixed link URL protocol validation to prevent code execution. (#5879) 2026-08-11 12:53:36 +04:00
Jérémie Pardou d709d82920 fix: markdow parsing to avoid escaping (#5841) 2026-08-05 18:21:13 +00:00
Davide Silvestri 4feb259e10 chore(deps): upgrade Nuxt to 4.5.0 and Vue ecosystem (#5763) 2026-08-05 16:05:01 +00:00
Jonathan Adeline 26d746e356 bug: validate missing workflow action params (#5641) 2026-07-10 14:33:16 +04:00
Jérémie Pardouandpeter_baserow 76727fbd1e fix: missing elements after hidden ones for published applications (#5667)
Co-authored-by: peter_baserow <peter@baserow.io>
2026-07-07 13:27:04 +02:00
Peter Evans 8f8d75651e bug: fix custom favicon support in application builder (#5581) 2026-06-25 13:38:28 +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
Davide SilvestriandClaude Opus 4.6 7bce809cbc feat(assistant) 2/3: add application builder tools for pages, elements, data sources, and actions (#4954)
* feat(assistant): add application builder tools module

Add 19 tool functions for creating/managing pages, elements, data sources,
and workflow actions in Baserow builder apps. Includes permission-checked
CRUD helpers, formula generation context, element type models with dispatch
tables, and routing rules for all builder operations.

* feat(assistant): add theme catalog, apply_theme, and theme templates

Add THEME_CATALOG with 20 theme definitions, ThemeName type, apply_theme()
helper, and auto-theme application on builder creation. Includes JSON and
ZIP template files for all themes.

* feat(assistant): register BuilderToolType and wire up imports

Register BuilderToolType in apps.py, consolidate ToolInputError in
builder.helpers, remove try/except guard on builder import in toolset,
and minor formatting fixes.

* feat(assistant): add builder page navigation and UI context

Add builder-page navigation handler in AssistantPanel, page name display
in AssistantUiContext, builder page context extraction in store, and
undo/redo scope dispatch for builder pages.

* test(assistant): add builder tools and eval tests

Add 55 unit tests for builder tools (pages, elements, data sources,
workflow actions, styles, themes), 4 element move tests, restore 3 theme
tests in core tools, and 11 LLM eval tests for builder scenarios.

* lint

* refactor(assistant): extract theme code for separate PR

Remove theme catalog, apply_theme, set_theme, and 20 new template files
to be re-added on pydantic-ai-pr3 as a focused theme PR.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(assistant): add missing application_type_registry import in core types

* fix(assistant): add prerequisite hint to create_display_elements and update builder evals

* feat(assistant): add view_id to data source create and update

Allow data sources to reference a database table view for filtering.
Instead of reimplementing the full filter model, this leverages existing
create_views + create_view_filters tools to set up filters on a view,
then links it via view_id.

* feat(assistant): add user source setup, role visibility, and login page

- Add setup_user_source tool: creates users table with fields and
  example rows, configures Local Baserow user source with password auth,
  creates login page with auth_form element, and sets builder.login_page
- Add update_builder core tool for application-level settings
  (login_page_id) and register it in all mode-aware toolsets
- Add role_type and roles fields to PageCreate, PageUpdate, PageItem,
  ElementItemCreate, and ElementUpdate for role-based visibility
- Add auth_form element type with user_source_id and login_button_label
- Enrich list_pages response with user_sources, available_roles, and
  login_page_id so the LLM knows what auth is configured
- Add 3 unit tests and 2 eval scenarios for user source setup

* fix(assistant): address copilot feedback

- Guard `update_single_element_formulas` against KeyError from
  `get_first_ancestor_of_type` (shared page elements), matching the
  existing guard in `update_element_formulas`
- Enforce XOR validation on UserSourceSetup for table_id/database_id
- Use `literal_or_placeholder` in notification/open_page workflow action
  kwargs so plain strings are properly quoted as formula literals
- Raise ToolInputError when table lookup via .first() returns None in
  data source and workflow action types
- Reorder page.js selectById to validate pageId before setting undo/redo
  scope

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(assistant): fix view type bugs in ViewItemCreate and from_django_orm

- Default `public` to False instead of requiring it
- Read grid `row_height` from ORM instead of hardcoding "small"
- Use `is None` check for required fields to accept valid falsy values

* fix(assistant): prevent shared header misuse and fix collection element formulas

Strengthen guidance so the AI doesn't place page-specific content in
shared headers/footers and correctly uses current_record instead of
data_source.<id>.0 for formulas inside table/repeat elements.

* fix: add pytest.skip to flaky test test_async_start_workflow_rate_limited_runs_eventually_disable_workflow

* fix: address feedback

* Revert "fix: add pytest.skip to flaky test test_async_start_workflow_rate_limited_runs_eventually_disable_workflow"

This reverts commit 39ca93eebf.

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 15:55:53 +00:00
Jérémie Pardou c6686ecf4a Fix routing with hash inside a parameter value (#4792) 2026-02-17 20:29:49 +01: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
Jérémie Pardou d109762e88 Improve backend error feedbacks 2025-07-09 16:19:04 +02: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
Peter Evans a8257f52d4 Resolve "Wrong record is updated when a Table element uses a filter or search" 2025-02-03 14:38:23 +00:00
Tsering Paljor 4feedc7c0f Add Custom Colors to Theme 2025-01-22 05:31:47 +00:00
Afonso Silva 847a7f2571 Resolve "Removing page parameters corrupts any workflow_action enabled element that had that parameter set" 2025-01-06 14:16:11 +00:00
Tsering Paljor 6529014cdf Add Page Visibility 2024-11-26 12:06:14 +00:00
Jérémie Pardou 6c6f1774bd Allow shared data sources 2024-10-17 15:49:51 +00:00
Tsering Paljor 9ea3225594 AB Fix Link elements using Custom URL with protocols like mailto 2024-05-30 08:38:13 +00:00
Andrea Disarò 7ce3a9fbf6 Resolve "Link Collection field and Open page action should allow same options as Link element" 2024-04-15 08:27:27 +00:00
Afonso Silva 30be7b7326 Resolve "Data explorer shows bad type for complex data" 2024-03-27 12:01:43 +00:00
Andrea Disarò c12f43ade0 Resolve "Create base components for the AB" 2024-03-26 14:37:13 +00:00
Peter Evans 53d7ef19e4 Resolve "When page parameters change, the table link fields pointing to that page are not updated properly" 2024-02-01 17:39:04 +00:00
Peter Evans a40ab14735 Resolve "Improve Table element: improve link field type." 2024-01-12 11:48:34 +00:00
Peter Evans 18a73c4ed0 Resolve "Validate the PreviewNavigationBar parameters values against their type." 2024-01-09 17:41:09 +00:00
Bram Wiepjes 0c82696769 Introduced more element styling options 2023-10-30 14:03:35 +00:00
Bram Wiepjes bbecb2f328 Added configurable color value to the heading proprty 2023-10-05 09:58:38 +00:00
Jérémie Pardou 73e51624db Resolve "Use integration & data source in elements" 2023-08-04 14:29:34 +00:00
Jérémie Pardou e45fd10652 Add Link element 2023-05-11 15:27:17 +00:00
Petr Stribny f2bc3ce901 Merge branch '1675-bump-frontend-deps' into 'develop'
Resolve "Bump frontend deps"

Closes #1675

See merge request baserow/baserow!1371
2023-04-28 10:56:33 +00:00
Petr Stribny ea44b47d3d Resolve "Bump frontend deps" 2023-04-28 10:56:33 +00:00
Jrmi 1f1a2af0a5 Resolve "Allow to publish an application" 2023-04-27 06:48:58 +00:00
Alexander Haller bdb0178180 Page path frontend 2023-04-11 13:41:43 +00:00
Bram Wiepjes d269c35c07 Investigate how we can route a domain to a specific nuxt page 2023-02-27 09:11:36 +00:00