Commit Graph

2950 Commits

Author SHA1 Message Date
Ramón Souza
1c26a85981 migrate muteAllToggle/muteAllExceptPresenterToggle actions 2024-01-11 11:59:14 -03:00
Ramón Souza
3e73ca9422 migrate toggleLockSettings action 2024-01-11 10:57:51 -03:00
Ramón Souza
8f30fa04d2 migrate changeLayout action 2024-01-11 10:33:25 -03:00
Ramón Souza
b7f20f2187 migrate setPushLayout action 2024-01-11 09:41:08 -03:00
Ramón Souza
b19202589c Merge remote-tracking branch 'upstream/v3.0.x-release' into migrate-moderator-actions 2024-01-10 17:01:43 -03:00
Ramón Souza
841132b572 migrate toggleRecording action 2024-01-10 16:23:49 -03:00
Ramón Souza
e304387206
Merge pull request #19344 from ramonlsouza/migrate-chat-actions
refactor: migrate chat actions
2024-01-10 15:55:39 -03:00
Ramón Souza
33d5d29966 migrate ejectUserCameras action 2024-01-10 15:20:37 -03:00
Ramón Souza
3675919514 migrate endMeeting action 2024-01-10 11:07:42 -03:00
Ramón Souza
5c428f257d migrate setPrivateGuestLobbyMessage action 2024-01-10 10:21:48 -03:00
Ramón Souza
f557218d7e migrate setGuestLobbyMessage action 2024-01-10 10:05:14 -03:00
Ramón Souza
a5ede6429c migrate allowPendingUsers action 2024-01-10 09:39:28 -03:00
Ramón Souza
326a4a06b2 migrate changeGuestPolicy action 2024-01-10 09:07:38 -03:00
Ramón Souza
787d73cc03 remove destroyGroupChat meteor call 2023-12-15 17:02:55 -03:00
Ramón Souza
ba5445e236 migrate createGroupChat meteor call 2023-12-15 15:08:48 -03:00
Ramón Souza
4c07742ec1
refactor: migrate presentation actions (#19329) 2023-12-15 14:39:12 -03:00
Ramón Souza
17127210c7 migrate startUserTyping meteor call 2023-12-15 10:31:11 -03:00
Ramón Souza
95170a8376 migrate clearPublicChatHistory meteor call 2023-12-15 09:45:23 -03:00
Ramón Souza
f3cbf568c2 Merge remote-tracking branch 'upstream/v3.0.x-release' into remove-guest-users-server 2023-12-14 09:06:52 -03:00
Gustavo Trott
780b496ba1
Merge pull request #19328 from gustavotrott/guest-wait-graphql
refactor: Refactor guest-wait page to fetch data from Hasura
2023-12-13 17:38:11 -03:00
Ramón Souza
801f2693b9
Merge pull request #19296 from ramonlsouza/migrate-user-actions
refactor: migrate user actions
2023-12-13 16:21:48 -03:00
Gustavo Trott
d5ea98ec12 Make guest-wait page fetch data from Hasura 2023-12-12 17:42:44 -03:00
Ramón Souza
5463f8ff73 migrate createPoll meteor call 2023-12-11 10:31:13 -03:00
Ramón Souza
4806e00192 migrate stopPoll meteor call 2023-12-08 17:24:57 -03:00
Ramón Souza
286da931b3 migrate publishVote meteor call 2023-12-08 16:22:52 -03:00
Ramón Souza
0ef2e8afea migrate publishTypedVote meteor call 2023-12-08 15:51:41 -03:00
Ramón Souza
573fa99bcd migrate publishPoll meteor call 2023-12-08 15:29:05 -03:00
Ramón Souza
80f2051390 Merge remote-tracking branch 'upstream/v3.0.x-release' into remove-guest-users-server 2023-12-08 10:47:51 -03:00
Ramón Souza
b703bc02fb Merge remote-tracking branch 'upstream/v3.0.x-release' into migrate-user-actions 2023-12-07 17:04:31 -03:00
Ramón Souza
c93f06a44f migrate userLeftMeeting meteor call 2023-12-07 16:40:32 -03:00
Ramón Souza
e0c987c34f migrate setRandomUser meteor call 2023-12-07 16:31:47 -03:00
Ramón Souza
1dbea49730 migrate setSpeechLocale meteor call 2023-12-07 16:23:36 -03:00
Ramón Souza
b9d4841b26 migrate setExitReason meteor call 2023-12-07 15:37:04 -03:00
Anton Georgiev
bef0d45e80
Merge pull request #19289 from ramonlsouza/migrate-connection-status
refactor: migrate connection status to use graphql
2023-12-07 12:29:46 -05:00
Ramón Souza
ce5bb3aaf5 migrate clearAllUsersReaction meteor call 2023-12-07 11:24:17 -03:00
Ramón Souza
aa882fc1e5 migrate clearAllUsersEmoji meteor call 2023-12-07 11:18:33 -03:00
Ramón Souza
3d2c9394ab migrate toggleUserLock meteor call 2023-12-07 11:06:55 -03:00
Ramón Souza
ff764d6d8f migrate setUserReaction meteor call 2023-12-07 10:57:21 -03:00
Ramón Souza
9ccc713543 migrate setEmojiStatus meteor call 2023-12-07 10:45:13 -03:00
Ramón Souza
0f046de941 migrate assignPresenter meteor call 2023-12-07 10:02:13 -03:00
Ramón Souza
e6af8390a3 migrate removeUser and userEjectFromVoice meteor calls 2023-12-07 09:33:15 -03:00
Ramón Souza
30d82d62fe migrate setMobileUser meteor call 2023-12-06 16:57:31 -03:00
Ramón Souza
0a6e75a14a Merge remote-tracking branch 'upstream/v3.0.x-release' into migrate-user-actions 2023-12-06 16:32:52 -03:00
Ramón Souza
be300d37d2 migrate changeRaiseHand meteor call 2023-12-06 16:30:30 -03:00
Ramón Souza
cb1d20a8ea migrate changePin meteor call 2023-12-06 16:00:46 -03:00
Ramón Souza
a74dd7f727 migrate changeRole meteor call 2023-12-06 15:17:16 -03:00
Ramón Souza
78fff583fd remove connection-status collection 2023-12-05 17:33:53 -03:00
Anton Barboza de Sá
3f7d149fe7
Merge pull request #19259 from ramonlsouza/current-user-refactor
refactor: remove current-user collection
2023-12-05 15:04:02 -03:00
Ramón Souza
68b9cd0b25 migrate changeAway meteor call 2023-12-04 15:59:16 -03:00
Gustavo Trott
4af6986161
Merge pull request #19267 from gustavotrott/graphql-actions-user
graphql-actions: User actions
2023-12-04 09:53:36 -03:00
Gustavo Trott
540c35ed03 Remove unnecessary fields for AssignPresenterReqMsg 2023-12-01 17:12:36 -03:00
Ramón Souza
432b1b85be remove current-user collection 2023-11-30 15:20:12 +01:00
Ramón Souza
761d42cbcf remove external-video-meetings collection and related files 2023-11-29 14:22:59 +01:00
Ramón Souza
9a8638b3ff remove guestUsers collection and related files 2023-11-29 12:55:53 +01:00
Ramón Souza
067144bf86
refactor: remove unused chat code (#19215) 2023-11-28 11:18:56 -03:00
André
e24ac4094e Merge remote-tracking branch 'upstream/v3.0.x-release' into issue-12614 2023-11-27 14:41:23 -03:00
Ramón Souza
3f0cc21abc remove presentations collection 2023-11-23 10:04:01 -03:00
Ramón Souza
8eb49a0887 feat: leave meeting button 2023-11-20 13:30:07 -03:00
Ramón Souza
d2512ef4fb remove remaining files 2023-11-14 10:18:19 -03:00
Ramón Souza
ab26ca09b7 remove unused presentation / presentation pods collections code 2023-11-14 09:37:28 -03:00
Ramón Souza
3045575aab remove unused slides collection code 2023-11-13 17:27:08 -03:00
Ramón Souza
e29f3b63a0 remove unused annotations code 2023-11-13 16:42:22 -03:00
Ramón Souza
925a3fa979
Merge pull request #18928 from ramonlsouza/pres-graphql
get whiteboard and cursor data from graphql
2023-11-10 17:06:08 -03:00
Gustavo Trott
6a10a27f2a
graphql: Provide Upload Token through Graphql (#19081)
* Provide Upload Token through Graphql

* Remove wrong file

* Rename type to pres_presentation_uploadToken

* Implements graphql-action to request an upload token
2023-11-07 13:47:44 -03:00
Ramón Souza
1919fe06be Merge remote-tracking branch 'upstream/v3.0.x-release' into pres-graphql 2023-11-02 08:55:55 -03:00
Gustavo Trott
fb224428e4 refactor update Presentations on Hasura 2023-10-27 17:29:36 -03:00
Ramón Souza
ef84eb0e57 Merge remote-tracking branch 'upstream/v3.0.x-release' into pres-graphql 2023-10-25 13:50:25 -03:00
Ramón Souza
fed221f48d fix markdown links 2023-10-24 09:00:52 -03:00
Ramón Souza
14fded82ed remove annotation stream listener - meteor 2023-10-17 10:36:26 -03:00
Ramón Souza
04248475a4 remove cursor stream listener - meteor 2023-10-12 13:30:39 -03:00
Guilherme Pereira Leme
4ef078ccf5
feature: Override client settings through API /create call (#18782)
* akka-with-client-configs

* [akka-with-client-configs] -  inserted client configs in akka

* [issue-18588-create-override] - WIP

* [akka-with-client-configs] - Remove unnecessary code

* [issue-18588] - test some thesis

* [akka-with-client-configs] - refactor to add jackson and immutable.Map

* [issue-18588-create-override] - new architecture for overriding client configs]

* [issue-18588-create-override] - implemented settings

* Refactor on clientSettingsOverride module and add allowOverrideClientSettingsOnCreateCall conf

---------

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2023-10-10 21:00:20 -03:00
Tainan Felipe
f05cfd0cf8
Refactor: migrate waitingUserPanel to TS and graphql (#18677)
* Refactor: migrate waitingUserPanel to TS and graphql

* Small code improvements

* Fix: allow everyone aren't working

* Fix: add a condition for edge cases

* Make the remember choice works well

* Fix TS and eslint errors

* Change eslint

* Change eslint
2023-10-06 14:12:42 -03:00
Tiago Jacobs
02a3fcd8ed
feat(graphql): implement GraphQL actions adapter and Migrate sendGroupChatMsg to GraphQL Mutation (#18867) 2023-09-29 20:08:38 -03:00
Gustavo Trott
5eb04aab91 Resolve conflicts 2023-08-30 15:31:32 -03:00
Ramón Souza
831ab6beb5 disable images 2023-08-23 14:33:03 -03:00
Ramón Souza
c49a59f92d auto replace image links with images 2023-08-23 13:19:54 -03:00
Ramón Souza
ae9baeebb8 update regex 2023-08-23 09:32:04 -03:00
GuiLeme
b09e01518f Merge remote-tracking branch 'upstream/v2.7.x-release' into issue-18449 2023-08-22 11:02:40 -03:00
Ramón Souza
f3cf414330 Merge remote-tracking branch 'upstream/develop' into issue-18594 2023-08-21 17:14:08 -03:00
Anton Georgiev
91b30a021e
Merge pull request #18591 from ramonlsouza/fix-parse-chat
Fix: handling of chat messages
2023-08-21 13:00:45 -04:00
Ramón Souza
2d81936a57 fix new lines and links 2023-08-21 13:39:23 -03:00
Ramón Souza
39c5954614 markdown chat messages 2023-08-21 10:06:07 -03:00
Gustavo Trott
5a82b4e119
Merge pull request #18540 from paultrudel/remove-add-slide-positions-msg
refactor: Remove unnecessary addSlidePositionsPubMsg
2023-08-18 15:11:14 -03:00
GuiLeme
cf472511fc [issue-18449] - changes in review 2023-08-18 10:57:50 -03:00
Ramón Souza
1b64bc0220 fix chat parsing 2023-08-18 10:29:19 -03:00
Gustavo Trott
d018fd6490 Resolve conflicts 2023-08-16 16:24:34 -03:00
GuiLeme
3761fc333b [plugin-architecture-implementation] - fix for disable downloadable 2023-08-16 11:18:51 -03:00
GuiLeme
08f1b5832d [issue-18449] - changes in review 2023-08-15 10:30:17 -03:00
Paul Trudel
e615233ae8 Removed addSlidePositionsPubMsg 2023-08-11 18:11:18 +00:00
GuiLeme
a1746da6fe [issue-18449] - added possibility of download original presentation with original format 2023-08-10 12:18:59 -03:00
Ramón Souza
866c40f84f Merge remote-tracking branch 'upstream/v2.6.x-release' into 2627-aug10 2023-08-10 11:49:01 -03:00
prlanzarin
b8a1b881c5 fix(audio): clear connection timeout on autoplay failures
If the autoplay block is triggered in listen only, the connection timer
keeps ticking even if the user correctly accepts the audio play prompt.
That causes an audio re-connect once the timeout expires.

Clear the connection timer if the audio bridge starts with
NotAllowedError as a soft error. For connection purposes, the audio join
procedure worked. The autoplay thing is at the UI/UX level, not WebRTC.
2023-08-09 11:09:27 -03:00
Gustavo Trott
eaf86b37a8 Fix: Unable to choose same reaction twice in a row 2023-08-08 11:32:52 -03:00
prlanzarin
8feb934169 feat(audio): add experimental transparent listen only mode
This is an initial, experimental implementation of the feature proposed in
https://github.com/bigbluebutton/bigbluebutton/issues/14021.

The intention is to phase out the explicit listen only mode with two
overarching goals:
  - Reduce UX friction and increase familiarity: the existence of a separate
  listen only mode is a source of confusion for the majority of users
  Reduce average server-side CPU usage while also making it possible for
  having full audio-only meetings.

The proof-of-concept works based on the assumption that a "many
concurrent active talkers" scenario is both rare and not useful. With
that in mind, this including two server-side triggers:
 - On microphone inactivity (currently mute action that is sustained for
   4 seconds, configurable): FreeSWITCH channels are held (which translates
   to much lower CPU usage, virtually 0%). Receiving channels are switched,
   server side, to a listening mode (SFU, mediasoup).
   * This required an extension to mediasoup two allow re-assigning producers
     to already established consumers. No re-negotiation is done.
 - On microphone activity (currently unmute action, immediate):
   FreeSWITCH channels are unheld, listening mode is deactivated and the
   mute state is updated accordingly (in this order).

This is *off by default*. It needs to be enabled in two places:
  - `/etc/bigbluebutton/bbb-webrtc-sfu/production.yml` ->
    `transparentListenOnly: true`
  - End users:
    * Server wide: `/etc/bigbluebutton/bbb-html5.yml` ->
      `public.media.transparentListenOnly: true`
    * Per user: `userdata-bbb_transparent_listen_only=true`
2023-08-07 19:43:18 -03:00
Gustavo Trott
5d94bfd8b0
Merge pull request #18404 from paultrudel/migrate-slide-positions
refactor (graphql-server): Migrate slide-positions data
2023-08-04 22:27:41 -03:00
Gustavo Trott
baba92cb0f Merge 2.7 into Develop 2023-08-04 16:47:23 -03:00
Paul Trudel
6ba58c3c86 Move size scale calculation to Postgres 2023-08-03 20:14:38 +00:00
Paul Trudel
5f9545997c Only update slide data for a single slide 2023-08-03 15:40:10 +00:00
Paul Trudel
2874a41e32 Removed slideId column from presPage table 2023-08-03 12:50:20 +00:00
Daniel Molkentin
fa5aa182fe fix: do not escape text twice
The refactoring in 838accf015 incorrectly
replaced the wrong parseMessage function in addBulkGroupChatMsgs.js

This bug is only triggered when the option public.chat.bufferChatInsertsMs != 0.
2023-08-02 18:48:22 +02:00
prlanzarin
a8e4e876d0 fix(audio): add connection timers for SFU audio
SFU based audio is missing connection timers, which means the join
procedure can go on indefinitely in a couple of scenarios.

Refactor the connection timers added for re-connections in the SFU audio
bridge and make them valid for the first try as well.

Make 1010 errors (connection timeout) retriable when retryThroughRelay
is enabled.
2023-07-31 11:39:52 -03:00
prlanzarin
7c3ac51e38 feat(audio): add retryThroughRelay flag for 1007 errors
1007 errors are still a large fraction of our overall audio join error
rate. This usually indicates some sort of firewall block or UDP issues
carrier networks. I can't figure out why some scenarios won't trickle
down to relay candidates though - I'm leaning to scenarios where STUN
packets with USE-CANDIDATE are being mangled/lost along the way or
something else that borks the (already fragile) conn checks for ICE-lite
implementations.

Add a new feature called retryThroughRelay which triggers a retry with
iceTransportPolicy=relay whenever audio fails to join with a 1007 error.
The goal is to force relay usage to try and bypass 1007s scenarios that
still happen.

Disabled by default.
2023-07-31 11:39:45 -03:00
Gustavo Trott
3758dd89e2 Merge 2.7 into Develop 2023-07-31 11:24:25 -03:00
Paul Trudel
14775e32eb Store page resize in postgres 2023-07-28 18:01:53 +00:00
Paul Trudel
8373eefdc3 Store slide position data in postgres 2023-07-27 19:10:51 +00:00
Anton Georgiev
7be38fd876 Merge remote-tracking branch 'bbb/v2.6.x-release' into merge-july26 2023-07-26 22:27:55 -04:00
Tainan Felipe
838accf015 Improve text sanitizing of lobby messages 2023-07-26 16:12:39 -03:00
Paul Trudel
ec9deb1e67 Added podId, width, and height, columns to postgres 2023-07-26 13:53:15 +00:00
Gustavo Trott
c74a7ff90e Add required props to dial-in users 2023-07-25 15:23:57 -03:00
Gustavo Trott
185e48d36c Merge remote-tracking branch 'upstream/v2.7.x-release' into develop 2023-07-21 17:17:52 -03:00
Gustavo Trott
762ae78814 Implements func to Clear all users reaction 2023-07-21 11:10:10 -03:00
Tainan Felipe
f2e0fd43e9
Refactor: Make all chat area use graphql (#18122)
* Refactor: Make all chat area use graphql

* Fix: large space between welcome msg and chat list

* Fix: missing file

* add pending status and fix system messages

* Add: mark messages as seen in chat

* Refactor: Move char opening logic to inside of chat panel

* Refactor message and mark as seen

* Add Recharts to package.json and fix miss data

* Implements clear-chat function on graphql

* Make system message sticky

* Add clear message support and fix user is typing

* FIx chat unread and scroll not following the tail

* Change: make unread messages be marked by message and fix throttle

* Don't show restore welcome message when the welcome message isn't set

* Fix: scroll not following the tail properly

* Fix: previous page last sender not working

* Fix: scroll loading all messages

* Fix messaga not marked as read

---------

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2023-07-07 17:46:36 -03:00
Ramón Souza
26bd960ba2 fix unlock shared notes 2023-07-04 09:50:53 -03:00
Gustavo Trott
c8867fadb5
Merge pull request #18197 from Scroody/I-18127
Allow dynamic control on moderators invitation for breakouts
2023-06-29 13:39:26 -03:00
Ramón Souza
af670883c1 remove unused code 2023-06-22 15:35:40 -03:00
Ramón Souza
ae1e6079e1 rename includeMods -> sendInviteToModerators 2023-06-22 13:55:23 -03:00
Gustavo Trott
6ba4aad05a
Merge branch 'v2.7.x-release' into user-raiseHand-away-flags 2023-06-22 08:27:20 -03:00
Anton Georgiev
43b96b47c4
Merge pull request #17724 from lfzawacki/v2.7.x-release
feat: Implement automatic closed captions using an open transcription server
2023-06-22 05:25:14 -04:00
Ramón Souza
96a2484876 additional client-side changes 2023-06-21 16:49:38 -03:00
Anton Georgiev
a962a44c74 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into june14merge 2023-06-14 10:07:54 -04:00
Anton Georgiev
c8b0437df3
Merge pull request #18133 from GuiLeme/port-timer-with-events-suggestions
feat(timer): Port timer (Mconf) with events suggestions
2023-06-08 15:56:10 -04:00
GuiLeme
2cf46e4d05 [port-timer-with-events-suggestions] - made review suggestions 2023-06-08 16:37:32 -03:00
Gustavo Trott
8263dd17ca Introduces flags user.away and user.raiseHand 2023-06-07 22:10:07 -03:00
Ramón Souza
22b02ead28 Merge remote-tracking branch 'upstream/v2.7.x-release' into 16120 2023-06-06 08:45:29 -03:00
danielpetri1
ffeb8c3acb Allow multiple MIME types per extension 2023-06-06 10:08:14 +00:00
Arthurk12
d6095a2da2 fix(timer): misleading function name 2023-06-02 09:12:44 -03:00
Paulo Lanzarin
0e8dc2a0cc
Merge pull request #17847 from prlanzarin/u27/feat/fullaudio-bridge-userdata
feat(audio): add userdata-bbb_fullaudio_bridge
2023-05-31 17:07:57 -03:00
prlanzarin
80414a9cc4 feat(audio): add userdata-bbb_fullaudio_bridge
Allows controlling which audio bridge should be used, per user
2023-05-31 17:07:10 -03:00
prlanzarin
f4a761cea4 Merge remote-tracking branch 'origin/v2.7.x-release' into u27/fix/screenshare-audio-output 2023-05-31 11:06:49 -03:00
Paulo Lanzarin
5447666c15
Merge branch 'v2.7.x-release' into port-timer 2023-05-26 10:33:38 -03:00
Paulo Lanzarin
171c7a6587
Merge branch 'v2.7.x-release' into v2.7.x-release 2023-05-26 09:27:14 -03:00
Anton Georgiev
4948731fe7
Merge pull request #17764 from lfzawacki/reactions-port
feat: Port Mconf Reactions into BBB 2.7
2023-05-26 08:05:02 -04:00
Anton Georgiev
1a1f442d5a
Merge pull request #17746 from Carloshsc/port-present-webcam-27
feat(camera as content): present webcam
2023-05-26 08:01:40 -04:00
prlanzarin
7c77fc7433 Merge remote-tracking branch 'origin/v2.7.x-release' into reactions-port 2023-05-25 19:54:01 -03:00
Arthurk12
461be7a7fc fix(reactions): method call
Update method call to the unified one(setUserReaction) and include the userID
parameter, so it can be used by mods to clear others status as well.
2023-05-25 17:42:02 -03:00
Arthurk12
196d2c1e0a feat(reactions): sync expiration with akka
Currently, the reactions are cleared on mongo based on the expire time.
So to sync its state with akka, an observer is atattched to the user
reactions collection and whenever a reaction is removed because of the
expiration time, akka is notified with message 'UserReactionTimeExpiredCmdMsg'.
2023-05-25 17:32:27 -03:00
prlanzarin
636ab74826 fix(screenshare): adjustments to make output device switching work 2023-05-24 11:40:32 -03:00
Arthurk12
3efdbd9012 feat(reactions): add akka messages to clear all emojis status
Adds two new messages which clear the users emoji statuses. This messages
enables this task to be done in a single call, instead of triggering one
method call for each user.
'ClearAllUsersEmojiCmdMsg' is sent from meteor to akka and updates all the
emoji states in the users model.
'ClearedAllUsersEmojiEvtMsg' is sent from akka to meteor. This triggers the
 mongo collection update.
2023-05-24 10:49:42 -03:00
Scroody
08a0226b59 Fix: Send to chat presentation not having unread notification 2023-05-19 10:54:29 -03:00
Arthurk12
f13217607e feat(timer): add model and messages to akka apps
This commit makes the messages of the timer feature to be proxied by
akka-apps and also adds a timer model that is updated based on these
messages.
Moving the timer panel opening logic to the timer button component in
the navigation panel was a consequence of these changes.
2023-05-18 15:29:42 -03:00
AtilaU19
7a6e457f5d refactor(timer): updateTimer fuction argument list
Replacement of the list of arguments of the update Timer function in an object and adequacy of its calls in the functions when necessary.
2023-05-18 15:29:39 -03:00
Arthurk12
02a6feb1c8 fix(timer): change users count threshold
Changes the timer auto-stop threshold from 90% to 100% of user count
to prioritize the timer alert sounding for all users over the timer state
being consistent.

Also, puts the user count fetch back to where it was to avoid a race
condition where the number of users when setting the observer is
different than when the timer ends(i.e. users've joined or left the
meeting while the timer was running) causing the timer not to stop or
stop prematurely.
2023-05-18 15:29:39 -03:00
Arthurk12
6628296471 fix(timer): wrong attribute to get users count
There was a legacy attribute being used to find active users in the meeting.
This wrong attribute caused the returned number of users to be 0 which
makes the timer stop prematurely and, possibly, not to issue the timer beep.

Also adds a missing argument to updateTimer and moves the find call to
the Users collection to a external function, so it doesn't get executed
every time an user notifies timer has ended.
2023-05-18 15:29:38 -03:00
AtilaU19
a694595275 feat(timer): added requestedUserId and Action logs 2023-05-18 15:29:38 -03:00
Arthurk12
f5a5a960ba feat(timer): adds more songs
Adds 2 more songs to the timer, which can be switched using the radio
buttons inside timer panel.
Changed the music loop logic to make it gapless.
2023-05-18 15:29:35 -03:00
Arthur B. Grossi
17aa3d7177 Requested changes
Filters users collection by 'online' connection status and describes when/how
server detects that the timer has ended to automatically stop it.
Also, fixed a corner case that when timer alarm was disabled, clients didn't
notify that the timer ended.
2023-05-18 15:29:35 -03:00
Arthur B. Grossi
dbbef569a9 fix(timer): autoplay
When user enters meeting with music already playing, an event listener is set
to play the music only after user interaction.
Also, to keep timer more cohesive and reduce complexity of the condition for
playing music, timer automatically stops after 90% of users notify that the
timer has expired.
2023-05-18 15:29:34 -03:00
Arthur B. Grossi
cc61652aa3 feat(timer): ambient music
Adds a music player for ambient sound which can be turned on and off using a
toggle located inside timer panel. When stopwatch is selected, this toggle is
automattically turned off.
2023-05-18 15:29:34 -03:00
Pedro Beschorner Marin
c040db8f58 Fix alarm when deactivated 2023-05-18 15:29:32 -03:00
Pedro Beschorner Marin
2f104eafc8 Syncing time offset between client and server 2023-05-18 15:29:32 -03:00