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

163 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling 84d42604e6
Run cs:fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-12 15:04:42 +02:00
Joas Schilling 21432cdb86
Combine the admin settings into one JS file so we watch less resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-26 12:10:28 +01:00
Joas Schilling fde894a2c4
Don't include sha1 anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-19 14:23:40 +01:00
Joas Schilling 02c35b1cc7
Use CSS and JS from the server so the auth page is automatically fixed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-14 19:09:27 +01:00
Christoph Wurst 2f154e5b3f
Fix invalid index on public call pages
The `TemplateLayout` class only sets `user_uid` if the template is
rendered for a user, error and guest, but not for public pages. Hence
there should be a fallback for when the array index doesn't exist.

Issue discovered by Sentry.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-09 10:40:32 +01:00
Jan-Christoph Borchardt 2419a83fa1
Fix design of firstrunwizard settings page section
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-01-02 20:41:17 +07:00
Joas Schilling a649f269da
Use the same template for both cases
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-13 12:34:14 +01: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 5e9c3400c7 Create Message component
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2019-10-09 10:48:26 +02:00
Joas Schilling 940a9351aa
Allow to limit "Start call" to users and moderators
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-19 14:55:59 +02:00
Joas Schilling 8ee67f13c1
Show "Wrong password" info when the conversation password was wrong
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-19 13:16:19 +02:00
Roeland Jago Douma 1722388f4f
Select2 is in the main dist file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-09 20:36:11 +02:00
Daniel Calviño Sánchez 2f6fe8622e Rename "call" to "conversation" in authenticate page
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-05-07 08:54:48 +02:00
Julius Härtl 5dd9930706
WIP: Add collections frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:43:20 +01:00
Joas Schilling 551ffa5c55
Move signaling server settings to VueJS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-08 14:32:24 +01:00
Joas Schilling d5c9821ff7
Migrate TURN to VueJS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-08 14:32:21 +01:00
Joas Schilling 5355aa9347
remove stun-server2 again 2019-03-08 14:32:20 +01:00
Joas Schilling 2d2feb6fde
Use InitialState for admin settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-05 09:08:16 +01:00
Joas Schilling b2db37ff9e
Add an admin setting to restrict the app to groups
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-01 10:03:05 +01:00
Daniel Calviño Sánchez a8e0b83242 Extract initial state of view for a local participant in a call
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-25 16:13:19 +01:00
Daniel Calviño Sánchez bbad46ee16 Remove unused element
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-25 16:13:19 +01:00
Daniel Calviño Sánchez 055ee3f18e Fix indentation
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-25 16:13:19 +01:00
Joas Schilling c0e34c8729
Start with commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:33 +01:00
Joas Schilling 005342492c
Merge pull request #1485 from nextcloud/bugfix/noid/black-call-icons-in-dark-mode
Fix icons for incall scene when dark mode is enabled
2019-01-30 11:09:25 +01:00
Joas Schilling 339b1dfc05
Fix icons for .incall scene when dark mode is enabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-29 14:48:10 +01:00
Joas Schilling 713828afde Reduce the number of loaded scripts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-29 13:30:39 +01:00
Daniel Calviño Sánchez 8942baf9f3 Add full Handlebars library
In Nextcloud 16 the Handlebars library shipped in the server is no
longer the full Handlebars library, but a trimmed down version that does
not support compiling Handlebars templates at runtime.

Currently Talk still needs to compile Handlebars templates at runtime,
so for the time being the full Handlebars library that was included
before in the server is now included in Talk.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-11 20:02:50 +01:00
Daniel Calviño Sánchez c4c047a3c1 Extract view for media controls
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06 12:08:46 +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
Daniel Calviño Sánchez 76a30595cc Extract view for the main empty content message
The main empty content message is kept in the templates generated by the
server to be able to show something to the user while the rest of the UI
is loading.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-05 10:59:57 +01:00
Daniel Calviño Sánchez 457ca3606b Merge methods to set empty content message when alone in the call
The additional message with the URL of the room is now shown also for
guests; the icon shown to guests is also fixed (now the link icon is
shown instead of the contacts icon, which is the one used for group
rooms).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-05 10:46:09 +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
Ivan Sein 6ed1428e05 Fix wording.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-12-03 15:43:44 +01:00
Ivan Sein bb38d02177 Create specific button to show your screen.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-12-03 12:16:48 +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
Joachim Bauch 2dec057b8f
Add support for sharing fullscreen on Firefox.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-11-29 15:27:33 +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 6ecc31d8bf Extract view for call button
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28 14:36:29 +01:00
Daniel Calviño Sánchez f63ab0355c
Move RichObjectStringParser into the views folder
Although the RichObjectStringParser is not a view as such its
functionality is closedly tied to views, so the views folder is a better
place to live in.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28 12:48:51 +01:00
Daniel Calviño Sánchez 252c53e780
Move ChatView to precompiled Handlebars templates
In Nextcloud 15 the default Content Security Policy disallows unsafe
eval expressions, so Handlebars templates can no longer be compiled at
runtime.

For the time being that default Content Security Policy was lifted for
Talk so "Handlebars.compile" could still be used. However, this only
applies to Talk itself; when using Talk components in other apps they
must abide to the Content Security Policy of those apps. As ChatView is
going to be used in the Files app it has been moved to precompiled
Handlebars templates (which are still compatible with the regular Talk
UI).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28 12:48:51 +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
Roeland Jago Douma 403ef12330 Move admin templates to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-16 10:34:18 +02:00
Joas Schilling 016dfd9d72 Display the participant panel for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-04 01:13:28 +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 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
Marius Blüm a8db5e8ead
Change <h3> to <h2> in admin-settings
Signed-off-by: Marius Blüm <marius@lineone.io>
2018-08-18 22:08:32 +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
Julius Härtl 9a31627cff
Make shared secret translatable again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-02 10:22:34 +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