Commit Graph

349 Commits

Author SHA1 Message Date
Gustavo Trott
30143861ab graphql actions for Timer 2023-11-29 11:20:23 -03:00
Daniel Molkentin
4f5b773798 cleanup: use runuser instead of sudo
In a lot of place where sudo is used, it is meant to drop privileges
coming from root, instead of gaining privileges or lateral privilege
moves (e.g. postgres). This is what runuser is for, so use that.
2023-11-28 15:26:12 +00:00
Gustavo Trott
8104ca4075 Remove unnecessary code 2023-11-28 10:25:54 -03:00
Gustavo Trott
e1d30f88f1 graphql: Poll actions 2023-11-28 10:19:01 -03:00
Gustavo Trott
5a69742983
Merge pull request #19159 from gustavotrott/graphql-support-dial-in-user
graphql: Add support for Dial-in user
2023-11-21 12:16:09 -03:00
Gustavo Trott
9532d68bad Add new JOIN param enforceLayout 2023-11-20 11:53:53 -03:00
Tainan Felipe
88a099bc0c Fix: export hasura metadata 2023-11-16 14:08:34 -03:00
Gustavo Trott
779e82fad9 graphql: Add support for Dial-in user 2023-11-16 10:59:08 -03:00
Gustavo Trott
6dc3dbb1fe
Merge pull request #19104 from gustavotrott/graphql-user-join-action
graphql: New User Flow for Joining Meetings via GraphQL
2023-11-15 09:16:02 -03:00
Gustavo Trott
5f0a1aa339 Let user join the meeting using Graphql actions 2023-11-10 17:36:10 -03:00
Gustavo Trott
1814ab3f54
Merge pull request #18995 from gustavotrott/graphql-captions
graphql: Add Captions (typed from pads-updates and audio-captions from automatic transcription)
2023-11-10 14:48:41 -03:00
Ramón Souza
74a724d99a
Merge pull request #18711 from Tainan404/migrate-waiting-user-on-userlist
Refactor: migrate guest panel opener in the user list
2023-11-09 13:15:09 -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
Gustavo Trott
5f22f2c845
Merge pull request #19054 from gustavotrott/graphql-typing-order-fix
fix (graphql): Fix order of who is typing
2023-11-02 15:03:06 -03:00
Gustavo Trott
9896f4c1f5
Merge pull request #19029 from gustavotrott/fix-graphql-pres-default
fix (graphql): Default presentation is inserted with default=false
2023-11-01 17:29:35 -03:00
Gustavo Trott
9cb40bacf5 Fix order of who is typing 2023-11-01 16:29:37 -03:00
Gustavo Trott
acdf310201
refactor (graphql-server): Rename userLocalSettings to userClientSettings (#19042)
* Rename userLocalSettings to userClientSettings

* where is not necessary

* Update userClientSettings name in client graphql query
2023-11-01 13:26:38 -03:00
Gustavo Trott
8f0ecf2d63 Insert presentation on UploadTokenReq 2023-11-01 11:38:19 -03:00
Tainan Felipe
bd2e681870 Merge branch 'migrate-waiting-user-on-userlist' of github.com:Tainan404/bigbluebutton into migrate-waiting-user-on-userlist 2023-10-30 10:36:37 -03:00
Tainan Felipe
d975ee3406 Add aggregation rule to hasura 2023-10-30 10:33:53 -03:00
Gustavo Trott
55ccf52816
graphql: Add pluginDataChannelMessage and associated back-end (#18999) 2023-10-26 11:53:41 -03:00
Gustavo Trott
2959c8a2e5 Add Type Caption to graphql 2023-10-23 17:26:29 -03:00
Gustavo Trott
a5f8a9d90c Add captions from PAD into audio_captions table 2023-10-19 13:26:04 -03:00
Gustavo Trott
09310034b3 Graphql: refactor presentation props 2023-10-17 11:03:46 -03:00
Gustavo Trott
9856354f3d Set duration prop as seconds 2023-10-12 09:55:12 -03:00
Gustavo Trott
015eb2bf9b graphql: Force locked=false for Moderators 2023-10-12 08:33:37 -03:00
Gustavo Trott
5209b10a7c graphql: Adds prop downloadFileExtension to pres_presentation 2023-10-11 15:27:08 -03:00
Gustavo Trott
9b9086159d
Set clientSettingsJson as jsonb on bbb_schema.sql 2023-10-11 09:46:25 -03:00
Gustavo Trott
3a40ac2cf9
Merge pull request #18926 from gustavotrott/graphql-client-settings-30
graphql: Client Settings Retrieval through Graphql
2023-10-11 09:39:24 -03:00
Gustavo Trott
d6af7aa081
graphql: Fix permission for pres_annotation_curr 2023-10-11 08:12:38 -03:00
Gustavo Trott
6418e47433 Add meeting.clientSettings to graphql 2023-10-10 22:38:26 -03:00
Gustavo Trott
524443c4c3 graphql: Apply hideViewerCursor and hideViewersAnnotation 2023-10-03 11:53:47 -03:00
Gustavo Trott
0d3e388d62 Add new columns to presentation collection graphql 2023-10-02 16:51:53 -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
09f3e6fae4
graphql-server: Insert client graphql connections into the database (#18875) 2023-09-29 20:05:23 -03:00
Gustavo Trott
b7eb67f35e Add new columns to presentation in graphql 2023-09-29 12:15:36 -03:00
Gustavo Trott
73ed4ad294
refactor (graphql-server): Hasura cli skip update check (#18853)
* Hasura-cli add param --skip-update-check

* Upgrade Hasura version to 2.33.4
2023-09-26 14:24:36 -03:00
Gustavo Trott
e2e0eb783f Stop showing ejected users 2023-09-26 11:32:05 -03:00
Gustavo Trott
5835c1b61b
Fix: Showing unread msg badge even when chat is opened (#18790)
* Fix: Showing unread msg badge when chat is opened

* Fix lint errors
2023-09-26 10:20:29 -03:00
Gustavo Trott
05e2f70ce5 Expire audio caption after 5 seconds 2023-09-25 21:31:15 -03:00
Paul Trudel
fc2b78aad0
refactor (graphql-server): Add presentation upload status data to Postgres (#18567)
* Added presentation upload status data to Postgres

* Added error message and conversion status to Postgres

* Updated hasura metadata

* Use Slick for table update

* Modified uploaded page count and error message storing

* Add error message to presentation in pod

* Renamed insert to insertAndUpdate

* Store pres with invalid mime type in Postgres

* Remove unused code

* Added error message details to Postgres
2023-09-21 16:20:48 -03:00
Gustavo Trott
be8f224eea
Improve graphql database install (#18821) 2023-09-21 10:53:13 -03:00
Gustavo Trott
6c97385823
Improve delay for Hasura metadata apply (#18791) 2023-09-15 12:51:47 -03:00
Gustavo Trott
76f25cc101 Tweak the comment for nameSorted 2023-09-14 09:49:38 -03:00
Gustavo Trott
2f53dea4a4 Use nameSortable to orderBy userlist 2023-09-14 09:31:49 -03:00
Gustavo Trott
d1e3d610d1
graphql-server: Introduces layout-propagate data (#18774)
* Add build/deb-helper.sh to cache key

* Introduces layout-propagate to graphql server
2023-09-13 13:37:04 -03:00
Gustavo Trott
047eccdd92
Reduce graphql-middleware and graphql-server logs (#18738) 2023-09-07 11:54:27 -03:00
Gustavo Trott
fcc6b7d95e Rename collection external_video to externalVideo 2023-09-07 09:16:30 -03:00
Gustavo Trott
2a38c935d3 graphql: Refactor externalVideo data 2023-09-06 17:19:10 -03:00
Gustavo Trott
a310c9a32b
Add breakout joinURL to graphql (#18710) 2023-09-05 11:31:25 -03:00
Gustavo Trott
b35d577938
Fix path of Hasura CLI 2023-09-01 10:40:27 -03:00
Gustavo Trott
a186ca1345 Graphql improvements 2023-08-30 18:52:31 -03:00
Gustavo Trott
0ee9759697
Merge pull request #18522 from paultrudel/migrate-audio-captions
refactor (graphql-server): Migrate audio-captions to graphql
2023-08-30 10:42:00 -03:00
Paul Trudel
0a94fd008f
Update bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_audio_caption.yaml
Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2023-08-30 09:39:00 -04:00
Gustavo Trott
94328e7e77 Upgrade Hasura to version 2.32.1 and change hasura-cli path 2023-08-29 11:01:23 -03:00
Paul Trudel
2a1376a4aa
Merge branch 'develop' into migrate-audio-captions 2023-08-28 15:36:05 -04:00
Paul Trudel
b7f1a7f6f3 Added userId and createdAt to audio_caption table 2023-08-28 19:28:23 +00:00
Gustavo Trott
2667288b4c Allow user_camera_aggregate 2023-08-25 13:32:36 -03:00
Gustavo Trott
1aa0a09630 Graphql sharedNotes endpoint 2023-08-25 11:42:26 -03:00
Gustavo Trott
23ecdc2c7b Fix talking indicator disappearing 2023-08-22 13:45:33 -03:00
Gustavo Trott
b021493397
Update path of hasura 2023-08-21 09:01:55 -03:00
Tainan Felipe
91f164fee3
Refactor: Make the Recording indicator use graphql and ts (#18465) 2023-08-11 10:39:58 -03:00
Paul Trudel
3d86f0fd5a Added audio caption table 2023-08-09 19:44:45 +00:00
Gustavo Trott
9bc3312ab1 Set 'timestamp with time zone' for missing columns 2023-08-08 10:53:04 -03:00
Gustavo Trott
66e2cd1cb6 Set 'timestamp with time zone' for missing columns 2023-08-08 10:51:37 -03:00
Gustavo Trott
77b784446c Set all date columns as timestamp with time zone 2023-08-08 10:41:16 -03:00
Gustavo Trott
d3274b95dc Set database timezone to UTC 2023-08-08 09:18:57 -03:00
Gustavo Trott
b601462dfc Graphql providing reactions data 2023-08-08 08:49:40 -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
Paul Trudel
117623a8e5 Copied scaled columns to view 2023-08-04 14:02:06 +00:00
Paul Trudel
6ba58c3c86 Move size scale calculation to Postgres 2023-08-03 20:14:38 +00:00
Paul Trudel
2874a41e32 Removed slideId column from presPage table 2023-08-03 12:50:20 +00:00
Paul Trudel
1af618dd2e Removed podId column from presPage table 2023-08-03 12:17:47 +00:00
Gustavo Trott
5fa732464d New graphql endpoint to get server current_time 2023-08-01 22:21:13 -03:00
Gustavo Trott
3758dd89e2 Merge 2.7 into Develop 2023-07-31 11:24:25 -03:00
Gustavo Trott
ae1b854b3c Add endpoint meeting_recording to graphql 2023-07-28 16:13:01 -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
Paul Trudel
ec9deb1e67 Added podId, width, and height, columns to postgres 2023-07-26 13:53:15 +00:00
Gustavo Trott
3803081016 Introduces graphql user.echoTestRunningAt 2023-07-19 19:13:21 -03:00
Gustavo Trott
d0697b6270
Removes mariadb dependency from Hasura install 2023-07-19 09:57:51 -03:00
Gustavo Trott
0771bf7c29 Update Go and Hasura versions 2023-07-18 15:03:37 -03:00
Gustavo Trott
e31ae5d7de Include speechLocale to graphql 2023-07-05 10:05:25 -03:00
Gustavo Trott
4be594d8db Remove color from collection userVoice 2023-07-05 08:50:08 -03:00
Gustavo Trott
6877601063 Add connection status control through graphql 2023-07-04 11:38:51 -03:00
Gustavo Trott
5375e64203 Add lastSeenAt to chatList 2023-06-30 09:52:11 -03:00
Gustavo Trott
89c628e5d6 Add bk sendInvitationToModerators to graphql 2023-06-29 16:52:59 -03:00
Gustavo Trott
27e5e4ddbd new index user is waiting 2023-06-28 23:30:02 -03:00
Gustavo Trott
e28617c725 include guestLobbyMessage prop 2023-06-28 23:21:31 -03:00
Gustavo Trott
e497cd5cd8 Implements guest props and others to graphql 2023-06-28 23:08:03 -03:00
Gustavo Trott
5681e88c60 Merge 2.7 into Develop 2023-06-26 17:21:01 -03:00
Gustavo Trott
74c81e080b Provide presentation data through graphql 2023-06-26 09:46:54 -03:00
Gustavo Trott
5761094388 graphql - Remove generation of join Links for breakout assignments 2023-06-23 11:23:41 -03:00
Gustavo Trott
2b167786b5 Introduces breakoutRooms to graphql 2023-06-21 12:32:53 -03:00
Gustavo Trott
60e5fe6a53 Introduces Timer data to graphql 2023-06-13 11:44:51 -03:00
Gustavo Trott
6186ef99ad Support camera as content using graphql 2023-05-30 10:01:32 -03:00
Gustavo Trott
4c01375974 Switch Hasura version to 2.26.0 2023-05-30 09:33:24 -03:00
Gustavo Trott
02ffefd30b Add localSettings to user_current 2023-05-29 13:56:03 -03:00
Gustavo Trott
ff39f1b250 Introduces graphql user-localSettings 2023-05-29 13:49:36 -03:00
Gustavo Trott
f542ba3f18 Introduces graphql user-localSettings 2023-05-29 13:48:09 -03:00
Gustavo Trott
d1a60157e5 Insert Poll result as Chat msg in graphql 2023-05-24 10:56:22 -03:00
Gustavo Trott
ed2c94eaea Add externalVideo and screenshare to Graphql 2023-05-23 09:09:38 -03:00
Gustavo Trott
ab5f626559 Remove unused files 2023-05-19 15:33:27 -03:00
Gustavo Trott
0fa28dd5d1 Include welcomeMsg to graphql and set permissions 2023-05-19 15:28:20 -03:00
Gustavo Trott
cf92e73f11 Add Polls to postgres/graphql 2023-05-19 13:47:00 -03:00
Gustavo Trott
e5f31e2f0b Add user customParameters to graphql 2023-05-15 17:21:36 -03:00
Gustavo Trott
48fba1a482 Clear typingAt when msg is sent 2023-05-03 10:10:02 -03:00
Gustavo Trott
cd0302518d Add flag lastMsgSentAt and typedAfterLastMsg 2023-05-03 09:04:44 -03:00
Gustavo Trott
1ac2e4cd96 Add flags moderatorsCanMuteAudio/moderatorsCanUnmuteAudio to graphql usersPolicies 2023-05-02 13:29:30 -03:00
Gustavo Trott
13b871f4d5 Alter graphql database name to bbb_graphql 2023-05-02 10:00:51 -03:00
Anton Georgiev
cb17d43e97
Merge branch 'develop' into 22.04-attempt-3 2023-04-28 14:39:15 -04:00
Anton Georgiev
c01cf7913d build: bbb-graphql-server copy metadata and bbb_schema.sql 2023-04-28 14:36:38 -04:00
Gustavo Trott
e32d41cbe5
Update hasura-config.env
Set 250ms as re-fetch time to Hasura to reduce delay of the actions.
2023-04-27 19:24:07 -03:00
Gustavo Trott
a91282914a Add flag showTalkingIndicator to user_voice 2023-04-27 15:55:13 -03:00
Gustavo Trott
3d9f7f07b3 Script to install bbb-graphql-middleware 2023-04-27 13:38:44 -03:00
Gustavo Trott
a204980a6a Create new flag visible to chat_user 2023-04-26 16:19:58 -03:00
Gustavo Trott
632f638d8a Add owner of the chat to Hasura chats 2023-04-26 10:41:51 -03:00
Gustavo Trott
8be05e9ad8 Set permittion to viewers dont see other viewers typing when this lockSettions is on 2023-04-26 09:33:19 -03:00
Gustavo Trott
92e9310ed4 fix chat participant in Hasura 2023-04-25 18:17:38 -03:00
Gustavo Trott
136c4af5cb Add user typing private endpoint to graphql server 2023-04-25 17:12:15 -03:00
Gustavo Trott
8d0583e160 Explain what pg columns of user mean 2023-04-25 15:50:23 -03:00
Gustavo Trott
694ebd1e35 Introduces new flags disconnected (replacing leftFlag) and expired 2023-04-25 15:41:37 -03:00
Gustavo Trott
04ac298e53 Add user reference to chat endpoints in Hasura 2023-04-24 17:29:53 -03:00
Gustavo Trott
9ff8d0aee9 Include new column user.hasDrawPermissionOnCurrentPage and triggers to populate it, to improve performance of the userlist orderBy 2023-04-20 09:49:16 -03:00
Gustavo Trott
f86434c2bc pg: Add ON DELETE CASCADE to user_connectionStatus(meetingId) 2023-04-19 09:54:47 -03:00
Gustavo Trott
4b671e316b Improve performance on condition hideUserList in userList 2023-04-18 17:40:46 -03:00
Gustavo Trott
cf2f3064f1 Add new query user_current to Hasura 2023-04-17 12:04:38 -03:00
Gustavo Trott
c0c3c703aa Improvements in graphql-client-test 2023-04-14 10:58:37 -03:00
Gustavo Trott
864ee8e09b Add index to improve performance on query users 2023-04-13 08:40:14 -03:00
Gustavo Trott
b95d505d0e Fix tables ddl 2023-04-12 11:30:12 -03:00
Gustavo Trott
63bc1593d5 Apply locksettings-hideUserList as validation on fetch users in Hasura 2023-04-12 11:07:54 -03:00
Gustavo Trott
b230286d95 Add lockSettings options to graphql Hasura 2023-04-10 15:57:35 -03:00
Gustavo Trott
36ba5ddc76 Add lockSettings options to graphql Hasura 2023-04-10 15:52:19 -03:00
Gustavo Trott
3cf7be926c Introduces userTyping, user_connectionStatus and other flags to Postgres/Hasura 2023-04-05 13:56:22 -03:00
Gustavo Trott
783ed2d0f3 Set userId as PK for user_voice table (user has only one mic, following Meteor current logic) 2023-04-04 09:10:04 -03:00
Gustavo Trott
94111058e5 Set userId as PK for user_voice table (user has only one mic, following Meteor current logic) 2023-04-04 09:02:41 -03:00
Gustavo Trott
3b9468696f Small fixes on Hasura 2023-04-03 17:49:24 -03:00
Gustavo Trott
d13613fb7d Include cursor data to Pg/Hasura and other fixes 2023-04-03 17:23:30 -03:00
Gustavo Trott
a31f3fe057 Set current presentation in Postgres/Hasura 2023-04-03 10:46:47 -03:00
Gustavo Trott
884fb30790 Removes wrong file 2023-03-31 17:46:49 -03:00
Gustavo Trott
e85620d7a9 Add presentation collections to Hasura/Postgres 2023-03-31 17:46:17 -03:00
Gustavo Trott
2b58f246ee Create relationship for chat->user 2023-03-29 12:06:48 -03:00
Gustavo Trott
7f88d2efa4 Add Chat collections to Hasura/Postgres 2023-03-29 09:55:41 -03:00
Gustavo Trott
52fd6d3ad5 Insert Meeting props to database/Hasura 2023-03-24 13:33:08 -03:00
Gustavo Trott
5c5a515b54 Remove bbb26 references 2023-03-21 10:36:11 -03:00
Gustavo Trott
b2bc0c838d Include more data to (Postgres/Hasura) graphql-server 2023-03-16 13:56:32 -03:00
Gustavo Trott
a9b0bb3b0a Add endpoint api/checkGraphqlAuthorization 2023-03-13 15:45:33 -03:00
Gustavo Trott
f641b71b4a Adjusts to run graphql client 2023-03-11 12:11:50 -03:00
Gustavo Trott
42711ac5ae Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00