Skip to content

Commit

Permalink
release: v1.1.0-beta (#475)
Browse files Browse the repository at this point in the history
* feat: support excel import (#431)

* feat: support `csv` import

* perf: optimise import memory expend

* fix: `openapi` upload type error

* test: compatible ci attachment download

* feat: add import file icon

* feat: support `excel` import

feat: limit excel file size

refactor: rewrite import font-end

* chore: add `sheetjs` license

* feat: update import url validate strategy

* test: add excel import e2e

* feat: add logger in import records

* fix: type and lint error

* chore: replace axios to node-fetch in nestjs

* test: update import-table e2e

* test: update import-table delay time

* chore: delete `sheetjs` license

* feat: add analyze loading

* chore: export upload-panel component

* feat: integrate github login (#432)

* feat: integrate gitHub login

* feat: dynamic social auth module

* feat: add github auth env validation

* chore: remove electron (#438)

* feat: credit check (#436)

* feat: credit check

* test: exceed credit limit

* refactor: more appropriate email template structure (#437)

* chore: make pnpm automatically install the specified version of Node.js (#433)

* chore: remove nvm step

* fix: the error of copying and pasting empty content (#443)

* fix: the error of copying and pasting empty content

* ci: fixed node version

* ci: pnpm newline handling

* feat: compatible `tsv` import (#446)

* fix: rename link results in illegal data (#448)

* fix: unexpected horizontal lines on login page (#447)

* test: import test file save in tmp dir (#449)

* docs: add deploy on Zeabur in Readme (#451)

* docs: add deploy on Zeabur in Readme

* Update README.md

* Update README.md

* build:  image support `multi-platforms` & app image support `csp-open` (#445)

* build: app image support `csp-open`

* feat: docker image multi-platforms support

* fix: allow default db address (#461)

* feat: forgot password and setup new password (#452)

* feat: forgot password and setup new password

* chore: remove useless code

* fix: use instance test context creator

* fix: type error

* fix: sdk build config for *.spec.tsx

* fix: execute repeat when import upload (#464)

* fix: notify jump url & upgrade deps (#465)

* fix: notify jump url & upgrade deps

* feat: update `PUBLIC_DATABASE_PROXY` env

* fix: ensure interface-provided 'orderBy' parameter overrides view's default sort (#463)

* fix: ensure interface-provided 'orderBy' parameter overrides view's default sort

* fix: existence of identical fields sorted, with the later overwriting the earlier

* chore: signin error alerts

* feat: support google oatuh2 (#466)

* refactor: api for adjusting the order (#453)

* fix: i18n

* docs: star distribution

* refactor: view order

* refactor: view+table+base updateOrder

* feat: ci add `coverallsapp/github-action` (#468)

* feat: ci add `coverallsapp/github-action`

* fix: vitest `coverage.reporter` config (#469)

* fix: vitest `coverage.reporter` config

* chore(example): update dockers examples (#474)

* docs: Update header titles for consistency (#455)

* docs: add one-click deploy on sealos. (#462)

Signed-off-by: zzjin <tczzjin@gmail.com>

* chore: Update constants.ts (#457)

minor fix

* refactor: row order (#473)

* refactor: row order

* fix: sqlite test

---------

Signed-off-by: zzjin <tczzjin@gmail.com>
Co-authored-by: Mike <caoxing9@gmail.com>
Co-authored-by: Boris <boris2code@outlook.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Yuhang <2312744987@qq.com>
Co-authored-by: Pengap <penganpingprivte@gmail.com>
Co-authored-by: emmanuel <154705254+codesmith-emmy@users.noreply.github.com>
Co-authored-by: zzjin <zzjin@users.noreply.github.com>
Co-authored-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
  • Loading branch information
9 people committed Mar 20, 2024
1 parent 86ccd59 commit 9b9a2cf
Show file tree
Hide file tree
Showing 264 changed files with 7,051 additions and 10,606 deletions.
2 changes: 1 addition & 1 deletion .github/actions/pnpm-install/action.yml
Expand Up @@ -36,7 +36,7 @@ runs:
id: pnpm-config
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
echo "STORE_PATH=$(pnpm store path | tr -d '\n')" >> $GITHUB_OUTPUT
- name: ⚙️ Cache rotation keys
id: cache-rotation
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/docker-push.yml
Expand Up @@ -4,6 +4,13 @@ on:
push:
branches:
- develop
tags:
- 'v*'
paths:
- 'apps/nestjs-backend/**'
- 'apps/nextjs-app/**'
- 'packages/core/**'
- 'packages/sdk/**'

jobs:
build-push:
Expand Down Expand Up @@ -31,6 +38,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.PACKAGES_KEY }}

- name: Login to Docker Hub registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_NAME }}
password: ${{ secrets.DOCKER_HUB_AK }}

- name: Login to Ali container registry
uses: docker/login-action@v3
with:
Expand All @@ -51,11 +64,10 @@ jobs:
images: |
registry.cn-shenzhen.aliyuncs.com/teable/${{ matrix.image }}
ghcr.io/teableio/${{ matrix.image }}
docker.io/teableio/${{ matrix.image }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
- name: ⚙️ Set up QEMU
Expand All @@ -65,7 +77,7 @@ jobs:
- name: 📦 Build and push
run: |
zx scripts/build-image.mjs --file=dockers/teable/${{ matrix.file }} \
--cache-from=type=registry,ref=ghcr.io/teableio/${{ matrix.image }}:buildcache \
--cache-to=type=registry,ref=ghcr.io/teableio/${{ matrix.image }}:buildcache,mode=max \
--build-arg="ENABLE_CSP=false" \
--tag="${{ steps.meta.outputs.tags }}" \
--platforms="linux/amd64,linux/arm64" \
--push
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x]
node-version: [20.9.0]
database-type: [postgres, sqlite]
env:
CI: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [20.9.0]

steps:
- uses: actions/checkout@v4
Expand Down
23 changes: 20 additions & 3 deletions .github/workflows/unit-tests.yml
@@ -1,6 +1,9 @@
name: Unit Tests

on:
push:
branches:
- develop
pull_request:
branches:
- develop
Expand All @@ -11,13 +14,13 @@ on:
- 'packages/sdk/**'

jobs:
build:
test:
runs-on: ubuntu-latest
name: Unit Tests

strategy:
matrix:
node-version: [20.x]
node-version: [20.9.0]

steps:
- uses: actions/checkout@v4
Expand All @@ -41,4 +44,18 @@ jobs:
- name: 🧪 Run Tests
run: |
pnpm g:test-unit
pnpm g:test-unit-cover
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true

finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
4 changes: 2 additions & 2 deletions .npmrc
Expand Up @@ -2,7 +2,7 @@ engine-strict=true
strict-peer-dependencies=false
auto-install-peers=true
lockfile=true
# force use npmjs.org registry
registry=https://registry.npmjs.org/
use-node-version=20.9.0
save-prefix=''
# http-proxy=http://127.0.0.1:7890
# https-proxy=http://127.0.0.1:7890
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

18 changes: 12 additions & 6 deletions Makefile
Expand Up @@ -56,10 +56,6 @@ else ifeq (docker.restart,$(firstword $(MAKECMDGOALS)))
SERVICE_TARGET = true
else ifeq (docker.up,$(firstword $(MAKECMDGOALS)))
SERVICE_TARGET = true
else ifeq (docker.build,$(firstword $(MAKECMDGOALS)))
SERVICE_TARGET = true
else ifeq (build-nocache,$(firstword $(MAKECMDGOALS)))
SERVICE_TARGET = true
else ifeq (docker.await,$(firstword $(MAKECMDGOALS)))
SERVICE_TARGET = true
else ifeq (docker.run,$(firstword $(MAKECMDGOALS)))
Expand Down Expand Up @@ -141,8 +137,6 @@ ifneq ($(NETWORK_MODE),host)
$(warning ${GREEN}network $(NETWORK_MODE) removed${RESET})
endif

docker.build:
$(DOCKER_COMPOSE_ARGS) $(DOCKER_COMPOSE) $(COMPOSE_FILE_ARGS) build --parallel --progress=plain $(SERVICE)

docker.run: docker.create.network
$(DOCKER_COMPOSE_ARGS) $(DOCKER_COMPOSE) $(COMPOSE_FILE_ARGS) run -T --no-deps --rm $(SERVICE) $(SERVICE_ARGS)
Expand Down Expand Up @@ -193,6 +187,18 @@ docker.status:
docker.images:
$(DOCKER_COMPOSE_ARGS) $(DOCKER_COMPOSE) $(COMPOSE_FILE_ARGS) images


build.app:
@zx --version || pnpm add -g zx; \
zx scripts/build-image.mjs --file=dockers/teable/Dockerfile \
--tag=teable:develop

build.db-migrate:
@zx --version || pnpm add -g zx; \
zx scripts/build-image.mjs --file=dockers/teable/Dockerfile.db-migrate \
--tag=teable-db-migrate:develop


sqlite.integration.test:
@export PRISMA_DATABASE_URL='file:../../db/main.db'; \
make sqlite.mode; \
Expand Down
36 changes: 19 additions & 17 deletions README.md
Expand Up @@ -10,7 +10,7 @@
</div>

<p align="center">
<a href="https://teable.io">Home</a> | <a href="https://help.teable.io">Help</a> | <a href="https://Blog.teable.io">Blog</a> | <a href="https://template.teable.io">Template</a> | <a href="https://app.teable.io/share/shr04TEw1u9EOQojPmG/view">Roadmap</a> | <a href="https://discord.gg/n2JQqekG">Discord </a>
<a target="_blank" href="https://teable.io">Home</a> | <a target="_blank" href="https://help.teable.io">Help</a> | <a target="_blank" href="https://Blog.teable.io">Blog</a> | <a target="_blank" href="https://template.teable.io">Template</a> | <a target="_blank" href="https://app.teable.io/share/shr04TEw1u9EOQojPmG/view">Roadmap</a> | <a target="_blank" href="https://discord.gg/n2JQqekG">Discord</a> | <a target="_blank" href="https://twitter.com/teableio">Twitter</a>
</p>

<p align="center">
Expand Down Expand Up @@ -53,7 +53,7 @@

## ✨Features

#### 📊 Spreadsheet-like interface
#### 📊 Spreadsheet-like Interface

All you want is here

Expand Down Expand Up @@ -106,30 +106,30 @@ You own your data, in spite of the cloud

- Bring your own database (coming soon)

#### ⚡️ Real-time collaboration
#### ⚡️ Real-time Collaboration

Designed for teams

- No need to refresh the page, data is updated in real-time
- Seamlessly integrate collaboration member invitation and management
- Perfect permission management mechanism, from table to column level

#### 🧩 Extensions (coming soon)
#### 🧩 Extensions (Coming Soon)

Expand infinite possibilities

- Backend-less programming capability based on React
- Customize your own application with extremely low cost
- Extremely easy-to-use script extensions mode

#### 🤖 Automation (coming soon)
#### 🤖 Automation (Coming Soon)

Empower data-driven workflows effortlessly and seamlessly

- Design your workflow with AI or Visual programming
- Super easy to retrieve data from the table

#### 🧠 Copilot (coming soon)
#### 🧠 Copilot (Coming Soon)

Native Integrated AI ability

Expand All @@ -139,7 +139,7 @@ Native Integrated AI ability
- Chat 2 Action. "After the order is paid and completed, an email notification will be sent to the customer"
- More actions...

#### 🗄️ Support for multiple databases (coming soon)
#### 🗄️ Support for Multiple Databases (Coming Soon)

Choose the SQL database you like

Expand All @@ -154,9 +154,8 @@ Choose the SQL database you like
```
.
├── apps
│ ├── electron (desktop, include a electron app )
│ ├── nextjs-app (front-end, include a nextjs app)
│ └── nestjs-backend (backend, running on server or inside electron app)
│ └── nestjs-backend (backend, include a nestjs app)
└── packages
├── common-i18n (locales)
├── core (share code and interface)
Expand All @@ -168,7 +167,7 @@ Choose the SQL database you like

## Deploy

### Deploy with docker
### Deploy With Docker

```sh
cd dockers/examples/standalone/
Expand All @@ -177,18 +176,21 @@ docker-compose up -d

for more details, see [dockers/examples](dockers/examples)

### Deploy with Railway
### One Click Deployment

These platforms are easy to deploy with one click and come with free credits.

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/wada5e?referralCode=rE4BjB)

[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/QF8695)

[![Deploy on Sealos](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dteable)

## Development

#### 1. Initialize

```sh
# Use `.nvmrc` file to specify node version(Requires pre `nvm` tools)
nvm install && nvm use

# Enabling the Help Management Package Manager
corepack enable

Expand All @@ -207,14 +209,14 @@ we currently support `sqlite` and `postgres`, you can switch between them by run
make switch-db-mode
```

#### 3. Custom environment variables(optional
#### 3. Custom Environment Variables(Optional

```sh
cd apps/nextjs-app
copy .env.development .env.development.local
```

#### 4. Run dev server
#### 4. Run Dev Server

you just need to start backend, it will start next server for frontend automatically, file change will be auto reload

Expand All @@ -236,7 +238,7 @@ Giving non-techy people the ability to create their software sounds exciting. Bu
- Maintaining systems with complex setups can be hard for developers, especially if these aren't built using common software standards.
- Systems that don't use these standards might need revamping or replacing, costing more in the long run. It might even mean ditching the no-code route and going back to traditional coding.

#### What we think the future of no-code products look like
#### What We Think the Future Of No-code Products Look Like

- An interface that anyone can use to build applications easily.
- Easy access to data, letting users grab, move, and reuse their information as they wish.
Expand Down

0 comments on commit 9b9a2cf

Please sign in to comment.