feiniks
de3ddbce82
Create parent dirs when revert file ( #667 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-23 11:27:49 +08:00
杨赫然
11d4741224
Merge branch '11.0'
2024-07-16 17:37:24 +08:00
feiniks
ba9476d67b
Create repo add pwd_hash and don't read pwd_hash from seafile.conf ( #665 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-16 16:42:37 +08:00
feiniks
d51591d8f7
get nickname from seahub database ( #663 )
...
* Add parse seahub database config
* Get nickname from seahub database
* Go get nickname from seahub database
* Save output of script to memory and fix some errors
* Add exec permission and free child_output
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-10 16:34:33 +08:00
feiniks
49168a140c
Add ETag for access file ( #664 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-09 16:58:35 +08:00
feiniks
06851a12c1
Set repo_type when convert repo ( #661 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-06-20 18:39:14 +08:00
feiniks
cd9bae2002
Add column type to RepoInfo ( #660 )
...
* Add column type to RepoInfo
* Go fileserver check repo type
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-06-19 12:20:38 +08:00
feiniks
84eb58f01c
Skip check user when export file and fix build error ( #659 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-06-18 15:29:33 +08:00
feiniks
96996b79e3
Support argon2id password hash algo ( #637 )
...
* Support argon2id password hash algo
* CI install argon2 deps
* Go support argonid algo
* RPC add pwd_hash_algo and pwd_hash_params
* Support password hash algo
* Don't set magic when pwd_hash is set
* Fix ci error
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-05-22 18:49:57 +08:00
feiniks
4ca723d183
Fix the inability to move files with special characters ( #656 )
...
* Fix the inability to move files with special characters
* Check json file list
* Don't need to check json list
* Set SEAF_ERR_BAD_ARGS when args is wrong
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-05-06 17:55:04 +08:00
feiniks
b9e98c2b5e
Add repair-repo to fix corrupt fs ( #657 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-04-29 15:34:38 +08:00
feiniks
9f5fcdfe4d
Add trace of pprof ( #655 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-26 18:04:00 +08:00
feiniks
cf70221106
Fix set virtual repo id error ( #654 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-26 18:01:54 +08:00
feiniks
1aa3b30c66
Delete unused doc ( #653 )
...
Co-authored-by: yangheran <heran.yang@seafile.com>
2024-03-26 14:30:54 +08:00
feiniks
549c6b827f
Add error log for block write failed ( #652 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-14 17:10:28 +08:00
feiniks
058b7405f1
Fix download file traffic statistics error ( #651 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-13 19:49:03 +08:00
feiniks
98315cce73
Add option to build http server ( #648 )
...
* Add option to build httpserver
* Add option to build libevhtp
* Delete unused option
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-13 19:38:44 +08:00
feiniks
bd6b87c2e5
Support error log rotate and notification log rotate ( #649 )
...
* Support error log rotate and notification log rotate
* Add comment
* Modify log name
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-12 22:47:43 +08:00
feiniks
ef239b890d
Add compat for Content-Disposition ( #650 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-12 22:14:37 +08:00
feiniks
b2bd7b7b6b
Don't support move directory to its subdirectory ( #645 )
...
* Don't support move directory to its subdirectory
* Check move dir to sub dir
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-02-04 16:40:34 +08:00
feiniks
10150694e9
Add test for uploading large files ( #644 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-02-04 12:01:29 +08:00
feiniks
1e4790b3a2
Return 404 when notification server is disabled ( #643 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-02-01 16:31:59 +08:00
feiniks
2d3513a631
Support unix-socket auth for mariadb ( #642 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-12-26 17:01:20 +08:00
feiniks
67dd1468cf
Add debug mode for seafdav ( #641 )
...
* Add debug mode for seafdav
* Use seafdav conf
---------
Co-authored-by: yangheran <heran.yang@seafile.com>
2023-12-15 10:24:26 +08:00
Zane Dufour
ce8a8db6c6
fix build URL ( #639 )
...
It seems like the `.html` URL is broken
2023-12-12 13:57:42 +08:00
feiniks
2d667a5c99
Check files with same name before post ( #638 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-11-22 16:57:13 +08:00
feiniks
f659a910c9
Fix don't save server file when gen conflict file ( #636 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-11-02 14:04:20 +08:00
feiniks
6063e09ccc
Check repo_id and path is not null ( #634 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-11-02 14:02:51 +08:00
feiniks
cc42c87d71
Fix empty commit because of encode add a newline ( #633 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-10-21 10:23:21 +08:00
feiniks
7bb8866889
Controller don't start seaf-events ( #629 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-08-18 11:54:42 +08:00
feiniks
0b0bfbf5ab
Fix fsck crash when failed to save dir ( #628 )
...
* Fix fsck crash when failed to save dir
* Modify comment
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-07-31 11:13:33 +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
fdb51c1352
Fix fsck crash when failed to find available commit ( #627 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-07-25 10:37:19 +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
a978b24d0c
Start rpc server after prepare seafile session ( #622 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-06-20 18:18:32 +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
47c694e22f
Support tls for libmariadb ( #613 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-05-18 16:48:48 +08:00
feiniks
54ecfbee42
Fix crash when concurrent close channel ( #612 )
...
* Fix crash when concurrent close channel
* Add ErrCh to notify client's goruntine to exit
* Add WaitGroup to wait for all goruntine to exit
* Call Signal on error
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-05-09 18:10:01 +08:00
feiniks
30f26ef24f
Support copy/move files between enc repos ( #611 )
...
* Support copy/move files between enc repos
* Check block_id is empty
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-05-05 11:34:23 +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
f6122ec742
Add error log, handle execption and return nil when upgrade failed ( #607 )
...
* Add error log, handle execption and return nil when upgrade failed
* Wrapper recover
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-04-14 16:06:54 +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
ad5ce70ffb
Get repo list add return virtual repos ( #605 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-03-20 10:11:57 +08:00
feiniks
6ca4f18d31
Fix define type error ( #604 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-03-16 11:37:47 +08:00