focalboard/server/app
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
..
app.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
app_test.go
auth.go
auth_test.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
blocks.go Ported view limits to main (#3252) 2022-06-29 18:05:24 +05:30
blocks_test.go Ported view limits to main (#3252) 2022-06-29 18:05:24 +05:30
boards.go Refactor websockets state and lifecycle (#3315) 2022-07-14 12:31:51 +02:00
boards_and_blocks.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
category.go
category_boards.go
clientConfig.go User updates (#3244) 2022-07-08 08:43:43 -06:00
clientConfig_test.go User updates (#3244) 2022-07-08 08:43:43 -06:00
cloud.go Add loggin on cloud limits set (#3337) 2022-07-08 13:23:35 +02:00
cloud_test.go Ported view limits to main (#3252) 2022-06-29 18:05:24 +05:30
export.go
files.go Forward-porting fileinfo limits (#3164) 2022-06-13 13:35:42 +05:30
files_test.go Forward-porting fileinfo limits (#3164) 2022-06-13 13:35:42 +05:30
helper_test.go
import.go Adds limits implementation to the server (#3213) 2022-06-15 12:17:44 +02:00
import_test.go
initialize.go
onboarding.go
onboarding_test.go GH-2890 Copy files when duplicating boards (#2915) 2022-04-25 10:37:57 -06:00
sharing.go Standardize err not found (#2834) 2022-04-20 11:02:12 -04:00
sharing_test.go
subscriptions.go Refactor notify init (#3043) 2022-05-16 11:53:41 -04:00
teams.go Standardize err not found (#2834) 2022-04-20 11:02:12 -04:00
teams_test.go
templates.boardarchive remove invalid assigned settings 2022-05-17 14:14:48 -06:00
templates.go Added constant template IDs for tracking template usage (#3238) 2022-06-29 19:47:54 +05:30
templates_test.go
user.go Initial Boards+Channels implementation (#3110) 2022-07-07 16:46:53 +02:00