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
Vincent Petry
f24ac54116
Properly clear when focussed and sticky
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:40 +01:00
Vincent Petry
6929de8b6c
Don't mark conversation as read any more on click
...
When joining a conversation, don't mark it as read any more.
The only moment will be when scrolling down to the bottom of a
conversation and when clearing the read marker, in which case we
immediately update the store.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:40 +01:00
Vincent Petry
c4e739c9a1
Update last read message marker on scroll
...
Moved marker behavior from server to client by passing setReadMarker=0
to queries.
Added scroll handler that detects whether the read marker was seen and
scrolled past, if yes it will set the read marker to the first message
visible at the top.
Keep the marker when the document is not focussed.
When opening a conversation, scrolls to the read marker.
The lastMessage attribute of a conversation is now updated earlier to
make sure the read marker can update properly when there are new
messages appended.
Instead of waiting for the next refresh cycle, this fix immediately
updates lastMessage and lastReadMessage after posting a message.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-08 15:34:40 +01:00
Joas Schilling
abe329c790
Add unread message marker in the chat view
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 15:34:32 +01:00
Joas Schilling
c505148325
Merge pull request #5293 from nextcloud/bugfix/noid/copy-paste-parameter-doc
...
Fix copy paste error on parameter docs
2021-03-08 13:32:19 +01:00
Joas Schilling
e93c69b270
Merge pull request #5317 from nextcloud/fix-ui-feedback-when-remote-participants-lose-connection
...
Fix UI feedback when remote participants lose connection
2021-03-08 13:31:39 +01:00
Joas Schilling
15153e99bc
Merge pull request #5323 from nextcloud/show-error-notification-also-when-hello-signaling-message-fails
...
Show error notification also when hello signaling message fails
2021-03-08 13:21:59 +01:00
Joas Schilling
d2512d5c19
Merge pull request #5332 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-dashboard-1.1.0
...
Bump @nextcloud/vue-dashboard from 1.0.1 to 1.1.0
2021-03-08 13:11:26 +01:00
Joas Schilling
b74ed27f31
Merge pull request #5285 from nextcloud/enh/copyMsgLink
...
copy msg link to clipboard
2021-03-08 13:07:34 +01:00
Joas Schilling
38d3791fe7
Merge pull request #5328 from nextcloud/bugfix/5248/caption-fix
...
Fix action caption
2021-03-08 13:01:19 +01:00
Joas Schilling
f90023bdcc
Merge pull request #5341 from nextcloud/bugfix/noid/use-mdi-for-play-icon-in-video-preview
...
Use MDI in video preview in a conversation
2021-03-08 13:01:03 +01:00
Joas Schilling
12a48be140
Fix HPB missing event when a session is terminated only
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:22 +01:00
Joas Schilling
2183ffc24a
Leaving with a session as guest is now also not quiting anymore
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:22 +01:00
Joas Schilling
1bb090a483
No duplicate session warning per se
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
baa154761e
Trespassing only with session
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
928e047de2
Handle all getParticipants with multi sessions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
1dd9297864
Fix integration tests by saving the attendee id or loading it
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
5f29407dee
Check the participants on the correct endpoint
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
84fa5678e2
Remove old API version handlings
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
a3cf504fda
Move to APIv4
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
5ed91b8c40
Add conversation-v4 capability
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
8136513923
We have the full room data already
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
ba5282518d
Statuses are integers now
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:20 +01:00
Joas Schilling
7b1a8ee4d1
Document return types as well
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:20 +01:00