focalboard/server
Miguel de la Cruz 3ae821d2e8
Refactor websockets state and lifecycle (#3315)
* Refactor websockets state and lifecycle

This PR moves the state of the authentication and subscriptions to the
websockets client, allowing for multiple components to communicate
with it and request subscriptions independently. With this change, the
lifecycle of the websockets client is now managed on a component, and
a hook is provided for easy access to it from individual components.

* Fix linter

* Integrating the new websockets in channels integration with the RHS and board selector

* Some small fixes around boards-channels relationship

* Make the boards unfurl to always use the current team

* Fixing weird behaviors in websockets and other small data related bugs in channel-board relationship

* Only warn if withWebSockets is used without a base connection

* Fix tests

* Fix linter

* Update snapshot

* Fixing plugin tests

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-07-14 12:31:51 +02:00
..
admin-scripts
api Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
app Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
assets
auth
client Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
integrationtests Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
main
model add BoardID to limited card (#3341) 2022-07-11 14:01:46 +02:00
server Registered personal-server specific APIs only when running as personal server (#3228) 2022-06-16 16:16:35 +05:30
services Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
swagger
utils Cherry pick to main for add board link in bot notification (#3272) 2022-06-24 12:39:04 +05:30
web
ws Using actual WS action (#3314) 2022-07-06 14:12:13 +05:30
.golangci.yml add cyclo complexity, update migrate() to use defer (#3257) 2022-06-21 09:12:55 -06:00
go.mod Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
go.sum Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
go.tools.mod
go.tools.sum