杨赫然
59f4251f4c
Add tags to build dm database
2023-10-17 14:25:39 +08:00
杨赫然
74f0ef968c
Go support dm dtabase
2023-10-16 10:06:40 +08:00
杨赫然
2de172f6cc
Merge branch '10.0'
2023-07-25 12:05:28 +08:00
杨赫然
a19aacf198
Fix create closer error
2023-07-25 11:17:50 +08:00
杨赫然
910c338592
Merge branch '10.0'
2023-07-25 10:58:48 +08:00
feiniks
e38774ac7e
Improve worker pool ( #626 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-07-20 16:39:43 +08:00
feiniks
864cef1c22
Support unix_socket option of database ( #623 )
...
* Support unix_socket option of database
* Set default auth plugin when use unix_socket
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-06-27 16:59:19 +08:00
feiniks
29e48dafa9
Allow comment sybols # and ; inside values ( #615 )
...
Co-authored-by: heran yang <heran.yang@seafile.com>
2023-05-31 15:11:44 +08:00
feiniks
4d02cb14a3
Don't escape HTML characters ( #614 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-05-25 12:28:22 +08:00
feiniks
b558426da8
Add ca_path and skip_verify option for mysql ( #610 )
...
* Add ca_path and skip_verify option for mysql
* Add comment
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-04-23 14:39:40 +08:00
feiniks
b5993456e3
Add retry count to 10 ( #609 )
...
* Add retry count to 10
* Add sleep interval and print max retry count
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-04-21 17:53:29 +08:00
feiniks
760e805fa0
Add skip_verify for go tls ( #608 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-04-21 12:13:33 +08:00
feiniks
db09baec1b
Handle crypt for zip files ( #606 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-04-04 14:07:28 +08:00
feiniks
6ca4f18d31
Fix define type error ( #604 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-03-16 11:37:47 +08:00
feiniks
9173f217a4
Send repo update event to notification server ( #602 )
...
* Send repo update event to notification server
* Add option to manage configuration
* Init default options at start
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-03-11 12:14:39 +08:00
feiniks
dcda34478f
go fileserver write header before write body ( #591 )
...
* go fileserver write header before write body
* Set json header when ret-json is true
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-01-29 15:59:24 +08:00
feiniks
88438dd0fe
Fix edit origin repo error ( #592 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-01-29 15:05:59 +08:00
feiniks
47efb16c92
Set fixed_block_size unit to M ( #589 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-01-05 17:06:34 +08:00
杨赫然
852bc4bd38
Merge branch '9.0'
2022-12-29 13:47:54 +08:00
feiniks
5289841dd8
Fix error in calculating the number of blocks ( #588 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-29 12:32:22 +08:00
feiniks
d6f6127641
Add notification server ( #535 )
...
* Add notification server of go
Modify path of pkg
Send notification for update-repo event
Delete client pkg and use reflect select to send message
Modify output of log
Add formatter of log
Add jwt authentication
go add get jwt token api
CI support compile libjwt
Get group users from database
* Add ping to test mysql is alive
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-16 15:29:01 +08:00
杨赫然
c0b7ba6013
Fix sql column error
2022-12-08 14:36:51 +08:00
杨赫然
079a8b65a5
Don't use cache when merge
2022-12-06 17:04:44 +08:00
feiniks
b936ee1eb1
go fileserver support enc v4 ( #585 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-06 14:51:17 +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