14 Commits

Author SHA1 Message Date
Bieber
b4cb680f53
refactor: ai sdk 6 (#2118)
* chore: update tracing details

* feat: add attachemnt ro

* feat: upgrade to zod 4 and ai-sdk 5

* chore: openapi -> meta

* feat: ai-sdk 6

* chore: standard resource type

* feat: grid view state subscriber

* feat: pick upgrade node to 22

* fix: remove swagger to makesure backend start

* fix: remove swagger to makesure backend start

* chore: fix typecheck

* chore: clean ui effect

* chore: i18n for tools

* fix: card ui

* chore: update ai sdk provider

* fix: should not delete the last view in table

* feat: better zod error

* chore: clean base card

* fix: restore into base logic

* chore: i18n for tools

* chore: i18n for tools

* fix: swagger is back

* fix: pnpm lock

* fix: unit test

* fix: remove token

* fix: typecheck

* feat: proxy setting

* chore: update i18n for chat

* chore: tools i18n

* chore: upgrade ai sdk

* chore: i18n for ai gateway

* chore: rename app generation to app builder

* chore: remove deprecated version

* feat: adjust feature limitations

* chore: tools i18n

* fix: lint issue

* fix: api tag

* chore: zod i18n

* chore: add credit limit exceeded error handling

---------

Co-authored-by: SkyHuang <sky.huang.fe@gmail.com>
2025-12-09 14:43:29 +08:00
Darien Kindlund
0952c3c5c4
feat: prisma transaction timeout env (#1967)
* fix: add configurable Prisma transaction timeout via environment variables

Prisma enforces a default 5-second transaction timeout which causes
failures when updating records with many foreign key relationships.
This change adds support for globally configurable transaction timeouts
through environment variables while maintaining backward compatibility.

Changes:
- Add PRISMA_TRANSACTION_TIMEOUT and PRISMA_TRANSACTION_MAX_WAIT env vars
- Modified PrismaService.$tx() to apply defaults from environment
- Updated .env.example files with documentation
- Maintains Prisma's built-in defaults (5000ms/2000ms) when not configured
- Allows per-call timeout overrides when explicitly provided

This resolves timeout errors in BatchService.batchUpdateDB() and other
long-running transactions without requiring code changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

* feat: add diagnostic logging for Prisma transaction timeout configuration

Added console logging on PrismaService initialization to display the
configured transaction timeout values. This helps verify that the
PRISMA_TRANSACTION_TIMEOUT and PRISMA_TRANSACTION_MAX_WAIT environment
variables are being read correctly.

Log format:
[PrismaService] Transaction defaults: timeout=Xms, maxWait=Yms
(from env: PRISMA_TRANSACTION_TIMEOUT=X, PRISMA_TRANSACTION_MAX_WAIT=Y)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-13 17:42:12 +08:00
Bieber
d73904c7ea
chore: teable.io -> teable.ai (#1734) 2025-08-09 12:18:44 +08:00
Uno
6709b379b2
feat: add Redis support to standalone example configuration (#1623) 2025-06-25 19:20:37 +08:00
Bieber
ea72a1d668
chore: remove db-migrate (#1418)
* chore: remove db-migrate

* chore: clean outdated doc
2025-04-08 10:26:38 +08:00
Bieber
8ada7a8eeb
feat: enterprise adapter (#1406)
* feat: enterprise adapter

* fix: email

* docs: additional Terms
2025-04-01 14:31:22 +08:00
Bieber
777bf292c0
chore: helm namespace support (#694) 2024-07-05 21:42:21 +08:00
Bieber
f1b8685629
feat: add helm chart to support k8s deployment (#671)
* chore: init empty helm template

* chore: helm chart deploy

* feat(wip): teable helm

* feat: setup all helm dependency

* feat(helm): support tls

* chore: remove useless

* chore: revoke session secret
2024-07-01 14:34:13 +08:00
Pengap
19b7895bc6
chore(example): update dockers examples (#474) 2024-03-20 16:14:30 +08:00
Pengap
567dd51436
fix: notify jump url & upgrade deps (#465)
* fix: notify jump url & upgrade deps

* feat: update `PUBLIC_DATABASE_PROXY` env
2024-03-18 18:37:34 +08:00
Pengap
5b0e8c0d63
build: image support multi-platforms & app image support csp-open (#445)
* build: app image support `csp-open`

* feat: docker image multi-platforms support
2024-03-15 18:54:35 +08:00
Pengap
a4f5e49e43
fix: issues (#407)
* fix: user default avatar & filter me

---------

Co-authored-by: pengap <penganpingprivte@gmail.com>
2024-03-06 19:06:03 +08:00
Pengap
e8c5fe8720
feat: add docker compose support for minio (#375)
* feat: add docker compose support for minio

---------

Co-authored-by: pengap <penganpingprivte@gmail.com>
2024-02-26 18:57:57 +08:00
Pengap
9b4f9eabad
feat: support multi instance (#364)
* feat: upgrade Node, add Redis caching & WebSocket via redis-pubsub

* fix: optimize `X-Request-Id` generation rules

* ci: add db-migrate image build and push

---------

Co-authored-by: pengap <penganpingprivte@gmail.com>
2024-02-19 11:59:30 +08:00