1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-10-21 15:34:55 +00:00

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>
This commit is contained in:
feiniks
2022-12-16 15:29:01 +08:00
committed by GitHub
parent 40b59d56a9
commit d6f6127641
24 changed files with 1737 additions and 11 deletions

View File

@@ -34,7 +34,9 @@ noinst_HEADERS = web-accesstoken-mgr.h seafile-session.h \
../common/user-mgr.h \
../common/group-mgr.h \
../common/org-mgr.h \
index-blocks-mgr.h
index-blocks-mgr.h \
http-tx-mgr.h \
notif-mgr.h
seaf_server_SOURCES = \
seaf-server.c \
@@ -54,6 +56,8 @@ seaf_server_SOURCES = \
access-file.c \
pack-dir.c \
fileserver-config.c \
http-tx-mgr.c \
notif-mgr.c \
../common/seaf-db.c \
../common/branch-mgr.c ../common/fs-mgr.c \
../common/config-mgr.c \
@@ -81,4 +85,5 @@ seaf_server_LDADD = $(top_builddir)/lib/libseafile_common.la \
$(top_builddir)/common/cdc/libcdc.la \
@SEARPC_LIBS@ @JANSSON_LIBS@ ${LIB_WS32} @ZLIB_LIBS@ \
@LIBARCHIVE_LIBS@ @LIB_ICONV@ \
@LDAP_LIBS@ @MYSQL_LIBS@ -lsqlite3
@LDAP_LIBS@ @MYSQL_LIBS@ -lsqlite3 \
@CURL_LIBS@ @JWT_LIBS@