Граф коммитов

13268 Коммитов

Автор SHA1 Сообщение Дата
Nextcloud bot d9cdab5093
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-30 03:24:16 +00:00
Marco Ambrosini 8d301a6e63 Create PollVOtersDetails component
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-29 17:55:08 +02:00
Marco a113168604
Merge pull request #7805 from nextcloud/bugfix/noid/dont-allow-to-close-polls-twice
Don't allow to close polls twice
2022-08-29 08:45:15 +02:00
Nextcloud bot 310a92ce95
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-29 03:24:13 +00:00
Joas Schilling 62eab19433
Merge pull request #7817 from nextcloud/automated/noid/master-update-christophwurst-nextcloud
[master] Update christophwurst/nextcloud dependency
2022-08-28 08:12:03 +02:00
nextcloud-command 5e3fc09e08 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-08-28 05:02:13 +00:00
Nextcloud bot 4a80483049
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-28 03:22:37 +00:00
Joas Schilling ddbbc4d3bc
Merge pull request #7811 from nextcloud/dependabot/npm_and_yarn/vue-router-3.6.4
Bump vue-router from 3.5.4 to 3.6.4
2022-08-27 10:33:42 +02:00
Joas Schilling 6f3a7ee421
Merge pull request #7810 from nextcloud/dependabot/npm_and_yarn/typescript-4.8.2
Bump typescript from 4.7.4 to 4.8.2
2022-08-27 10:30:47 +02:00
Joas Schilling fc7f507909
Merge pull request #7812 from nextcloud/dependabot/npm_and_yarn/webdav-4.11.0
Bump webdav from 4.10.0 to 4.11.0
2022-08-27 10:15:54 +02:00
dependabot[bot] 7bcf4158a0
Bump vue-router from 3.5.4 to 3.6.4
Bumps [vue-router](https://github.com/vuejs/router) from 3.5.4 to 3.6.4.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](https://github.com/vuejs/router/commits)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-27 06:52:06 +00:00
dependabot[bot] 002f7dca17
Bump typescript from 4.7.4 to 4.8.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.4 to 4.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.4...v4.8.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-27 06:52:05 +00:00
dependabot[bot] 2503961bac
Bump webdav from 4.10.0 to 4.11.0
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/perry-mitchell/webdav-client/releases)
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v4.10.0...v4.11.0)

---
updated-dependencies:
- dependency-name: webdav
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-27 06:52:04 +00:00
Joas Schilling 350c1b7b30
Merge pull request #7808 from nextcloud/dependabot/npm_and_yarn/vue-and-vue-template-compiler-2.7.10
Bump vue and vue-template-compiler
2022-08-27 08:50:51 +02:00
Joas Schilling 961d389b80
Merge pull request #7814 from nextcloud/dependabot/composer/phpunit/phpunit-9.5.23
Bump phpunit/phpunit from 9.5.21 to 9.5.23
2022-08-27 08:45:11 +02:00
Nextcloud bot 43d8c0ca46
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-27 03:22:40 +00:00
dependabot[bot] f222e9964b
Bump phpunit/phpunit from 9.5.21 to 9.5.23
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.21 to 9.5.23.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.21...9.5.23)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-27 02:06:12 +00:00
dependabot[bot] c82b649b12
Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/core) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.7.9 to 2.7.10
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits)

Updates `vue-template-compiler` from 2.7.9 to 2.7.10
- [Release notes](https://github.com/vuejs/vue/releases)
- [Changelog](https://github.com/vuejs/vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue/compare/v2.7.9...v2.7.10)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-27 01:02:19 +00:00
Joas Schilling 3a94a969f9
Merge pull request #7761 from nextcloud/feature/polls-follow-up
Polls cleanup
2022-08-26 22:35:21 +02:00
Joas Schilling f954227df7
Poll ID is a string now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-26 21:32:19 +02:00
Joas Schilling 4482bead6a
Merge pull request #7801 from nextcloud/fix-leaving-room-in-one-session-causing-call-to-be-partially-left-in-another-session
Fix leaving room in one session causing call to be partially left in another session
2022-08-26 16:52:08 +02:00
Marco Ambrosini 6480a9e043 Do not display results summary if poll is public
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 16:47:13 +02:00
Marco Ambrosini 9d2ee6d56a Don't allow to close poll multiple times
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 16:30:42 +02:00
Joas Schilling 9ddae531db
Don't allow to close polls twice
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-26 16:30:41 +02:00
Marco Ambrosini 0571fdfd9d Immediately update poll if closed
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 16:30:04 +02:00
Marco Ambrosini 8f45fd68a1 Fix buttons
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 16:22:13 +02:00
Marco Ambrosini 9361be2739 Display poll result button in system message
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 16:09:46 +02:00
Marco Ambrosini 2694da36ed Display your votes in results page
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 14:30:10 +02:00
Marco Ambrosini f9db4689a0 Do not display decimals in percentages
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 13:43:07 +02:00
Marco Ambrosini 8689bbc876 Fix footer text
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 13:36:32 +02:00
Daniel Calviño Sánchez 85f73b06b6 Fix not leaving previous session when joining the same room again
When the same room is joined again from the same PHP session the room is
left with the previous Nextcloud session before joining with the new
one. However, "disinvite" messages were not sent to the external signaling
server for regular users, so their UI was not updated to show that the
previous Nextcloud session was kicked out from the conversation.

Note, however, that as a "disinvite" message is now sent the UI will
show a "conversation not found" message rather than a "duplicated
session" state.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-26 12:20:06 +02:00
Marco Ambrosini 5d16f9d207 Make room for close button
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 11:38:01 +02:00
Marco Ambrosini f5587583e2 Remove dismiss button
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini 55171c66ab Rename close poll into end poll
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini 14d7b90c4a Focus next answer when adding it
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini 7932e4bf7e Improve layout for long questions
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini f5eb983e9d Disallow empty vote
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini d04c9a3f3a Show if user has voted or not in poll preview
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini 2748e48942 Display user vote when going back to the voting page
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini 620b665de2 Add dismiss button
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini 871e7e25bf Do not compute checkboxradioswitch type if poll is not loaded
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Marco Ambrosini fffb22a789 Fix modal not opening after poll creation
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2022-08-26 10:57:32 +02:00
Joas Schilling 46a2326c79
Merge pull request #7799 from nextcloud/fix-inconsistent-state-when-leaving-a-call-fails
Fix inconsistent state when leaving a call fails
2022-08-26 10:45:33 +02:00
Marco 5fe2e6a57d
Merge pull request #7798 from nextcloud/bugfix/noid/vue-beta-4
Update to @nextcloud/vue 6.0.0-beta.4
2022-08-26 09:22:02 +02:00
Nextcloud bot 0fa84b69f7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-26 03:23:49 +00:00
Daniel Calviño Sánchez be6fa63298 Fix call left event not sent when leaving conversation while in a call
When a call is left a message is sent to the external signaling server.
However, that message is based on the sessions of the participants in
the conversation. When a conversation is left and the participant was in
a call in that conversation the call is also left, but the event was
emitted after leaving the conversation. Due to that, when the message to
be sent to the external signaling server was generated the participant
was no longer in the conversation, and therefore it was not included in
the message, so the call was not left from the point of view of the
external signaling server. To solve that now the call is left and, once
that is done, the conversation is left.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-26 04:10:49 +02:00
Daniel Calviño Sánchez 4c8d16a3f4 Ignore call signaling messages when not in a call
When a participant was not in the call but received an offer it was
ignored to avoid establishing a connection. However, all the other call
signaling messages were still processed. Due to this, if a participant
leaves the call but that fails in the server that participant still
receives all the participant updates (which also list that participant
as still in the call) and therefore that participant tries to establish
a connection with the other participants.

To prevent that now all call signaling messages are ignored when the
local participant is not in the call. Due to this the call signaling
message that changes the state from the local participant to
disconnected is now ignored as well, although that should not be a
problem given that (since the previous commmit) the call related data is
immediately cleared when the call is left, without waiting for the
signaling message.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-26 04:09:54 +02:00
Daniel Calviño Sánchez aa22e6bd5e Clear call related data immediately when leaving call
When a call is left the peer connections are immediately ended. However,
the data of the participants (like the call state), the
CallParticipantModels as well as the timers to retry failed connections
were cleared once the signaling message updating the current participant
state to disconnected was received. If leaving the call failed in the
server that message will not be received, so pending connections were
retried even if no longer in the call, and when joining again a previous
model could be reused, leading to different issues.

Due to that the call related data is now immediately cleared when the
call is left, no matter if the signaling message about leaving the call
is then received or not (and, if it is, nothing will happen as the data
was already cleared).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-26 04:09:54 +02:00
Daniel Calviño Sánchez b8df78c80a Remove unneeded assignment
When "usersChanged(signaling, [], previousUsersInRoom)" is called
"previousUsersInRoom" is assigned to the difference with itself and,
therefore, to an empty array, so there is no need to explicitly do it
afterwards.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-26 04:09:54 +02:00
Daniel Calviño Sánchez c6be52f3c4 Emit "leaveCall" event even if the request to leave the call fails
When a call is left the UI always changes to the "not-in-a-call" state.
However, if leaving the call fails the signaling did not emit the
"leaveCall" event, so the WebRTC connections were not stopped due to
leaving the call, nor they were left later when the signaling sent the
updated list of participants, as the participant did not leave the call
from the point of view of the server.

Even if leaving the call fails in the server the call should be locally
left when the user requests it, so now "leaveCall" is emitted even if
leaving the call failed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-08-26 04:09:54 +02:00