杨赫然
c0b7ba6013
Fix sql column error
2022-12-08 14:36:51 +08:00
杨赫然
5c741c15ca
Merge branch '9.0'
2022-12-06 14:47:15 +08:00
feiniks
760937015d
go fileserver support enc v4 ( #585 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-06 14:39:26 +08:00
feiniks
f02d2e5304
Fix root_id is empty in commit ( #586 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-06 14:38:45 +08:00
feiniks
df78d10ec1
Reuse zlib ReadCloser and add timeout for get fs id list ( #508 )
...
* Reuse zlib ReadCloser and add timeout for get fs id list
* Reuse zlib reader
* Get seafile and seafdir with zlib reader
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Use json-iterator/go to parse fs objects (#510 )
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Add cache for seafdir (#511 )
* Add cache for seafile and seafdir
* Add ttl for fs cache
* Use MB unit and add a comment
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Close object after reading finished (#512 )
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-06 10:45:39 +08:00
feiniks
8e9367c9a1
Delete sub query ( #582 )
...
* Delete sub query
* Use where to filter org id
* Fix ci error
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-05 18:35:41 +08:00
feiniks
620438fbb5
Clean go unused log ( #579 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-10-14 12:10:53 +08:00
feiniks
04350f2b99
Merge same repo once and check fs object is valid ( #578 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-09-28 16:43:07 +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
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
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
881c270aa8
Set unix time to repo token sync time ( #558 )
2022-05-30 14:10:18 +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
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
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
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
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
2931328df6
Set Access Control headers ( #531 )
2021-12-18 09:48:52 +08:00
feiniks
f588d926de
Go add permission check ( #528 )
2021-12-14 17:38:03 +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
96884a83a0
Validate token return 403 for go ( #523 )
2021-12-02 18:30:22 +08:00
feiniks
273e44c18e
Validate repo_id when validate token from cache for go ( #521 )
2021-12-01 16:03:17 +08:00
feiniks
a967d5094f
Encode json data in a specific format ( #513 )
...
* Encode json data in a specific format
* Convert fs to json when save fs
2021-11-19 11:01:29 +08:00
feiniks
fc57f6a3ae
Replace Dup2 with Dup3 ( #514 )
2021-11-18 18:01:29 +08:00
feiniks
da084f7bbc
Return StatusPartialContent for request of range ( #512 )
2021-11-16 10:43:37 +08:00
Xiangyue Cai
32a6777536
handle OPTIONS method ( #511 )
2021-11-08 12:32:09 +08:00
Xiangyue Cai
086327d369
fix parse fileserver option ( #510 )
2021-11-04 14:59:46 +08:00
sun20121818
cb6cf3764f
Add a config for go fileserver ( #497 )
...
* Add a config for go fileserver
* Change after review.
* Change after review
2021-10-15 16:11:26 +08:00
Xiangyue Cai
0556b641a3
fix url ( #499 )
2021-09-29 17:09:02 +08:00
Xiangyue Cai
c2006c5443
improve log ( #498 )
...
* improve log
* write header after internal server error
2021-09-29 17:08:39 +08:00
Xiangyue Cai
31c017d2c8
fix retry to update branch ( #495 )
...
* fix retry to update branch
* improve code
2021-09-27 17:50:03 +08:00
Xiangyue Cai
4901aefa58
fix set second parent id ( #496 )
2021-09-27 16:38:20 +08:00
Xiangyue Cai
f92331de80
fix typo ( #494 )
2021-09-26 10:31:18 +08:00
Xiangyue Cai
c31dcc79ce
Don't omit commit id when marshal commit to json ( #491 )
2021-09-23 14:12:53 +08:00
Xiangyue Cai
88e917c58e
send event ( #490 )
...
* send event
* send event
2021-09-17 11:07:38 +08:00
Xiangyue Cai
7f09cff78c
stderr to log ( #488 )
2021-08-31 17:52:33 +08:00
Xiangyue Cai
bd6b693ab5
add recover ( #483 )
...
* add recover
* improve code
* improve code
* use go routine
2021-08-10 10:43:08 +08:00
Jonathan Xu
4106d18bb8
[go] Move position for GetGroupReposByUser in share.go
2021-08-02 16:40:06 +08:00
Xiangyue Cai
537226aca7
create merge virtual repo task pool ( #473 )
...
* create merge virtual repo task pool
* use for range
2021-06-30 11:21:57 +08:00
Xiangyue Cai
d8a4a9a72d
do not compute repo size directly ( #474 )
2021-06-26 19:03:50 +08:00
Xiangyue Cai
be4e0096cf
load default quota when start ( #472 )
...
* load default quota when start
* improve code
2021-06-26 18:40:00 +08:00