Skip to content

Commit 2313d75

Browse files
authored
Update instructions re: external Seafile libraries (#272)
* Update instructions re: external Seafile libraries * Remove unimplemented features * Add WIP feature * Remove duplicate file --------- Co-authored-by: Simon Hammes <[email protected]>
1 parent 126db85 commit 2313d75

File tree

2 files changed

+11
-38
lines changed

2 files changed

+11
-38
lines changed

docs/configuration/integrate-with-seafile.md

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
1-
---
2-
status: wip
3-
---
4-
51
# Integrate with Seafile
62

73
<!-- md:version 4.0 -->
84
<!-- md:flag enterprise -->
95

10-
When integrating SeaTable and Seafile, users can add files from Seafile libraries in file columns and users can transfer files from SeaTable to Seafile.
6+
When integrating SeaTable and Seafile, users can add files from Seafile libraries in file columns.
117

128
### Scope of the Connection
139

1410
The Seafile connection to SeaTable enables you to
1511

1612
- Choose a file as attachment from the Seafile library in SeaTable
17-
- Save attachments in a SeaTable base to your Seafile library
13+
- Save attachments in a SeaTable base to your Seafile library (WIP)
1814

1915
### How to Setup the Connection on SeaTable Server Side
2016

2117
- Go to Seafile and generate an API token for your library
22-
- Go to SeaTable and click on the 3-dots menu of a base, go to Advanced > Connect Seafile and enter the full URL (including “http” or “https”) and the API token and then submit.
18+
- Go to SeaTable and click on the 3-dots menu inside a base, go to Third party integration > Seafile and enter the full URL (including “http” or “https”) and the API token and then submit.
2319

2420
### Requirements on the Seafile Server Side
2521

2622
The cross-domain permissions must be set. This can be done by adding the "Access-Control-Allow-Origin" header.
2723

28-
Add the following code block to the configuration file `seafile.conf` in `/etc/nginx/sites-available/`:
24+
Add the following code block to the configuration file `seafile.conf` in `/etc/nginx/sites-available/` or `seafile.nginx.conf` in `/etc/nginx/sites-enabled` (the exact filename and path depend on your Seafile version and installation method):
2925

3026
```
3127
location / {
@@ -36,8 +32,14 @@ Add the following code block to the configuration file `seafile.conf` in `/etc/n
3632
add_header Access-Control-Allow-Headers "deviceType,token, authorization, content-type";
3733
return 204;
3834
}
39-

35+
4036
proxy_pass http://127.0.0.1:8000;
4137
...............
4238
4339
```
40+
41+
### Current Limitations
42+
43+
- Only a single library can be linked to a specific base
44+
- The base editor does not display thumbnails for images stored inside an external Seafile library
45+
- Image columns are not supported yet

0 commit comments

Comments
 (0)