Commit Graph

1224 Commits

Author SHA1 Message Date
Ramón Souza
323e8b73e6 lock public chat - frontend 2024-09-09 10:59:28 -03:00
João Victor
a216f8d84c refactor: Purge props of some containers (Activity Check, Notification Bar, Webcam and Chat Alert 2024-08-29 10:09:53 -03:00
André Castro
8b117ca301
Fix: Emoji picker re-opening by clicking the button to close (#21034) 2024-08-29 08:46:18 -03:00
André Castro
592fe6d627
Fix: Emoji window dislocating chat input area (#21047) 2024-08-29 08:38:22 -03:00
Gustavo Trott
af06562e02 Introduce flag currentlyInMeeting (replacing isOnline) 2024-08-28 11:08:30 -03:00
Átila
09f565d0ef
fix(darkmode): fix avatar username color in chat when dark mode is enabled (#20999) 2024-08-22 15:01:35 -03:00
Guilherme Leme
137af4e421 [fix-dom-element-manipulation] fix user-camera-dom-element-manipulation hook, refactored several hooks and added onclick event in dropdown 2024-08-20 10:42:05 -03:00
André Castro
39dba53dec
Fix: Emoji picker not closing when clicking outside (#20910)
* Fix: Emoji picker not closing when clicking outside
2024-08-14 13:54:41 -04:00
Ramón Souza
32f42163fa
fix(client): add doctype + remove extra styles (#20911) 2024-08-12 17:36:41 -04:00
Tainan Felipe
4d6f4b3ded
Refactor: Make bundle using webpack (#20811)
* Refactor: Make bundle using webpack

* Fix: restore after install codes and a few settings

* Fix: build script folder permission

* Refactor: Remove support to async import on audio bridges

* Upgrade npm using nvm

* Avoid questions on npm ci execution

* Let npm ci install dev dependencies (as we need the build tools here)

* Fix: enconding

* Fix: old lock files

* Remove: bbb-config dependency to bbb-html5 service, bbb-html5 isn't a service anymore

* Fix: TS errors

* Fix: eslint

* Fix: chat styles

* npm install with "lockfileVersion": 3 (newer npm)

* build: allow nodejs 22

* node 22; drop meteor from CI and bbb-conf

* TEMP: use bbb-install without mongo but with node 22 and newer image

* build: relax nodejs condition to not trip 22.6

* build: ensure dir /usr/share/bigbluebutton/nginx exists

* init sites-available/bbb; drop disable-transparent-

* nginx complaining of missing file and ;

* TMP: print status of services

* WIP: tweak nginx location to debug

* Fix: webcam widgets alignments

* akka-apps -- update location of settings.yml

* build: add locales path for nginx

* docs and config changes for removal of meteor

* Fix: build encoding and locales enpoint folder path

* build: set wss url for media

* Add: Enable minimizer and modify to Terser

* Fix: TS errors

---------

Co-authored-by: Tiago Jacobs <tiago.jacobs@gmail.com>
Co-authored-by: Anton Georgiev <anto.georgiev@gmail.com>
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-08-09 13:58:44 -04:00
Arthur B. Grossi
d2132484b4
feat(plugins): server command send chat message (#20781)
* feat(plugins): add chat server command and chat message type `plugin`

This commit adds the required code for the plugins SDK's chat server
command `CHAT_SEND_MESSAGE`, which allows plugins to send chat
messages. Messages sent by plugins are identified by the message
type `plugin` and belong to the user (senderID) of the client that
sent it. Plugin messages are not displayed by the client itself because
these messages are meant to be custom-rendered by plugins, typically by
the plugin that sent them.

* feat(plugins): add message metadata

Plugin name and plugin custom metadata are stored in message's metadata,
so plugins need it to identify messages when applying custom render.

* feat(chat): removes specific code for plugin messages

Removes specific akka messages, handlers and routes for plugin messages
and adds metadata parameter in `GroupChatMsgFromUser`.

* feat(chat): adds option parameter to mutation

Adds optional parameter `metadata` to the already existing mutation
`chatSendMessage` and use this mutation for plugin chat server command.

* feat(chat): rendering of plugin messages

This commit implements the correct rendering of plugin messages, which
is:
- Plugin messages with metadata attribute `custom` set to true are not
  rendered by the client, and are meant to be custom-rendered by
  plugins.
- Plugin messages with metadata attribute `custom` set to false are
  rendered by the client as being sent by the user that triggered it.

* Update sdk version to v0.0.56

* update sdk version to v0.0.57
2024-08-07 15:59:30 -04:00
Ramón Souza
d3406a2e93
refactor: remove instanceId from client (#20850) 2024-08-02 14:10:39 -04:00
André Möller
174b09e86a later changes 2024-08-01 11:59:27 -03:00
André Möller
c6b1ac6c6b Fix: Unable to focus chat when double clicking it 2024-07-31 14:02:43 -03:00
Arthur B. Grossi
291809bff0
feat(private-chat): message read confirmation feedback (#20722)
* feat(graphql-server): add new view `v_chat_private_read_feedback`

Adds a view called `v_chat_private_read_feedback` to retrieve the last seen time
of the recipient of a private chat.

* refactor(chat): removes unused prop `lastSeenAt`

* feat(private-chat): message read confirmation feedback

Adds message read confirmation feedback feature to private chats.
This feature uses the private chat recipient's `lastSeenAt' attribute to
check which messages were read. Messages read are show in the chat with
a check icon next to it.
Feature behind a flag in settings.yml, which is disabled by default:
- `public.chat.privateMessageReadFeedback.enabled`

* fix(chat): poll chart message

Fixes poll chart message which was not using the full chat width due to
previous changes in chat messages `flex-direction`.

* fix: adds missing initial value for `privateMessageReadFeedback`

* fix: linter errors

* fix(chat): add `recipientHasSeen` property to existing view

This commit changes the way the messages read by the recipient are
tracked. The previous strategy required the client to calculate the read
messages and as a consequence all messages of the given chat
were re-rendered every time the recipient `lastSeenAt` time
changed. The current strategy consists of calculating the read messages
on the server(based on recipient `lastSeenAt`) and just expose to the
client a boolean(`recipientHasSeen`) for each message that indicates whether
it has already been read or not.

* fix: typo in message description

* fix: typo in settings flag

* fix: vertically align icon
2024-07-22 12:01:24 -04:00
Gustavo Trott
134b207f94
refactor: Remove Hasura database-updates and move them to Gql-Actions (#20634) 2024-07-04 17:00:06 -03:00
André Castro
ecb08592f2
Fix: Message to all style not matching 2.7 (#20631)
* Fix: Message to all style not matching 2.7

* Update component.tsx
2024-07-03 19:34:58 -04:00
André Castro
d7569ddfe2
Fix: Chat input double enter key putting presenter into full screen (#20553)
* Fix: Chat input double enter key putting presenter into full screen

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-07-02 16:44:47 -03:00
Ramón Souza
96085110a5
refactor: fix sonarcloud alerts (#20604)
* remove unused argument

* fix Do not use "Error" to declare a variable

* fix Do not use "Array" to declare a parameter

* fix React component names must start with an uppercase letter

* adjust error boundary prop type

* add default values for lock settings
2024-06-28 15:58:38 -04:00
João Victor
5207383b93 Merge branch 'v3.0.x-release' into remove-mongo-adapters 2024-06-14 15:58:23 -03:00
João Victor
78958ccf45 Remove meeting adapter consumption 2024-06-14 10:30:48 -03:00
André Möller
c446f76eaf Fix: Focus on text input is lost after sending the message 2024-06-12 10:50:12 -03:00
Ramón Souza
911f663e27 remove defaultProps from components 2024-06-11 13:10:04 -03:00
Ramón Souza
39d383c9e3
Merge pull request #20456 from ramonlsouza/user-current-improvements
user_current subscription improvements
2024-06-11 08:57:02 -03:00
KDSBrowne
3bfdeb9cfd
feat(whiteboard): Reuse poll result diagram as a whiteboard shape (#20350)
* create poll shape to render chat poll component
2024-06-10 17:12:40 -04:00
Ramón Souza
591d2c7674 query welcome message instead of getting it from current user sub 2024-06-10 11:10:28 -03:00
Gustavo Trott
81d30480bd
feature: Introduces API /sendChatMessage endpoint (#20323)
* feature: Introduces API /sendChatMessage endpoint

* only allow GET requests for sendChatMessage

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-06-06 15:49:52 -04:00
Tainan Felipe
3bc40df230
Add: useDeduplicatedSubscription hook (#20376)
* Add: useDeduplicatedSubscription hook

* Fix: TS error

* Add: components using useDeduplicatedSubscription

* Change: Move to useDeduplicatedSubscription

* Change: unsubscribe logic to own useEffect

* Change: remove file import over package

* Fix: TS errors

* Fix: private chat not loading

* Change: revert changes on queries

* Fix: eslint error

* Remove: html-webpack-plugin package

* Fix: external video

* Add: comment about the stringToHash function

* Fix: video player showing tools over presentation
2024-06-04 10:40:54 -03:00
Ramón Souza
7514066fc3
fix: Client can't load in certain cases (#20336)
* move settings

* remove meteor cache files
2024-05-29 09:26:11 -04:00
Gustavo Trott
b88854835c
Handling Validations and Error Reporting in bbb-graphql-actions (was in Hasura) (#20308) 2024-05-21 16:11:17 -03:00
Ramón Souza
3a015e1e99
Merge pull request #20203 from JoVictorNunes/chat-dropdown-skeleton
fix(chat): add loaders for dynamic menu items
2024-05-20 15:44:38 -03:00
João Victor
77a5e1277b fix(chat): avoid console warnings 2024-05-20 11:09:01 -03:00
Gustavo Trott
e8bfdf7043 fix linter errors 2024-05-15 08:45:37 -03:00
Gustavo Trott
65d22e3b93 rename modOnlyMessage to welcomeMsgForModerators and delete welcomeMsgTemplate 2024-05-14 09:40:51 -03:00
João Victor
c3da6cad8b fix(chat): use data from core hooks 2024-05-09 15:20:24 -03:00
João Victor
b363615ca4 fix(chat): add loaders for dynamic menu items 2024-05-09 09:59:29 -03:00
Ramón Souza
699c056709 add names to queries 2024-05-07 13:26:56 -03:00
Ramón Souza
e0c8c0d933 remove chat error when a message is sent 2024-05-02 10:49:06 -03:00
Tainan Felipe
5070d26c90 Merge remote-tracking branch 'upstream/v3.0.x-release' into code-removal 2024-05-01 09:58:01 -03:00
Tainan Felipe
e4a23feda3 Remove: old code from notes, pads and meeting ended 2024-05-01 09:39:03 -03:00
Ramón Souza
9b6e1e3ddd fix dependency array in memo 2024-04-30 16:34:16 -03:00
Ramón Souza
c08c83e9e4 fix throttle in user typing mutation 2024-04-30 10:18:44 -03:00
André
11bbec1392 Changes on regex 2024-04-25 10:21:25 -03:00
André
d8f6bb5327 Data: Data needed for plugins 2024-04-24 18:58:36 -03:00
André
c6427fdfc7 Client: Drop the accessibility warning for downloadable slides with annotation 2024-04-16 10:18:30 -03:00
João Victor
7aa4a40c61 improvement: use React context to store current user data 2024-04-04 10:13:27 -03:00
Ramón Souza
c22806aafc
Merge pull request #19911 from JoVictorNunes/issue-19865
fix(chat): audio alert playing incorrectly
2024-03-28 10:46:06 -03:00
João Victor
9b7fbd9d57 fix(chat): audio alert playing incorrectly 2024-03-27 10:22:20 -03:00
Tainan Felipe
f3465827dd
Migrate meeting collection to graphql (#19853) 2024-03-26 08:57:28 -03:00
Ramón Souza
3491052636
Merge pull request #19832 from JoVictorNunes/fix-chat-scroll-0315
fix(chat): chat scroll not sticking to the bottom
2024-03-25 16:39:41 -03:00
Ramón Souza
788cf799f7
refactor: make bbb client work without meteor service (partial) (#19869) 2024-03-21 16:41:32 -03:00
João Victor
c9b3405890 Merge branch 'v3.0.x-release' into fix-chat-scroll-0315 2024-03-18 17:57:12 -03:00
Anton Georgiev
ef300cf28e
chore: Fix typo (found by typos) (port) #19834
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2024-03-18 09:58:53 -04:00
João Victor
9bba0ae822 fix(chat): remove unused variable 2024-03-18 10:15:04 -03:00
João Victor
817353df02 fix(chat): chat scroll not sticking to the bottom 2024-03-18 09:59:05 -03:00
Ramón Souza
25c75de727
improve chat link regex (#19795) 2024-03-14 15:49:40 -03:00
Ramón Souza
1983addf49
Merge pull request #19790 from Scroody/fix-poll-translation-in-chat
Fix: Polls answers in chat have no translation
2024-03-14 13:41:05 -03:00
André
79c147505d Fix: Polls answers in chat have no translation 2024-03-13 13:44:57 -03:00
Ramón Souza
262a084311
Update bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/component.tsx 2024-03-11 14:14:34 -03:00
André
e4c9d5d19e Fix: Messages from the previous tab's chat items are been carried on the chat tab switch 2024-03-11 13:37:49 -03:00
André Castro
58a0efe708
Migrate auth and settings to graphQL (#19507) 2024-03-06 14:28:18 -03:00
Ramón Souza
cedddf8e2c
Merge pull request #19724 from ramonlsouza/issue-19168
fix: user away message on chat export
2024-03-04 11:28:21 -03:00
Ramón Souza
1647529b73
Merge pull request #19698 from ramonlsouza/combine-chat-poll-responses
fix(chat): combine chat poll responses
2024-03-04 08:00:47 -03:00
Ramón Souza
3407e19e0a restore user away on chat export 2024-03-01 15:56:56 -03:00
Ramón Souza
aa5ca062f9 combine chat poll responses 2024-02-28 10:31:47 -03:00
Ramón Souza
8dd6695071 restore poll results icon - chat 2024-02-28 08:54:35 -03:00
Guilherme Pereira Leme
d7d5165eb1
feat(plugins): migrate ui-events to ui-data-hooks (#19669) 2024-02-27 20:25:11 -03:00
João Victor
7e04467558 fix(chat): track message history in order to not show notifications more than once 2024-02-27 09:07:42 -03:00
João Victor
a76a997bb9 fix(chat): rename style file 2024-02-23 15:40:26 -03:00
João Victor
20f97dac1a fix(chat): remove unused code 2024-02-23 15:36:19 -03:00
João Victor
0190cdcdbb fix(chat): better variable naming 2024-02-23 15:35:16 -03:00
João Victor
1093770692 fix(chat): audio and popup alerts 2024-02-23 15:14:12 -03:00
Ramón Souza
4e0ea2f6ec fix eslint errors 2024-02-22 16:34:32 -03:00
Ramón Souza
095161eb46 follow up chat panel styles 2024-02-22 16:19:50 -03:00
Ramón Souza
41aae7b256 adjust sidebar content styles 2024-02-16 13:32:27 -03:00
Ramón Souza
34db626655
Merge pull request #19555 from JoVictorNunes/issue-19543
fix: follow chat tail
2024-02-14 16:00:01 -03:00
Ramón Souza
ab00400f53
Merge pull request #19614 from Scroody/fix-poll-chat-results
Fix: Poll results in chat showing the wrong graphic
2024-02-13 13:29:46 -03:00
Ramón Souza
fd9615e1b8
Merge pull request #19541 from Scroody/i-19517
Client: Presentation's chat upload message
2024-02-13 13:19:17 -03:00
André
b316b4342b Additional changes to downloaded name 2024-02-13 11:44:17 -03:00
André
1f4ac0bde8 Add changes 2024-02-13 10:40:58 -03:00
André
2c0e6c00af Fix: Poll results in chat showing the wrong graphic 2024-02-09 11:38:12 -03:00
Ramón Souza
f3c4c867f1 restore poll results on chat export 2024-02-09 10:10:08 -03:00
André
5ee90c9f76 requested changes 2024-02-08 15:51:21 -03:00
André
f7b73c480b Merge branch 'i-19517' of github.com:Scroody/bigbluebutton into i-19517 2024-02-08 15:12:25 -03:00
André
04105619d4 Time and style changes 2024-02-07 15:56:58 -03:00
André
21d45e7484 merge 2024-02-07 13:37:20 -03:00
André Castro
5dd21277ef
Update component.tsx 2024-02-07 13:09:06 -03:00
André
d56997189e Merge branch 'i-19517' of github.com:Scroody/bigbluebutton into i-19517 2024-02-07 13:01:18 -03:00
André
516e2a7260 Merge remote-tracking branch 'upstream/v3.0.x-release' into i-19517 2024-02-07 12:54:40 -03:00
danielpetri1
35fe69a8db Remove dead code 2024-02-06 15:41:02 +01:00
André
eeeaca7fc5 Requested changes 2024-02-06 10:45:23 -03:00
André
0715337257 Variable name swapping and requested changes 2024-02-05 11:18:31 -03:00
Ramón Souza
11ef341aca allow empty typed poll to be published 2024-02-02 13:55:28 -03:00
André
5047d75245 WIP 2024-02-01 16:46:15 -03:00
João Victor
28f2a428c4 fix: follow chat tail 2024-01-31 18:09:36 -03:00
André
17fc25c4ad Client: Presentation's chat upload message 2024-01-30 11:26:36 -03:00
Ramón Souza
2dc0daabdb
Merge pull request #19514 from Scroody/chat-system-msg
Client: System message style
2024-01-29 17:19:22 -03:00
André
ad8f6bee00 More requested changes made and TS error solving 2024-01-29 16:08:19 -03:00
André Castro
034df4cd19
Update component.tsx 2024-01-29 15:02:35 -03:00
André Castro
fb7ac6b5ae
Clear chat message 2024-01-29 14:55:25 -03:00