1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-04-27 11:10:49 +00:00
Commit Graph

891 Commits

Author SHA1 Message Date
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
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
d38c212ba1
Return one more commit when get repo history (#603)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-03-11 11:54:50 +08:00
feiniks
7566f6f60e
Modify element of UnsubList (#601)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-03-03 14:25:41 +08:00
feiniks
499e8e8d17
Add search_files_by_path RPC (#599)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-02-25 11:24:50 +08:00
feiniks
766d716c6a
GC traverse base commit of virtual repo (#597)
* GC traverse base commit of virtual repo

* Traverse virtual repo's base commit

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-02-20 11:49:11 +08:00
feiniks
d42a281a9a
Add notification server debug log (#595)
* Add notification server debug log

* Add print message content

* Modify log format

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-02-11 14:46:16 +08:00
feiniks
0b5b0bf43c
Delete seafile_auth_token option (#594)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-02-11 10:54:50 +08:00
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