summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2021-06-24Keep presentation mode if you or someone else still has a screenshareJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24Fix selecting the own screen in the gridviewJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24Merge pull request #5860 from nextcloud/bugfix/5859/fix-screenshare-iconJoas Schilling
Fix screenshare icon not crossing out when a screen is shared
2021-06-24Use PresentToAll and CancelPresentationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-23Safely import lodash functionVincent Petry
Fixes side effects that seem to affect the files app. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-23Fix screenshare icon not crossing out when a screen is sharedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-23Merge pull request #5843 from ↵Joas Schilling
nextcloud/bugfix/5842/fix-unload-warning-pending-messages Fix unload warning with pending messages
2021-06-23Merge pull request #5856 from ↵Joas Schilling
nextcloud/bugfix/5845/fix-temp-message-retry-delete Fix removing temp message after retry
2021-06-23Fix removing temp message after retryVincent Petry
Also removed unused code about deletion after going through all calls of "deleteMessage" to check for missed signature changes. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-23Merge pull request #5854 from nextcloud/bugfix/5853/fix-conv-icon-visibilityJoas Schilling
Fix conversation icon visibility while in call
2021-06-23Merge pull request #5851 from ↵Joas Schilling
nextcloud/bugfix/5848/remove-voice-record-for-guests Remove voice recording for guests
2021-06-23Fix conversation icon visibility while in callVincent Petry
The conversation icon must be hidden during a call Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-23Merge pull request #5852 from nextcloud/bugfix/5846/fix-saving-sound-prefsJoas Schilling
Fix saving sound settings
2021-06-23Remove voice recording for guestsVincent Petry
Guests currently have no way of uploading files, pictures, so voice recordings fall under the same category. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-23Merge pull request #5844 from ↵Joas Schilling
nextcloud/bugfix/5841/participants-scrolltop-after-switch Scroll participant list to top on token change
2021-06-22Fix saving sound settingsVincent Petry
Use the correct attributes and values when saving. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-22Scroll participant list to top on token changeVincent Petry
When switching conversations, the participant list's scroll container is scrolled back to the top instead of keeping an arbitrary position. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-22Fix emoji picker icon in guest modeVincent Petry
Moved emoji picker div into the input div so we can use its relative position. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-22Fix unload warning with pending messagesVincent Petry
Only display a warning when leaving the page completely, which would abort pending sending operations. Switching between conversations will keep sending in the background so no warning is needed. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-22Merge pull request #5839 from ↵Joas Schilling
nextcloud/bugfix/noid/fix-scrolling-to-bottom-in-already-read-conversations Fix scrolling to bottom in already read conversations
2021-06-22Fix left sidebar click event handlingVincent Petry
Rely on the event chain from the components instead of listening to native events. The latter's problem is that it would also fire when the user is clicking on the three dots menu. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-22Fix scrolling to bottom in already read conversationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-22Disable avatar menu in most conversation listsVincent Petry
Disable avatar menu in conversation lists to avoid interaction glitches. The only place where it's enabled currently is in the top bar. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-22Move conversation icon out of conversation headerVincent Petry
Move the conversation icon outside of the conversation header so that it doesn't get cut. Fixes issue where the status icon was cut. Fixes issue where clicking the avatar would open the settings dialog instead of the avatar menu. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-21Merge pull request #5660 from nextcloud/stop-sent-streams-when-media-is-disabledv12.0.0-alpha.3Vincent Petry
Stop sent streams when media is disabled
2021-06-21Do not trigger processing of pending replace track actions on receiversDaniel Calviño Sánchez
Receiver only peers do not handle local track changes, so there is no need to trigger the processing of pending replace track actions in that case, as there will be none. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-21Stop sent streams for initially disabled mediaDaniel Calviño Sánchez
Besides reacting to disable state changes the sent streams are also stopped now when tracks are initially disabled and no event is emitted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-21Stop sent streams when media is disabledDaniel Calviño Sánchez
In order to stop the sent streams the track can be replaced in the sender by a null track. To differentiate between a null track due to no device being selected or the original track being stopped an additional attribute, "trackDisabled", is attached now to each sender. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-21Do not process pending replace tracks again if they are being processedDaniel Calviño Sánchez
If "processPendingReplaceTracks" was called while a processing was on-going (for example, on quick connection state changes) this would cause another processing in parallel, which could have unexpected results. To prevent that now there is at most a single processing on-going at any time. The method also returns a promise now, which will make possible to enqueue further actions after the processing has finished even if the processing was actually started in a different call. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-21Do not replace tracks when a connection has not been established yetDaniel Calviño Sánchez
If a connection has not started yet tracks can not be replaced, as Firefox will get "stuck" and not replace the tracks even if tried later again once connected. To address that now the tracks are replaced only when the connection is not in the "new" state (even if the connection is in the "checking" state replacing the track seems to work fine). If a track is tried to be replaced in the "new" state the action is enqueued and executed once the connection is started. Besides that as the replace track actions are now enqueued this also prevents replacing a track before the previous replacement has finished. This should not happen, but if it did it could have caused issues due to the track to be replaced not having been set yet. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-21Fix asterix conflict with notificationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-21Replace anonymous with arrow function so "this" is properly definedDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-21Merge pull request #5828 from ↵Joas Schilling
nextcloud/feature/noid/populate-user-status-for-one-to-one-conversations-via-the-backend-call-already Populate user status for one to one conversations via the backend call already
2021-06-21Use the preloaded user status for one-to-one conversationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-21Merge pull request #5827 from nextcloud/bugfix/5820/settings-buttons-md-iconsJoas Schilling
Replace settings button icons with material design icons
2021-06-21Merge pull request #5825 from ↵Vincent Petry
nextcloud/bugfix/5816/bring-back-voice-message-icon-after-chat-input-is-cleared-again Bring back voice-message icon after chat input is cleared
2021-06-21Merge pull request #5823 from nextcloud/bugfix/5811/fix-focus-conflictVincent Petry
Set focus to message only when anchor is set
2021-06-21Replace settings button icons with material design iconsVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-21Focus on message field after joiningVincent Petry
While joining, the message field is disabled, so we need to set the focus afterwards. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-21Merge pull request #5822 from ↵Joas Schilling
nextcloud/bugfix/5817/fix-disabling-videos-of-others Fix disabling videos and selecting the screen of others
2021-06-21Merge pull request #5824 from ↵Joas Schilling
nextcloud/adjust-viewer-and-sidebar-to-changes-in-nextcloud-22 Adjust viewer and sidebar to changes in Nextcloud 22
2021-06-21Bring back voice-message icon after chat input is clearedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-21Set focus to message only when anchor is setVincent Petry
Don't set focus on message element when scrolling to the first unread message as this conflicts with focusInput() from the message form. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-21Fix disabling videos and selecting the screen of othersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-21Emit sidebar events on Nextcloud busDaniel Calviño Sánchez
The viewer expect the "files:sidebar:opened" and "files:sidebar:closed" events to be emitted on Nextcloud bus to adjust its width based on the sidebar. Both events could be emitted by directly listening to AppSidebar events on RightSidebar. However, for now only the "closed" event is listened; the "opened" event does not seem to work reliably (it seems that sometimes it is emitted before the sidebar has finished opening, so the viewer ends overlapping the sidebar due to getting its width when it is not fully opened), so for now the custom detection of when the sidebar has finished opening is still used. In Talk the sidebar events are currently needed only by the viewer, and when the viewer is opened the sidebar will be opened only by the viewer through "OCA.Talk.Sidebar.open()", so not emitting the sidebar events directly on the RightSidebar component should not be a problem. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-21Fix toastify offset approachVincent Petry
Use margin-top to avoid overriding the top value which has different values depending on how many notifications are visible. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-21Add "setFullScreenMode" to OCA.Files.Sidebar objectDaniel Calviño Sánchez
In Nextcloud 22 "setFullScreenMode" was added to OCA.Files.Sidebar. This method is expected and used by the viewer, so even if the sidebar style is not changed to set it in full screen mode the method needs to be there. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-21Merge pull request #5795 from ↵Vincent Petry
nextcloud/bugfix/5764/fix-concurrent-polling-cancel Fix concurrency when cancelling lookForNewMessages
2021-06-18Correctly fallback in case of missing dataJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-18Merge pull request #5779 from ↵Joas Schilling
nextcloud/add-ui-feedback-when-local-participant-is-not-connected Add UI feedback when local participant is not connected