Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use runuser instead of sudo #19228

Closed
wants to merge 433 commits into from
Closed

Conversation

danimo
Copy link
Contributor

@danimo danimo commented Nov 28, 2023

  • [issue-18408-back-end] - implemented back-end portion for disable download of original presentation
  • [plugin-architecture-implementation] - change error message
  • Replaced Akka with Pekko in akka-fsesl
  • Translate en.json in ca
  • docs: added link to 2.6.12
  • [issue-18408-back-end] - change name of download original pres
  • [issue-18408-back-end] - added disabled download of converted presentation
  • fix wheel zoom breaking slide position
  • update toolbar zoom value on slide change
  • improve tldraw style menu a11y
  • test: update playwright dependencies
  • ci(tests): use sharding on CI test execution
  • ci(tests): use matrix on build step and set the merge branches action as a reusable workflow
  • handle zoom percent value being lost on minimize + restore
  • ci(tests): fix working-directory, make pr-comment-data folder and remove build-package workflow
  • ci: remove wrong single quotes
  • ci: fix all-blob-reports path
  • [issue-18408-back-end] - changed label
  • test: fix test reporters
  • chore: upgrade NodeJS to 18
  • build: resetting mcs-address from localhost to 127.0.01
  • Change target to release for java 17
  • Change target to release for java 17 on fsesl
  • Upgrade gorm and groovy versions
  • build: use Java17 to build akka projects
  • docs: added info on Java 17 upgrade
  • build: specify java 17 on bbb-web install
  • add java17 as bbb-web dependency
  • use package building image with java17 node18
  • grails 5.3.2 in docs
  • use bbb-install from github
  • chore: allow newer nodejs to be used on bbb-export-annotations
  • build: fix mismatched quote
  • Use Pekko in bbb-common-message, bbb-common-web, and akka-apps
  • test: dynamically set parallel or serial mode
  • build: require node 18 to install bbb packages
  • Finished switch from Akka to Pekko
  • chore: Bump BBB version to 2.6.14
  • Removed Akka dependencies
  • docs: add info on NodeJS v18 and Java 17 upgrade paths
  • Reset esl password to default
  • Update akka-bbb-fsesl/src/main/resources/application.conf
  • Fixed some imports
  • build: fix nodejs version paste error in !build: require node 18 to install bbb packages #18686
  • fixing options test
  • show raised hand state in reactions button
  • mirror/unmirror labels
  • restore tabIndex
  • Refactor: migrate guest panel opener in the user list
  • fix roving
  • fix indentation
  • close all toast notifications function added
  • docs: Improve docs for 2.6.14 upgrade of nodejs
  • docs: add 2.6.14 link
  • chore: bump up release to 2.7.0
  • Update SECURITY.md
  • docs: 2.7 released docs
  • Updates for project BigBlueButton v2.7 HTML5 client and lanuage gl on branch v2.7.x-release (Updates for project BigBlueButton v2.7 HTML5 client and lanuage gl on branch v2.7.x-release #18693)
  • Updates for project BigBlueButton v2.7 HTML5 client and lanuage fa_IR on branch v2.7.x-release (Updates for project BigBlueButton v2.7 HTML5 client and lanuage fa_IR on branch v2.7.x-release #18722)
  • build(bbb-webrtc-sfu): v2.12.0-beta.1
  • build(bbb-webrtc-recorder): v0.5.1
  • fix(recording): handle archive remux failures
  • docs: better quality header
  • fix(build): do not package .git for bbb-transcription-controller
  • fix size prop type
  • fixing pollling tests
  • added data-test for the polls
  • refactor (Github Actions): Run typescript workflows only when ts/tsx within bbb-html5 was modified (refactor (Github Actions): Run typescript workflows only when ts/tsx within bbb-html5 was modified #18755)
  • Update build/packages-template/bbb-webrtc-sfu/build.sh
  • Update build/packages-template/bbb-webrtc-sfu/build.sh
  • Update bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx
  • [issue-18736] - fix videoPreview not working
  • chore: bump up release to 2.7.1
  • Updates for project BigBlueButton v2.7 HTML5 client and lanuage de on branch v2.7.x-release (Updates for project BigBlueButton v2.7 HTML5 client and lanuage de on branch v2.7.x-release #18749)
  • Translate en.json in eu (Updates for project BigBlueButton v2.7 HTML5 client and lanuage eu on branch v2.7.x-release #18748)
  • Updates for project BigBlueButton v2.7 HTML5 client and lanuage fa_IR on branch v2.7.x-release (Updates for project BigBlueButton v2.7 HTML5 client and lanuage fa_IR on branch v2.7.x-release #18745)
  • fix typescript errors
  • fix logoutUrl
  • Translate en.json in de (Updates for project BigBlueButton v2.7 HTML5 client and lanuage de on branch v2.7.x-release #18769)
  • Fix: All lint errors
  • aditional changes
  • graphql-server: Introduces layout-propagate data (graphql-server: Introduces layout-propagate data #18774)
  • More changes
  • More changes
  • More changes
  • More changes
  • More changes
  • fix user status buttons
  • add newline at end of file
  • fixing multiusers tests
  • Use nameSortable to orderBy userlist
  • Tweak the comment for nameSorted
  • display away and raise hand emoji in userlist if reactions are enabled
  • fix typescript compilation errors
  • Avoid applying metadata before Hasura is ready
  • More changes
  • build: drop yq 3 requirement on "develop"
  • fix lost param
  • fix remaining eslint issues
  • build(bbb-transcription-controller): omit .git from package
  • fix: markdown line breaks (fix: markdown line breaks #18786)
  • revert: drop .git from bbb-tranctiption-controller (second version)
  • chore: Bump bbb-playback to 5.0.1
  • build: bbb-webhooks set secret and url
  • docs: info on what disabledFeatures options were added in 2.7
  • Improve delay for Hasura metadata apply (build: Improve delay for Hasura metadata apply #18791)
  • Fix of welcome message transparent background
  • start the fixes for presentation tests
  • Update bigbluebutton-tests/playwright/core/elements.js
  • Update bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-participants/list-item/component.tsx
  • Update bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/component.tsx
  • Client: Tooltip added to timer
  • [plugin-sdk-issue-4] - Added action button dropdown extensible area and refactor code
  • fixes for multiusers tests
  • Updates for project BigBlueButton v2.7 HTML5 client and lanuage es_ES on branch v2.7.x-release (Updates for project BigBlueButton v2.7 HTML5 client and lanuage es_ES on branch v2.7.x-release #18797)
  • Translate en.json in fa_IR (Updates for project BigBlueButton v2.7 HTML5 client and lanuage fa_IR on branch v2.7.x-release #18800)
  • Translate en.json in es (Updates for project BigBlueButton v2.7 HTML5 client and lanuage es on branch v2.7.x-release #18798)
  • fixing all presentation tests
  • ci: Refresh package's cache whenever there are changes in its build directory (ci: Refresh package's cache whenever there are changes in its build directory #18796)
  • [plugin-sdk-issue-5] - Added action bar item plugin and refactor plugin
  • fix avatar name with image
  • fix eslint error
  • [plugin-sdk-issue-5] - refactor
  • [plugin-sdk-microphone-dropdown] - implemented the extensible area
  • Requested changes
  • build: start bbb-graphql-server before bbb-apps-akka (build: start bbb-graphql-server before bbb-apps-akka #18773)
  • fix image border for viewers
  • graphql-server requires net-tools
  • Fix: Mods being locked
  • docs: added a link to 2.7.1
  • [plugin-sdk-presentation-dropdown] - implemented the extensible area
  • Translate en.json in el_GR (Updates for project BigBlueButton v2.7 HTML5 client and lanuage el_GR on branch v2.7.x-release #18809)
  • Translate en.json in gl (Updates for project BigBlueButton v2.7 HTML5 client and lanuage gl on branch v2.7.x-release #18810)
  • Switch the LibreOffice Docker image to use the one built by BBB
  • Improve graphql database install (refactor (graphql-server): Improves build script #18821)
  • Update bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-form/component.tsx
  • [plugin-sdk-issue-4] - updated sdk version
  • Requested changes
  • [plugin-sdk-issue-4] - remove tsc errors
  • refactor (graphql-server): Add presentation upload status data to Postgres (refactor (graphql-server): Add presentation upload status data to Postgres #18567)
  • [plugin-sdk-navbar] - added new extensible area
  • tests: append shard-nr to logs and configs filename
  • fix user avatar in chat
  • Replace / by _ to name log files
  • Replace / by _ to name log files
  • Fix: Mute button moving right
  • [plugin-sdk-issue-4] - add support for useCurrentUser
  • fix chat list
  • do not display breakout number if avatar image is provided
  • [plugin-sdk-issue-4] - bump version
  • eslint
  • [plugin-sdk-option-dropdown] - rename settings dropdown to options dropdown and added support to options dropdown
  • html5: tweak: wait port 27017 to be ready before init replicaset (fix (html5): tweak func that waits for port 27017 to be ready before init replicaset #18830)
  • Translate en.json in hu_HU (Updates for project BigBlueButton v2.7 HTML5 client and lanuage hu_HU on branch v2.7.x-release #18832)
  • Updates for project BigBlueButton v2.7 HTML5 client and lanuage fa_IR on branch v2.7.x-release (Updates for project BigBlueButton v2.7 HTML5 client and lanuage fa_IR on branch v2.7.x-release #18833)
  • Translate en.json in ja (Updates for project BigBlueButton v2.7 HTML5 client and lanuage ja on branch v2.7.x-release #18831)
  • Refactor: Migrate timer indicator
  • Fix: Buttons style
  • Update bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-popup/popup-content/styles.ts
  • Fix: Component name
  • [plugin-sdk-camera-settings-dropdown] - finish
  • Translate en.json in es_ES (Updates for project BigBlueButton v2.7 HTML5 client and lanuage es_ES on branch v2.7.x-release #18819)
  • Translate en.json in es (Updates for project BigBlueButton v2.7 HTML5 client and lanuage es on branch v2.7.x-release #18820)
  • Updates for project BigBlueButton v2.7 HTML5 client and lanuage hu_HU on branch v2.7.x-release (Updates for project BigBlueButton v2.7 HTML5 client and lanuage hu_HU on branch v2.7.x-release #18836)
  • Adds new chat msg type 'breakoutRoomModeratorMsg'
  • Update bigbluebutton-html5/imports/ui/components/actions-bar/component.jsx
  • Translate en.json in el_GR
  • ci: Increase the timeout for install+test from 15mins to 25mins
  • fix few simple tests
  • [plugin-sdk-user-camera-dropdown] - start
  • [plugin-sdk-issue-5] - bump version
  • [plugin-sdk-microphone-dropdown] - change name to audioSettingsDropdown
  • updating dark mode screenshot
  • [plugin-sdk-microphone-dropdown] - changes in review
  • [plugin-sdk-microphone-dropdown] - bump version
  • [plugin-sdk-presentation-dropdown] - changes in review
  • bump version
  • [plugin-sdk-navbar] - changes in review
  • [plugin-sdk-navbar] - changes in review
  • fixing breakout tests
  • [plugin-sdk-navbar] - bump
  • fixing eslint error
  • [plugin-sdk-option-dropdown] - bump version
  • [plugin-sdk-option-dropdown] - changes in review
  • [plugin-sdk-option-dropdown] - changes in review
  • fixing font-size test
  • remove only flag
  • changes in review
  • changes in review
  • Expire audio caption after 5 seconds
  • fixing whiteboard test suite
  • Fix TS and eslint errors
  • Add eslint rule
  • update smile2emoji
  • [plugin-sdk-user-camera-dropdown] - finish
  • removes @flaky in lock viewers test
  • [plugin-sdk-user-camera-dropdown] -changes in review
  • Fix: Showing unread msg badge even when chat is opened (Fix: Showing unread msg badge even when chat is opened #18790)
  • changed chatmessages data-test
  • [plugin-nav-bar-fix] - fix
  • fixing share external video test
  • Stop showing ejected users
  • display user reactions in userlist
  • [plugin-sdk-user-camera-dropdown] - bump
  • chore: renaming BBB 2.8 to 3.0
  • zoom test working fine
  • fix leading:true, trailing:false throttle
  • Update .github/workflows/automated-tests.yml
  • refactor (graphql-server): Hasura cli skip update check (refactor (graphql-server): Hasura cli skip update check #18853)
  • fix eslint
  • Update .github/workflows/automated-tests.yml
  • Update bigbluebutton-release
  • fix typing indicator position
  • Fix graphql not updating webcamsOnlyForModerator
  • changing publichat to hidepublicchat
  • Rebuild bigbluebutton-html5/package-lock.json
  • Remove presentation from Postgres when presentation is deleted
  • get annotation data from graphql
  • get cursor data from graphql
  • use stream for new shapes
  • fix warnings
  • fix mute user in talking indicator
  • use graphql for presentation data - partial
  • Add new columns to presentation in graphql
  • graphql-server: Insert client graphql connections into the database (graphql-server: Insert client graphql connections into the database #18875)
  • refactor (graphql-middlware): Improve logs of graphql-middleware (refactor (graphql-middlware): Improve logs of graphql-middleware #18874)
  • feat(graphql): implement GraphQL actions adapter and Migrate sendGroupChatMsg to GraphQL Mutation (feat(graphql): implement GraphQL actions adapter and Migrate sendGroupChatMsg to GraphQL Mutation #18867)
  • Fix: Formatting of breakout msg
  • [plugin-sdk-issue-32] - support for extensible area
  • reafactor (akka-apps): Read and store Client Settings as property to RunningMeeting (reafactor (akka-apps): Read and store Client Settings as property to RunningMeeting #18712)
  • add new presentation fields, poll info and multi user info
  • Add new columns to presentation collection graphql
  • disable self-view test
  • add new columns to query
  • skipping failing test on ci
  • add presentation info + lock settings
  • graphql: Apply hideViewerCursor and hideViewersAnnotation
  • update font-size reference screenshot
  • remove withTracker
  • fix: do not display typing indicator if chat is locked
  • fix typescript errors
  • graphql: Update meeting duration when breakout duration is updated
  • remove duplicated props
  • Fix:[3.0] Scrolling down the user list to the end will jump to the beginning
  • [plugin-sdk-issue-33] - implemented menu badge
  • isolate podId
  • fix: unlocked users cant send chat msg
  • fix (graphql-middleware): Client can't send new graphql queries after a while (fix (graphql-middleware): Client can't send new graphql queries after a while #18895)
  • [plugin-sdk-issue-32] - refactor
  • [plugin-sdk-issue-32] - bump version sdk
  • adds check for typing indicator
  • Fix: shortcut hook
  • Update useShortcut.tsx
  • Refactor: migrate waitingUserPanel to TS and graphql (Refactor: migrate waitingUserPanel to TS and graphql #18677)
  • Add new shell scripts useful for development (Add new shell scripts useful for development #18905)
  • [plugin-sdk-issue-33] - fixed ts lint errors
  • move parseCurrentSlideContent to component
  • Client: Changes to formatation of welcome messages
  • remove unused code in presentation service
  • updating screenshots
  • remove unused fields in whiteboard queries
  • Fix: Timer not showing hour scale, but showing minutes instead
  • Fix: Reset not working
  • Fix: timer not getting right time
  • Fix: Chat input losing focus
  • feature: Override client settings through API /create call (feature: Override client settings through API /create call #18782)
  • Add meeting.clientSettings to graphql
  • graphql: Fix permission for pres_annotation_curr
  • move currentSlideId out of withTracker
  • Set clientSettingsJson as jsonb on bbb_schema.sql
  • remove unused code
  • remove presentation-pod component + presentation service
  • graphql: Adds prop downloadFileExtension to pres_presentation
  • remove podId param from components
  • remove whiteboard/presentation subscriptions
  • restore minimize presentation button
  • restore multi user whiteboard toolbar
  • graphql: Force locked=false for Moderators
  • remove presentation-area component
  • Set duration prop as seconds
  • remove cursor stream listener - meteor
  • migrate presentation-menu
  • migrate presentation-toolbar
  • use real number of pages on whiteboard mount
  • remove clearCursors on multi user session end - to be done in back-end
  • Modify regex to parse decimal numbers
  • Adds potrace as requirement for bbb-web and log errors of imagemagick
  • remove unused code
  • use graphql in presentation uploader component
  • Store presentation content in Postgres
  • Sanitize the XML content removing DOCTYPE
  • Close svg source to close connection
  • remove "a" in user avatar
  • fake-video to improve tests, and share camera as content test
  • use graphql to fetch presentation list in actions dropdown
  • remove annotation stream listener - meteor
  • fix undo/redo
  • Graphql: refactor presentation props
  • rename graphql fields
  • remove parse from json fields, directly query for svg url in presentation
  • updating presentations screenshots
  • adjust query
  • changing screenshots
  • Client: Focus on input when clicking chat
  • later changes
  • increasing uploadtoast timeout
  • linked issue related to the diff between screenshots in ci and local machine
  • Update bbb-common-web/src/main/scala/org/bigbluebutton/api2/MsgBuilder.scala
  • Update bbb-common-web/src/main/scala/org/bigbluebutton/api2/MsgBuilder.scala
  • move presentation uploader toast out of uploader component
  • Add captions from PAD into audio_captions table
  • move export toast to toast component
  • update metadata
  • remove presentations collection from uploader service
  • fix remove presentation button
  • fix set slide length when presentation is removed
  • Set current time when timer reset
  • Reset started at to 0 if timer not running
  • Add Type Caption to graphql
  • Update bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-form/component.tsx
  • fix markdown links
  • test for the timer and stopwatch
  • data-test for testing
  • fix whiteboard access label in userlist
  • add test for the timer
  • stopwatch and timer test
  • changing fake video
  • fix presentation download dropdown
  • few improvements on the test
  • fix converting presentations toast
  • fix default value for presentation lock settings
  • graphql: Add pluginDataChannelMessage and associated back-end (graphql: Add pluginDataChannelMessage #18999)
  • Requires a current page to set a presentation as current
  • feat(plugin): Add plugin data channels (feat(plugin): Data channels #19009)
  • [correct-path-data-channel] - changes in review
  • Refactor: Migrate breakout room creation to graphql
  • client side poll results
  • [plugin-sdk-fix-data-channel-dispatcher] - fix dispatcher (feat(plugin) - fix data channel dispatcher #19015)
  • feat(plugin): use latest plugin SDK version (feat(plugin): use latest plugin SDK version #19016)
  • fix incorrect state in presentation uploader
  • refactor update Presentations on Hasura
  • remove cursor locked check
  • Add support to user update
  • Fix: ts errors
  • fix keyboard access on chat list
  • Add aggregation rule to hasura
  • feat(plugin): New Hook useUsersOverview (feat(plugin): New Hook useUsersOverview #19028)
  • Fix: Chat poll results
  • Client: Multi user white board number clickable
  • Fix: Talking indicador too close from user list button
  • Update bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/styles.js
  • improve throttle function
  • Insert presentation on UploadTokenReq
  • refactor (graphql-server): Rename userLocalSettings to userClientSettings (refactor (graphql-server): Rename userLocalSettings to userClientSettings #19042)
  • Fix order of who is typing
  • Reset values on switch between Stopwatch or Timer
  • removing flaky flag for passing tests
  • fix download presentation url
  • fix presentation download link in chat
  • Refactor: Migrate external video player
  • fix error in toast
  • Upgrade websocket lib in graphql-middleware
  • Make chat receive graphql data using Json Patch
  • Refresh subscription whenever variables change
  • Remove unnecessary JSON.stringify
  • Add: implements hooks to use inside components
  • Fix: Remove unnecessary import
  • graphql: Provide Upload Token through Graphql (graphql: Provide Upload Token through Graphql #19081)
  • Fix: start button not being disabled and blocked autoplay message
  • fix whiteboard icon in userlist
  • Update bigbluebutton-html5/imports/ui/components/external-video-player/external-video-player-graphql/component.tsx
  • fix init dark mode
  • WIP: fix(accessibility): restore roving functionality in user list
  • Fix: add validation to prop
  • Rest of the code
  • 27 to 30
  • Undo bbb-export-annotations/package-lock.json
  • v27 changes ported to v30 part 2.
  • Fix: default duration time and free join invitation
  • Remove changes on settings yml
  • Let user join the meeting using Graphql actions
  • feature (api): Add preUploadedPresentation param to API's /create via GET
  • feature(html5): Change return type of the graphql data hook (feature(html5): Change return type of the graphql data hook #19103)
  • feat(reactions): port new reactions and fix emojiRain
  • test: add flag flaky on failed breakout tests after migration
  • Refactor: Add chat message to Postgres when user status changes (Refactor: Add chat message to Postgres when user status changes  #18980)
  • Lint
  • aditional changes
  • fix: check for presence of parentMeetingID if isBreakout is true
  • Fix hasPresentationUrlInParameter
  • Update bigbluebutton-html5/private/config/settings.yml
  • add new line at end of file
  • Fix: Moderator lowering hand from toast broken
  • Fix: TS errors
  • adding flaky flag to failing test on ci
  • fix (bbb-web): Null pointer exception when parent meeting does not exist
  • Fix: support cluster proxy setup for graphql API
  • cleanup: use runuser instead of sudo

What does this PR do?

Closes Issue(s)

Closes #

Motivation

More

  • Added/updated documentation

gustavotrott and others added 30 commits October 2, 2023 17:32
…-name-default

refactor (graphql-server) Add new columns to presentation collection
…webcamsOnlyForModerator

fix (graphql-server): Graphql not updating webcamsOnlyForModerator
Delete presentation from Postgres when presentation is removed
…ViewersAnnotation

graphql-server: Apply hideViewerCursor and hideViewersAnnotation on backend side
update font-size reference screenshot (PR-18857)
…format

Fix: Formating of breakout message.
…om-time

fix (graphql-server): Meeting duration not updating when breakout rooms receive a new time
Fix: [3.0] Scrolling down the user list to the end will jump to the beginning
lfzawacki and others added 28 commits November 13, 2023 15:36
…luebutton#18980)

* Insert chat msg on use status change

* Insert system message for user status change

* Close pres file resources

* Remove unused code

* Remove trailing whitespace

* Remove more trailing whitespace

* Use frontend message

* Send user name and add validation

* Fix js errors

* Modify user validation for sending away msg
…tation-get-v30

feature (api): Add preUploadedPresentation param to API's /create via GET
fix: check for presence of parentMeetingID if isBreakout is true
…-join-action

graphql: New User Flow for Joining Meetings via GraphQL
…ji-rain

feat(reactions): port new reactions and fix emojiRain
Fix: Moderator lowering hand from toast broken
…igration

Refactor: Migrate breakout room creation to graphql
fix (bbb-web): Null pointer exception when parent meeting does not exist
The websocket connection to the graphql API needs to go directly to the
BBB server (bbb-html5) and it the middleware needs to accept requests
with a different origin.
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.
@danimo danimo closed this Nov 28, 2023
Copy link

sonarcloud bot commented Nov 28, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug D 12 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot B 2 Security Hotspots
Code Smell A 174 Code Smells

No Coverage information No Coverage information
2.4% 2.4% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet