focalboard/server
Miguel de la Cruz ce98ec55fc
Recovers inactive websockets connections on reconnect in plugin mode (#1324)
* Stores a cache of inactive connections so their subscriptions are recovered on reconnections

* Adds test for getUserIDsForWorkspace and simplify messages through helpers

* Make the plugin websocket client more resilient

* Remove missed event callback and limit ws state polling to one at a time

* Add read lock for the plugin adapter and guarantee atomic ops on inactiveAt

* Add mutex to the plugin adapter client and tests to cover for races

* Split plugin adapter mutex in two and use them to lock only on data access

* Group plugin adapter fields by the mutex that's guarding them
2021-09-29 18:19:34 +02:00
..
admin-scripts Rename admin local socket 2021-02-01 10:31:06 -08:00
api Config for share board (#1187) 2021-09-16 13:31:02 -06:00
app Adds workspaceID to blocks and makes board page only reacts to the workspace updates (#1299) 2021-09-22 13:57:00 -06:00
auth Recovers inactive websockets connections on reconnect in plugin mode (#1324) 2021-09-29 18:19:34 +02:00
client [GH-436] Add integration tests for missing User API endpoints (#810) 2021-08-09 22:57:45 -04:00
integrationtests disable flakey test (#1306) 2021-09-21 13:25:45 -04:00
main MM-38342 plugin logging (#1193) 2021-09-15 09:01:05 -04:00
model Adds workspaceID to blocks and makes board page only reacts to the workspace updates (#1299) 2021-09-22 13:57:00 -06:00
server Config for share board (#1187) 2021-09-16 13:31:02 -06:00
services Handled the case of missing user (#1367) 2021-09-29 11:27:21 +05:30
swagger Adding support for patch blocks (#877) 2021-08-06 14:10:24 +02:00
utils Config for share board (#1187) 2021-09-16 13:31:02 -06:00
web Replace mlog with server v6 mlog (#1088) 2021-08-25 16:08:01 -04:00
ws Recovers inactive websockets connections on reconnect in plugin mode (#1324) 2021-09-29 18:19:34 +02:00
.golangci.yml Lint server & plugin for CI (#720) 2021-07-14 09:36:18 -04:00
go.mod MM-38342 plugin logging (#1193) 2021-09-15 09:01:05 -04:00
go.sum MM-38342 plugin logging (#1193) 2021-09-15 09:01:05 -04:00
go.tools.mod Adding support for patch blocks (#877) 2021-08-06 14:10:24 +02:00
go.tools.sum Adding support for patch blocks (#877) 2021-08-06 14:10:24 +02:00