1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-02 07:43:09 +00:00
Commit Graph

727 Commits

Author SHA1 Message Date
feiniks
20409feb2e
Fix delete device error (#575)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-09-05 12:29:17 +08:00
feiniks
955d4c5277
Add workpool to calculate fs id list (#574)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-09-03 18:22:46 +08:00
feiniks
9debeec57e
Check length of path before memcpy (#571)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-08-05 15:01:13 +08:00
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
318e850ccb
Go Retry upload when detecting concurrent uploads (#567)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-20 11:25:58 +08:00
feiniks
e14e820d5e
Modify profile option (#566)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-15 16:03:31 +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
3a47cf7ab2
Fix normalize utf8 path for go (#565)
* Fix normalize utf8 path for go

* Fix normalize utf8 path for go
2022-07-13 18:18:32 +08:00
feiniks
2be8f28df6
Add enable_profiling option (#563) 2022-07-13 17:58:48 +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
881c270aa8
Set unix time to repo token sync time (#558) 2022-05-30 14:10:18 +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
e7f96976e9
Fix downloading non-ASCII filename (#555)
* Fix downloading non-ASCII filename

* Add comment

* Modify comment
2022-05-25 09:37:58 +08:00
feiniks
625957bbf9
Add profile for go fileserver (#554) 2022-05-23 17:38:51 +08:00
Mat
ab3c001198
Fix contribution link (#549)
The current link points to a site returning a 404 error
2022-05-15 19:09:44 +08:00
杨赫然
f7cefa60d7 Fix support enc v3 repo 2022-05-12 15:54:43 +08:00
feiniks
2412de2897
Don't remove progress immediately when has internal error (#553) 2022-04-26 10:37:12 +08:00
feiniks
5e33fc3476
Go fileserver support enc v3 repo (#552)
* Go fileserver support enc v3 repo

* add comment
2022-04-11 18:48:18 +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
96b33251ce
Modify log format and don't print network error (#546)
* Modify log format and don't print network error

* Don't print network error and content canceled error

* Modify function name
2022-03-02 16:03:16 +08:00
feiniks
35f6678c1c
Set zip suffix to zip file (#545) 2022-02-23 15:05:49 +08:00
feiniks
38528c8c97
Improve sql statement to delete RepoInfo and VirtualRepo (#544) 2022-02-22 12:11:39 +08:00
feiniks
c3f50c53b6
Modify returned json message (#543) 2022-02-15 11:23:45 +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
524f227b02
Check block if exists before write block (#537) 2022-01-14 17:39:11 +08:00
feiniks
8027161e1a
Add log rotate for go fileserver (#534) 2021-12-22 17:03:15 +08:00
feiniks
1c2c981530
Fix get fs-id-list for virtual repos (#533) 2021-12-22 16:01:21 +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
2931328df6
Set Access Control headers (#531) 2021-12-18 09:48:52 +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
f588d926de
Go add permission check (#528) 2021-12-14 17:38:03 +08:00
feiniks
b954d8e14c
C add permission check (#529)
* C add permission check

* Fix ci error
2021-12-14 17:35:45 +08:00
杨赫然
6776e30631 Fix ci test error 2021-12-09 13:24: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
2235998158
Modify memory free order (#526) 2021-12-08 14:51:45 +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
Daniel Pan
c48416adfd
Merge pull request #525 from haiwen/move-scripts
move scripts
2021-12-06 21:13:58 +08:00
skywalker
524e142f16 move scripts 2021-12-04 17:16:43 +08:00
feiniks
96884a83a0
Validate token return 403 for go (#523) 2021-12-02 18:30:22 +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
273e44c18e
Validate repo_id when validate token from cache for go (#521) 2021-12-01 16:03:17 +08:00
feiniks
ea2e328624
Validate repo_id when validate token from cache (#520) 2021-12-01 14:13:47 +08:00