* Revert "Disable notification on linux (#2659)"
This reverts commit 20d5947916.
* Add option to build websockets
* Set enable-ws default to no
* Add build option COMPILE_LINUX_WS
* Modify APPLE macro
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Get notification from server
Don't sync repo when repo is subscribed
Get notification from server
* Disconnect notification server when subscribed repos is 0 and modify log info
* Add jwt certification
* Use server lock
* VS add libwebsockets
* Add check notification server
* Check notif server once
* Check locks and folder perms after fileserver is recovered
* Add comment
Co-authored-by: heran yang <heran.yang@seafile.com>