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

9579 Коммитов

Автор SHA1 Сообщение Дата
Vincent Petry 419fb161b8
Merge pull request #5397 from nextcloud/bugfix/noid/fix-automerge
Fix auto-merge
2021-03-22 18:00:17 +01:00
Vincent Petry 5a99c3435d
Goodbye automerge
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-22 17:22:09 +01:00
Vincent Petry 2a02728b41
Fix auto-merge
Increase module version.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-22 14:54:22 +01:00
Joas Schilling ff87cab425
Merge pull request #5393 from nextcloud/bugfix/noid/fix-auto-approve
Fix auto-approve for dependabot
2021-03-22 10:44:22 +01:00
Vincent Petry fd3cb21598
Fix auto-approve for dependabot
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-22 09:58:48 +01:00
Nextcloud bot 46c32f3935
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-03-22 03:16:36 +00:00
Nextcloud bot 10956d523e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-03-21 03:12:49 +00:00
Nextcloud bot 534f565e50
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-03-20 03:14:24 +00:00
marco 04ebdae276
Merge pull request #5355 from nextcloud/bugfix/5169/use-actions-for-screensharing-menu
Use actions for screensharing menu
2021-03-19 13:55:25 +00:00
Marco Ambrosini b907282e84 Fix jumping UI glitch
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-03-19 12:48:29 +00:00
Marco Ambrosini 2d4c78ba87 Use actions for screensharing menu
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-03-19 12:48:29 +00:00
Vincent Petry 7f8821be8d
Merge pull request #5379 from nextcloud/bugfix/5372/store-current-message-per-token
Keep pending input message per conversation
2021-03-19 13:28:58 +01:00
Vincent Petry eb7532bee9
Only refetch in case of mark as unread
Re-fetch conversation only when marking as unread, as it's the
only scenario where unreadMessages and other values cannot be
computed cheaply on the client side.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-19 11:26:58 +01:00
Nextcloud bot ec2c8db2e2
[tx-robot] updated from transifex 2021-03-19 03:16:18 +00:00
Vincent Petry b9e8b6549f
Keep pending input message per conversation
Save the message from the current input field by conversation into the
store.

This makes it possible to keep the message when switching the
conversation.

Also fixes an issue where joining or leaving a call would clear the
message due to the field being destroyed and recreated between the
message list and the sidebar.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-18 12:22:50 +01:00
Vincent Petry 8037d495f7
Fix guest access console error messages
Fix error related to unavailable upload menu.
Don't send request for updating read marker on server in guest mode.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-18 11:10:49 +01:00
Vincent Petry b809eb15f0
Refactor usages of fetchConversation
Instead of calling the service's "fetchConversation" method and manually
adding to the store, use the new "fetchConversation" store action that
does that directly

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-18 10:51:46 +01:00
Vincent Petry 7b6d1065d0
Re-fetch conversation after marking as read
Re-fetching makes sure that harder to compute values are re-fetched from
the server like unreadMessages, unreadMention, etc.

This introduces a new store action "fetchConversation".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-18 10:49:46 +01:00
Nextcloud bot e1d0f894f8
[tx-robot] updated from transifex 2021-03-18 03:18:06 +00:00
Nextcloud bot 3a6d49c679
[tx-robot] updated from transifex 2021-03-17 03:15:32 +00:00
Joas Schilling 7f7f701078
Merge pull request #5339 from nextcloud/bugfix/5336/fix-background-job-checking-the-schema
Fix the background job checking the schema
2021-03-16 14:37:12 +01:00
Nextcloud bot 18eecc1e04
[tx-robot] updated from transifex 2021-03-16 03:15:55 +00:00
Nextcloud bot 720638c6d8
[tx-robot] updated from transifex 2021-03-15 03:16:22 +00:00
Nextcloud bot 06aea59559
[tx-robot] updated from transifex 2021-03-14 03:15:04 +00:00
Nextcloud bot d4c336aec4
[tx-robot] updated from transifex 2021-03-13 03:13:37 +00:00
marco 75c9c7ae8f
Merge pull request #5363 from nextcloud/bugfix/noid/allow-actions-when-locked
Allow some actions on locked rooms
2021-03-12 11:39:57 +00:00
Vincent Petry efbe25ce9e
Merge pull request #5356 from nextcloud/bump/nextcloud-vue/3.7.1
Bump @nextcloud/vue from 3.7.0 to 3.7.1
2021-03-12 11:53:53 +01:00
Vincent Petry 79e7e1beaa
Allow some actions on locked rooms
Allow copy message link and mark as unread in locked rooms.

This needed to shift the action flags logic a bit.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-12 10:56:06 +01:00
Vincent Petry 480d798648
Disallow reply action on locked conversations
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-12 10:55:48 +01:00
Nextcloud bot 827d2ac253
[tx-robot] updated from transifex 2021-03-12 03:14:23 +00:00
Nextcloud bot 8d131693ad
[tx-robot] updated from transifex 2021-03-11 03:16:35 +00:00
Vincent Petry 66d0246b8a
Bump @nextcloud/vue from 3.7.0 to 3.7.1
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-10 16:20:53 +01:00
Nextcloud bot 232993e780
[tx-robot] updated from transifex 2021-03-10 03:22:13 +00:00
Vincent Petry ec0d799ef9
Merge pull request #3825 from nextcloud/feature/1788/unread-message-marker
Add unread message marker in the chat view
2021-03-09 16:49:22 +01:00
Vincent Petry 2a2a43a206
Merge pull request #5194 from nextcloud/techdebt/noid/multi-session
👥 Multiple sessions 👥
2021-03-09 09:15:52 +01:00
Joas Schilling 1e9c21e0c9
Fix removing yourself and promoting a stranger
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-09 08:28:08 +01:00
Nextcloud bot ab141f7df5
[tx-robot] updated from transifex 2021-03-09 03:17:40 +00:00
Vincent Petry c26d5e32d2
Update read marker UI when posting + tweaks
When posting new messages, the read marker UI will also be updated.
Fixed read marker update when scrolled to bottom.
Fixed warnings related to temporary message id being a string.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 16:22:17 +01:00
Vincent Petry 7d4d6fbf2f
Mark as unread now applied to previous message id
Added props for previous and next message id in MessagesGroup and
Message components.

Now using the previous message id when marking as unread.

Since now the next message id is available on all message components,
the logic in MessagesList that iterates over the next messages is now
using the next message id attribute instead of handling the DOM tree on
its own.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:37:23 +01:00
Vincent Petry 579fbdc791
Remove delay for unread marker on focus
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:37:23 +01:00
Vincent Petry 0298bf5a6f
Decouple visible unread marker from its actual position
To avoid jumping around when updating the lastReadMessage property, its
last value is now cached in visualLastReadMessageId in the
messagesStore. The marker always keeps its position until the user
focusses away then back. In the latter case the marker position is
refreshed based on the last backend/store state.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:37:23 +01:00
Vincent Petry f8ca906165
Move unread messages marker out of the hover element
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:37:23 +01:00
Vincent Petry 22eb262443
New menu item mark message as unread
This will move the unread marker to a specific position.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:37:21 +01:00
Vincent Petry 9374c25b6d
New menu item mark conversation as read
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:41 +01:00
Vincent Petry 30285b0bf1
Fix immediate update of read marker
Use int instead of string for lastReadMessage update.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:41 +01:00
Vincent Petry 3dbd551ff8
Use DOM attributes to access message/seen information
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:41 +01:00
Vincent Petry 31b3c3ed28
Read marker is now a long bar
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:41 +01:00
Vincent Petry b99adb66bc
Tweak read marker behavior
When no scrolling is possible, add delay before clearing.

Small related code cleanup.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:41 +01:00
Vincent Petry 3c6d5bc561
Scroll to unread when reopening sidebar with chat
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:40 +01:00
Vincent Petry 4d5ad40f26
Read marker tweaks
Adjust design a bit of the marker.

Debounce read marker processor on focus to delay it a bit.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:40 +01:00