Commit Graph
49 Commits
Author SHA1 Message Date
Davide Silvestri 5d19eab8de chore(deps): upgrade uv to 0.12.24 (#6302)
* chore(deps): upgrade uv to 0.12.23 and re-lock the backend

* chore(deps): bump uv to 0.12.24
2026-10-19 09:54:57 +02:00
Davide Silvestri 5a4c6319c2 fix(docker): install backend plugins into the app venv and drop the system pip (#6298)
* fix(docker): install backend plugins into the app venv and drop the system pip

* chore(docker): add changelog entries and keep .pyc files out of the pip removal layer
2026-10-15 09:05:34 +02:00
Davide Silvestri 0b1e7ee825 chore(docker): reduce known CVEs in the Docker images (#6289)
* chore(deps): upgrade the Python base image to 3.14.8

* chore(deps): upgrade Caddy to 2.11.6

* chore(docker): add apt repository keys without installing gnupg

* chore(docker): install supervisor from PyPI in the all-in-one image

* chore(deps): upgrade wasmtime to the 48.0.5 LTS release and verify its checksum

* ci: run the code runner tests against the real wasmtime binary

* chore(deps): bump click to 8.3.3

* chore(deps): build mox against x/crypto 0.56.0

* address feedback
2026-10-14 11:21:34 +02:00
Davide Silvestri 3f1de6e74d chore(deps): upgrade pysaml2 to 7.5.5 and drop the baserow fork (#6229)
Upstream pysaml2 7.5.5 ships IdentityPython/pysaml2#1021, the fix we
cherry-picked into baserow/pysaml2 in #5663 to unblock the
CVE-2026-26007 cryptography upgrade. Install it from PyPI again.

The only code difference from the fork is a refactor of
OpenSSLWrapper.verify in saml2/cert.py, reached only through
verify_ssl_cert or generate_cert_info, which Baserow never sets.

git is removed from the Dockerfile builder-prod-base and dev stages: it
was only needed for uv to fetch the git-sourced fork.
2026-10-01 09:54:08 +02:00
Davide Silvestri 4187dbb2c8 chore(deps): upgrade Docker base images (#6227)
Python 3.14.7, Node.js 24.21.0, Go 1.27 (mox builder), and the dev-only
Keycloak, OTel collector and Phoenix images. Caddy 2.11.4 is already the
latest release.
2026-09-30 17:18:15 +02:00
Peter EvansandJeremie Pardou 620fcc9a56 feature: inbound email trigger (#5730)
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-09-22 13:41:10 +01:00
Davide Silvestri eda35b0efe chore(deps): resolve backend dependency CVEs (pysaml2 fork, cryptography, twisted, pydantic-ai) (#5663)
* chore(deps): switch pysaml2 to baserow fork to fix cryptography and pyopenssl CVEs

The baserow/pysaml2 fork is v7.5.4 with IdentityPython/pysaml2#1021
cherry-picked, lifting the pyopenssl<24.3.0 cap that blocked the
cryptography upgrade. Pinned to the immutable merge commit
(tagged v7.5.4+deps-upgrade) via tool.uv.sources.

Upgrades cryptography 43.0.3 -> 49.0.0 and pyopenssl 24.2.1 -> 26.3.0,
resolving 3 high and 3 low Dependabot alerts including CVE-2026-26007.

git is added to the Dockerfile builder-prod-base and dev stages because
uv requires the git CLI to fetch git-sourced dependencies.

* chore(deps): upgrade twisted, django, daphne, pydantic-ai and pydantic-settings to fix remaining CVEs

- twisted 25.5.0 -> 26.4.0: DNS compression pointer DoS (high)
- pydantic-ai-slim 1.77.0 -> 1.102.0: two SSRF blocklist bypasses (medium);
  requires boto3 >= 1.42.63
- pydantic-settings 2.12.0 -> 2.14.2: secrets_dir symlink traversal (medium)
- django 5.2.14 -> 5.2.15 and daphne 4.2.1 -> 4.2.2 security patches

pydantic-ai 1.102 turned StreamedResponse._parts_manager into a
cached_property and added _finished/_cancelled class-default fields.
These shadow __getattr__ on the assistant's _ErrorRecoveringStream
proxy, so get() would build the response from an empty proxy-local
parts manager. The shadowed attributes are now property-delegated to
the inner stream, with a regression test asserting get() sees the
streamed parts.

* chore: add changelog entry for security dependency upgrades
2026-07-07 13:01:47 +02:00
Bram 9bda30671d bug: Upgrade Python to 3.14.6 to fix memory leak (#5608) 2026-06-29 12:20:05 +00:00
Jérémie Pardou b3aa83514b feat: add code service (#5425) 2026-06-09 15:41:31 +00:00
Davide Silvestri 9782eeb60a fix: Dockerfile home folder permissions bug after the upgrade from bookworm to trixie (#4958) 2026-03-12 09:41:26 +00:00
Davide SilvestriandClaude Opus 4.6 9ff56b194e chore (deps): upgrade Sentry in the frontend to resolve a security alert with minimatch (#4887)
* upgrade sentry

* Add changelog entry

* remove OS-level npm from frontend image which is not needed in prod and contains CVEs

* Fix dc-prod command

* Make sure ci and prod images download the latest packages instead of using the cache

* Extract Python base image into a reusable ARG in backend Dockerfile

Define PYTHON_BASE_IMAGE once at the top and reference it in all four
FROM lines (builder-prod-base, ci, dev, local) to avoid repeating the
version string.

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

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 18:44:13 +01:00
Davide SilvestriandCopilot d89f474df5 chore (deps): upgrade base image to trixie and python 3.14 (#4718)
* trixie and python 3.13

* Fix backend tests

* Fix various references to previous python 3.11

* Upgrade to python 3.14

* Use official version of caddy

* Update backend/Dockerfile

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix dev build

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-11 15:15:24 +01:00
Davide Silvestri 0d4c43de13 chore (docker): remove node_modules from production images (#4703)
* remove useless node_modules from prod image

* update ci

* Fix web-frontend test in ci
2026-02-10 09:32:51 +01:00
Davide Silvestri 5d3c90f9f6 chore (AI-Assistant): add embeddings to docker-compose.dev.yml; improve installation docs (#4563)
* chore (AI-Assistant): add embeddings to docker-compose.dev.yml; improve installation docs

* Fix flaky test

* Address feedback

* Fix just dev down to stop all services
2026-01-23 14:08:08 +01:00
Davide Silvestri 8e05debbfb fix (CI): add missing docs folder to docker images (#4559) 2026-01-20 09:03:13 +01:00
Davide Silvestri 80502fee12 chore (CI): fix all-in-one image build (#4552)
* Fix versions in dockerfiles; remove all-in-one-dev

* Add manual trigger to build all-in-one image

* add build_args for all-in-one images
2026-01-19 14:15:54 +01:00
Davide Silvestri e25988ea0d chore: switch to uv and justfile (#4369)
* create backend justfile; switch to uv

* Add deploy and dc-deploy recipes to build images

* Add uv.lock for reproducible builds

* CI fixes + improvements

* Reduce build time

* improve CI caching

* Improve exit early conditions

* Set requires_python==3.11.*; add backend/media to gitignore

* Fix all-in-one Dockerfiles and some other fixes

* Introduce frontend justfile + some other useful recipes

* Fix permissions issue with dev containers

* Improve dockerfiles and docs on how to use the dev env

* Fix mjml-email-compiler service

* Update docs + address feedback

* Fix containers healthchecks

* Fix yarn test in dev container

* Minor fixes to docs and justfile attach command

* Address Petr's feedback

* Address additional feedback

* Add changelog entry

* Address feedback: Petr and Przemek

* address feedback + prepare for saas PR

* minor fixes

* Address Bram's feedback 2
2026-01-15 11:22:22 +01:00
Bram eefb7bdaf6 Add GitHub action jobs to publish release (#4270) 2025-11-17 18:20:01 +01:00
Bram Wiepjes 68de1fc028 Revert "Merge branch 'oss-only' into 'develop'" 2025-08-26 19:19:10 +00:00
Davide Silvestri 728330c4e1 Create OSS only images 2025-08-26 14:58:05 +02:00
Davide Silvestri bb248241dd Remove obsolete compose version 2025-07-16 16:00:27 +02:00
Bram Wiepjes 32d2cfbd5d Update setuptools to 78.1.1 2025-05-28 12:53:31 +00:00
Bram Wiepjes 4d226c1a75 Update backend dependencies 2025 05 21 2025-05-26 07:51:22 +00:00
Cezary Statkiewicz 1b5094569a Merge branch 'dockerfile_install_packagezs' into 'develop'
backend dockerfile: install packages properly instead of setting python path

See merge request baserow/baserow!2463
2024-06-11 14:37:28 +00:00
Cezary Statkiewicz f4f907f38f backend dockerfile: install packages properly instead of setting python path 2024-06-11 14:37:28 +00:00
Petr Stribny 427bfd1170 Remove vim and nano from deps 2024-06-11 11:58:57 +02:00
Cezary Statkiewicz 182a2c05eb Fix/2494 python version review 2024-05-24 07:16:57 +00:00
Petr Stribny 9368942dc9 Update debian version to bookworm 2024-05-06 12:00:20 +00:00
Nigel Gott 5316f85ef3 Various security bumps 2023-07-12 15:27:01 +00:00
Peter Evans 75316a4a6e Resolve "Implement Postgres full-text search" 2023-07-05 16:01:03 +00:00
Alexander Haller fbf463a864 Resolve "Move formula language partially into own module" 2023-06-15 10:28:18 +00:00
Davide Silvestri 4895f8a5f7 Resolve "SSO: Add SAML2 endpoints" 2022-10-28 16:04:23 +00:00
Davide Silvestri 8633bdc588 Upgrade container images from debian:buster to debian:bullseye 2022-10-11 15:58:16 +00:00
Jeremie Pardou-Piquemal 2f34b99fb9 Add enterprise plugin 2022-09-22 10:00:59 +02:00
Nigel Gott f4a94ee5a9 Resolve "Update Plugin boilterplate and docs to match new docker usage" 2022-07-03 17:28:50 +00:00
Nigel Gott 02acea9778 Various self-hosting QOL fixes 2022-07-01 15:43:28 +00:00
Nigel Gott bbd8e58629 🧠 FInal Formula MR 2022-06-28 16:29:56 +00:00
Petr Stribny dd61331f69 Builtkit package cache 2022-04-27 12:51:35 +00:00
Nigel Gott 7f8021abab Switch dev mode to how it worked before, fix celery beat throwing errors on... 2022-03-03 14:12:20 +00:00
Nigel Gott f6361ee3bd Various docker ci fixes 2022-03-01 21:49:49 +00:00
Nigel Gott 13bb140618 Add all-in-one image used as a base by cloudron/heroku.
Signed-off-by: Nigel Gott <nigel@baserow.io>
2022-02-28 13:56:55 +00:00
Nigel Gott 3dbd67fde3 Various security improvements for Baserow + docker images:
- upgrade dependencies
- add docker lint + upgrade in containers to ensure security fixes are obtained asap.
- schedule rebuild images without caching for latest security updates
2022-02-28 13:20:54 +00:00
Nigel Gott 241958a8ab Setup Baserow to build its images in CI for Gitlab. 2022-02-28 13:19:00 +00:00
Nigel Gott a66653b9f1 Resolve "Disable repeat formula function for now" 2021-11-24 13:45:20 +00:00
Nigel Gott ac18e6bf50 Resolve "Entirely remove concept of user tables database" 2021-07-21 16:28:27 +00:00
Nigel Gott 0a231b514f Resolve "Address build requiring docker version greater than 20.10.0" 2021-07-08 16:38:41 +00:00
Nigel Gott ee7314b64d Resolve "Make it easier to run production version on local machine" 2021-04-22 11:51:15 +00:00
Bram Wiepjes b2aa2ffdb6 Resolve "Fix sandbox environment" 2020-04-03 15:01:47 +00:00
Bram Wiepjes 3a43ba4eb0 gave each project his own container 2019-10-13 11:29:00 +00:00