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

7722 Коммитов

Автор SHA1 Сообщение Дата
Daniel Calviño Sánchez 1fbbc7b56f Fix "enable_matterbridge" initial state not set for guests
The RightSidebar component always checks the value, so even if the
setting does not apply for guests it should be explicitly disabled in
that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-17 13:16:23 +02:00
marco a4dd707ac4
Merge pull request #4170 from nextcloud/bugfix/noid/update-statuses-when-we-know
Update statuses when we got new information with a participant refresh
2020-09-17 12:09:00 +02:00
Joas Schilling 291e2c75f7
Add a header and publish all status information
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-17 10:00:04 +02:00
Joas Schilling 9e0d759485
Emit the same event when we know that the status might be changed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-17 10:00:04 +02:00
Nextcloud bot 9350964ca0
[tx-robot] updated from transifex 2020-09-17 03:34:42 +00:00
Joas Schilling a463e278e3
Merge pull request #4166 from nextcloud/bugfix/noid/better-subline-for-search-in-one-to-one
Better title for search results in one-to-one conversations
2020-09-16 17:10:34 +02:00
Joas Schilling 004b8d3d5c
Merge pull request #4165 from nextcloud/bugfix/3381/path-for-room-shares-not-working-when-first-discovered-in-background-job
Be more robust against failures when trying to get the owner of the s…
2020-09-16 16:13:21 +02:00
Joas Schilling b9c3885225
Better subline for search results in one-to-one conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-16 16:02:41 +02:00
Joas Schilling 3078c5cd59
Merge pull request #4152 from nextcloud/techdebt/noid/reduce-load-on-room-refreshing
Reduce load on room refreshing
2020-09-16 15:58:54 +02:00
Joas Schilling 314631718e
Be more robust against failures when trying to get the owner of the share we are trying to mount
If we fail to get the owner of the view from the cache,
e.g. because the user never logged in but a cron job runs
We fallback to calculating the owner from the root of the view:

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-16 14:39:38 +02:00
Joas Schilling d09d4d4d9f
Merge pull request #4076 from nextcloud/ignore-forcemute-message-if-already-muted
Ignore "forceMute" message if already muted
2020-09-16 13:14:35 +02:00
Joas Schilling 0173b28882
Merge pull request #4150 from nextcloud/bugfix/noid/fix-sidebars-chat-scrolling
Fix scrolling of sidebar's chat
2020-09-16 13:07:06 +02:00
Joas Schilling cf54a39c54
Merge pull request #4154 from nextcloud/fix-getting-messages-again-after-the-component-was-destroyed
Fix getting messages again after the component was destroyed
2020-09-16 13:02:09 +02:00
Joas Schilling 2106fc6f26
Merge pull request #4140 from nextcloud/fix-memory-and-event-handler-leaks-in-calls
Fix memory and event handler leaks in calls
2020-09-16 13:01:43 +02:00
Joas Schilling 6f46312029
Don't select the message twice
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-16 12:03:55 +02:00
Joas Schilling 2bf4ebf939
Correctly load the reference id when possible
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-16 12:03:00 +02:00
Joas Schilling de32c87048
Merge pull request #4153 from nextcloud/bugfix/4132/immediately-reflect-own-status-changes
Listen to the user status event to update the status immediately
2020-09-16 11:57:37 +02:00
Joas Schilling 58274a1ac1
Merge pull request #4155 from nextcloud/fix-event-handler-deregistration-in-topbar
Fix event handler deregistration in TopBar
2020-09-16 08:51:43 +02:00
Daniel Calviño Sánchez d8bf1e1d98 Unregister handlers when CallParticipantModels are no longer needed
This fixes some events being still handled by the models after they were
removed from the collection.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-16 00:05:33 +02:00
Daniel Calviño Sánchez 333bdd17ff Unregister handlers when analyzers are no longer needed
This fixes some events being still handled by the analyzers after they
were destroyed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-16 00:05:33 +02:00
Daniel Calviño Sánchez 25c2477814 Unregister handler once SpeakingWhileMutedWarner is no longer needed
This fixes a memory leak of the view associated to the
SpeakingWhileMutedWarner as well as any other component that the view is
part of (due to the parent component reference of Vue).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-16 00:05:33 +02:00
Daniel Calviño Sánchez 60a15937e6 Fix getting messages again after the component was destroyed
When getting new messages, no matter if it succeeds or fails, another
request is triggered again after a small delay. When the MessagesList
component is destroyed the current request is cancelled, which would
stop further requests. However, if the MessagesList is destroyed during
that delay there will be no current request yet, so once the timeout
ends the request will start anyway, and thus the request loop will
continue again and again.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-15 23:41:09 +02:00
Daniel Calviño Sánchez 47c615e5e7 Fix event handler deregistration in TopBar
Even if their code is identical two arrow functions are different
instances, so the original one was not properly deregistered.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-15 23:39:54 +02:00
Joas Schilling 2339dd386f
Listen to the user status event to update the status immediately
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 19:51:34 +02:00
Joas Schilling bbe65e5b82
Store the one-to-one users in the "name" column so we can reuse the data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 16:33:58 +02:00
Joas Schilling add7d0aa09
Correctly load all data of messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 14:34:49 +02:00
Marco Ambrosini 6dc4ebe3fd Use refs instead of queryselector for the scroller element
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-09-15 14:23:37 +02:00
Nextcloud bot a016fa2c67
[tx-robot] updated from transifex 2020-09-15 02:54:11 +00:00
Joas Schilling c0d333b0a2
Merge pull request #4139 from nextcloud/fix-memory-leak-in-message-list
Fix memory leak in message list
2020-09-14 11:35:52 +02:00
dependabot-preview[bot] 0f09c5c5f8
Merge pull request #4142 from nextcloud/dependabot/npm_and_yarn/vue/cli-plugin-unit-jest-4.5.6 2020-09-14 08:13:19 +00:00
dependabot-preview[bot] e3875b5bce
Merge pull request #4146 from nextcloud/dependabot/npm_and_yarn/stylelint-13.7.1 2020-09-14 07:49:49 +00:00
dependabot-preview[bot] 71ada2790d
Merge pull request #4145 from nextcloud/dependabot/npm_and_yarn/babel-plugin-add-module-exports-1.0.4 2020-09-14 07:49:13 +00:00
dependabot-preview[bot] e81d54fe71
Bump @vue/cli-plugin-unit-jest from 4.5.4 to 4.5.6
Bumps [@vue/cli-plugin-unit-jest](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-unit-jest) from 4.5.4 to 4.5.6.
- [Release notes](https://github.com/vuejs/vue-cli/releases)
- [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-cli/commits/v4.5.6/packages/@vue/cli-plugin-unit-jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:48:36 +00:00
dependabot-preview[bot] 715b440aff
Merge pull request #4143 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.1.4 2020-09-14 07:48:18 +00:00
dependabot-preview[bot] 7fbb5c9af8
Merge pull request #4144 from nextcloud/dependabot/npm_and_yarn/vue/test-utils-1.1.0 2020-09-14 07:45:53 +00:00
dependabot-preview[bot] 4c7d35f70f
Bump stylelint from 13.7.0 to 13.7.1
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.7.0 to 13.7.1.
- [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.7.0...13.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:13:27 +00:00
dependabot-preview[bot] d2b193f93e
Bump babel-plugin-add-module-exports from 1.0.2 to 1.0.4
Bumps [babel-plugin-add-module-exports](https://github.com/59naga/babel-plugin-add-module-exports) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/59naga/babel-plugin-add-module-exports/releases)
- [Commits](https://github.com/59naga/babel-plugin-add-module-exports/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:13:20 +00:00
dependabot-preview[bot] 58d2329228
Bump webpack-merge from 5.1.3 to 5.1.4
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.1.3 to 5.1.4.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.1.3...v5.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:13:15 +00:00
dependabot-preview[bot] af2b1eb497
Bump @vue/test-utils from 1.0.5 to 1.1.0
Bumps [@vue/test-utils](https://github.com/vuejs/vue-test-utils/tree/HEAD/packages/test-utils) from 1.0.5 to 1.1.0.
- [Release notes](https://github.com/vuejs/vue-test-utils/releases)
- [Changelog](https://github.com/vuejs/vue-test-utils/blob/dev/packages/test-utils/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-test-utils/commits/v1.1.0/packages/test-utils)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:13:04 +00:00
dependabot-preview[bot] fdcd5dbe12
Merge pull request #4141 from nextcloud/dependabot/npm_and_yarn/vue/cli-service-4.5.6 2020-09-14 07:10:23 +00:00
Joas Schilling a342f7a991
Merge pull request #4134 from nextcloud/bugfix/4131/avatar-menu-underflows-video-layout
Avatar menu of chat in sidebar underflows video layout
2020-09-14 09:09:59 +02:00
Nextcloud bot db5f4c4035
[tx-robot] updated from transifex 2020-09-14 02:53:00 +00:00
Nextcloud bot 98576585d1
[tx-robot] updated from transifex 2020-09-12 02:52:44 +00:00
dependabot-preview[bot] 88e05969cf
Bump @vue/cli-service from 4.5.4 to 4.5.6
Bumps [@vue/cli-service](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-service) from 4.5.4 to 4.5.6.
- [Release notes](https://github.com/vuejs/vue-cli/releases)
- [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-cli/commits/v4.5.6/packages/@vue/cli-service)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-12 01:16:12 +00:00
Daniel Calviño Sánchez bbd0277f10 Unsubscribe handlers for network events before component destruction
This fixes a memory leak of the message list as well as any other
component that the message list is part of (like the chat view due to
the parent component reference of Vue).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-11 19:08:46 +02:00
Daniel Calviño Sánchez b34c8f9f9a Move network event handlers to their own methods
This will be needed to unsubscribe the handlers, as it was not possible
to refer to the arrow functions from other parts of the code.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-11 17:30:17 +02:00
Joas Schilling 5c14ca498e
Merge pull request #4136 from nextcloud/bump-vue-dashboard-lib
Bump vue-dashboard library
2020-09-11 17:07:07 +02:00
Joas Schilling dd83ae2824
Merge pull request #4137 from nextcloud/bugfix/noid/dont-leak-status-when-app-is-disabled
Don't leak the status when the app is disabled for the user
2020-09-11 17:06:53 +02:00
Joas Schilling 6dbea9ac59
Don't leak the status when the app is disabled for the user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-11 16:31:42 +02:00
Joas Schilling dd8d415473
Bump vue-dashboard library
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-11 15:37:08 +02:00