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

6902 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling caa4f92a73
Merge pull request #3789 from nextcloud/bugfix/3787/fix-user-timeout-with-numeric-ids
Fix user timeout with numeric ids
2020-06-09 19:09:13 +02:00
Joas Schilling a0fe5d6f15
Fix user timeout with numeric ids
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-09 13:46:37 +02:00
Nextcloud bot 9c858550c1
[tx-robot] updated from transifex 2020-06-09 02:58:30 +00:00
Joas Schilling 87b0e54558
Merge pull request #3785 from nextcloud/changelog/9.0.1
Add changelog for v9.0.1
2020-06-08 19:20:41 +02:00
Joas Schilling eea41ca2b1
Add changelog for v9.0.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-08 15:48:51 +02:00
Joas Schilling d3cbdb605c
Merge pull request #3757 from nextcloud/techdebt/noid/dont-ping-while-waiting-for-chat-messages
Don't ping the session while waiting for chat messages
2020-06-08 14:55:02 +02:00
Joas Schilling 9db6e52f16
Merge pull request #3759 from nextcloud/bugfix/noid/bring-back-session-expiration-that-was-dropped-with-room-v2-api
Bring back session expiration
2020-06-08 14:54:45 +02:00
Joas Schilling 0a31e0fbfa
Merge pull request #3745 from nextcloud/bugfix/noid/less-database-queries
Less database queries when parsing multiple notifications
2020-06-08 14:54:21 +02:00
Joas Schilling 6ef8e0b857
Merge pull request #3775 from nextcloud/always-try-to-use-microphone-if-camera-failed
Always try to use microphone if camera failed
2020-06-08 14:52:05 +02:00
Joas Schilling aec1d52cac
Merge pull request #3755 from nextcloud/bugfix/noid/make-sure-pinging-session-only-uses-indexes
Make sure pinging session ids only uses indexes
2020-06-08 13:48:30 +02:00
Joas Schilling e102fe5d22
Merge pull request #3744 from nextcloud/bugfix/noid/backportable-deferable-notification-workaround
Dispatch an event to signal interest in defering the notifications
2020-06-08 11:57:36 +02:00
Daniel Calviño Sánchez 4e9bb46e42 Always try to use microphone if camera failed
When getting the local media it is first tried to get both microphone
and camera and, if that fails, then it is tried to get only the
microphone.

However, this was done only when certain errors happened while trying to
get both the microphone and the camera. Now, no matter the error, it is
tried too to get only the microphone; if the media is still unavailable
it will fail again, but this should help with some further scenarios not
covered yet in the previously handled errors in which camera is not
available but microphone is.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-08 11:05:32 +02:00
Joas Schilling a3c2adfbac
PHP CS fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-08 09:11:58 +02:00
Joas Schilling 7b3b93a5da
Merge pull request #3760 from nextcloud/dependabot/npm_and_yarn/websocket-extensions-0.1.4
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-08 09:06:42 +02:00
Joas Schilling 063948d6d8
Don't ping the session while waiting for chat messages
Unless it's a mobile app not in a call, because they don't do signaling.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-08 08:39:39 +02:00
Nextcloud bot 6569d8ee10
[tx-robot] updated from transifex 2020-06-08 02:57:03 +00:00
dependabot-preview[bot] af95b5122b
Merge pull request #3768 from nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-1.2.0 2020-06-07 08:05:15 +00:00
dependabot-preview[bot] 5fc5eaa3a3
Bump @nextcloud/event-bus from 1.1.4 to 1.2.0
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 1.1.4 to 1.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v1.1.4...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-07 07:55:08 +00:00
dependabot-preview[bot] c92b429c07
Merge pull request #3769 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.3.0 2020-06-07 07:52:21 +00:00
dependabot-preview[bot] 9975aff793
Bump @nextcloud/l10n from 1.2.3 to 1.3.0
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.2.3 to 1.3.0.
- [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-l10n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-l10n/compare/v1.2.3...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-07 07:34:00 +00:00
dependabot-preview[bot] 33c5403ff7
Merge pull request #3770 from nextcloud/dependabot/npm_and_yarn/stylelint-13.6.0 2020-06-07 07:31:56 +00:00
dependabot-preview[bot] 084294ba8b
Merge pull request #3771 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-1.4.0 2020-06-07 07:31:36 +00:00
dependabot-preview[bot] 55404a2cf6
Merge pull request #3772 from nextcloud/dependabot/npm_and_yarn/nextcloud/router-1.1.0 2020-06-07 07:31:17 +00:00
Nextcloud bot 98e5af38f9
[tx-robot] updated from transifex 2020-06-07 02:57:35 +00:00
dependabot-preview[bot] a84150bd42
Bump @nextcloud/router from 1.0.2 to 1.1.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-router/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-07 01:22:10 +00:00
dependabot-preview[bot] d6cfbf356d
Bump @nextcloud/dialogs from 1.3.1 to 1.4.0
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v1.3.1...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-07 01:20:51 +00:00
dependabot-preview[bot] 92860019ab
Bump stylelint from 13.5.0 to 13.6.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.5.0 to 13.6.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.5.0...13.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-07 01:19:08 +00:00
Joas Schilling b7c29fbd45
Merge pull request #3762 from simonspa/fix_participant_sorting
Sort participants by display name
2020-06-06 14:30:29 +02:00
Simon Spannagel 80920b955e Sort participants by display name
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-06-06 13:41:12 +02:00
Nextcloud bot 41ee79d4c2
[tx-robot] updated from transifex 2020-06-06 02:59:57 +00:00
dependabot-preview[bot] d0b078e0b8
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 16:32:16 +00:00
Joas Schilling 99b867770b
Bring back session expiration
It was dropped wih Room v2 API after the participant list was dropped completly there

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 16:25:51 +02:00
marco a12c21b9f1
Merge pull request #3749 from nextcloud/bugfix/noid/use-correct-token-to-check-participant
Use the correct token to check the participant
2020-06-05 15:39:58 +02:00
Joas Schilling 3b580e4943
Merge pull request #3738 from nextcloud/bugfix/3664/special-handling-of-cli-administrators-in-sysadmin-messages
Special handling of CLI administrators in system messages
2020-06-05 14:25:05 +02:00
Joas Schilling 0de6b87582
Make sure pinging session ids only uses indexes
Since sessions are unique globally (apart from '0' which is filtered out before)
we can update the ping only based on the index instead of
index + additional where check

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 14:16:29 +02:00
Joas Schilling d7d5a63c29
Merge pull request #3740 from PhrozenByte/bugfix/noid/cmd-room-invalid-guest-participants
Fix talk:room:* command completion for participant options
2020-06-05 12:24:56 +02:00
Ivan Sein 99d8be74e0
Merge pull request #3750 from nextcloud/bugfix/noid/immediately-move-conversation-up-when-sending-a-message
Immediately move conversation up when sending a message
2020-06-05 12:16:06 +02:00
Ivan Sein 4c04f572c7
Merge pull request #3748 from nextcloud/bugfix/noid/stabil-key-for-participants
Make the key for participants stable
2020-06-05 12:13:51 +02:00
Joas Schilling 4ae40af1a6
Immediately move conversation up when sending a message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 10:45:49 +02:00
Joas Schilling b97168af1c
Use the correct token to check the participant
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 10:30:56 +02:00
Joas Schilling d4572e6f85
Make the key for participants stable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 10:14:45 +02:00
Joas Schilling 839bb61042
Also cache the participant
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 09:55:28 +02:00
Joas Schilling 4a94dcf664
Add a unit test for the caching
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 09:55:07 +02:00
Joas Schilling 06bf132b55
Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-05 09:30:49 +02:00
Nextcloud bot 4615dc9126
[tx-robot] updated from transifex 2020-06-05 02:58:03 +00:00
Joas Schilling 03e3b4c71b
Do not query the participants for pushing call notifications
We can skip the participant check when we generate push notifications.
We just looped over the participants to create the notifications,
they can not be removed between these 2 steps, so we can save all those queries.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-04 17:21:57 +02:00
Joas Schilling 9777782188
Temporarily cache the rooms in the notifier
If we have multiple notifications to render for the same room we only do 1 query now.
This e.g. heavily impacts the performance when creating "X started a call" push notifications.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-04 17:18:24 +02:00
Joas Schilling 2d2cbf0495
Dispatch an event to signal interest in defering the notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-04 15:46:47 +02:00
Daniel Rudolf 68bdda056b
Don't let TRoomCommand::completeParticipantValues() return guest participants
We can't deal with guest participants in CLI commands and array_map() currently returns a empty string that is stripped later anyway. This makes this behaviour just more explicit.

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-06-04 13:02:10 +02:00
Joas Schilling df41a828a3
Special handling of CLI administrators in system messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-04 11:19:35 +02:00