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

601 Коммитов

Автор SHA1 Сообщение Дата
Daniel Calviño Sánchez 020202c8c5 Show working icon in call button while joining or leaving a call
To provide a stronger feedback that the action is still going on now a
working/loading icon is shown in the call button while joining or
leaving a call.

In the Files app the call button width depends on its text (in the
regular Talk UI it depends on the sidebar width), so the padding was
increased to always make room for the icon, even when hidden, to prevent
a sudden increase of the width when the icon is shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-11 11:23:07 +01:00
Daniel Calviño Sánchez c75dc7caa9
Use special icons for rooms associated to objects
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 12:13:40 +01:00
Daniel Calviño Sánchez a8908ab90a
Generalize CSS rules for room icons
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 12:13:15 +01:00
Daniel Calviño Sánchez 98f57a4c89
Remove dead code
Swapping the "public-room" and "private-room" CSS classes comes from the
time in which the share link was shown in the room list. However, since
the share link was moved to the sidebar the "public-room" and
"private-room" CSS classes are not set anywhere, so their switching code
as well as their CSS rules can be removed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 12:13:15 +01:00
Daniel Calviño Sánchez b641a281ff Show "Chat" tab also when a file is not shared
Before, the "Chat" tab was shown only when the file was shared. This
made the feature hard to discover if you did not know about it.
Moreover, after sharing the file the details view had to be closed and
opened again, which was cumbersome, as there were no events to listen to
and the visibility of tabs can not be updated once shown either (at
least, without some hacks).

Due to all this now the "Chat" tab is always shown for files (although
not for folders); if the file is already shared the previous UI (call
button and chat view) is shown, and if it is not a message to inform the
user that the file needs to be shared is shown instead. This is updated
every time the tab is opened again, so after sharing the file going back
to the "Chat" tab will show the call button and the chat view.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 16:03:16 +01:00
Daniel Calviño Sánchez e213c6de93 Show message in the sidebar while waiting for others to join the call
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 13:08:53 +01:00
Daniel Calviño Sánchez 7437d90687 Move call button from main file details to chat tab
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 13:08:53 +01:00
Daniel Calviño Sánchez b6819e22a5 Add local video and media controls
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 13:08:53 +01:00
Daniel Calviño Sánchez fa2def677c Add support for video calls to the Talk sidebar in Files app
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 13:05:27 +01:00
Daniel Calviño Sánchez a4e0a6e2e8 Remove inline styles for screen sharing menu items
The items in "app-navigation-entry-menu" lists were forced to be
displayed as blocks with an "!important" rule, so inline rules were used
to hide some items in the screensharing menu.

However, forcing the items in "app-navigation-entry-menus" lists to be
displayed as blocks is no longer needed; that class is only used in the
room list menus and in the screensharing menu, and both work fine
without it. Moreover, the server provides rules to hide items in those
menus by adding the "hidden" class, so that approach is used now instead
of the inline styles.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-05 19:56:01 +01:00
Daniel Calviño Sánchez ac0ceed2d6 Extract CSS styles for videos
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-05 19:12:03 +01:00
Joas Schilling a6d5c6f629
Merge pull request #1327 from nextcloud/firefox-screensharing-options
Fix wording and icons for screensharing options
2018-12-04 13:55:09 +01:00
Joas Schilling 73fc7f4545
Merge pull request #1323 from nextcloud/add-support-for-talk-sidebar-in-files-app
Add support for Talk sidebar in Files app
2018-12-04 13:50:39 +01:00
Daniel Calviño Sánchez 432e1b0aa4 Show Talk sidebar in Files app
This commit introduces a DetailTabView plugin to show a chat view in the
sidebar of the Files app. The tab makes possible to chat in a Talk room
associated to the current file; due to this, the tab is visible only on
files that can be associated to a room, that is, files shared with the
current user or by the current user to another user (as a user, group,
circle...).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-03 15:48:41 +01:00
Ivan Sein f0b94d8b82 Change text and icon for screensharing options in Firefox.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-12-03 10:48:15 +01:00
Jan-Christoph Borchardt cf6c99f121 Improve design of emptycontent view
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-12-03 01:22:22 +01:00
Daniel Calviño Sánchez 8396fa51e5 Move "comments.scss" to "chatview.scss"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28 17:46:21 +01:00
Daniel Calviño Sánchez 41d28ddf19 Add CSS class to items in the autocomplete list for mentions
The CSS rules specific to the autocomplete list for mentions in the chat
view were applied to any other autocomplete list. In the main Talk UI
this is not a problem, as that is the only autocomplete list, but it
could be when using the Talk chat view in other components, like the
Files app.

The autocomplete list is created as a child of the body element itself,
so to limit the CSS rules only to the chat view it is not possible to
just prepend "#chatView" to the rules. Instead, now each item has a CSS
class (hopefully :-) ) unique to the chat view.

Unfortunately, it does not seem to be possible to ensure that the rules
defined in "autocomplete.scss" will not collide/override rules defined
in other apps, as customizing the CSS classes in ".atwho-view" so the
rules are applied only when it belongs to the chat view does not seem to
be possible (except, maybe, with some hacks).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28 15:25:47 +01:00
Daniel Calviño Sánchez ba798aba86 Remove leftover CSS rules from the original import from the Comments app
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28 15:25:46 +01:00
Daniel Calviño Sánchez 4e10934e3c Rename "CommentsTabView" to "ChatView"
"CommentsTabView" is a legacy name from the original import of the code
from the Comments app; besides being a better fit, "ChatView" also
ensures that the CSS rules will not conflict with those from the
Comments app when the Talk UI is used in the Files app.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28 15:25:46 +01:00
Joas Schilling dfab6a7603
Merge pull request #1313 from nextcloud/bugfix/noid/fix-alignment-of-avatars-in-mention-box-2
Fix avatar position in mention box.
2018-11-28 15:21:59 +01:00
Ivan Sein dafea88aeb Fix avatar position in mention box.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-11-28 14:40:33 +01:00
Daniel Calviño Sánchez 7d8a80279e Fix appearance of message list in public share authentication page
"guest.scss" in server sets the "width" and "margin-top" properties of
".wrapper" elements to position the main content of the public share
authentication page. However, as the selector used in the rule is too
broad it is also applied to the internal wrapper of the virtual list, so
the properties need to be reset in that case.

Besides that, the padding of the message list is ignored when using the
virtual list, so that padding needs to be applied through the "left" and
"right" properties of the internal wrapper of the virtual list.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 11:23:18 +01:00
Joas Schilling 957dc442ec
Also use the method for the no-password icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-21 17:11:40 +01:00
Joas Schilling f9a7975212
Fix the name of the variable for the black image
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-21 17:09:06 +01:00
Joas Schilling 902ec4a68f
Merge pull request #1271 from nextcloud/improve-performance-of-the-list-of-chat-messages
Improve performance of the list of chat messages
2018-11-20 13:18:48 +01:00
Daniel Calviño Sánchez e96d9d19d9 Use VirtualList for the message list in the chat view
The virtual list requires that its internal wrappers use an absolute
position. Due to that absolute position the padding of the container
does not affect the wrappers, so the desired padding must be applied
through its left and right position.

As the virtual list keeps only a subset of its elements in the DOM the
":first-child" pseudo-selector no longer refers to the actual first
child element, but to the first one currently in the DOM; it would be
necessary to apply the CSS rules using a specific CSS class set only in
the desired element. However, as the first comment always includes the
date separator, which already has a top margin, the top padding is not
really needed in the first comment, so it was simply removed.

Moving the message list between the main view and the sidebar changes
its size, and thus it is necessary to reload the virtual list; when the
virtual list is reloaded it is ensured that the last visible element
will still be visible after the reload, so the chat view no longer needs
to explicitly handle that.

In a similar way, the message list also needs to be reloaded when the
window is resized, or when the chat view is in the main view and the
sidebar is opened or closed, as those actions change the size of the
main view.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-20 12:18:15 +01:00
Joas Schilling 63ace18c25
Fix avatar position in mention box
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-14 16:58:18 +01:00
Daniel Calviño Sánchez 7bce81b9f1 Fix vertical position of contacts menu on author row
The absolute position of the contacts menu is relative to the author
row, so it has to be pushed down to not overlap the author name and
avatar.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-09 18:32:18 +01:00
Joas Schilling 6275900baa
Add notification level options in the drop down menu for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-08 15:26:45 +02:00
Daniel Calviño Sánchez 63799b2a8a Show a working icon while waiting for the server response
When an item was selected in the participant menu the menu was closed,
but there was no feedback to the user to let her know that the operation
was still in progress. Now after the menu is closed the button that
toggles it is replaced by a working icon; the button is shown again when
the operation finishes, either shown explicitly if there was an error or
automatically once the view for the participant is rendered again if it
was successful.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-28 12:01:09 +02:00
Joas Schilling bc29961a79
Allow to invite email addresses
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-09-27 16:21:21 +02:00
Joas Schilling 17f7ebe4e4
Merge pull request #1177 from nextcloud/test-turn-settings
Add button to test TURN settings.
2018-09-21 15:57:22 +02:00
Joachim Bauch 9599cec195
Change icon with test results instead of showing message.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-09-21 14:53:38 +02:00
Daniel Calviño Sánchez b5b9273b42 Fix position of contacts menu shown on mentions
The server does not provide default CSS rules for the contacts menu, as
its position depends on the element on which it is shown.

The contacts menu is now positioned to show the tip of the arrow
horizontally aligned with the center of the avatar, and with the top of
the menu slightly below the bottom border of the mention.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-15 20:01:35 +02:00
Joas Schilling efcee84d4f
Merge pull request #1163 from nextcloud/show-preview-of-shared-files-in-system-messages
Show preview of shared files in system messages
2018-09-06 11:10:35 +02:00
Daniel Calviño Sánchez 90d6381c38 Open the file when the preview is clicked
Before the file could be opened only when clicking on the name; now it
can be opened when clicking on the preview itself too.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-06 10:50:43 +02:00
Daniel Calviño Sánchez 469ef55bc1 Show preview of shared files in messages
Previews are shown as an image with the file name below it. If the
preview fails to load the "file" icon is shown instead; this is always
the case for guest users, as they have no access to previews.

The parser assumes that rich object messages with a file only contain a
"{{file}}" object and nothing else; the parser then adds a placeholder
element for the preview which will be replaced by the actual preview by
the chat view.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-06 10:50:43 +02:00
Daniel Calviño Sánchez 5023132226
Show user avatar in mentions in the list of messages
Mentions in the list of messages now show the user avatar instead of an
"@" before the user name. The markup and CSS are based on those used in
the Comments app, although with some small differences (like using the
"mention-user" CSS class) to keep the same visual appearance as before
for "mentions" in system messages (which are not highlighted when they
refer to the current user, and do not show the user name in bold in any
case).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-06 10:49:27 +02:00
Daniel Calviño Sánchez 30719ad039
Remove selector from CSS rule
The selector does not match any element (it will do in the following
commits, but the rule would not be needed either), so it can be removed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-06 10:49:26 +02:00
Daniel Calviño Sánchez 5646683744
Replace SCSS variables with CSS variables
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-06 10:49:26 +02:00
Daniel Calviño Sánchez 83e14d1e9f
Rename CSS class from "current-user" to "currentUser"
This makes the name consistent with the one used in the Comments app.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-06 10:49:26 +02:00
Joachim Bauch 9c18c15d05
Add button to test TURN settings.
This implements #679.

Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-09-05 13:01:41 +02:00
Joas Schilling 7cb2775c02
Add a grey background around the icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-26 23:52:46 +02:00
Joas Schilling 501299e848
Make the avatar opaque aswell
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-26 23:42:18 +02:00
Joas Schilling b2f87c30f8
Force the font color correctly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-26 18:58:38 +02:00
Joas Schilling 523eed0de8
Fix contrast problems
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-26 18:11:04 +02:00
Daniel Calviño Sánchez 1fc1253306 Fix "Add" button when chat is shown in sidebar
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-25 00:24:04 +02:00
Daniel Calviño Sánchez 4671c0d663 Add button to share files from Talk UI
The button, which is shown next to the area to write new messages, shows
a file picker and then shares the chosen file with the room.

Note that currently new files can not be uploaded through the file
picker; only those already in the Nextcloud account of the user can be
chosen.

Also, currently only registered users can share files with a room, so
the button is hidden for guests.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-24 23:49:49 +02:00
Joas Schilling 799d629b8c
Make current-user mentions blue again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-21 14:54:52 +02:00
Joas Schilling 98491bdf3e
Merge pull request #1123 from nextcloud/add-support-for-video-calls-when-requesting-the-password-for-a-share
Add support for video calls when requesting the password for a share
2018-08-08 14:53:20 +02:00
Joas Schilling 9723b25456
Merge pull request #1122 from nextcloud/bugfix/1064/favorite-fixes
Fixes for favorite conversations
2018-08-08 14:29:01 +02:00
Daniel Calviño Sánchez 0ddf012738
Show empty content message when not in a call
The empty content message informs the user when the app is waiting for
the media permissions and then when it is waiting for the sharer to join
the call. Thus it is now shown above the chat view, in the place that
will be occupied by the call container once the call starts.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:17:41 +02:00
Daniel Calviño Sánchez 31039b8337
Prevent shadows of videos from leaking on other elements
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:17:41 +02:00
Daniel Calviño Sánchez c113242e6f
Add proper layout for screensharing
When a screen is shared it takes the upper area of the call container,
and the videos are shown below it in a 200px high row, just like in the
normal Talk UI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:17:40 +02:00
Daniel Calviño Sánchez e8410d562e
Add basic support for video calls
When a password is requested now the guest automatically joins the call,
and once the sharer joins the call too a video call view appears in the
Talk sidebar.

Although it is not currently shown, the empty content message for guest
users was set, as it is expected to be set by some event handlers.

In a similar way the "#screens" element was also added, but there is no
support yet for screensharing and thus the element is kept always
hidden.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 14:17:40 +02:00
Joas Schilling 135c82304f
Revert "Open the call in a new tab for now"
This reverts commit 112c73b71c.
2018-08-08 14:17:40 +02:00
Daniel Calviño Sánchez a4c3b10d9a Add favourite icon to the conversation list
Favourited conversations now show a favourite icon in the top right of
their avatar/conversation type icon in the conversation list.

The structure is based on the one used for the file list by the Tags
plugin of the Files app. However, the "favorite" icon was used instead
of the "starred" icon, as in this case it is just a mark that can not be
interacted with, and the "starred" icon changes its appearance on hover
and focus.

The mark can not be added as a child of the avatar/conversation type
icon, as it would be removed when the avatar is loaded. Therefore it is
a sibling of it placed on its top right corner using absolute
positioning.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 13:49:53 +02:00
Joas Schilling 112c73b71c Open the call in a new tab for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-08 10:24:49 +02:00
Daniel Calviño Sánchez 7190c2086f Load additional scripts in public share auth page when needed
Before the public share auth page is rendered an event is dispatched
that can be used by apps to load additional scripts. This event is now
used to load the scripts that, when run on the browser, will inject the
Talk UI as needed in the page generated by the server.

The scripts will be loaded only when the share has the "send password by
Talk" option enabled; they add a button to the page that, when pressed,
creates a new public share auth room with the sharer and shows, in a
sidebar, the Talk UI for that room.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08 10:24:49 +02:00
Ivan Sein 8005b579bf
Merge pull request #1087 from nextcloud/bugfix/noid/dont-count-system-messages-to-unread
Don't count system messages to unread
2018-08-02 10:50:11 +02:00
Joas Schilling 233c041fc2
Merge pull request #1094 from nextcloud/settings-ui-enhancements
Settings UI enhancements
2018-08-02 10:44:21 +02:00
Joas Schilling e827366d9c
Merge pull request #1092 from nextcloud/fix-size-of-sidebar-trigger-and-fullscreen-icons
Fix size of sidebar trigger and fullscreen icons
2018-08-01 15:01:41 +02:00
Joas Schilling edab9ee069
Merge pull request #1093 from nextcloud/adjust-ui-to-further-layout-changes-in-server
Adjust UI to further layout changes in server
2018-08-01 11:04:21 +02:00
Joas Schilling 85d3514991
Merge pull request #1091 from nextcloud/fix-colour-and-opacity-of-icons-shown-over-main-content
Fix colour and opacity of icons shown over main content
2018-08-01 11:03:18 +02:00
Julius Härtl 6f7e67a926
Move shared secret description above input field
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-01 10:55:02 +02:00
Julius Härtl b39ee5b849
Properly align server delete/add buttons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-01 10:54:37 +02:00
Daniel Calviño Sánchez 294d299ad3 Adjust layout now that "#content-wrapper" was removed
The "#content-wrapper" element was removed from the layouts provided by
the server; the "#content" element is now a direct child of the body and
a sibling of the header.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 20:36:52 +02:00
Daniel Calviño Sánchez 6c5342d05a Fix size of sidebar trigger and fullscreen icons
The sidebar trigger and fullscreen icons should have the same size as
the app navigation toggle (although the media icons are kept with the
same size as before). Note that this only reduces the visual size; the
touchable size is still 44x44px.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 17:33:27 +02:00
Daniel Calviño Sánchez 21a7d2b2a2 Fix opacity of icon to hide the video of a participant
The icon to hide the video of a participant should have a reduced
opacity when the video is hidden/disabled, and when hovering or focusing
on it in that state it should be shown in full opacity, like done with
the own media icons.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 17:05:13 +02:00
Daniel Calviño Sánchez 2718f41530 Fix opacity of own media icons when hovering or focusing
When the action is available but disabled hovering or focusing on a
media icon should show it in full opacity.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 17:03:46 +02:00
Daniel Calviño Sánchez 7cbfec2f5a Fix opacity of own media icons when local video is disabled
When local video was disabled all the media icons had a reduced opacity,
even if the audio or screensharing was enabled (in which case they
should have full opacity). This is fixed now by using two separate CSS
classes, "video-disabled" and "local-video-disabled"; the first is used
only on the video icon and controls its opacity like "audio-disabled"
and "screensharing-disabled" do for audio and screensharing icons, and
the second one is used in all the media icons and controls their colour.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 17:02:02 +02:00
Joas Schilling 36ae3a3e55
Highlight the unread count only for mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-31 16:47:43 +02:00
Daniel Calviño Sánchez 7fd3a8cacf Fix colour of own media icons
The icons used for own media actions (muting, disabling the video or
screensharing) are usually white, except when there is no call, no
screensharing and no local video, in which case they appear on a white
background. In that case they should be black instead, so the default
white images are overridden with their black variant.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 16:37:01 +02:00
Daniel Calviño Sánchez f230f012a6 Fix colour of app navigation toggle when in a call
The app navigation toggle, which is only shown in narrow screens, is a
dark icon defined in the server. During calls or screensharing the
background of the app content is set to black, so the icon was not
visible. Now the icon turns white in those cases, like the sidebar
trigger or the fullscreen icon.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 16:13:51 +02:00
Daniel Calviño Sánchez bdd398fc95 Fix opacity of sidebar trigger and fullscreen icons
The icons had full opacity during calls. Now they always have a reduced
opacity unless hovered/focused.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 14:52:19 +02:00
Daniel Calviño Sánchez 174fd05ce8 Fix colour of sidebar trigger and fullscreen icons
The server now provides an endpoint to generate white and black versions
of the same SVG icon. To easily use this it also provides a SASS mixin
that defines CSS variables with the path to each variant as well as CSS
rules with the background image for each variant of the icon.

The mixin is used now to define the icon for the sidebar trigger (the
fullscreen icon is defined in the server), and the CSS variables with
the path to the dark variant override the background image of the
otherwise white icons when not in a call or during screensharing.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 14:15:19 +02:00
Daniel Calviño Sánchez 0b73ee266a Adjust selector for sidebar trigger rules to the new layout
The sidebar is no longer a child of the app content but a sibling, so
the selector for the rules that set the appearance of the sidebar
trigger when not in a call must be adjusted accordingly.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-31 14:05:41 +02:00
Daniel Calviño Sánchez a39619165c Remove colour hack to hide avatars shown behind icons
The entries in the search result and the room list are expected to start
with an ".avatar" element. When the entry is not a one-to-one
conversation an icon is shown instead of an actual avatar, but the
"avatar" CSS class (defined in the server) has to be used anyway to get
the expected layout.

In the room list the avatars are initialized only for one-to-one
conversations (so the width and height of the icon has to be set to 32px
to match the size of the actual avatars), but in the search result they
were initialized for every entry. When the user is undefined (that is,
when an icon is used) resolving the avatar caused an "Unknown user"
avatar to be generated and shown behind the icon; that avatar was hidden
by making its colour and background colour transparent.

Now the avatars in the search results are initialized only for
one-to-one conversations, so the colour hack is no longer needed
(although setting the size to 32px is).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-30 18:07:08 +02:00
Daniel Calviño Sánchez f7cf15941c Fix "Participants" text not shown in tab header
The entries in the search result and the room list are expected to start
with an ".avatar" element. When the entry is not a one-to-one
conversation an icon is shown instead of an actual avatar, but the
"avatar" CSS class (defined in the server) has to be used anyway to get
the expected layout.

In the room list the avatars are initialized only for one-to-one
conversations, but in the search result they are initialized for every
entry. When the user is undefined (that is, when an icon is used)
resolving the avatar causes an "Unknown user" avatar to be generated and
shown behind the icon; that avatar is hidden by making its colour and
background colour transparent.

However, this was applied to all ".icon-contacts-dark" elements, not
only those in the search result, which caused the "Participants" text in
the tab header to be transparent and, therefore, invisible. Now the
colour hack is applied only to icons in the search result and in the
room list (which is not affected by the transparent text due to using a
different element for the text), which makes the tab header visible
again.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-30 18:04:11 +02:00
Joas Schilling d69d88bcd4
Merge pull request #1085 from nextcloud/adjust-ui-to-layout-changes-in-server
Adjust UI to layout changes in server
2018-07-30 11:38:19 +02:00
Daniel Calviño Sánchez 344b1c91db Fix fullscreen mode
As the sidebar is no longer a child but a sibling of app content and the
sidebar must be shown in fullscreen mode now the element that receives
the fullscreen mode is the main content, which is the parent of both the
app content and the sidebar wrapper. However, as it is also the parent
of the app navigation this now has to be explicitly hidden while in
fullscreen mode.

Due to the reorganization of the layout the header is no longer shown in
fullscreen mode, so there is no need to take it into account in the CSS
rules.

In a similar way, due to the changes in the layout the sidebar is no
longer shown by applying a margin to the app content, and the sidebar
now "pushes" the app content to the left when it is shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-30 09:30:13 +02:00
Daniel Calviño Sánchez 779e7905f5 Fix input field for new conversations and navigation bar
It is no longer needed to use an absolute position with a fixed width
for the input field for new conversations; the default CSS rules will
cause it to fill the navigation bar width.

As the input field now uses a static position it is taken into account
when calculating the position of the conversation list. Therefore there
is no need to use an extra top padding in the navigation bar.

Finally, the default bottom padding for the navigation bar is 0, so
there is no need to set it to that value.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-30 09:29:55 +02:00
Daniel Calviño Sánchez 7b38bee772 Fix position of sidebar trigger
The sidebar wrapper is now a flex container, which causes the trigger
and the sidebar to appear in columns, and thus ensures that the trigger
will be always shown next to the sidebar, no matter if it is shown or
hidden.

As the trigger is shown in its own column that column takes space and
pushes the app content to the left. To prevent this the trigger width is
removed from the sidebar wrapper by pushing its left margin, which
causes the app content to be next to the sidebar and the trigger to
appear in front of it (although the padding used in the chat view
prevents them from overlapping, just like before).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-27 22:26:09 +02:00
Daniel Calviño Sánchez f5b3fe1021 Fix z-index of the sidebar trigger
The z-index of the "#app-content" is now set in the server to 1000. Due
to the layout changes the trigger is now the child of a sibling of
"#app-content" instead of a descendant of "#app-content", so its z-index
must be higher than the one for "#app-content" to appear in front of it.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-27 22:26:09 +02:00
Daniel Calviño Sánchez 1f7c097bec Adjust public layout for guest users to changes in server
Until now the public layout for guest users was based on the "base"
layout of the server, which was almost empty, and the "index-public"
template had to provide all the elements mimicking those used for public
pages in the server. The recent layout changes in the server have
introduced some structure changes in that base layout, which is now more
cumbersome to use with Talk.

Fortunately, in Nextcloud 14 a standard layout for public pages was
introduced, so now the public layout for guest users is based on that
public layout of the server instead. Therefore, it is no longer needed
to provide a header in the template, and the CSS rules used for the main
layout can be reused for the public layout.

There is a drawback, though; as the header is no longer a descendant of
"#app-content" it is no longer possible to make it transparent based on
the ".participants-XXX" classes set for that element. For now, and until
it is addressed, the header will still be visible during calls in guest
pages.

Also note that the public layout of the server does not provide at this
time a notification container, so that element must be kept.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-27 22:26:09 +02:00
Daniel Calviño Sánchez 9bc30ef6ba Adjust main layout to changes in server
Main layout elements (navigation, content and sidebar) are no longer
children of the "#app" element in the standard layout in the server, so
those changes are reflected in Talk too.

Note, however, that the "#app" element is still kept as an, in practice,
invisible element, as it is used as a holder for some values (like the
token or the signaling settings) used in scripts.

Besides that, although the layout of the server is mainly mimicked in
Talk, there are also some differences needed for its specific UI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-27 22:26:09 +02:00
Daniel Calviño Sánchez 1fe83bca42
Position date next to system messages
System messages have no author, so instead of showing the date on its
own row and the message below it now the system message and the date are
merged in a single row using flexboxes.

When there is little available width the message and the date compress
each other and use several lines as needed. The width of the date is
limited to its content, while the message expands itself when possible,
which causes the date to be aligned to the right.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-27 11:03:00 +02:00
Daniel Calviño Sánchez cfc3a4df57
Fix overlap between system message and date
System messages have no author, so the author row only contains the
date. As the date was shown using an absolute position it had no
influence on the width calculation of other elements and thus sometimes
overlapped them (for example, when a wide system message was shown in
the sidebar, but also if the user name was too long). Now the date uses
a static position with an automatic left margin, which in practice
causes it to be right aligned (both with and without author) due to
being a child of a flex display.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-27 11:03:00 +02:00
Joas Schilling ee4ba11a53
Start with system chat messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-27 11:01:38 +02:00
Joas Schilling 8b247e25e1
Use the group icon instead of a fake avatar for group calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-07-13 15:19:05 +02:00
Jan-Christoph Borchardt 6c0dccdd9a
Remove additional non-guideline padding in navigation entries
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-26 15:27:35 +02:00
Joas Schilling b6fc398886
Merge pull request #974 from nextcloud/sidebar-design
Improve call controls layout to single row
2018-06-21 16:00:43 +02:00
Jan-Christoph Borchardt a10baaf77b
Improve call controls layout to single row
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-21 13:57:49 +02:00
Daniel Calviño Sánchez bb90b663d0 Fix position of local container children in older Firefox versions
In older Firefox versions (like Firefox 47, the one used to run the
acceptance tests), when there are one or two participants in the call,
the video, avatar and media indicators of the local container appear
centered on the right edge of the app content wrapper. With more
participants in the call their position is the expected one.

Calls with one or two participants use a special layout to make the
local video larger, and in that case the local container children use an
absolute position which is relative to the app content wrapper (due to
the container also using an absolute position in that case instead of a
relative position like done when there are more participants).

For some reason (maybe related to the app content wrapper being a flex
box) their position is not properly calculated, so their alignment to
the right edge of the app content wrapper must be forced by setting
"right: 0" (which does not interfere with the layout in newer versions).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-21 12:54:05 +02:00
Joas Schilling 9a7b1f413a
Merge pull request #980 from nextcloud/sidebar-header
Adjust room name and edit flow layout
2018-06-21 12:06:38 +02:00
Jan-Christoph Borchardt 164f2c2862
Fix scrollbar of participants list to be on right side
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-21 08:32:18 +02:00
Jan-Christoph Borchardt c3e9b5c246
Reduce whitespace between search and participants, and remove white block
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-21 08:26:18 +02:00
Jan-Christoph Borchardt b885b66a70
Adjust room name and edit flow layout
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-21 08:15:10 +02:00
Jan-Christoph Borchardt 2a74c64d49
Fix 'Add participant' input sticking to right side
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-20 18:37:09 +02:00
Jan-Christoph Borchardt 48c382ea94
Use variables for borders
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-20 18:25:23 +02:00
Ivan Sein 8357e37de3
Merge pull request #941 from nextcloud/fix-menu-position-for-rooms-and-participants
Fix menu position for rooms and participants
2018-06-06 15:22:00 +02:00
Ivan Sein 2fc2b8695e
Merge pull request #937 from nextcloud/add-toggle-to-show-and-hide-video-from-other-participants
Add toggle to show and hide video from other participants
2018-06-06 15:19:46 +02:00
Daniel Calviño Sánchez bc5e3aee9c Fix menu position for rooms and participants
The default position (taking into account the CSS rules from the server)
of the menu in the room and participant lists shows the arrow aligned to
the center of the menu button. Moving it to the left is not needed, and
it causes the arrow to be no longer aligned with the center of the
button. Besides the contacts menu, which is already ignored in the CSS
rule, the other only element that has the "bubble" CSS class is the menu
in the participant list, so the rule can be safely removed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-06 13:46:50 +02:00
Daniel Calviño Sánchez 2dcaae4666 Add toggle to show and hide video from other participants
Before a user could disable her own video, but she had no way to disable
the videos from other participants. This could be needed, for example,
to alleviate the load on low-end systems, as in that case playing the
video from remote participants could be too much for the system. Now a
toggle is provided to manually show or hide the video of each remote
participant if needed.

The toggle is shown only when the remote participant is sending video;
if the remote participant has disabled her own video (or does not have a
camera) the toggle is hidden.

Note that the toggle just shows or hides the HTML video element; it does
not notify the remote participant to mute her video or to fully stop
sending it. It is purely a local change that does not affect the remote
clients. In the future this could be extended to involve the remote
clients too, but for now just hiding the HTML video element notably
reduces the CPU load in most systems (although unfortunately in some
cases it does not).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-06 12:17:51 +02:00
Ivan Sein e487b4edfd
Merge pull request #934 from nextcloud/fix-appearance-of-participants-menu-button
Fix appearance of participants menu button
2018-06-06 10:26:47 +02:00
Daniel Calviño Sánchez f10f0627c6 Highlight participants menu button on hover and focus
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-04 13:56:40 +02:00
Daniel Calviño Sánchez f07a0c6c46 Fix appearance of participants menu button
Buttons with icons should have a size of 44x44px for easier interaction.
This matches the height of the participant list item in which the button
appears, and as such also centers the button vertically with the name of
the participant.

With the larger size the default grey background of the button is now
much more visible, but as the button has no border the background looks
strange. Due to this the background is removed, which also gives the
menu button in the participant list a consistent look with the menu
button in the room list.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-01 17:20:59 +02:00
Daniel Calviño Sánchez 0672814808 Fix tab header icons not shown
The links in the tab header use an "icon-XXX" CSS class to define the
icon that is shown next to it; icons are defined using a
"background-image" CSS property in a ".icon-XXX" CSS selector.

The links in the tab header have their own CSS rules to place them in
the right position. Those CSS rules use a more specific selector than
the one used for the icons, so the CSS rules for the links in the tab
header override the CSS rules for the icons. Therefore, the
"background-repeat" and "background-position" properties must be
specified individually. Otherwise, if the general "background" CSS
property is used the "background-image" from the icon would be overriden
with a null image and thus no icon would be shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-05-31 14:41:40 +02:00
Daniel Calviño Sánchez b45f3ab6fc Fix scrolling on participants list
When using Firefox, the participants tab view requires its overflow to
be hidden to limit its size to the size of its parents. Otherwise, the
participants tab view grows to fit its children; if that happens then no
scroll bar is shown for the participants list, as the participants list
is tall enough to fit all its items (even if they are not visible
because they are in the overflow area). In Chromium, on the other hand,
the participants tab view size is always limited by its parents, no
matter if the overflow is hidden or not.

In a similar way, once the overflow is hidden the bottom padding added
to the participants list has to be added to its last item instead.
Firefox only takes into account the bottom padding in the participants
list when the list has not overflown the participants tab view; it needs
to be added to the last item to be taken into account also when the
participants list is taller than the participants tab view. Chromium, on
the other hand, always takes into account the padding, no matter if it
is added to the participants list or to its last item.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-05-11 04:21:46 +02:00
Joas Schilling ffb65b468e
Limit unread message counter to "99+"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-05-03 11:18:22 +02:00
Daniel Calviño Sánchez 04bd307910 Do not show pointer cursor on mentions without contacts menu
Mentions in the public view and mentions in the new message form do not
show the contacts menu when clicked, so the cursor should be the default
one instead of the pointer cursor.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-05-02 18:09:55 +02:00
Daniel Calviño Sánchez 8335f2611e Remove unused CSS rules for ".oldestOnTopLayout"
When the chat view used the oldest on top layout the "oldestOnTopLayout"
CSS class was suppossed to be added to its main element. However, when
the "className" method was executed the "initialize" method had not been
executed yet, so there was no "_oldestOnTopLayout" attribute even if it
was included in the options, so the CSS class was never set and thus the
CSS rules were never used.

The support for the newest on top layout is going to be removed, and the
common CSS rules were already being used for the oldest on top layout
without problems; due to this, instead of fixing the setting of the CSS
class, the specific CSS rules for the oldest on top layout were simply
removed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-30 18:42:17 +02:00
Ivan Sein f4e2d2251c
Merge pull request #831 from nextcloud/fix-pointer-cursor-shown-for-guests-and-in-new-message-form
Fix pointer cursor shown for guests and in new message form
2018-04-30 16:18:36 +02:00
Daniel Calviño Sánchez 9a520fba0d Do not show pointer cursor in the author rows of the public view
The contacts menu is not shown in the public view for any user, so the
default cursor should be used for all the author rows.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-30 15:16:56 +02:00
Daniel Calviño Sánchez 19ed71a605 Do not show pointer cursor in the author row of guest users
Note that "currentUser" is not set in the author row of guest users, but
this is not a problem; that CSS class is used only to show the default
cursor instead of the pointer cursor, but as all the author rows of
guest users show the default cursor it makes no difference if
"currentUser" is set for them or not.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-30 15:05:04 +02:00
Daniel Calviño Sánchez a93ae19ca1 Move "currentUser" CSS class to wrapper div
Instead of adding the "currentUser" CSS class to ".avatar" and ".author"
elements now it is added to their wrapping ".authorRow" element.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-30 14:03:58 +02:00
Daniel Calviño Sánchez 44d8033cb6 Fix appearance of author row when showing the date
When a message shows the date separator its author row is explicitly
shown. This is needed to ensure that the author row will always be shown
in that case, even if the message is a grouped message. In normal
messages (those that are not grouped and do not show the date separator)
the author row is shown using "display: inline-flex", so the same value
should be used too for messages that show the date separator.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-30 12:55:04 +02:00
Ivan Sein 99907e81b4
Merge pull request #827 from nextcloud/fix-working-icon-position-when-sending-a-message
Fix working icon position when sending a message
2018-04-27 17:06:29 +02:00
Daniel Calviño Sánchez 90a43ffc1a Remove unneeded CSS rule
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-27 15:42:49 +02:00
Daniel Calviño Sánchez d609fa064b Fix working icon position when sending a message
When a message is being sent the submit icon is hidden and the working
icon is shown instead. However, the working icon was not placed at the
same position as the icon it replaced; the CSS rules for the submit icon
were modified in some previous commit, but the CSS rules for the working
icon were not appropriately updated. Now the CSS rules were rewritten so
both elements use the same placement rules; this fixes the issue and
should make it less likely to happen in the future if the placement is
modified again.

Also, now the size is explicitly set to ensure that both elements have
the same size; before it depended on other rules, and which rules
affected the size were different for each element due to being of
different types.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-26 21:58:23 +02:00
Joas Schilling fad03fbb4b
Make the unread count more obvious
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-26 15:33:00 +02:00
Joas Schilling 85cd8181e5 Add basic UI for autocompletion
CSS styles were directly copied from
"apps/comments/css/autocomplete.scss".

JavaScript code in the chat view
was slightly simplified from "apps/comments/js/commentstabview.js".

Currently mentions are not formatted when a message is being composed;
"@" followed by the user name is added to the message so it can be
directly sent without further processing. Formatted mentions will be
introduced in another commit.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-26 12:49:24 +02:00
Joas Schilling dad8c1fdf8
Merge pull request #814 from nextcloud/fix-pointer-cursor-not-shown-on-message-authors
Fix pointer cursor not shown on message authors
2018-04-26 12:23:57 +02:00
Daniel Calviño Sánchez 6effa97a1e Fix pointer cursor not shown on message authors
Clicking on a message author shows the contacts menu (provided the
author is not the current user); in those cases the cursor should be a
pointer so the user knows that an interaction with those elements is
possible.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-26 00:49:41 +02:00
Daniel Calviño Sánchez f382ff2f23 Make mentions more prominent
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-25 15:21:57 +02:00
Daniel Calviño Sánchez 7f13095a3c Use pointer cursor on mentions not of the current user
A pointer cursor is now used on mentions to make the user aware of a
possible interaction. As the contacts menu is not shown for mentions of
the current user the default cursor is kept in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-25 07:06:19 +02:00
Daniel Calviño Sánchez ee9383f4c4 Show contacts menu when clicking on a mention
The contacts menu expects its parent element to be its positioning
context, so the mention must have a relative position. Besides that, the
default CSS rules from the server set the position of the contacts menu
assuming that the parent element is an avatar, so the rules have to be
overriden to position it on the text.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-25 07:05:46 +02:00
Daniel Calviño Sánchez ab4e9cacb5 Fix icons in contacts menu
The border-box sizing is set for apps in the server, but the CSS rules
for the icons of the contacts menu (also set in the server!) assume that
content-box sizing is used. Therefore the proper size should be forced
for the icons to be visible.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-24 17:47:18 +02:00
Daniel Calviño Sánchez a52f7cb450 Fix position of right end of contacts menu
The contacts menu uses both the "bubble" and "contactsmenu-popover" CSS
classes, and the specific rules for ".bubble" elements used in Talk
should not affect the contacts menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-24 17:47:18 +02:00
Daniel Calviño Sánchez 485595bbf2 Show display name instead of user name in formatted mentions
In some cases (like when LDAP is being used) a user can not be easily
identified through its user name (as it is just a hash), so formatted
mentions now show the display name in all cases (and if the server does
not provide a display name the "name" parameter of the template falls
back to the user name).

Note that the acceptance tests do not need to be updated, as the
display name of the mentioned user is the same as its user name.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-24 17:47:18 +02:00
Daniel Calviño Sánchez f1691c06bf Format rich messages in chat frontend
The RichObjectStringParser was copied from the Notifications app and
adapted to be used in the chat (support for file references was removed,
"-" is taken into account too in parameter IDs, only local users are
taken into account, and if the display name of a mention is empty the
user ID is used instead).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-24 17:47:18 +02:00
Joas Schilling c874be537d
Merge pull request #587 from nextcloud/sidebar-toggle
Always show sidebar toggle, also when sidebar is open
2018-04-20 10:58:59 +02:00
Joas Schilling 51d378af8b
Merge pull request #758 from nextcloud/bugfix/512/allow-to-join-without-camera-and-video
Allow to join without camera/mic
2018-04-18 15:58:49 +02:00
Joas Schilling ac9a9494d4
Add an icon for participants which are in the call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-17 10:53:00 +02:00
Jan-Christoph Borchardt ebd7d97e68 Fix wording and pixel alignment
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-04-05 13:52:14 +02:00
Jan-Christoph Borchardt f72ed2da78 Always show sidebar toggle, also when sidebar is open
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-04-05 13:48:32 +02:00
Ivan Sein 895747c84f Increase padding in chat view to leave enough space for side buttons.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-04-04 16:35:39 +02:00
Joas Schilling a6a97da84b
Allow to join without camera/mic
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-29 12:54:52 +02:00
Ivan Sein 7cd7abd947 Set dark style icon to screensharing button when local video is disabled.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-03-29 10:25:31 +02:00
Joas Schilling fad6bf644e
Show fullscreen toggle only in rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-29 09:31:39 +02:00
Joas Schilling bdeb57b0e1
Allow Fullscreen when alone
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-29 09:25:51 +02:00
Joas Schilling 583e60b4d7
Allow screensharing even when alone
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-28 14:11:04 +02:00
Joas Schilling d5b0d39ef3
Unify the names of join/leave room vs. remove*FromRoom
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-27 17:16:37 +02:00
Joas Schilling 44431df952
Merge pull request #647 from nextcloud/password-popover
Show password input field in a popover menu.
2018-03-27 15:08:43 +02:00
Joas Schilling 05ed3970d1
Merge pull request #745 from nextcloud/popover-users-list-fix
Do not cut popover on participant list
2018-03-26 15:08:12 +02:00
John Molakvoæ (skjnldsv) 8cff63b996
Fix css alignment
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-03-26 12:43:35 +02:00
John Molakvoæ (skjnldsv) 8a7069ca06
Do not cut popover on participant list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-03-23 17:34:58 +01:00
John Molakvoæ 0812f3b614
Merge branch 'master' into password-popover 2018-03-23 17:24:14 +01:00
John Molakvoæ (skjnldsv) cb8c33105f
Fixed authenticate script
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-03-23 16:37:58 +01:00
John Molakvoæ (skjnldsv) 1064a3b394
Fixed popover style and fit guidelines
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-03-22 18:22:03 +01:00
Joas Schilling cb9fce4090
Fix name positioning for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-20 11:50:49 +01:00
Joas Schilling 813d9a97a0
Use editabletextlabel view for guest name in chat
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19 13:36:35 +01:00
Joas Schilling e805bfd025
Fix empty content message and correctly hide the video input until it is loaded
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-16 11:22:14 +01:00
Joas Schilling b3f16dc028
Merge pull request #702 from nextcloud/bugfix/701/missing-shadow-local-video
Fix local video shadow
2018-03-14 14:50:27 +01:00
Ivan Sein a63e99474c Set overflow visible for local video.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-03-12 18:45:25 +01:00
Ivan Sein 1a3c7abf0d Set 100% width to screensharing videos.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-03-12 17:50:42 +01:00
Ivan Sein efaf8c62b2
Merge pull request #607 from nextcloud/improve-password-protection-ui
Improve password protection UX and UI.
2018-02-12 12:30:37 +01:00
John Molakvoæ (skjnldsv) 22e7714a8e
Use $color-box-shadow variable
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-02-07 18:13:28 +01:00
John Molakvoæ (skjnldsv) acce8ce9e5
Box shadow and border radius fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-02-07 18:07:54 +01:00
John Molakvoæ (skjnldsv) 2c07e05ce5
Make video element same size as source
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-02-07 17:50:32 +01:00
Ivan Sein 43951d98e9 Set opened lock icon when no password is set.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-02-02 14:43:21 +01:00
Ivan Sein 1a7b03126f Fix max video height to 200px when more than 2 people in a call.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-29 18:36:04 +01:00
Ivan Sein 9741db4f48 Re-define videoContainers and videos css rules when screensharing is active.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-26 15:28:16 +01:00
Ivan Sein a8de18eeb8 Add a button to show/hide password input.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-26 15:14:34 +01:00
Ivan Sein 4ad7bf9d3f
Fix screensharing position for guests.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-26 12:20:49 +01:00
Ivan Sein 30f003f495
Keep light style icons when screensharing is active.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-26 12:20:49 +01:00
Joas Schilling bf738393c0
Do not use relative paths to images on the server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-26 12:20:47 +01:00
Joas Schilling 350d108b8b
Merge pull request #568 from nextcloud/tab-headers
Improve tab header styles, center headings, flexbox
2018-01-10 12:53:22 +01:00
Jan-Christoph Borchardt ca8622c2bf Fix tab headers being too small in Chrome
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 12:46:35 +01:00
Jan-Christoph Borchardt 93e0a82f2e Improve tab header styles, center headings, flexbox
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 11:41:00 +01:00
Daniel Calviño Sánchez 3c0587f31c Improve automatic scrolling behaviour when new messages arrive
When the chat messages are shown from newest to oldest and a new message
arrives the list is automatically scrolled to keep the current visible
messages at the same place, except if the list was at the top, in which
case no scrolling is made and the new message appears.

When the chat messages are shown from oldest to newest and a new message
arrives the list is automatically scrolled to show the new message,
except if the list was not at the bottom in which case no scrolling is
made and the current visible messages are kept at the same place.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 11:15:13 +01:00
Joas Schilling 2c7ef423cf
Merge pull request #560 from nextcloud/comment-input-margin
Reduce margin-bottom of comment input
2018-01-10 10:17:21 +01:00
Daniel Calviño Sánchez d6dddb0c2d Fix chat height in the main view of public pages
The header element contains the header div; as the header div uses a
fixed position the header element has no height, so an explicit height
was set for it to prevent "#app-content-wrapper" from overlapping with
the header element. However, as "#app-content-wrapper" has a 100% height
that caused the "#app-content-wrapper" to be moved 45px to the bottom,
and thus the chat view was partially cropped at the bottom.

When the chat view messages are shown from newest to oldest this causes
the first messages to be out of view, but when they are shown from
oldest to newest with the new message input at the bottom then the input
is partially out of view.

Now instead of giving the header an explicit height a "padding-top" is
set for the "#app-content-wrapper"; this prevents the contents from
being cropped while also preventing them from overlapping the header.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 08:51:31 +01:00
Daniel Calviño Sánchez 8951066a66 Stretch tab contents to available space also when there is extra space
When the tab contents were larger than the available space they were
limited to that space. Now, if the available space is larger than the
needed height the tab contents is also increased to fill it.

This ensures that the chat view will always stretch to the available
space, which in turn ensures that the "New message" input will be always
shown at the bottom of the sidebar like done in the main view (which was
not the case before when there were no messages or only a few).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 08:51:31 +01:00
Daniel Calviño Sánchez 57a65b24f5 Reverse chat layout
Before chat messages were shown from newest to oldest, with the new
message input above the list of messages. Now the layout can be chosen,
either the previous one or the reversed one, from oldest to newest with
the new message input below the list of messages.

The new reversed layout is the default one, and probably the old one
will not be used anywhere in the future... but for the time being I kept
the old one too just in case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 08:50:44 +01:00
Jan-Christoph Borchardt 1c18f61d64 Reduce margin-bottom of comment input
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 08:43:20 +01:00
Ivan Sein 290b00bf68
Merge pull request #550 from nextcloud/limit-scroll-bar-in-sidebar-to-chatview
Limit scroll bar in sidebar to chat view
2018-01-10 01:03:50 +01:00
Daniel Calviño Sánchez bccc62c0ed Show scroll bar for the list of participants in the sidebar
Limiting the scroll bar in the sidebar to the list of chat messages
causes the scroll bar to be removed from the whole sidebar in other tabs
too. Therefore, the scroll bars must be explicitly enabled in the other
tab contents that need them.

The list of participants grows dynamically, so a vertical scroll bar
should be enabled on it to be able to view all the participants in a
long list.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 00:39:43 +01:00
Daniel Calviño Sánchez 91ba9cf308 Move message list scroll bar to the sidebar right edge
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 00:39:43 +01:00
Daniel Calviño Sánchez 6ed8be360f Limit scroll bar in sidebar to the message list of the chat view
Except when almost empty, the message list of the chat view is taller
than its available vertical space in the sidebar. Due to this a scroll
bar was shown for the whole sidebar, and everything was moved when
scrolling to see overflown messages. Now the scroll bar is shown only
for the message list, so it can be scrolled without moving the other
elements in the sidebar.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-10 00:39:43 +01:00
Jan-Christoph Borchardt c3e7f09de2 Still use white icons outside of calls when local video shows
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 00:37:28 +01:00
Jan-Christoph Borchardt e6dfd58cf8 Fix icons not actually turning white
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-10 00:17:35 +01:00
Jan-Christoph Borchardt b458794e6a Submit arrow is supposed to be inside the input field, right padding prevents text overlap
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:41:39 +01:00
Jan-Christoph Borchardt 18358b6062 Rename remaining CSS files to SCSS
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:37:10 +01:00
Jan-Christoph Borchardt 6af4f0285a Combine fullscreen handling rules, ensure white background if 1 participant fullscreen
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:34:16 +01:00
Jan-Christoph Borchardt dda6de7602 Always show app-sidebar-trigger on top, fullscreen icon below
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:25:28 +01:00
Jan-Christoph Borchardt 33eaa27c90 Proper default display and hover effect for dark fullscreen and menu icons
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:12:24 +01:00
Jan-Christoph Borchardt a10587095c Use dark icons when not in a call (= white background)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 23:08:25 +01:00
Jan-Christoph Borchardt 43881c49a2 Add some whitespace to guest name, prevent jumping on edit
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Jan-Christoph Borchardt 83e1a06258 Reduce whitespace between room info and tabs
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Jan-Christoph Borchardt 2e146cee31 Use variable for text color
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Jan-Christoph Borchardt 9ad16ca7be Move style.css to SCSS
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Jan-Christoph Borchardt 8c9c127c49 Padding fixes and icons for tab headers
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Jan-Christoph Borchardt 876d44a161 Replace triangle sidebar trigger with dedicated icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 19:54:05 +01:00
Daniel Calviño Sánchez 4f0a187ac9
Merge pull request #544 from nextcloud/show-chat-view-as-main-view-when-in-a-room-but-not-in-a-call
Show chat view as main view when in a room but not in a call
2018-01-09 17:54:54 +01:00
Jan-Christoph Borchardt c5c923a4c9 Make rename and copy button properly clickable
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 16:07:26 +01:00
Jan-Christoph Borchardt ec2672679e Proper padding for Share link
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-01-09 16:01:33 +01:00
Daniel Calviño Sánchez be934f1364 Add padding to the chat view when shown as the main view
The lateral padding is the same used for the chat view when shown in the
sidebar (due to the padding from the tab itself). The same value was
used for the top padding to provide a consistent "frame".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-08 15:35:04 +01:00
Daniel Calviño Sánchez 3cff47a238 Show the chat view as the main view when in a room but not in a call
When shown as the main view, the input field to add a new message is
always shown and a scroll bar is provided just for the list of messages.

Only the chat view is added and removed to and from the main view; the
other elements in the main view are not modified when that happens, and
they are hidden using some CSS magic.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-08 15:35:04 +01:00
Joas Schilling 7fea2fb7f8
Fix deprecated *-white icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-08 12:51:02 +01:00
Daniel Calviño Sánchez 4507c9ad5c Set height for header element in public pages
The header element contains the header div; as the header div uses a
fixed position the header element has no height, so it must be
explicitly set to prevent #app-content-wrapper from overlapping with the
header element.

Right now it was not very noticeable, as it only affected the empty
content; as it name implies most of the space was empty except for a
message at the centre of the screen, so visually it did not overlap with
the header. However having a proper height set for the header will be a
must once the chat view is shown in the app content wrapper.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-08 12:45:49 +01:00
Artur Bergen 35f2b2fd1c
Renamed class and refactor code
Signed-off-by: Artur Bergen <artur.bergen@struktur.de>
2018-01-08 12:32:36 +01:00
Artur Bergen bd5475e07b
Rebase and fix conflicts
Signed-off-by: Artur Bergen <artur.bergen@struktur.de>
2018-01-08 12:32:36 +01:00
Daniel Calviño Sánchez 081e3fab32 Show submit working icon at the same position as the submit confirm icon
The submit confirm icon is shown as the background image of an
absolutely positioned input element, so the CSS rules for the submit
working icon were modified to match those of the submit confirm icon.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-01 02:48:55 +01:00
Joas Schilling 97d2392b05
Merge pull request #491 from nextcloud/force-breaks-on-extremely-long-words
Force breaks on extremely long words in chat messages
2017-11-20 10:13:47 +01:00
Daniel Calviño Sánchez 9e1d7ee33d Force breaks on extremely long words
If not broken extremely long words overflow their container.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-17 15:19:28 +01:00
Daniel Calviño Sánchez 96a4942585 Add a header with the date when it changes between messages
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-16 13:13:08 +01:00
Daniel Calviño Sánchez bc501ba53c Group temporary near messages by same participant
When two or more consecutive messages were sent by the same participant
with a difference of less than 120 seconds between each message those
messages are now shown grouped (the participant name is not shown for
the intermediate messages and each message is pushed closer to the
previous message).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-16 13:13:08 +01:00
Daniel Calviño Sánchez 4efa21ed6a
Hide header of public page in fullscreen mode
The standard Nextcloud header is added automatically outside the
"#app-content" element when using the "user" template, so it is
automatically hidden when "#app-content" is set to fullscreen mode. The
public page uses the "base" template, so it has to provide its own
header element; this element appears inside "#app-content" (probably to
make it transparent using CSS rules during a call), so it has to be
explicitly hidden when in fullscreen mode.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-15 12:11:29 +01:00
Daniel Calviño Sánchez 46ce6aae1e Remove pointer cursor from chat messages
Chat messages are not interactive, so they should not use a pointer
cursor.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-03 11:49:56 +01:00
Daniel Calviño Sánchez 4c2b2ce7df Add chat view to sidebar tab
The CSS was copied from the Comments app.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-03 11:49:56 +01:00
Joas Schilling f7f9e7929c
Allow multiple signaling servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-11-02 11:23:51 +01:00
Ivan Sein d7ef5ef868
Merge pull request #458 from nextcloud/add-support-for-right-sidebar-in-public-page
Add support for right sidebar in public page
2017-11-02 11:21:28 +01:00
Daniel Calviño Sánchez e22943f3ba Show link icon next to room name when the user can not moderate
The main room name element is now shown as "inline-block", which causes
the link icon to be placed next to it instead of below.

Due to the change from "block" to "inline-block" there is less available
width for the children input fields; the previous maximum width value is
now too narrow, so that limit to the width was removed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-30 13:57:55 +01:00
Daniel Calviño Sánchez 47b4ebdc18 Add sidebar to public page
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-30 13:57:55 +01:00
Daniel Calviño Sánchez 2d6a5a7d47 Move guest name from header to right sidebar
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-30 13:57:55 +01:00
Daniel Calviño Sánchez 77c552668d Fix sidebar in fullscreen mode
In normal mode (and a wide screen), when the sidebar is opened a
"margin-right" is applied to the app content to make room for the
sidebar. In fullscreen mode the element set as fullscreen is the app
content, but it seems that different browsers handle fullscreen elements
with a margin in different ways: Firefox ignores the margin and uses the
full width, while Chromium uses a strange mix which is neither the full
width nor the full margin. Due to this, now the margin is removed in
fullscreen mode to unify the appearance across browsers.

As there is no margin, the sidebar now visually seems to slide on the
app content instead of "pushing" it to the left (which is the same
behaviour shown in normal mode and narrow screens). Fortunately, this
behaviour fits well with the fullscreen mode, as the video is arguably
the reason to enter in fullscreen mode while the sidebar in this case is
probably just a temporal view that is closed most of the time.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-30 08:35:13 +01:00
Daniel Calviño Sánchez b89d385046 Replace custom code with EditableTextLabel for room name
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-30 06:14:02 +01:00
Joas Schilling d1b85315bb
Move add participant to the sidebar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-23 12:04:28 +02:00
Joas Schilling 3fb1314e41
Move password handling to the sidebar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-18 10:58:47 +02:00
Joas Schilling 369f6a4fae
Move rename option to the sidebar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-18 10:58:47 +02:00
Joas Schilling d94f84b58b
Move share link to the sidebar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-18 10:58:42 +02:00
Ivan Sein de594c9f35 Merge pull request #433 from nextcloud/ask-for-password-in-plain-mode
Don't use popup to ask for the password but the "blue screen"
2017-10-17 18:52:48 +02:00
Daniel Calviño Sánchez 2f25d8abe8 Generalize ParticipantView CSS rules
Instead of being based on the "participantTabView" id the CSS rules used
by the ParticipantView were modified to be based on its class,
"participantWithList". This will make possible to change the parent
element of the ParticipantView and keep its style.

The rules for links were merged as those links that required a padding
due to being shown with an icon were also those shown inside the list
items.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez 0fff33484b Add Marionette view for the right sidebar
The right sidebar is an area that can be shown or hidden from the right
border of the document. It is a core element from Nextcloud, and
SidebarView is a Marionette wrapper around it. Therefore, it has to be
used along an "#app-content" element that takes into account the
"with-app-sidebar" CSS class.

However, this right sidebar extends the standard right sidebar with an
icon shown on the right border of the screen that makes possible for the
user to show it when hidden (as there is no other element in the UI
suitable for that purpose).

That icon is just a right-pointing triangle created with a CSS trick (a
zero-sized div with width borders, but all of them transparent except
for the left one). However, as the icon will be shown on different
coloured backgrounds it can not have just a single colour; it must
provide a border on its own too, which is achieved with another triangle
slightly larger underneath. The triangle border is 2px instead of just
1px used in other UI elements (like in the sidebar itself) to make it
more noticeable on a white background.

The triangle used for the icon is a large one, with a width of 24px and
a height of 48px. Using this trick has an added benefit, as its
clickable area is larger than the triangle itself (48x48px), which
improves its usability on touchable screens (and does not negatively
affect the experience on other devices).

Currently the SidebarView is empty. The content will be added in
following commits.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Joas Schilling 86ec1dd446
Don't use popup to ask for the password but the "blue screen"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-11 14:39:53 +02:00
Joas Schilling 71aa0b4dc2
Show green save mark
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-05 09:51:00 +02:00
Joas Schilling 9e2e39a614
Allow multiple turn servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-28 15:53:59 +02:00
Joas Schilling 2a33f7fd1a
Allow setting multiple STUN servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-28 15:53:59 +02:00
Joas Schilling f8a9f124f8
Add option for the moderator to set a password
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-22 16:16:04 +02:00
Ivan Sein 815c509259 Merge pull request #377 from nextcloud/sidebar
Start with sidebar
2017-09-19 14:04:20 +02:00
Joas Schilling 448d708afb
Only show the sidebar while we are in a room
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-08 15:36:48 +02:00
Joas Schilling dfe37a0706
Use same online detection as before
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-07 13:26:38 +02:00
Joas Schilling e8aea7d5d6
Sidebar menu bubble
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-04 18:31:09 +02:00
Leon Klingele 0b966aad4a
Remove video filter from screensharing videos
This fixes #392
2017-08-28 16:14:17 +02:00
Jan-Christoph Borchardt f613a88dfb
Add moderator styles
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-25 17:17:22 +02:00
Jan-Christoph Borchardt e4f981a103
Styling for participants not in the call
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-25 17:17:22 +02:00
Joas Schilling cb75b0b379
Start with sidebar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-08-25 17:17:20 +02:00
Jan-Christoph Borchardt b421c15291 Limit size of own video on mobile so other participant is still visible
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-08-12 17:41:55 +02:00
Joas Schilling c7a3c95962
Fix displaying the options in the UI only when the user has permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-07-17 11:05:51 +02:00
Joas Schilling 9be135c5a7 Merge pull request #321 from nextcloud/guest-name
Fix guest name color in light color themings
2017-05-22 12:22:10 +02:00
Ivan Sein 0de1935891 Change guest name color to white when top bar become transparent.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2017-05-19 12:10:44 +02:00
Ivan Sein 2e54ef41d1 Remove status colors and add ice failed indicator.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2017-05-12 16:13:14 +02:00
Ivan Sein 7cf8723f75 Add in-call css to app-content.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2017-05-11 17:14:06 +02:00
Joas Schilling 7d70cd643e Merge pull request #271 from nextcloud/select-screensharing
Select-Screensharing feature
2017-04-11 12:00:43 +02:00
Jan-Christoph Borchardt ba8423313a fix background going white above 10 participants
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-04-04 15:58:02 +02:00
Ivan Sein bf00a79b69 Add own screensharing options menu.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2017-03-30 12:45:52 +02:00
Ivan Sein 55acd30c68 First draft for screensharing selection feature.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2017-03-29 14:34:59 +02:00
Ivan Sein ef58db81d6 Merge pull request #260 from nextcloud/screensharing-improvements
Screensharing UI improvements
2017-03-21 18:04:17 +01:00