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

601 Коммитов

Автор SHA1 Сообщение Дата
Daniel Calviño Sánchez 1bbc90d77b Replace default vue-at style sheet with a wrapped version
The wrapped version roots all the rules of the default style sheet on
".talk.candidate-mentions", so the rules affect only the candidate
mentions of Talk. Otherwise, as the default rules are too broad (as they
use just ".atwho-XXX") they could mess with the autocompletion of other
elements (like the comments tab in the Files app).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-10 06:22:51 +01:00
Daniel Calviño Sánchez 1459983a5f Replace placeholder with actual call view
As the call view has a black background the close button of the sidebar
is forced to white during calls to make it visible.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-10 04:02:37 +01:00
Joas Schilling 003207b68e
Dark theme fixes for vue-at
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-09 21:34:10 +01:00
Daniel Calviño Sánchez c1fc2a123e
Show avatars for candidate mentions in the autocompletion panel
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-09 20:19:18 +01:00
Daniel Calviño Sánchez 5f3f714d0c Show mentions to guests using a UserBubble
The UserBubble component currently does not provide a way to set an
arbitrary letter on the avatar, only the first letter of the display
name or an icon. Therefore, for the time being, a user icon is used for
the avatar instead of the "?" character.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-09 14:38:50 +01:00
Daniel Calviño Sánchez d7cc4f3510 Show mentions to all using a UserBubble
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-09 14:38:50 +01:00
Joas Schilling d332bcc161
Fix broken scss file breaking the icon-reply
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-20 14:02:06 +01:00
Daniel Calviño Sánchez 5514e0e9b6
Merge pull request #2604 from nextcloud/bugfix/noid/fix-sidebar-icons
Fix sidebar icons color
2019-12-19 13:06:18 +01:00
Marco Ambrosini b164acff61 Fix sidebar icons color
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-12-19 11:57:39 +01:00
Daniel Calviño Sánchez 60fbec3365
Merge pull request #2597 from nextcloud/unify-new-loadsidebarlistener-with-previous-templateloader
Unify new LoadSidebarListener with previous TemplateLoader
2019-12-19 10:31:19 +01:00
Marco Ambrosini dfad698360 Fix talk icons css
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-12-18 13:09:01 +01:00
Daniel Calviño Sánchez 7b71628919 Remove imported legacy SCSS files from merged SCSS files
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-18 11:47:24 +01:00
Daniel Calviño Sánchez 6a96cb7669
Embed CSS style in CallView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-13 21:10:54 +01:00
Daniel Calviño Sánchez a21f6ba28b
Force icon to white explictly instead of with CSS tricks
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-13 21:10:54 +01:00
Daniel Calviño Sánchez 7cbdb48be3
Import CSS for calls
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-13 21:05:26 +01:00
Joas Schilling 36b4047ba9
Add dummy media controls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-09 11:13:15 +01:00
Joas Schilling e3a0540061
Force white icons in the TopBar when in call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-09 11:13:14 +01:00
Joas Schilling 701a0c397d
Allow to toggle the lobby
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-07 21:31:53 +01:00
Marco Ambrosini a94b20c791 Layout adjustments
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-11-06 16:49:29 +01:00
Joas Schilling b90754359f
Author avatar component with bots and guest support
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-29 11:47:46 +01:00
Joas Schilling ce0a731202
Add the favorite icon to the conversation list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-28 12:39:30 +01:00
Joas Schilling 3250e06a18
Fix the conversations icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-14 09:20:48 +02:00
Marco Ambrosini b5c7873e75 Add temporary message feature
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-09 10:50:29 +02:00
Marco Ambrosini ee0e380528 Create AdvancedInput component
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-09 10:50:25 +02:00
Marco Ambrosini af31891f64 Add MessageList component and DynamicScroller
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-09 10:48:26 +02:00
Joas Schilling 5c0ada8d87
Merge pull request #2281 from nextcloud/bugfix/noid/better-start-call-setting
Better start call setting
2019-10-08 11:55:40 +02:00
Ivan Sein 5e9124f2e6 Add lobby checkbox instead of radio buttons for enabling lobby
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2019-10-07 13:23:54 +02:00
Joas Schilling 483098d320
Increase the length of the input for other languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-07 13:05:02 +02:00
Daniel Calviño Sánchez 1ba0f4fd45 Add support for Talk sidebar in public share pages
When the public share page is loaded "publicshare.js" is initialized,
which modifies the page to add a Talk sidebar. The default layout has
the header, content and footer in a flex column; when the sidebar is
added the layout id modified to still have the header and content in a
flex column, but the content is now a flex row that includes
"#app-content" and the sidebar, and the footer is moved inside
"#app-content" so it does not affect the sidebar.

The Talk sidebar includes a call container at the top, which is only
shown during calls, and below it a call button and a chat view which are
always shown.

The CSS styles are a mix of the styles for the public share auth page
and the Files app, as well as some rules copied from the main
"style.scss" file.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26 10:54:27 +02:00
Daniel Calviño Sánchez ca62f9d7ed Fix avatar container height during calls
The absolute position causes the avatar container to have a different
height when the contained div has a text (guest avatars) or not (user
avatars, which use an image); now the flex property is propagated, which
causes the container to always have the same size as the contained div.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26 10:45:01 +02:00
Daniel Calviño Sánchez 0671d6168d Show volume indicator in greyscale when speaking while muted
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26 06:20:07 +02:00
Daniel Calviño Sánchez c273865907 Add lobby icon from "room service" Material Design icon
Copied from "places/svg/production/ic_room_service_24px.svg" of
"https://github.com/google/material-design-icons", tag 3.0.1.

Material Desig icons 3.0.1 are licensed under the Apache 2 License.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-13 16:25:33 +02:00
Marco Ambrosini 0ba582b8cd Prevent chat from being compressed in narrow screens
When the sidebar is shown the app content is compressed to make room for
the sidebar. In narrow screens (and specially in very narrow screens)
this broke the appearance of the app content (unreadable chat, unusable
call view), so now the app content is forced to keep the full viewport
width on narrow screens; this causes the sidebar to slide over the app
content instead of compressing it.

Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-09-05 15:46:54 +02:00
Daniel Calviño Sánchez c61047a075 Add input to set the lobby timer
Unfortunately the date picker component from Nextcloud only allows
picking a date, but not a time; there is a date time picker for Vue, but
integrating only that right now would require much effort. Therefore,
for the time being, the start time needs to be introduced manually.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 10:41:07 +02:00
Daniel Calviño Sánchez 3a5549c621 Add UI to set the lobby state
The lobby state can be set to no lobby or to lobby for non moderators
from the room management menu; in this initial version no date can be
set yet.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 10:36:11 +02:00
Daniel Calviño Sánchez 3e3506b11b Replace "Copy link" tooltip with explicit label
Now that the management actions were moved to a menu there is enough
room to show a label for the "Copy link" button.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 10:09:39 +02:00
Daniel Calviño Sánchez b88d53d918 Remove unneeded CSS rules
The rules just set the same values used by buttons by default.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 10:09:39 +02:00
Daniel Calviño Sánchez 7dec802cfa Remove no longer needed parent element of "Copy link" button
The "share-link-options" element acts as a spacer to move the room
moderation menu button to the right. However, given that the call button
width is limited to the 50% of its parent flex element and that element
has the full width of the sidebar the same effect can be achieved by
setting "margin-left: auto" on the room moderation button.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 10:09:39 +02:00
Daniel Calviño Sánchez 7dc9653a59 Reorder flex CSS rules for call button
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 10:09:39 +02:00
Daniel Calviño Sánchez 7a2e19553f Move password from its own menu to the room moderation menu
The password input is no longer the only element of the menu so pressing
"Esc" does not close the menu.

There is no longer a password button in the CallInfoView, so now the
acceptance tests need to open the room moderation menu to know if the
conversation is password protected or not.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 10:09:38 +02:00
Daniel Calviño Sánchez 26838111ee Move checkbox to change between public and group room to a menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 10:09:38 +02:00
Daniel Calviño Sánchez bf87c25fa4 Fix avatars of participants with contacts menu not focusable
The avatar is a div, so it is not focusable by default. However, if it
were focused it could not be properly "highlighted" with a border; the
whole avatar is dimmed for offline participants, so the border colour
would be different when "highlighting" the avatar of online and offline
participants. Due to this the avatar is now wrapped in another div which
is the focusable one (provided the avatar has a contacts menu) and the
one that gets the border. Finally, when the Enter or space keys are
pressed on the wrapper a click is triggered in the avatar, which shows
the contacts menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:31:41 +02:00
Daniel Calviño Sánchez 9692378f6f Fix pointer cursor not shown on participants with a contacts menu
When the current user is an actual user and not a guest clicking on the
avatar of a participant shows the contacts menu (unless the participant
is the current user or a guest), so when hovering on the avatar the
cursor should be a pointer to imply a possible interaction.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:31:41 +02:00
Daniel Calviño Sánchez 5b89513671 Fix participant items being focusable
The participant items were link elements, so they were taken into
account in keyboard navigation. However, although it is possible to
interact with some of its children, it is not possible to interact
with the participant item as a whole, so they should not be focusable.
As the link in the participant items led nowhere they are now simple
span elements instead of links.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:31:41 +02:00
Daniel Calviño Sánchez 5e79ab9aa8 Remove unused CSS rule
The first link child of items in the participants list is the
participant information, which includes the avatar, name... However,
there is no direct "img" child of that element (the avatar image is a
child of the avatar element), so the rule has no effect.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:31:41 +02:00
Daniel Calviño Sánchez 04d2a47bb6 Fix edit button in EditableTextLabel not focusable
The edit button was not an actual button but a span, so it was ignored
in keyboard navigation. Moreover, the opacity was applied to its parent
element instead of to the button itself, so it was not highlighted when
focused. Also, after the input is hidden now the focus is given back to
the edit button.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:31:41 +02:00
Daniel Calviño Sánchez e45e3750e1 Fix select2 containers not highlighted when focused
The select2 containers have the same size as the "oca-spreedme-add-XXX"
wrappers that contain them, so the borders can be moved from those
wrappers to the containers themselves. This makes possible to set a
stronger border when the select2 container is active/focused.

Besides that now the text is stronger too when the select2 container is
focused to show that more clearly.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:31:41 +02:00
Daniel Calviño Sánchez 584b30d65f Wait for the server response to rename the room
Until now the EditableTextLabel was not (visibly) updated until the
server response was received, even if the model was updated as soon as
the new value was submitted (although this updated the hidden label,
which was shown again once the response was received). To provide
feedback to the user that the value is being set now the confirm button
is replaced by a working icon while waiting for the response. In a
similar way the input is also disabled to prevent further requests while
the previous one is ongoing.

Besides that, renaming the room now waits for the server response before
updating the model. This ensures that, in case of error, the label will
still show the old value instead of the new one. An error message is now
also shown to the user in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-27 17:29:52 +02:00
Daniel Calviño Sánchez 79489395ed Simplify CSS rules for confirm icon in editable text label
The input wrapper only contains the text input and the confirm button;
as there will not be more than one confirm button there is no need to
set its rules based on the text input.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-27 17:29:52 +02:00
Daniel Calviño Sánchez 5d6ed51f42 Provide feedback while waiting for the server to set the password
Due to its special nature the password is not stored in an attribute of
the model. Nevertheless, a "changed:password" (always with an empty
value) was triggered as soon as the password was submited. However, as
there is no password attribute that event is not taken into account
anywhere and the UI was not updated until the server response was
received (with further updates once the rooms are fetched again). To
provide feedback to the user that the password is being set now the
confirm button is replaced by a working icon while waiting for the
answer. In a similar way the input is also disabled to prevent further
requests while the previous one is ongoing.

Note that due to the aforementioned behaviour it is not really necessary
to wait for the server response to update the model with the new
password (as it will not be updated anyway), but it is done for
consistency with other requests.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-27 17:29:52 +02:00
Daniel Calviño Sánchez f56122ae78 Wait for the server response to set the room as public or private
Until now the model was updated as soon as the checkbox was modified,
which triggered a change event that in turn caused the UI to be updated.
However, if the room could not be successfully set as public or private
nothing was done and the model as well as the UI were kept with the
wrong state (at least, until the model is fetched again). To prevent
this now the model waits for a successful server response to update the
attributes; in case of failure only the checkbox needs to be restored,
as it is the only UI element that changed due to the direct interaction
of the user (in case of success the whole view will be rendered again
due to the room type change, so no need to do anything explicitly in
that case).

As the model is not changed until the successful server response is
received now the checkbox is replaced by a working icon while waiting
for the answer. In a similar way the checkbox is also disabled to
prevent further requests while the previous one is ongoing.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-27 17:29:51 +02:00
Daniel Calviño Sánchez 0e9dc43640 Add volume indicator for the local audio
The volume is shown as a vertical bar next to the audio icon that grows
and shrinks (with a fixed bottom position) depending on the volume
level. The bar is coloured with a gradient from green to yellow to red
for better clarity of the current volume.

The previous way of indicating speech (a pulse animation in the audio
icon) has not been modified; this is an additional visualization (only
for the local audio) to provide a more noticeable feedback to the user.

Both the existing button and the new bar had to be wrapped in a helper
div to include the volume bar in the old layout.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-19 18:10:29 +02:00
Joas Schilling 927458aa13
Merge pull request #1954 from nextcloud/bugfix/noissue/message-date-tooltips-are-not-consistent
Fixed inconsistent date tooltips in messages
2019-07-15 09:05:41 +02:00
Marco Ambrosini 458c8c9f48 Fixed inconsistent date tooltips in messages
The author row was covering the date on the right side of the chat view
and preventing the date tooltip to be triggered by hovering on the date.
This fix makes the author row slightly narrower (which was the same
approach already used when the date is shown next to a message) in
order to expose the date, thus allowing the date tooltip to be shown
properly.

Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-07-12 21:18:45 +02:00
Daniel Calviño Sánchez c2e9cb650e Remove "not" CSS pseudo-class that always matches
The ".systemMessage" class is set on ".comment" elements, but not on
".comments" elements, so ".comments:not(.systemMessage)" is always the
same as ".comments".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-12 21:16:36 +02:00
Joas Schilling c6fee1e557
Merge pull request #1822 from nextcloud/bugfix/1795/contacts-menu-in-participant-list
Use the contacts menu in the participant list
2019-07-12 15:13:04 +02:00
Joas Schilling 8ff2ff04ba
Fix missing left border of contacts popover
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-12 14:43:59 +02:00
Ivan Sein bf8a1de056
Merge pull request #1969 from nextcloud/update-videoview-on-ice-disconnected-failed-with-mcu
Update VideoView on ICE disconnected/failed with MCU
2019-07-11 16:36:07 +02:00
Daniel Calviño Sánchez ac7c311efe Reduce opacity of videos for peers that are not connected
Until now only the opacity of the avatar was reduced when the peer was
not connected. However, if the video was being shown the avatar was
hidden, so if there was an issue with the connection to the other peer
it was not reflected in the VideoView.

Note that the loading icon should be shown too in the video for long
disconnections or failures, but ":after" CSS pseudo classes (which are
used by the loading icon) do not work with video elements, so for now
only the opacity is reduced.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-09 13:29:31 +02:00
Daniel Calviño Sánchez ec8570e355 Reduce opacity of avatars for peers that are not connected
Until now the opacity of the avatar was reduced when the peer was
created until it got connected for the first time. Now the opacity of
the avatar is reduced whenever the peer is not connected. In practice,
the difference is that now the opacity is changed too when there are
issues with the connection to the other peer.

Note that the issues were already signaled using the loading icon, but
only after a long disconnection; now the opacity is reduced as soon as
there is a disconnection, which provides quicker feedback of the issue
while keeping the previous behaviour (as the loading icon is still shown
in a long disconnection).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-09 13:27:15 +02:00
Daniel Calviño Sánchez c28b57c1ed Add trailing " ↗" to external links in chat messages
This is purely a visual hint, so it is added using the ":after"
pseudo class of CSS.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-08 12:29:58 +02:00
Joas Schilling af91ab082b
Merge pull request #1941 from nextcloud/bugfix/1765/sidebar-icons-are-over-the-scrollbar
Prevent sidebar and fullscreen icons from overlapping with the scrollbar (issue 1765)
2019-07-03 11:13:26 +02:00
Joas Schilling fa9454a053
Restrict the CSS rules for the participant list to that list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-02 17:28:59 +02:00
Marco Ambrosini 338c388e18 removed unnecessary padding
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-07-02 16:12:17 +02:00
Marco Ambrosini d5695d3f92 fixed the partially visible popovermenu on last user in the right sidebar
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-07-02 16:09:46 +02:00
Marco Ambrosini 05968824fc
Prevent sidebar and fullscreen icons from overlapping with the scrollbar
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-07-02 14:23:29 +02:00
Joas Schilling a02a48aa80
Fix minor issues and recompile handlebar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-02 14:06:06 +02:00
Marco Ambrosini e94805d8a4
added a caption and improved the radio buttons descriptions
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-07-02 13:54:46 +02:00
Daniel Calviño Sánchez de2039ee5f Fix message dates in public share authentication page
The chat messages are expected to have the full width of its content
row, except for some space used for the date. However, as chat messages
are left padded that padding must be included too in the width;
otherwise there could be no room for the date.

This is only a problem in the public share authentication page, as apps
use by default "box-sizing: border-box" in all its elements.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-06-11 18:19:55 +02:00
Sascha Wiswedel bf28b19c6e Make rename button always visible
Rename buttons for guest participants and rooms should always be visible
(at least with opacity) to make their very existence more obvious.

Before they were always hidden and shown with full opacity when the
cursor was on the label wrapper, even if it was possible to interact
with the button only when the cursor was on it. Now, as the buttons are
always visible with a low opacity, the full opacity is set only when the
cursor is on the button itself and thus when it can be interacted with.

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-05-23 14:14:43 +02:00
Joas Schilling a54b5b688c
Better grouping of chat messages
* timestamp is shown after 5 messages or 30 seconds
* author is shown after 20 messages or 1 hour

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-05-13 13:45:25 +02:00
Daniel Calviño Sánchez 84f48f29ec Fix vertical position of confirm icon in authenticate page
The server explicitly sets the height of confirm icons inside password
inputs, which overrides the height set in Talk for submit inputs in the
authenticate page. Therefore, the height set by the server needs to be
overriden to honour the height set in Talk (which matches the height of
the password input in the authenticate page).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-05-07 10:05:31 +02:00
Daniel Calviño Sánchez 2867624a9c Fix fullscreen structure in IE11
Due to how Internet Explorer 11 sorts CSS rules based on their selector
and how the "#app-content" left margin is set in the server it is
necessary to set the ":fullscreen" rule as important to override the one
from the server, which is sorted above it (unlike in the rest of
browsers).

Besides that, the top space added to the sidebar when IE is used needs
to be removed in fullscreen mode, as in that case there is no header.
The sidebar height also needs to be explicitly set to 100% due to the
lack of support for "unset" in Internet Explorer 11.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-16 17:44:45 +02:00
Daniel Calviño Sánchez 687d685c28 Fix sidebar in IE11
The sidebar top position in Talk is set to 0. However, the server sets
the position of the sidebar as fixed when IE is used, so in that case it
needs to be pulled down to not overlap with the header.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-16 17:44:45 +02:00
Daniel Calviño Sánchez 0964539c27 Adjust room name input to default height for inputs from server
In Nextcloud 16 the default height for input elements, as well as the
confirm icons inside them, is 34px. This caused the room name input to
change its height from 44px to 42px, so it is no longer needed to pull
it up 2px to prevent moving the items below when it is shown. In a
similar way, it also caused the confirm icon to change its height from
42px to 34px; it was misplaced down 1px, so now it is positioned 4px
from the top (instead of 5px to keep the same position as before).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-11 17:09:00 +02:00
Daniel Calviño Sánchez 6e66853512 Remove empty space when the "Add" button is not shown in the sidebar
The "Add" button is shown only for logged in users, so it is not shown
in guest pages. However, when the chat view is shown in the sidebar in a
guest page there was an empty space where the "Add" button would have
been shown for a logged in user. Now the message input stretchs to use
that empty space.

Note that this is only applied when the chat view is in the sidebar;
when the chat view is in the main view the "Add" button is added in the
padding area used to frame the chat view, so in that case the empty
space should be kept.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-10 12:06:37 +02:00
Joas Schilling 9ae63abc09
Merge pull request #1697 from nextcloud/fix-misplaced-chat-view-in-public-share-auth-page
Fix misplaced chat view in public share auth page
2019-04-10 09:15:18 +02:00
Daniel Calviño Sánchez 2c78011e58 Fix misplaced chat view in public share auth page
When the current participant is a logged in user the "Add" button is
shown in the chat view, and due to some arcane CSS magic that button
caused the chat view to be moved to the left (instead of simply
appearing to the right of the message input, wherever that be). The same
arcane CSS magic causes everything to look fine when using the same
approach as in the sidebar of the regular Talk UI, that is, applying a
"margin-right" to the form to make room for the "Add" button, so that
margin is now applied in the public share auth page when needed (that
is, when the user is logged in).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-09 17:56:06 +02:00
Daniel Calviño Sánchez 7b5c0933c1 Fix links style in Talk sidebar in public share auth page
"guest.css" overrides the default style of links set in "style.scss"
(core), which causes links in the public share auth page to be white and
with a stronger weight. Due to this, the rules from "style.scss" need to
be restored for links in the Talk sidebar to get the proper appearance.

Note that, unlike in other restored rules, in this case it is not enough
to use "#talk-sidebar" as the main selector; "#body-login #talk-sidebar"
needs to be used in this case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-09 17:54:02 +02:00
Daniel Calviño Sánchez 838089d489 Fix cursor on selected tab header
The pointer cursor should be used on clickable elements, but clicking on
a selected tab header has no effect, so now the default cursor is used
instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-05 12:41:24 +02:00
Daniel Calviño Sánchez 56b156bd4c Fix ICE failed indicator icon not forced to white in call
Icons paired with the "force-icon-white-in-call" CSS class need to be
explicitly coloured in white; otherwise they are shown with the default
black colour.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-04 09:41:20 +02:00
Joas Schilling 3a57f5f2e7
Merge pull request #1672 from nextcloud/bugfix/noid/add-background-color-to-unread-messages-counter
Add background color to unread messages counter.
2019-04-03 16:59:35 +02:00
Ivan Sein 6f80ad4fdf Add background color to unread messages counter.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2019-04-03 16:09:39 +02:00
Joas Schilling 8e1c523c51
Add "copy link" option to the conversation list dropdown
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-03 14:02:07 +02:00
Joas Schilling f3bf14bb55
Merge pull request #1656 from nextcloud/bugfix/noid/command-interface-finish
Add a description to the commands admin settings
2019-04-02 08:31:33 +02:00
Joas Schilling 79246e1d59
Start changelog implementation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-01 16:00:13 +02:00
Joas Schilling 041b4cf99e
Add a description to the commands admin settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-29 15:51:10 +01:00
Joas Schilling 37474c5325
Disable the chat input and the call button for read-only conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-25 15:17:20 +01:00
Joas Schilling ab1bc74fe1
Allow to disable the warning
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-21 16:28:53 +01:00
Ivan Sein 8b4708a077
Merge pull request #1633 from nextcloud/base-publicshareauth-on-embedded-instead-of-on-application
Base "PublicShareAuth" on "Embedded" instead of on "Application"
2019-03-19 10:59:02 +01:00
Daniel Calviño Sánchez e928527ff4 Hide and show elements by using the "hidden" CSS class
For consistency with the video element, other elements in VideoView are
now hidden and shown using the "hidden" CSS class.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-15 14:08:08 +01:00
John Molakvoæ (skjnldsv) 8b50047a5b
cleanup, rename and fix signaling
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-13 12:46:02 +01:00
John Molakvoæ (skjnldsv) 312c36e982
Commands ui
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-08 14:32:19 +01:00
Daniel Calviño Sánchez 0ae54754b0 Set call related CSS classes in the call container of PublicShareAuth
For legacy reasons the "incall" CSS class, which is used to hide and
show the empty content view and the call container as needed, and the
"screensharing" CSS class, which is used to adjust the call UI when
there are shared screens, were set in the "#talk-sidebar" element of
PublicShareAuth. For consistency with the embedded Talk UI now the
classes are set in the "#call-container" instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-05 13:59:28 +01:00
Joas Schilling fa29ecae13
Merge pull request #1570 from nextcloud/bugfix/1561/multiline-insert-from-websites-in-chrome
Allow multiline text insertion in chrome
2019-02-25 15:22:18 +01:00
Daniel Calviño Sánchez 614bad4481 Adjust vertical position of icons due to "inline-block" message in form
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-21 11:03:48 +01:00
Joas Schilling d7866a7cc5
Allow multiline text insertion in chrome
The div needs to be inline-block, so Chrome/Chromium correctly insert
div-ed multi-line-text with new lines.
Otherwise they are just chained together on posting.

See https://stackoverflow.com/a/24689420
See https://github.com/nextcloud/spreed/issues/1561

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-21 09:52:55 +01:00
Ivan Sein e3531beb60 Fix css for call mentions.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2019-02-20 19:12:24 +01:00
Joas Schilling 58f0bd6d2f
Use call ROS object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 14:44:18 +01:00
Joas Schilling 64ac6950f7
Allow to mention everyone in the conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 14:44:18 +01:00