1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-12 04:03:12 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
feiniks
abe4537648
Format notification server log and redirect stderr to log (#707)
* Format notification server log and redirect stderr to log

* Set http server error log

* Delete unused file

* Modify pkg name

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-10-26 16:16:35 +08:00
feiniks
594bed8c41
Read JWT_PRIVATE_KEY from env (#695)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-10 14:44:45 +08:00
feiniks
95f4fb3809
Set max conn and add read and write timeout (#682)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-08-22 18:06:15 +08:00
feiniks
738716496a
Fix security issue and add go linter (#677)
* Fix security issue and add go linter

* Fix error checked by golangci-lint

* Delete jwt-go pkg

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-08-12 14:59:45 +08:00
feiniks
a535c64d13
Use Authorization header (#675)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-08-01 11:25:31 +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
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
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
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
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
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