Commit graph

36 commits

Author SHA1 Message Date
Grigorii K. Shartsev
1bfe691cb0
build(frontend): bundle icons
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-09-08 12:29:39 +02:00
Grigorii K. Shartsev
b72c8e18e1
build: extract CSS
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-09-08 12:14:20 +02:00
Joas Schilling
c8c21215af
fix: Add Override atttribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-25 21:09:46 +01:00
Joas Schilling
1ccbf67da2
chore: Run SPDX convertor
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-26 13:02:15 +02:00
Joas Schilling
14d8bac743
fix(attachments): Don't allow selecting shared folders as attachment folder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-22 14:10:53 +01:00
Joas Schilling
b6a662b5f0
fix(events): Migrate files integration to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 10:42:49 +01:00
Joas Schilling
609bcc3f54
fix(events): Migrate files sidebar integration to registerEventListener()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-27 17:15:08 +02:00
Hamid Dehnavi
6c1479f5e5 Use PHP8's constructor property promotion
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-07 21:50:12 +03:30
Joas Schilling
6d4189348a
feat(initial-state): Add own user groups to initial state
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-03 20:02:58 +02:00
Joas Schilling
c1970caef4
chore(CS): Unify construct() calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 14:28:41 +02:00
Joas Schilling
f3ff4a8820
automated: Apply CS fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 13:17:49 +02:00
Grigorii Shartsev
2c88576f55 fix: remove import of deleted At.css
Signed-off-by: Grigorii Shartsev <grigorii.shartsev@nextcloud.com>
2023-02-22 09:55:17 +01:00
Joas Schilling
578b67944f
Don't break the maps app with talks files sidebar
Unsure why, but for now it might be easier to just disable it

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24 07:25:28 +01:00
Joas Schilling
63bd1f4673
Specify template event class
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-12 09:45:57 +01:00
Daniel Calviño Sánchez
828aac8982 Do not show Talk sidebar in Files app if Talk is disabled for the user
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-10-27 03:13:40 +02:00
Joas Schilling
6b00177540
Transform conversation icons to CSS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-12 15:50:36 +02:00
Joas Schilling
d4519ebe55
Move At.scss to At.css
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-12 12:18:57 +02:00
Vitor Mattos
c07251f0c6
Use PHP7.4 property typehinting where possible
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-06 12:43:03 -03:00
Joas Schilling
91cad65d0e
Initial state service is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-21 11:47:31 +01:00
Daniel Calviño Sánchez
2992f7a666 Fix isolated modules in Files app sidebar
"mainFilesSidebar.js" and "mainFilesSidebarLoader.js" were both bundled
in separate files, and both files were loaded on their own. Due to this
each loaded file had its own instance of the JavaScript modules instead
of using a shared one, which for example caused conversations to not be
properly left when the sidebar of a folder was opened. Now both files
are bundled in a single file, so all the elements act on the same shared
state.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-20 17:23: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
397bbd5500 Generalize names to encompass both the chat tab and the call view
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-09 21:45:22 +01:00
Daniel Calviño Sánchez
ca03cff331 Unify new LoadSidebarListener with previous TemplateLoader
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-18 11:50:23 +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
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
Joas Schilling
d4fc586f1a
Bye Spreed, hello Talk!
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-05 14:29:09 +02:00
Joas Schilling
57d04a562e
Do not load unnecessary classes in Application
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-14 08:50:37 +01:00
Joas Schilling
fb90a74231
Make all classes strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-12 16:07:59 +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
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
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
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