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

11 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling 91cad65d0e
Initial state service is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-21 11:47:31 +01:00
Joas Schilling 79a97a9db2
Use new BeforeTemplateRenderedEvent for share template loading
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-16 11:36:35 +02:00
Joas Schilling 84d42604e6
Run cs:fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-12 15:04:42 +02:00
Joas Schilling bbcb75c589
Require a distributed MemCache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-12 10:40:20 +02:00
Joas Schilling 9ea0f5bcfa
Create the initialState in a single location
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-27 22:49:15 +02:00
Daniel Calviño Sánchez 51e0ed85d0 Fix missing element for Chromium screensharing extension
In Chromium < 72 an extension is needed to share the screen
(https://github.com/nextcloud/spreed-screensharing-chrome-extension).
Once installed, the extension enables itself only in those pages that
contain an element with id "app" and class
"nc-enable-screensharing-extension" when the document is loaded.

As the element can not be added after the document has loaded and the
screen sharing should work also when Talk is enabled in other apps a
(hacky and very likely not compliant) meta element is added in the
header element to be found by the extension whenever Talk is used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-04-06 21:05:39 +02:00
Daniel Calviño Sánchez aae3c5be24 Add dummy Talk sidebar to public share page
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-16 18:33:38 +01:00
Joas Schilling 0e1d2b39b9
Typed events for Talk
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-04 08:36:59 +01:00
Daniel Calviño Sánchez 645c721581 Do not load Talk sidebar in public share page of folder shares
The Talk sidebar is only shown for file shares, so there is no need to
load it for folder shares. Moreover, this also prevents some of the
hacks used to show the Talk sidebar to mess with the layout used for
folders.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-22 13:15:17 +02:00
Joas Schilling 5ab5ff47b8
Add a setting to disable files and public sharing integration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-21 15:12:19 +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