stable
Clone or download
Read-only
Part of story #32297 Have Tuleap Test Management realtime be Mercure based Currently socket.io computes scores by increase/decrease scores of each user at each execution update, and these scores are stored in sessions. This means that when all users logged out, scores are losts. To fix that, now scores are computes on amount of execution passed by each. *Testing:* Scores should be updated like before. But if you close all tabs, then reopen them: scores should be kept. Change-Id: I327327074f74e35a787f4e93db0a76a3b2209147
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-service.js | +38 | −34 | Go to diff View file |
M | plugins/testmanagement/scripts/testmanagement/src/execution-collection/execution-service.test.js | +95 | −55 | Go to diff View file |
M | plugins/testmanagement/scripts/testmanagement/src/execution/execution-list-controller.js | +0 | −3 | Go to diff View file |
M | plugins/testmanagement/scripts/testmanagement/src/execution/execution-list-controller.test.js | +3 | −3 | Go to diff View file |
M | plugins/testmanagement/scripts/testmanagement/src/socket/socket-service.js | +7 | −35 | Go to diff View file |
M | src/additional-packages/tuleap-realtime/src/backend/controllers/main-controller.js | +1 | −5 | Go to diff View file |
M | src/additional-packages/tuleap-realtime/src/backend/modules/rooms.js | +1 | −39 | Go to diff View file |
M | src/additional-packages/tuleap-realtime/src/backend/modules/rooms.spec.js | +7 | −17 | Go to diff View file |
D | src/additional-packages/tuleap-realtime/src/backend/modules/scores.js | +0 | −215 | Go to diff View file |
D | src/additional-packages/tuleap-realtime/src/backend/modules/scores.spec.js | +0 | −468 | Go to diff View file |
D | src/additional-packages/tuleap-realtime/src/backend/services/scores-service.js | +0 | −51 | Go to diff View file |