feiniks
4a21c835d3
Add notification config in seafile.conf ( #593 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2023-02-09 12:02:22 +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
364e2716ef
notification server add ping ( #587 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2022-12-22 11:53:15 +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
feiniks
40b59d56a9
Fix empty commit when rename a dir ( #572 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2022-12-13 19:23:33 +08:00
feiniks
ce8f5bcbe6
Add index repo_id on WebUploadTempFiles ( #556 )
...
Co-authored-by: yangheran <heran.yang@seafile.com >
2022-12-13 19:21:42 +08:00
杨赫然
c0b7ba6013
Fix sql column error
2022-12-08 14:36:51 +08:00
杨赫然
079a8b65a5
Don't use cache when merge
v9.0.10-server
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
798f77efb5
Check if seafile is NULL ( #513 )
...
Co-authored-by: heran yang <heran.yang@seafile.com >
2022-12-06 11:34:22 +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
4489898fe1
Improve mysql connection pool ( #581 )
...
* Improve mysql connection pool
* Add re-query log
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2022-12-05 18:36:26 +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
9b200675fb
Add peer_ip length to 50 ( #580 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2022-12-02 11:00:00 +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
550e75cb0b
Fix memory leak ( #577 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
seatable-3.2.0
seatable-3.3.0
seatable-3.4.0
seatable-3.5.0
seatable-4.0.0
v9.0.9-server
2022-09-20 10:27:50 +08:00
feiniks
160f96346c
Fix fsck crash ( #576 )
...
Co-authored-by: heran yang <heran.yang@seafile.com >
2022-09-14 14:40:40 +08:00
feiniks
20409feb2e
Fix delete device error ( #575 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
v9.0.8-server
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 >
seatable-3.1.0
v9.0.7-server
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 )
v9.0.6-server
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
v9.0.5-server
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