Skip to content

Commit a297c5a

Browse files
authored
Merge branch 'v3.0.x-release' into snyk-fix-d9738715850964e841cf15f479c93e7a
2 parents e36778a + 0ff40b0 commit a297c5a

File tree

919 files changed

+29569
-35954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

919 files changed

+29569
-35954
lines changed

.github/actions/upload-blob-report/action.yml renamed to .github/actions/merge-and-upload-blob-reports/action.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Upload blob report
2-
description: Merge and upload the blob report to GitHub Actions Artifacts
1+
name: Merge and upload blob reports
2+
description: Merge and upload the blob reports to GitHub Actions Artifacts
33
runs:
44
using: composite
55
steps:
@@ -31,6 +31,4 @@ runs:
3131
with:
3232
name: tests-report
3333
overwrite: true
34-
path: |
35-
bigbluebutton-tests/playwright/playwright-report
36-
bigbluebutton-tests/playwright/test-results
34+
path: bigbluebutton-tests/playwright/playwright-report

.github/actions/merge-branches/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ runs:
1414
git config user.name "BBB Automated Tests"
1515
git config user.email "tests@bigbluebutton.org"
1616
git config pull.rebase false
17-
git pull origin pull/${{ github.event.number }}/head:${{ github.head_ref }}
17+
git pull --no-rebase --no-edit origin pull/${{ github.event.number }}/head:${{ github.head_ref }}

.github/dependabot.yml

Lines changed: 0 additions & 106 deletions
This file was deleted.

.github/workflows/automated-tests-publish-results.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ jobs:
120120
121121
___
122122
123-
[Click here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ needs.get-pr-data.outputs.workflow-id }}) to check the action test reports
123+
[Click here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ needs.get-pr-data.outputs.workflow-id }}) to check the action test reports (_to view the report locally, see the [docs](https://github.com/bigbluebutton/bigbluebutton/blob/v3.0.x-release/bigbluebutton-tests/playwright/README.md#check-test-results)_)

.github/workflows/automated-tests.yml

Lines changed: 62 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- package: bbb-freeswitch
7070
build-list: bbb-freeswitch-core bbb-freeswitch-sounds
7171
cache-files-list: freeswitch.placeholder.sh
72-
cache-urls-list: http://bigbluebutton.org/downloads/sounds.tar.gz
72+
cache-urls-list: https://ubuntu.bigbluebutton.org/sounds.tar.gz
7373
- package: bbb-webrtc
7474
build-list: bbb-webrtc-sfu bbb-webrtc-recorder
7575
cache-files-list: bbb-webrtc-sfu.placeholder.sh bbb-webrtc-recorder.placeholder.sh
@@ -255,7 +255,40 @@ jobs:
255255
run: |
256256
sudo sh -c '
257257
apt --purge -y remove apache2-bin
258-
apt-mark hold firefox #hold ff once bbb-install frequently stuck at `Installing the firefox snap`
258+
apt-mark hold firefox #hold ff as bbb-install frequently stuck at `Installing the firefox snap`
259+
260+
#bbb-webrtc-sfu: removes the special scheduling policies
261+
mkdir -p /etc/systemd/system/bbb-webrtc-sfu.service.d/
262+
tee /etc/systemd/system/bbb-webrtc-sfu.service.d/override.conf > /dev/null <<EOL
263+
[Service]
264+
CPUSchedulingPolicy=other
265+
Nice=19
266+
EOL
267+
systemctl daemon-reload
268+
269+
#Install Sipp for dial-in tests
270+
apt install -y pkg-config dh-autoreconf ncurses-dev build-essential libssl-dev libpcap-dev libncurses5-dev libsctp-dev lksctp-tools cmake
271+
git clone --recurse-submodules https://github.com/SIPp/sipp.git /opt/sipp
272+
cd /opt/sipp
273+
git checkout 4682fdba2b63007f13a632c6eb06f0ece84cb7df #Set an old commit as the current code is not working
274+
cmake . -DUSE_SSL=1 -DUSE_SCTP=1 -DUSE_PCAP=1 -DUSE_GSL=1
275+
make
276+
sudo make install
277+
rm -r /opt/sipp/gtest
278+
rm -r /opt/sipp/src
279+
280+
# Set dial plan for internal calls
281+
mkdir -p /opt/freeswitch/conf/dialplan/public/
282+
cat << EOF > "/opt/freeswitch/conf/dialplan/public/bbb_sip.xml"
283+
<include>
284+
<extension name="bbb_sp_call" continue="true">
285+
<condition field="network_addr" expression="\${domain}" break="on-false">
286+
<action application="set" data="bbb_authorized=true"/>
287+
<action application="transfer" data="\${destination_number} XML default"/>
288+
</condition>
289+
</extension>
290+
</include>
291+
EOF
259292
'
260293
- name: Install BBB
261294
env:
@@ -265,7 +298,7 @@ jobs:
265298
sudo -i <<'EOF'
266299
set -e
267300
cd /root/
268-
wget -nv https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-release--no-mongo/bbb-install.sh -O bbb-install.sh
301+
wget -nv https://raw.githubusercontent.com/bigbluebutton/bbb-install/v3.0.x-release/bbb-install.sh -O bbb-install.sh
269302
sed -i "s|> /etc/apt/sources.list.d/bigbluebutton.list||g" bbb-install.sh
270303
chmod +x bbb-install.sh
271304
@@ -321,9 +354,6 @@ jobs:
321354
echo "Check if there is some process still locking:2"
322355
ps aux | grep -E 'dpkg|apt'
323356
324-
#remove all apt-update to make the install faster
325-
sed -i 's/apt-get update/#apt-get update/g' bbb-install.sh
326-
327357
RETRY_COUNT=$((RETRY_COUNT + 1))
328358
done
329359
@@ -334,18 +364,22 @@ jobs:
334364
335365
bbb-conf --salt bbbci
336366
sed -i "s/\"minify\": true,/\"minify\": false,/" /usr/share/etherpad-lite/settings.json
367+
sed -i "s/\"loglevel\": \"INFO\"/\"loglevel\": \"DEBUG\"/" /usr/share/etherpad-lite/settings.json
368+
sed -i "s/\"level\": \"info\"/\"level\": \"debug\"/" /usr/local/bigbluebutton/bbb-pads/config/settings.json
369+
sed -i "s/exports.DEBUG = false/exports.DEBUG = true/" /usr/local/bigbluebutton/bbb-graphql-actions/config.js
337370
sudo yq e -i '.log_level = "TRACE"' /usr/share/bbb-graphql-middleware/config.yml
371+
echo "HASURA_GRAPHQL_LOG_LEVEL=debug" | tee -a /etc/bigbluebutton/bbb-graphql-server.env
338372
cat > /etc/bigbluebutton/bbb-conf/apply-config.sh << HERE
339373
#!/bin/bash
340-
374+
341375
# Pull in the helper functions for configuring BigBlueButton
342376
source /etc/bigbluebutton/bbb-conf/apply-lib.sh
343-
377+
344378
# Available configuration options
345-
379+
346380
enableHTML5ClientLog
347381
#enableUFWRules
348-
382+
349383
HERE
350384
chmod +x /etc/bigbluebutton/bbb-conf/apply-config.sh
351385
bbb-conf --restart
@@ -358,25 +392,22 @@ jobs:
358392
EOF
359393
- name: Install test dependencies
360394
working-directory: ./bigbluebutton-tests/playwright
395+
timeout-minutes: 25
361396
run: |
362397
sh -c '
363398
npm ci
364399
npx playwright install-deps
365400
npx playwright install
366401
'
367402
- name: Run tests
368-
uses: nick-fields/retry@v3
369-
with:
370-
timeout_minutes: 25
371-
max_attempts: 2
372-
command: |
373-
cd ./bigbluebutton-tests/playwright
374-
npm run test-chromium-ci -- --shard ${{ env.shard }}
403+
working-directory: ./bigbluebutton-tests/playwright
404+
timeout-minutes: 25
375405
env:
376406
NODE_EXTRA_CA_CERTS: /usr/local/share/ca-certificates/bbb-dev/bbb-dev-ca.crt
377407
ACTIONS_RUNNER_DEBUG: true
378408
BBB_URL: https://bbb-ci.test/bigbluebutton/api
379409
BBB_SECRET: bbbci
410+
run: npm run test-chromium-ci -- --shard ${{ env.shard }}
380411
- name: Run Firefox tests
381412
working-directory: ./bigbluebutton-tests/playwright
382413
if: |
@@ -399,6 +430,17 @@ jobs:
399430
with:
400431
name: blob-report-${{ matrix.shard }}
401432
path: bigbluebutton-tests/playwright/blob-report
433+
- if: always()
434+
name: Generate the shard HTML report from blob report
435+
shell: bash
436+
working-directory: ./bigbluebutton-tests/playwright
437+
run: npx playwright merge-reports --reporter html ./blob-report
438+
- if: always()
439+
name: Upload shard HTML report to GitHub Actions Artifacts
440+
uses: actions/upload-artifact@v4
441+
with:
442+
name: test-report_shard-${{ matrix.shard }}
443+
path: bigbluebutton-tests/playwright/playwright-report
402444
- if: failure()
403445
name: Prepare artifacts (configs and logs)
404446
run: |
@@ -437,14 +479,14 @@ jobs:
437479
upload-report:
438480
if: always() && !contains(github.event.head_commit.message, 'Merge pull request')
439481
needs: install-and-run-tests
440-
runs-on: ubuntu-latest
482+
runs-on: ubuntu-22.04
441483
env:
442484
hasReportData: ${{ needs.install-and-run-tests.result == 'success' || needs.install-and-run-tests.result == 'failure' }}
443485
steps:
444486
- uses: actions/checkout@v4
445-
- name: Upload blob report
487+
- name: Merge and upload the blob reports
446488
if: ${{ env.hasReportData }}
447-
uses: ./.github/actions/upload-blob-report
489+
uses: ./.github/actions/merge-and-upload-blob-reports
448490
- name: Remove unnecessary artifact
449491
uses: geekyeggo/delete-artifact@v5
450492
with:

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Build website
3838
run: yarn build
3939
- name: upload build artifact
40-
uses: actions/upload-pages-artifact@v1
40+
uses: actions/upload-pages-artifact@v3
4141
with:
4242
path: ./docs/build
4343

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ stages:
1212

1313
# define which docker image to use for builds
1414
default:
15-
image: bigbluebutton/bbb-build:v3.0.x-release--2024-08-30-014114
15+
image: bigbluebutton/bbb-build:v3.0.x-release--2025-03-12-163403
1616

1717
# This stage uses git to find out since when each package has been unmodified.
1818
# it then checks an API endpoint on the package server to find out for which of

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We designed BigBlueButton for online learning, it can be used for many other app
1313
* Group collaboration (many-to-many)
1414
* Online classes (one-to-many)
1515

16-
The latest version is BigBlueButton 2.7. You can install BigBlueButton 2.6 on Ubuntu 20.04 using [bbb-install.sh](https://github.com/bigbluebutton/bbb-install) within 30 minutes (or your money back 😉).
16+
The latest version is BigBlueButton 3.0. You can install BigBlueButton it on Ubuntu 22.04 using [bbb-install.sh](https://github.com/bigbluebutton/bbb-install) within 30 minutes (or your money back 😉).
1717

1818
For full technical documentation of BigBlueButton -- including architecture, features, API, and GreenLight (the default front-end) -- see [https://docs.bigbluebutton.org/](https://docs.bigbluebutton.org/).
1919

SECURITY.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ We actively support BigBlueButton through the community forums and through secur
66

77
| Version | Supported |
88
| ------- | ------------------ |
9-
| 2.5.x (or earlier) | :x: |
10-
| 2.6.x   | :white_check_mark: |
9+
| 2.6.x (or earlier) | :x: |
1110
| 2.7.x   | :white_check_mark: |
12-
| 3.0.x   | :x: |
11+
| 3.0.x   | :white_check_mark: |
12+
| 3.1.x   | :x: |
1313

14-
We have released 2.7 to the community and are going to support both 2.6 and 2.7 together for the coming months (while we're actively developing the next release). Also, BigBlueButton 2.5 is now end of life.
14+
We have released 3.0 to the community and are going to support 3.0 for the coming months, while 2.7 will receive BigBlueButton patches until April 2025 when Ubuntu 20.04 will see its community support end. Also, BigBlueButton 2.6 is now end of life.
1515

16-
As such, we recommend that all administrators deploy 2.7 going forward. You'll find [many improvements](https://docs.bigbluebutton.org/2.7/new-features) in this newer version.
16+
As such, we recommend that all administrators deploy 3.0 going forward. You'll find [many improvements](https://docs.bigbluebutton.org/3.0/new-features) in this newer version.
1717

1818
## Reporting a Vulnerability
1919

akka-bbb-apps/src/main/scala/org/bigbluebutton/SystemConfiguration.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ trait SystemConfiguration {
1818
lazy val bbbWebViewerPassword = Try(config.getString("services.viewerPassword")).getOrElse("changeme")
1919
lazy val keysExpiresInSec = Try(config.getInt("redis.keyExpiry")).getOrElse(14 * 86400) // 14 days
2020

21+
// Graphql Middleware API url
22+
lazy val graphqlMiddlewareAPI = Try(config.getString("services.graphqlMiddlewareAPI")).getOrElse("http://127.0.0.1:8378")
23+
2124
lazy val expireLastUserLeft = Try(config.getInt("expire.lastUserLeft")).getOrElse(60) // 1 minute
2225
lazy val expireNeverJoined = Try(config.getInt("expire.neverJoined")).getOrElse(5 * 60) // 5 minutes
2326

0 commit comments

Comments
 (0)