1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-12 20:17:05 +00:00
Commit Graph

293 Commits

Author SHA1 Message Date
feiniks
5ab20142e2
Fix memory leak for json_object_set (#570)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-27 18:34:05 +08:00
feiniks
571854c6f0
Delete virtual repo info (#569)
* Delete virtual repo info

* Don't del virtual repoinfo again

* Don't del VirtualRepo again

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-26 11:57:46 +08:00
feiniks
be260e4c6a
Clear error when retry upload (#568)
* Clear error when retry upload

* Add go_log_level option

* Fix type mismatch

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-21 16:29:47 +08:00
feiniks
8c9043d2c6
Retry upload when detecting concurrent uploads (#564)
* Retry upload when detecting concurrent uploads

* Check conflict when update branch and set concurrent upload error

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-15 14:45:36 +08:00
feiniks
faf434def9
Add count of duplicate names to 1000 (#561) 2022-06-21 15:28:34 +08:00
feiniks
0db03851a0
File names in json format (#559) 2022-06-16 12:36:34 +08:00
feiniks
cf479cefc2
Add get repo by id prefix RPC (#557)
Add get repos by id prefix test

del ret_corrupted parameter
2022-05-30 14:07:58 +08:00
feiniks
2412de2897
Don't remove progress immediately when has internal error (#553) 2022-04-26 10:37:12 +08:00
feiniks
8843f529df
Support client ipv6 address (#551)
* Support client ipv6 address

* Parse ipv6 for client
2022-04-09 18:34:38 +08:00
feiniks
c31e5dd25d
Don't merge virtual repo when get a error which isn't path no exist (#548)
* Don't merge virtual repo when get a error which isn't path no exist

* Modify log info
2022-03-22 16:42:29 +08:00
feiniks
38528c8c97
Improve sql statement to delete RepoInfo and VirtualRepo (#544) 2022-02-22 12:11:39 +08:00
feiniks
c461250dfa
Delete upload tmp file (#542)
* Delete upload tmp file

* Delete tmp file when upload finished

* Modify tmp_file_path to resumable_tmp_file
2022-02-12 11:29:39 +08:00
feiniks
df591aa8c2
Add --rm-fs option for gc (#541)
* Add --rm-fs option for gc

* Use local variables and print fs number

* Modify return value to gint64
2022-02-12 09:57:53 +08:00
feiniks
1fe89ff710
Update repofilecount compatibility for older version upgrades (#540) 2022-02-10 16:49:33 +08:00
feiniks
62fc07fe2e
Don't restore repo when failed to get head commit and fix a memory leak (#532) 2021-12-18 10:26:35 +08:00
feiniks
1b004ce949
Delete RepoInfo when delete a repo (#530)
* Delete RepoInfo when delete a repo

* Use commit's ctime as update time
2021-12-15 10:43:36 +08:00
杨赫然
c158fd2767 Merge branch '8.0' 2021-12-14 17:45:05 +08:00
feiniks
b954d8e14c
C add permission check (#529)
* C add permission check

* Fix ci error
2021-12-14 17:35:45 +08:00
杨赫然
3ef6fed844 Merge branch '8.0' 2021-12-09 11:53:41 +08:00
feiniks
e2b3437710
Fix memory leak (#527) 2021-12-08 17:25:33 +08:00
feiniks
a6287cca4c
Improve upload and download log info (#524)
* Improve upload and download log info

* Modify return message

* Modify operation not match
2021-12-08 12:11:10 +08:00
feiniks
807867afb7
Return 403 when failed to validate repo_id of token (#522)
* Return 403 when failed to validate repo_id of token

* Return 403 when failed to validate repo_id of token
2021-12-02 18:06:44 +08:00
feiniks
ea2e328624
Validate repo_id when validate token from cache (#520) 2021-12-01 14:13:47 +08:00
Xiangyue Cai
25fa59d06a
use c fileserver when sqlite3 (#509) 2021-11-06 10:39:23 +08:00
caixiangyue
85ead5e00e Merge branch '8.0' 2021-09-26 11:09:02 +08:00
Xiangyue Cai
3d9f19f628
token not unique (#493) 2021-09-24 18:22:22 +08:00
Xiangyue Cai
53e8bbe5d4
improve sql (#492)
* improve sql

* improve sql
2021-09-24 17:36:45 +08:00
Xiangyue Cai
f681fa6d94
search group members rpc (#489) 2021-09-06 18:20:28 +08:00
caixiangyue
f24d47d2bc Merge branch '8.0' 2021-08-17 15:12:49 +08:00
Xiangyue Cai
27dac89bb3
fix get form field (#482) 2021-07-28 16:00:49 +08:00
Jiaqiang Xu
9a3dc676a8
Revert "fix get form field (#480)" (#481)
This reverts commit 8f7b838720.
2021-07-28 15:56:37 +08:00
Xiangyue Cai
8f7b838720
fix get form field (#480) 2021-07-28 15:56:09 +08:00
Xiangyue Cai
2aacf83e44 fixed fsck crash (#352) 2021-07-28 10:39:54 +08:00
Xiangyue Cai
8a234215c4
improve get_deleted rpc (#479)
* improve get_deleted rpc

* improve code
2021-07-22 17:51:13 +08:00
Xiangyue Cai
4ed89cbdf2
return null when token not exists (#478) 2021-07-14 17:55:09 +08:00
Xiangyue Cai
2844d69d94
remove redundant log (#477) 2021-07-09 15:21:26 +08:00
caixiangyue
1d4d3d7e95 remove redundant log 2021-07-09 13:19:03 +08:00
Xiangyue Cai
af6fc07e91
modify query_zip_progress rpc (#476) 2021-07-09 11:21:18 +08:00
Xiangyue Cai
739b8fffde
add file_count (#475)
* add file_count

* fix get file_count
2021-06-30 10:27:09 +08:00
caixiangyue
1601bfe018 Merge branch '8.0' into master-new 2021-06-09 12:03:56 +08:00
Xiangyue Cai
0bdf63c684
fixed compile warning (#464) 2021-06-09 11:03:17 +08:00
Jonathan Xu
527f6605aa Further fix for boundary detection in file upload. 2021-03-20 11:23:23 +08:00
caixiangyue
baa76682ea Revert "Set compute fs-id-list thread to 10 (#450)"
This reverts commit 90427f9f78.
2021-03-17 15:36:29 +08:00
Xiangyue Cai
993d464cda
Return 400 when find blank line after boundary (#456) 2021-03-11 16:24:32 +08:00
Xiangyue Cai
3a3c29e963
disable async compute fs id list (#455) 2021-03-11 16:19:25 +08:00
feiniks
e71d76de98
Add test config options (#451) 2021-02-22 10:12:08 +08:00
feiniks
90427f9f78
Set compute fs-id-list thread to 10 (#450) 2021-02-22 10:07:07 +08:00
Jonathan Xu
02d3ca7edc Fix detection of upload boundary.
Sometime a boundary can be splitted and received in two read operations.
2021-02-18 09:52:37 +08:00
杨赫然
705a1dd0eb Merge branch '8.0' 2021-02-05 15:40:48 +08:00
feiniks
f94baf09c3
Improve fs-id-list API (#431) (#441)
* Improve fs-id-list API

* Del unused log

* Del invalid parameter log

* Don't return json error
2021-01-05 15:14:02 +08:00