Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/readme-ids.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "6.2",
"authentication": "69d4dc0c1422831f8d6fbb8e",
"base_operations": "69d4dc0c1422831f8d6fbb96",
"file_operations": "69d4dc0c1422831f8d6fbb95",
"system_admin_account_operations": "69d4dc0c1422831f8d6fbb92",
"team_admin_account_operations": "69d4dc0c1422831f8d6fbb91",
"user_account_operations": "69d4dc0c1422831f8d6fbb93",
"ping_and_info": "69d4dc0c1422831f8d6fbb90",
"python_scheduler": "69d4dc0c1422831f8d6fbb94"
"version": "7.0",
"authentication": "",
"base_operations": "",
"file_operations": "",
"system_admin_account_operations": "",
"team_admin_account_operations": "",
"user_account_operations": "",
"ping_and_info": "",
"python_scheduler": ""
}
14 changes: 9 additions & 5 deletions .github/workflows/api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:
workflow_dispatch:
inputs:
version:
description: "SeaTable version (e.g. 6.1.8)"
description: "SeaTable version"
required: true
default: "6.1.8"
default: "7.0.5"
image:
description: "Docker Hub repository"
required: true
Expand All @@ -28,13 +28,14 @@ on:
- "seatable/seatable-enterprise-testing"

env:
DEFAULT_VERSION: "6.2.12"
DEFAULT_VERSION: "7.0.5"
DEFAULT_IMAGE: "seatable/seatable-enterprise-testing"
DTABLE_SERVER_VERSION: "7.0.3-testing"


jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Check out repo
uses: actions/checkout@v6
Expand Down Expand Up @@ -67,8 +68,11 @@ jobs:

- name: Start SeaTable ${{ steps.version.outputs.version }}
working-directory: version-compare
env:
SEATABLE_IMAGE: ${{ steps.version.outputs.image }}
SEATABLE_VERSION: ${{ steps.version.outputs.version }}
run: |
SEATABLE_IMAGE=${{ steps.version.outputs.image }} SEATABLE_VERSION=${{ steps.version.outputs.version }} docker compose up -d
docker compose up -d
./setup.sh

- name: Run API tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
postman:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/rdme-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
# Job 1: Publish OpenAPI specs and docs to ReadMe.com
# -----------------------------------------------------------------------
publish:
if: false # temporarily disabled
name: Publish to ReadMe
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -175,8 +176,9 @@ jobs:
# -----------------------------------------------------------------------
deploy-static:
name: Deploy static files
if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-latest
if: false # temporarily disabled
# if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-26.04
needs: publish
steps:
- name: Check out repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-compare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:

jobs:
compare:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ cd version-compare
export SEATABLE_IMAGE=seatable/seatable-enterprise
export SEATABLE_VERSION=6.0.10

# seatable/dtable-server-js or seatable/dtable-server-go
export DTABLE_SERVER_IMAGE=seatable/dtable-server-js
export DTABLE_SERVER_VERSION=7.0.3-testing

# Create license file
cp "SOURCE" seatable-license.txt

Expand Down
2 changes: 1 addition & 1 deletion authentication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
title: Authentication
description: >-
The official SeaTable API Reference (OpenAPI 3.0).
version: "6.2"
version: "7.0"
servers:
- url: "https://{server}"
variables:
Expand Down
2 changes: 1 addition & 1 deletion base_operations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
title: Base Operations
description: >-
The official SeaTable API Reference (OpenAPI 3.0).
version: "6.2"
version: "7.0"
servers:
- url: "https://{server}"
variables:
Expand Down
2 changes: 1 addition & 1 deletion file_operations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
title: File Operations
description: >-
The official SeaTable API Reference (OpenAPI 3.0).
version: "6.2"
version: "7.0"
servers:
- url: "https://{server}"
variables:
Expand Down
15 changes: 12 additions & 3 deletions ping_and_info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
title: Ping and Server Info
description: >-
The official SeaTable API Reference (OpenAPI 3.0) - Part "Ping and Server Info".
version: "6.2"
version: "7.0"
servers:
- url: "https://{server}"
variables:
Expand Down Expand Up @@ -115,10 +115,14 @@ paths:
- Ping
summary: Ping dtable Server
operationId: pingDtableServer
description: >-
description: |-
Check the status of the dtable-server. Base related operations are
carried out by the dtable-server. These operations are included in the
section **Base Operations**.

> 🚧 Not exposed by default
>
> As of SeaTable 7.0, the default NGINX configuration no longer routes `/dtable-server/` and this endpoint returns `404`.
responses:
"200":
description: Service is available and running
Expand All @@ -134,7 +138,12 @@ paths:
- Ping
summary: Ping dtable-db Server
operationId: pingDtableDbServer
description: Check the status of the dtable-db server.
description: |-
Check the status of the dtable-db server.

> 🚧 Not exposed by default
>
> As of SeaTable 7.0, the default NGINX configuration no longer routes `/dtable-db/` and this endpoint returns `404`.
responses:
"200":
description: Service is available and running
Expand Down
2 changes: 1 addition & 1 deletion python-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
title: Python Scheduler
description: >-
The official SeaTable API Reference (OpenAPI 3.0).
version: "6.2"
version: "7.0"
servers:
- url: "https://{server}"
variables:
Expand Down
2 changes: 1 addition & 1 deletion system_admin_account_operations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
title: "Account Operations: System admin"
description: >-
The official SeaTable API Reference (OpenAPI 3.0).
version: "6.2"
version: "7.0"
servers:
- url: "https://{server}"
variables:
Expand Down
2 changes: 1 addition & 1 deletion team_admin_account_operations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
title: Account Operations - Team admin
description: >-
The official SeaTable API Reference (OpenAPI 3.0).
version: "6.2"
version: "7.0"
servers:
- url: "https://{server}"
variables:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@
"archived_row_count": "int",
"dtable_server_info": [
{
"assigned_keys_count": 0,
"backend": "",
"enable_cluster": false,
"last_dtable_saving_count": "int",
"last_period_operations_count": "int",
"loaded_dtables_count": "int",
"local_node_url": "http://dtable-server:5000",
"node_id": "",
"operation_count_since_up": "int",
"start_time": "",
"web_socket_count": "int"
}
],
Expand Down
26 changes: 26 additions & 0 deletions tests/__snapshots__/test_websocket/test_append_rows.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"_archived": false,
"_creator": null,
"_ctime": null,
"_id": "str",
"_last_modifier": null,
"_locked": null,
"_locked_by": null,
"_mtime": null,
"number": 1,
"text": "a"
},
{
"_archived": false,
"_creator": null,
"_ctime": null,
"_id": "str",
"_last_modifier": null,
"_locked": null,
"_locked_by": null,
"_mtime": null,
"number": 2,
"text": "b"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"colorbys": {},
"data": null,
"description": null,
"draggable": true,
"edit_metadata_permission_type": "",
"edit_metadata_permitted_group": [],
"edit_metadata_permitted_users": [],
"editable": true,
"frozen": true,
"key": "str",
"name": "text",
"permission_type": "",
"permitted_group": [],
"permitted_users": [],
"resizable": true,
"type": "text",
"width": 200
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"colorbys": {},
"data": null,
"description": null,
"draggable": true,
"edit_metadata_permission_type": "",
"edit_metadata_permitted_group": [],
"edit_metadata_permitted_users": [],
"editable": true,
"key": "str",
"name": "text",
"permission_type": "",
"permitted_group": [],
"permitted_users": [],
"resizable": true,
"type": "long-text",
"width": 200
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"colorbys": {},
"data": null,
"description": null,
"draggable": true,
"edit_metadata_permission_type": "",
"edit_metadata_permitted_group": [],
"edit_metadata_permitted_users": [],
"editable": true,
"key": "str",
"name": "renamed",
"permission_type": "",
"permitted_group": [],
"permitted_users": [],
"resizable": true,
"type": "text",
"width": 200
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"colorbys": {},
"data": null,
"description": null,
"draggable": true,
"edit_metadata_permission_type": "",
"edit_metadata_permitted_group": [],
"edit_metadata_permitted_users": [],
"editable": true,
"key": "str",
"name": "text",
"permission_type": "",
"permitted_group": [],
"permitted_users": [],
"resizable": true,
"type": "text",
"width": 400
}
8 changes: 8 additions & 0 deletions tests/__snapshots__/test_websocket/test_insert_column.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"data": {
"options": []
},
"key": "str",
"name": "status",
"type": "single-select"
}
13 changes: 13 additions & 0 deletions tests/__snapshots__/test_websocket/test_insert_columns.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"key": "str",
"name": "first",
"type": "text"
},
{
"data": null,
"key": "str",
"name": "second",
"type": "number"
}
]
12 changes: 12 additions & 0 deletions tests/__snapshots__/test_websocket/test_insert_row.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"_archived": false,
"_creator": null,
"_ctime": "str",
"_id": "str",
"_last_modifier": null,
"_locked": null,
"_locked_by": null,
"_mtime": "str",
"number": null,
"text": "inserted"
}
29 changes: 29 additions & 0 deletions tests/__snapshots__/test_websocket/test_insert_table.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"_id": "str",
"columns": [
{
"key": "str",
"name": "Name",
"type": "text"
}
],
"is_header_locked": false,
"name": "test_insert_table",
"views": [
{
"_id": "str",
"colorbys": {},
"filter_conjunction": "And",
"filters": [],
"formula_rows": {},
"groupbys": [],
"groups": [],
"hidden_columns": [],
"name": "Default View",
"row_height": "default",
"rows": [],
"sorts": [],
"type": "table"
}
]
}
Loading