1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-30 12:55:49 +00:00
Commit Graph

279 Commits

Author SHA1 Message Date
feiniks
3520282c22
Fix set group repo perm error (#394) 2020-08-24 18:21:42 +08:00
feiniks
fa3409ea04
Modify upload error message (#355) 2020-05-28 17:55:34 +08:00
feiniks
50882b41f4
Regularly cleanup files in the httptemp directory (#343)
* Regularly cleanup files in the httptemp directory

* Add scan http temp dir default configuration

* Fix mem leak for scan httptemp dir

* Modify int to gint64
2020-05-20 18:36:38 +08:00
feiniks
72de8b5997
Add update emailuser id RPC (#349)
* Add update emailuser id RPC

* Add test shareing and group relationship when update user id
2020-05-15 14:21:27 +08:00
feiniks
d50359c908
Add and del ccnet compilation dependency in seafile (#347)
* Add and del ccnet compilation dependency in seafile

* Del import ccnet

* Del extra ccnet compilation dependencies

* Del support WIN32
2020-05-09 16:31:47 +08:00
feiniks
52586639ac
Merge the functions of ccnet-server into seafile-server (#293)
* merge the api of ccnet into seafile

* merge the api of ccnet into seafile

* Dont't need to include the header

* merge the api of ccnet into seafile

* add enable ldap

* The unit test dont't need to start ccnet-server

* Modify some funcion names and fuse don't need org management

* Modify indent
2020-04-15 10:21:04 +08:00
feiniks
500e35fe9b
Fix segment fault when group_repos is NULL (#338)
* Fix segment fault when group_repos is NULL

* Parse group repos when repos is not NULL
2020-04-10 19:56:53 +08:00
feiniks
9b28e93a09
continue get trash repo even if the repo is destroyed (#333) 2020-03-28 14:00:12 +08:00
feiniks
5dd4148b5f
Add get accessible repo list API on seafhttp (#327)
* Add get accessible repo list API on seafhttp

* Return once per repo

* Fix get owner and distinguish org

* Del handle org

* when the repo is shared to multi group,get the highest permission

* if last permission is rw,ignore it
2020-03-19 15:02:16 +08:00
feiniks
150c90df40
Add rpc pipe path (#326)
* Add rpc pipe path

* Add seahub.sh env and change pipe path
2020-02-21 15:27:47 +08:00
杨赫然
c20b17cdbc Merge branch '7.0' 2020-02-17 12:02:50 +08:00
feiniks
07058405c6
improve update file api (#320)
* improve update file api

* Modify function name
2020-02-13 10:28:30 +08:00
杨赫然
381d328dfe Fix http2 break some functionalities 2020-02-10 17:12:17 +08:00
caixiangyue
13e406a169 fixed computing repo size crash problem 2020-02-04 15:51:34 +08:00
杨赫然
64503ea424 Get repo list desc 2020-01-13 15:08:37 +08:00
杨赫然
8a31a344c4 Add repo sort function 2020-01-08 12:13:59 +08:00
杨赫然
923e1821e2 Add repo sort function 2020-01-07 10:25:19 +08:00
杨赫然
af0dae864b Add repo sort function 2019-12-31 14:38:24 +08:00
杨赫然
3230c31dff Add repo sort function 2019-12-30 16:19:33 +08:00
杨赫然
9fc27776e9 Remove quota check for dtable@seafile 2019-12-17 13:53:56 +08:00
Jiaqiang Xu
d1b615e1c2
Merge pull request #296 from haiwen/fix_get_repo_list
seaf_repo_manager_get_repo_list should get all the repos in a loop
2019-12-09 14:55:16 +08:00
杨赫然
ed94680e9c Fix find deleted api 2019-12-09 11:58:08 +08:00
杨赫然
74e525417f Delete useless code 2019-12-06 13:47:18 +08:00
杨赫然
c2634f6dc2 Find out all repo information at once 2019-12-03 14:59:03 +08:00
杨赫然
68bcaf510f Find out all repo information at once 2019-12-03 14:12:08 +08:00
杨赫然
b22f225444 Find out all repo information at once 2019-12-03 12:00:21 +08:00
杨赫然
9f0083f93b modify some errors and be consistent with pro edition 2019-11-26 14:53:43 +08:00
杨赫然
08c78998c7 We should make sure the parent dir isn't NULL 2019-11-22 14:46:54 +08:00
杨赫然
eeee9f5e90 fix seafile-server doesn't check upload-link obj_id 2019-11-21 18:34:39 +08:00
杨赫然
c7f6974396 free the obj_id 2019-11-21 15:24:12 +08:00
杨赫然
8038baf7f6 Fix seafile-server doesn't check upload-link obj_id and modify file upload test script 2019-11-21 12:00:06 +08:00
杨赫然
0f4c0f6702 Fix seafile-server doesn't check upload-link obj_id 2019-11-20 12:07:46 +08:00
ly1217
a1418489a8 Deleted repos do not return when search repos by name. 2019-11-19 01:42:32 -08:00
ly1217
1dd89b1b7c Add search repos by name rpc. 2019-11-17 21:21:28 -08:00
ly1217
b6bc0b2f39 Fix memory leak when del file. 2019-10-21 02:20:17 -07:00
ly1217
5b49937be8 Optimize name pipe server. 2019-10-18 21:05:35 -07:00
ly1217
14d8628bcb Add named pipe server thread pool. 2019-09-11 01:19:54 -07:00
Xiangyue Cai
f01753c262 add ctime 2019-09-09 12:15:20 +08:00
Jonathan Xu
a300c1277a Minor bug fixes.
- set HAVE_MYSQL macro when MariaDB is used.
- fix a crash bug when wrong database is configured.
2019-08-07 19:29:08 +08:00
Jonathan Xu
bb33ea7741 Remove unused options from seaf-server. 2019-08-07 14:21:14 +08:00
Xiangyue Cai
efeac4bb99 add seaf_mq_manager_ prefix 2019-08-05 16:41:31 +08:00
caixiangyue
3ff52aee8a fixed wrong free 2019-07-26 14:14:38 +08:00
Jonathan Xu
f9686872d7 Merge branch '7.0' 2019-07-25 17:55:37 +08:00
Jonathan Xu
b9877a78ca Merge branch 'python3' 2019-07-25 12:08:00 +08:00
Xiangyue Cai
aa0185203b add rpc publish_event() , pop_event() and remove cevent (#253) 2019-07-22 11:18:32 +08:00
ly1217
48c2a03d5f Fix get repo status. (#252) 2019-07-17 10:16:29 +08:00
ly1217
cd68e1a2d6 Fix the problems of checking repo usage when copy or move. 2019-07-09 00:36:42 -07:00
caixiangyue
62543c55f2 use diff to update repo size and file count 2019-07-09 10:02:10 +08:00
ly1217
87d952b7c2 Check repo space when copy or move files. 2019-07-06 03:00:09 -07:00
Jonathan Xu
b94cb65263 Fix chunked upload bug in file server. 2019-07-04 14:52:57 +08:00
Jonathan Xu
a229aa7f39 Fix zip download bug. 2019-07-03 16:52:06 +08:00
caixiangyue
b90bf8af97 fixed seaf-fsck can not repair multi damaged blocks file correctly 2019-07-02 10:35:39 +08:00
Jonathan Xu
c142d4bf4f Improve code after use named pipe for RPC and support python 3. 2019-07-01 16:50:25 +08:00
ly1217
c73916ef77 Upadte to python3. 2019-06-27 22:30:31 -07:00
Jonathan Xu
2327ed11cc Rewrite database access layer.
Remove support for PostgreSQL at the same time.
2019-06-21 17:09:39 +08:00
Jonathan Xu
d6fec719c7 Fix bug when moving files. 2019-05-30 20:37:43 +08:00
Jonathan Xu
7ecb334194 Fix bugs in update api when chunked mode is used. 2019-05-21 18:47:29 +08:00
Jonathan Xu
d67c4be688 Fix CORS headers for upload-api and update-api. And add support for chunked upload for update-api. 2019-05-21 14:12:29 +08:00
Jonathan Xu
15f01d3854 Don't return error if file doesn't exist when del_file is called. 2019-05-18 17:05:35 +08:00
Jiaqiang Xu
5a191fc47d
Merge pull request #221 from haiwen/enc-repo-v3
Encrypted library version 3: use different salt for each library
2019-05-15 10:30:36 +08:00
Jiaqiang Xu
9f30eedc46
Merge pull request #224 from caixiangyue/delete-repo-2019-5-6
Fixed delete repo file count problem
2019-05-07 10:39:03 +08:00
caixiangyue
7a7a2bb38f get_total_file_numer rpc do not include the file count of the deleted repo 2019-05-06 10:24:37 +00:00
caixiangyue
3a7b2f2bea delete an entry from RepoFileCount when deleting a repo from repo trash 2019-05-06 07:55:38 +00:00
caixiangyue
47154ecdab add repo id in log message 2019-05-06 05:50:55 +00:00
caixiangyue
3555d88288 add "-t" option to support thread pool 2019-05-06 04:01:46 +00:00
caixiangyue
0c6bf4a912 set the correct timestamp when exporting files 2019-05-06 03:57:41 +00:00
Jonathan Xu
17ef884861 Encrypted library version 3: use different salt for each library. 2019-04-30 21:22:57 +08:00
caixiangyue
60d8972edd add "-f" option to not check if the current user and the seafile-data directory owner are consistent 2019-04-29 02:56:17 +00:00
Jonathan Xu
cc87fbd898 Fix potential unhandled upload failure. 2019-04-11 11:40:51 +08:00
cuihaikuo
dc3b0d2629 Fix last-modified problem of virtual repo. 2019-04-03 17:24:51 +08:00
cuihaikuo
cb3f31314a
Merge branch 'master' into cross_repo_copy 2019-04-01 14:50:23 +08:00
cuihaikuo
f92e52cda8 Merge branch '6.3' 2019-03-28 18:14:20 +08:00
cuihaikuo
dd0519d7c3 Create tables by script. 2019-03-28 14:20:33 +08:00
cuihaikuo
45c8bcc420 [zip task]Compute dir size and file count in background. 2019-03-28 14:07:27 +08:00
Jiaqiang Xu
3f5b7e4025
Merge pull request #210 from haiwen/optimize_rename_delete
Optimize cleaning-up of virtual repos and renaming, deleting operations.
2019-03-25 18:46:12 +08:00
cuihaikuo
2e41b60ab0 Optimize copy and move file. 2019-03-25 18:37:38 +08:00
cuihaikuo
7fe43a0248 Optimize cleaning-up of virtual repos and renaming, deleting operations. 2019-03-24 20:37:04 +08:00
cuihaikuo
7aa973c4e2 Optimize api seafile_web_get_access_token(). 2019-03-19 14:39:08 +08:00
cuihaikuo
22f096a70a Repo can be set 'read-only' or 'normal' status.
Return 'status' in get_repo(s) apis.
2019-03-14 11:07:42 +08:00
Jonathan Xu
78bef71a5f Merge branch '6.3' 2019-03-13 14:46:47 +08:00
Jiaqiang Xu
52f11250f8
Merge pull request #204 from haiwen/fix_sync_dir_failed
Fix the bug that can't sync subdir in virtual repos.
2019-02-25 16:06:07 +08:00
ly1217
17d74c48bb Fix the bug that can't sync subdir in virtual repos. 2019-02-24 21:32:46 -08:00
ly1217
86b49ba766 Fix file modified date changes to current after moving or copying. 2019-02-21 18:44:49 -08:00
ly1217
d851199f06 Add byte-range upload. 2019-02-19 01:18:31 -08:00
ly1217
17196fc288 Optimize getting repo list and add test unit of getting repo list. 2019-01-08 22:58:18 -08:00
cuihaikuo
466fce24a6 Set default rpc pool size to 10, set default copy-mgr pool size to 5. 2019-01-08 16:57:59 +08:00
ly1217
11d95b55fd Fix the problem that xlsx,pptx.docx changed to be xls,ppt,doc when download file by IE. 2018-12-21 11:34:23 +08:00
Jonathan Xu
ef362bda37 Ignore 'need_idx_progress' parameter when handling upload requests.
There is a bug in cloud file browser that can cause high number of concurrent uploads.

Also reduce the number retries when updating head commit in db.
2018-12-08 11:37:54 +08:00
ly1217
1d5f1639f0 Do not clear token when change repo owner. 2018-11-23 22:31:44 -08:00
ly1217
98acf57065 Fix the invalid arguments process of list_dir_with_perm. 2018-11-09 01:35:07 -08:00
ly1217
89c8fa1225 Fix the problem that when change the name of a virtual repo, the name in share repo list is not changed. 2018-10-28 22:50:01 -07:00
ly1217
928322e940 Optimize the algorithm of getting file count and repo size. 2018-10-17 00:18:38 -07:00
cuihaikuo
f610061c7f Fix '(null)' user problem in traffic statistics. 2018-09-27 13:43:16 +08:00
cuihaikuo
6669fdce86 Return 400 if base commit is lost when syncing. 2018-09-05 14:36:07 +08:00
cuihaikuo
ba089662b6 Fix an uninitialization problem. 2018-08-30 17:22:23 +08:00
Jiaqiang Xu
480f940508
Merge pull request #180 from haiwen/traffic_info
Support traffic statistics.
2018-08-20 12:55:03 +08:00
cuihaikuo
06df579d5c Optimize getting quota usage. 2018-08-17 11:48:18 +08:00
ly1217
739053dff0 Add test scripts of seaf-server api. 2018-08-14 17:03:36 +08:00
cuihaikuo
ac5f26fef8 Support traffic statistics. 2018-08-10 17:47:19 +08:00
cuihaikuo
1991a68bcf Convert origin repo path to available repo path. 2018-08-07 18:24:12 +08:00