Commit Graph

515 Commits

Author SHA1 Message Date
Anton Georgiev
4476d2a415 do not treat warnings as errors on libwebsockets 2023-07-18 14:57:35 -04:00
Anton Georgiev
9e41251072 build: changes to bbb-graphql-middleware 2023-07-18 12:31:08 -04:00
Anton Georgiev
849135aa89 build: FS build on 22.04 -- do not treat warnings as errors reapply 2d686ed5af688e51c6bd8e63a6c44ed2bc1df255wq 2023-07-18 12:22:20 -04:00
Anton Georgiev
e297e5caec local build.sh was taking precedence over packaging build.sh 2023-07-18 05:30:02 -04:00
Anton Georgiev
e013c63078 build: Packaging for bbb-graphql-middleware 2023-07-17 16:26:07 -04:00
Gustavo Trott
21f1ed9f27 Merge 2.7 into Develop 2023-07-14 17:42:13 -03:00
Anton Georgiev
cd9f93be44 Merge remote-tracking branch 'bbb/v2.6.x-release' into merge-july12 2023-07-12 15:59:46 -04:00
Paulo Lanzarin
626c9c8a00
Revert "[2.6] fix(freeswitch): include signalwire PR 1914 as a patch (backport from 2.7)" 2023-07-05 13:23:13 -03:00
danielpetri1
26dea6076a Fix permission issue with Etherpad 1.9.1
A zero-width-space is used to work around an issue with Etherpad 1.9.1 where empty pads are not being created.
2023-07-04 21:37:20 +00:00
Gustavo Trott
5681e88c60 Merge 2.7 into Develop 2023-06-26 17:21:01 -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
Anton Georgiev
ff086191ae
build: fix mismatched quote 2023-06-21 09:14:32 -04:00
Anton Georgiev
3b5062ed16
build: resetting mcs-address from localhost to 127.0.01 2023-06-21 08:58:23 -04:00
Anton Georgiev
a99d028ce9
build: Adapt bbb-web for upgrades from java11 env 2023-06-15 14:20:36 -04:00
Anton Georgiev
e6dbbeed80 bbb-web to depend on java17 2023-06-14 20:25:37 -04:00
Anton Georgiev
1b04b17f6c bbb-web to depend on java17 2023-06-14 20:25:10 -04:00
Anton Georgiev
91ea0b7c74 build: alternative way to set java17 2023-06-14 16:42:24 -04:00
Anton Georgiev
98ce6b781e build: specify java 17 on bbb-web install 2023-06-14 10:55:00 -04:00
Anton Georgiev
defba70365
build: remove unsafe-perm from after-install 2023-06-09 13:39:02 -04:00
Anton Georgiev
229d2cb943
build: bbb-webhooks unsafe-perm 2023-06-09 13:36:12 -04:00
Gustavo Trott
51bdcededc Merge 2.7 into develop 2023-05-26 10:50:39 -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
25af259d2d Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into merge-may-24 2023-05-24 17:23:00 -04:00
Anton Georgiev
998377ec5f chore: upgrade FS dep sofia-sip to 1.13.15 2023-05-23 14:21:19 -04:00
prlanzarin
cf4ff9453c build: add bbb-transcription-controller
Added as an optional package
2023-05-19 13:03:17 -03:00
Anton Georgiev
4e851a7571 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into merge-267-27 2023-05-15 11:51:17 -04:00
Paulo Lanzarin
83ce1e5b3c
Merge pull request #17789 from prlanzarin/u26/fix/fs-1914
[2.6] fix(freeswitch): include signalwire PR 1914 as a patch (backport from 2.7)
2023-05-11 09:59:22 -03:00
Anton Georgiev
08e7b4cead
build: bbb-graphql-server copy metadata 2023-05-10 18:02:51 -04:00
Anton Georgiev
4920eac3cd build: copy over config.yaml for graphql 2023-05-10 17:59:23 -04:00
Anton Georgiev
3aa6774120 build: copy over config.yaml for graphql 2023-05-10 17:57:18 -04:00
Anton Georgiev
b83089f982
build: correct path to hasura executable 2023-05-10 16:41:18 -04:00
Anton Georgiev
9526ad5b7d build: drop db before creating it 2023-05-10 16:26:42 -04:00
Anton Georgiev
16f3104725 build: drop db before creating it 2023-05-10 16:07:44 -04:00
Anton Georgiev
84374a761f
Merge pull request #17732 from kepstin/etherpad-scheme
nginx config: Allow overriding the $scheme variable
2023-05-03 13:13:49 -04:00
Anton Georgiev
6273477feb chore: use nodejs from meteor static 2023-05-02 14:53:05 -04:00
Anton Georgiev
d328988659 chore: use nodejs from meteor static 2023-05-02 14:13:11 -04:00
prlanzarin
1e9834687e fix(freeswitch): include signalwire PR 1914 as a patch
There are some issues with the way FreeSWITCH changes candidate pairs
based on connectivity checks. That generally manifests as: 1) an asymmetric
start time between inbound and outbound audio (eg inbound audio takes 20
seconds to come in while outbound works right out of the bat
2) wrong pairs being picked initially and FS taking longer
than ideal to find a new one 3) 1006s, 4) ....

This backports signalwire PR 1914 in an attempt to mitigate
the aforementioned issues. The PR description explains the rationale
rather well and seems sound. I've tested this in demo servers with midly
satisfying results, but still needs further testing.
2023-05-02 11:55:00 -03:00
Anton Georgiev
bcd6169056 build: bbb-graphql-server tweak directory for hasura 2023-04-28 15:07:14 -04:00
Anton Georgiev
c01cf7913d build: bbb-graphql-server copy metadata and bbb_schema.sql 2023-04-28 14:36:38 -04:00
Anton Georgiev
8fddbfc9cf build: introducing bbb-graphql-server package 2023-04-28 13:32:09 -04:00
Anton Georgiev
05849309ce build: tweaks to run with MongoDB 6; Meteor upgrade to 2.11 2023-04-28 08:31:40 -04:00
Anton Georgiev
c16f56c43b build: require libldns3 for bbb-freeswitch-core 2023-04-27 18:03:33 -04:00
Anton Georgiev
ba8e8cf16a build-config: change yq syntax to v4.16.2; readded yq as dep 2023-04-27 16:37:26 -04:00
Anton Georgiev
bc24daf5ff build: drop openh264-gst-plugins-bad-1.5 sfu dependency 2023-04-27 14:08:27 -04:00
Anton Georgiev
4d7cae4e71 build: (TEMP) drop yq as a dependency -- it is a script not package on 22.04 2023-04-27 13:35:15 -04:00
Anton Georgiev
d64a00fa5b build: upgrade yq 3 to 4 for packaging 2023-04-26 16:26:51 -04:00
Calvin Walton
9ecea0804e nginx config: Allow overriding the $scheme variable
The etherpad component's nginx configuration needs to know the request
scheme in order to set some variables that influence whether the
'Secure' flag is set on cookies. Right now it directly uses the $scheme
variable, but this variable does not get set to the expected value if
nginx is behind a reverse-proxy where the proxy handles TLS termination.

Adjust the etherpad nginx config to use a variable with a different name
$real_scheme, which can be set in the nginx server block to match the
configuration of the nginx listeners.

This variable is set to the value of $scheme in the default
/etc/sites-available/bigbluebutton file. The bbb-install.sh script will
be updated to set this variable in the configurations it writes.

People using other installation scripts will need to add this variable
to their nginx configuration file, or etherpad might not operate correctly.
2023-04-25 17:13:24 -04:00
Anton Georgiev
2d686ed5af build: FS build on 22.04 -- do not treat warnings as errors 2023-04-25 15:40:55 -04:00
Anton Georgiev
0fccb78ee1 build-conf: Remove Kurento dependency; Run on Ubuntu 22.04 2023-04-25 15:08:36 -04:00
prlanzarin
6f927a3835 build(freeswitch): add mod_audio_fork and libwebsockets
Add mod_audio_fork to FreeSWITCH's build alongside libwebsockets
(which mod_audio_fork depends on).

mod_audio_fork is used by the built in transcription feature as
a way to extract L16 streams from FreeSWITCH via WebSockets for further
processing by arbitrary transcription servers.

For full details on mod_audio_fork itself, please check drachtio's
source repo: github.com/drachtio/drachtio-freeswitch-modules.git

A few cautionary tales about this one:
  - The new patch (mod_audio_fork_build.patch) guarantees libwebsockets
    is properly linked to FreeSWITCH and that mod_audio_fork is built as
    well. That's because mod_audio_fork is not an upstream module.
  - The patch _may_ introduce conflicts on FreeSWITCH bumps more easily
    than the other patches we have. They shouldn't be too hard to adapt,
    though.
  - There's fine tuning to be done to FreeSWITCH's unit file regarding
    mod_audio_fork's capabilities. Again: check drachtio's repo.
2023-04-25 10:04:59 -03:00
Anton Georgiev
c0561bc4a1
Merge pull request #17666 from prlanzarin/u27/build/bbb-webrtc-recorder-archon
build: add bbb-webrtc-recorder
2023-04-20 17:01:53 -04:00
prlanzarin
538954a6ae build: add bbb-webrtc-recorder 2023-04-20 16:24:34 -03:00
prlanzarin
a2503f4230 fix(freeswitch): include signalwire PR 1914 as a patch
There are some issues with the way FreeSWITCH changes candidate pairs
based on connectivity checks. That generally manifests as: 1) an asymmetric
start time between inbound and outbound audio (eg inbound audio takes 20
seconds to come in while outbound works right out of the bat
2) wrong pairs being picked initially and FS taking longer
than ideal to find a new one 3) 1006s, 4) ....

This backports signalwire PR 1914 in an attempt to mitigate
the aforementioned issues. The PR description explains the rationale
rather well and seems sound. I've tested this in demo servers with midly
satisfying results, but still needs further testing.
2023-04-11 15:56:35 -03:00
Gustavo Trott
8ed2752fdf Force wget nodejs to retry on http 404 error 2023-03-20 13:43:17 -03:00
Anton Georgiev
cdb7b3c724 build: reload nginx after bbb-playback-video is installed 2023-03-14 10:47:40 -04:00
Paulo Lanzarin
791a299bbe
Merge pull request #16967 from bigbluebutton/sfu297
build(bbb-webrtc-sfu): v2.9.8
2023-03-13 13:31:50 -03:00
Paulo Lanzarin
9ef74eeb53
fix(bbb-webrtc-sfu): add ALLOW_CONFIG_MUTATIONS to service
After node-config was bumped to 3.3.9 (from 3.3.6), it started throwing errors if
configurations are mutated without the ALLOW_CONFIG_MUTATIONS env var set.
We mutate some configs directly, but I every time I added one of those I made sure that
they are always deep cloned.

However, we hit an issue with kurento-client mutating a config input, which is an indirect mutation.
So, to prevent further surprises I'm allowing mutations on production while prohibiting them in dev
envs until I'm 100% sure nothing, direct on indirect, improperly mutates configuration values.
2023-03-13 12:20:00 -03:00
Anton Georgiev
5624a792d3 build: create the fonts dir before using it 2023-03-10 13:41:12 -05:00
danielpetri1
078c887aaf Build font information cache files in after-install 2023-03-07 14:52:08 +00:00
Daniel Petri Rocha
72d0e620ae
Update build/packages-template/bbb-export-annotations/build.sh
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2023-03-07 15:34:57 +01:00
danielpetri1
9095e77f73 Package tldraw fonts for bbb-export-annotations 2023-03-07 13:26:03 +00:00
Anton Georgiev
0edc4a16f2
Merge pull request #16807 from antobinary/update-apply-lib
build: ensure apply-lib.sh is updated; always create /etc/bigbluebutt…
2023-02-24 12:50:45 -05:00
Anton Georgiev
72d1ad90c9 handle fresh install where /etc/bigbluebutton/bbb-conf/apply-lib.sh is missing 2023-02-24 12:50:06 -05:00
Anton Georgiev
8d21a144ab
Update build/packages-template/bbb-config/after-install.sh 2023-02-24 12:14:04 -05:00
Anton Georgiev
1b9d3f6801 build: ensure apply-lib.sh is updated; always create /etc/bigbluebutton/nginx 2023-02-24 16:36:12 +00:00
Gustavo Trott
3afe19d199 Removes bbb-html5-conn-limit.conf from old path if exists 2023-02-22 09:07:44 -03:00
Gustavo Trott
7a740d2f50 Apply limit_conn only for location /html5client/sockjs 2023-02-21 15:17:32 -03:00
Gustavo Trott
110f49f886 Use template file to set conn limit config to nginx 2023-02-21 15:15:42 -03:00
Anton Georgiev
4bf6c1f7ed
Merge pull request #16672 from antobinary/fs-1.10.9
build: bump FreeSWITCH from 1.10.8 to 1.10.9
2023-02-07 13:12:36 -05:00
Anton Georgiev
9b27f92715 build: bump FreeSWITCH from 1.10.8 to 1.10.9 2023-02-07 18:10:57 +00:00
Fred Dixon
a72d420fd0 Add dependency for apparmor-utils 2023-02-05 16:05:29 -06:00
Anton Georgiev
40b69dd346 build: bigbluebutton should not depend on optional packages 2023-02-01 17:22:25 +00:00
Anton Georgiev
ee8406ed46
Merge pull request #16578 from antobinary/playback-video
build: build bbb-playback-video locally
2023-01-27 06:17:41 -05:00
Anton Georgiev
b378813e08 build: build bbb-playback-video locally 2023-01-27 11:08:15 +00:00
Anton Georgiev
a7ae9971df
Merge pull request #15602 from prlanzarin/u26/build/sfu-prio
build: use FIFO scheduler in bbb-webrtc-sfu
2023-01-26 14:36:26 -05:00
Calvin Walton
a838ad1ab8 Package template files for bbb-playback-video 2023-01-24 15:57:01 -05:00
Ramón Souza
4673a675ba
Merge pull request #16488 from antobinary/meteor2.10
chore: upgrade meteor to 2.10.0
2023-01-17 15:15:21 -03:00
Anton Georgiev
464493b308 chore: upgrade meteor to 2.10.0 2023-01-17 11:31:13 +00:00
GuiLeme
f9ef2097ec [issue-16363] - Introduced file dependency used in presentation 2023-01-16 16:24:22 -03:00
Anton Georgiev
f2a9a4ed9d
build: copy tldraw fonts to be served in files/
Cont'd from https://github.com/bigbluebutton/bigbluebutton/pull/16443
2023-01-12 16:25:40 -05:00
Anton Georgiev
25f7d34c4e
Merge pull request #15676 from danimo/bbb-web-defaults
chore(bbb-web): do away with wrapper script, use default files
2023-01-12 15:59:55 -05:00
Anton Georgiev
e3764153af build: copy tldraw fonts to be served in files/ 2023-01-10 21:49:03 +00:00
Ramón Souza
52e06ce326 copy tldraw fonts to public/files 2023-01-10 10:21:01 -03:00
Anton Georgiev
e4f9d6f6f8
Merge pull request #15884 from danielpetri1/etherpad-language
fix(locale): Remove 'Import' as option from shared notes UI
2022-12-22 13:09:25 -05:00
Ramón Souza
064b554dfd Merge remote-tracking branch 'upstream/v2.5.x-release' into merge-2526-dec14 2022-12-14 13:23:11 -03:00
Anton Georgiev
49c6f530e6 chore: set nodejs to 14.21.1 and meteor to 2.9.0 2022-12-08 19:14:16 +00:00
Tainan Felipe
e3e94fff75 Add new nginx rules 2022-11-18 10:44:50 -03:00
Joao Victor
36711f2b5f Merge branch 'v2.6.x-release' into fix-dashboard-deps-Sep-15 and fix conflicts 2022-11-15 14:29:40 -03:00
Daniel Petri Rocha
334b97779b Merge branch 'v2.6.x-release' into capture-notes-toast 2022-11-10 23:01:28 +01:00
Tainan Felipe
cbcab9517e
New nginx rules (#15977) 2022-11-09 17:17:50 -03:00
Daniel Petri Rocha
f7952fa256 Allow 16 simultaneous exports; remove timeout behavior 2022-11-03 18:09:48 +01:00
Fred Dixon
85abe727ad Update audio patch for 1.10.8 2022-10-27 21:52:02 -05:00
Brent Baccala
25535e0cde Add stun-client package dependency to bbb-config, so that bbb-conf will run STUN checks 2022-10-24 23:02:53 -04:00
Daniel Petri Rocha
6338a901a2 Remove 'Import' as option from shared notes UI 2022-10-21 21:34:27 +02:00
Ramón Souza
3035d3b532 enable websocket compression in front-end servers 2022-10-14 10:33:14 -03:00
Daniel Molkentin
eb70ef0c87 chore(bbb-web): remove obsolete, unused ExecStartPre statement 2022-10-11 19:47:53 +02:00
Daniel Molkentin
02891cf320 chore(bbb-web): do away with wrapper script, use default files 2022-10-11 19:45:26 +02:00
Ramón Souza
7ab6a247ae enable websocket compression in front-end servers 2022-10-04 10:45:44 -03:00
Ramón Souza
94b8827bff update number of default servers for bbb-html5 2022-09-28 10:27:59 -03:00
Ramón Souza
2b0971e2c8 Merge tag 'v2.5.6' into merge-256-26 2022-09-26 09:17:59 -03:00
Joao Victor
2f9cdbfb78 build(dashboard): omit dev dependencies and disable eslint 2022-09-16 11:13:57 -03:00
Anton Georgiev
a17679834f
Merge pull request #15632 from antobinary/build-tweaks-2
fix: JVM apps stopping to differ from failure
2022-09-07 22:02:52 -04:00
Anton Georgiev
4ea7bfb6b4 fix: JVM apps stop to differ from failure 2022-09-02 01:59:56 +00:00
Anton Georgiev
19b7230941 build: /lib vs /usr/lib consistency 2022-09-01 15:40:01 +00:00
Anton Georgiev
3530c5fc51 build: /lib vs /usr/lib closes #15553 2022-09-01 11:56:35 +00:00
prlanzarin
ef7b1fb3e5 build: use FIFO scheduler in bbb-webrtc-sfu
bbb-webrtc-sfu (and mediasoup) are running in the CFS scheduler which
means it has to compete with (much) lower priority tasks like
presentation conversion, recording processing, [...]
Since it encompasses an RTC application which also handles audio, it
should be _at least_ on the same scheduling policy as FS/bbb-html5 - and
that should be safer now  with mediasoup which has a lower footprint
(and generates lower CPU noise overall).

This commit puts bbb-webrtc-sfu in the FIFO scheduling policy (same as
bbb-html5). Also bumps bbb-html5 nice level up to 18 and sets SFU to
nice 19 (so bbb-html5 has some advantage when push comes to shove).

This can be improved further by using per-process priorities in SFU.
Ideally we'd want mediasoup audio workers and mcs-core to be the same
priority as FS (so higher than bbb-html5), but the rest of them
(video/screen workers) to be the same or lower than bbb-html5. For
future reference:
  - https://github.com/bigbluebutton/bbb-webrtc-sfu/commit/3e245122dfa155ecb77b536eeadac1e4607cee
  - 66d443d204
2022-08-26 14:08:24 +00:00
Ramón Souza
e6daad4e3d
Update build/packages-template/bbb-html5/build.sh
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2022-08-26 09:31:29 -03:00
Ramón Souza
a277049e55
Update build/packages-template/bbb-html5/build.sh
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2022-08-26 09:31:06 -03:00
Anton Georgiev
59e54c8030 build: replace globally v=VERSION for cache busting 2022-08-25 15:11:48 +00:00
Anton Georgiev
b677996410 Merge branch 'fix-font-preload' of github.com:ramonlsouza/bigbluebutton into test-css-version 2022-08-24 18:50:25 +00:00
Anton Georgiev
28bd98e107
Update build/packages-template/bbb-config/after-install.sh 2022-08-20 08:52:17 -04:00
Anton Georgiev
2d7ac73364
Merge branch 'v2.6.x-release' into default-nginx-config 2022-08-20 05:10:22 -04:00
Anton Georgiev
23c0dc56c4 Merge branch 'v2.5.x-release' of github.com:bigbluebutton/bigbluebutton into cairosvg 2022-08-19 13:04:00 +00:00
Ramón Souza
4293a081c1 fix font preload 2022-08-18 13:39:47 -03:00
Anton Georgiev
494251f2d0 build: export-annotations depend on cairosvg imagemagick ghostscript 2022-08-10 20:20:46 +00:00
Fred Dixon
99a3c09ecb Added bbb-rap-caption-inbox 2022-08-09 07:17:29 -05:00
Fred Dixon
330d758053 Fix #15138 2022-08-08 11:46:05 -05:00
prlanzarin
83ddc621a8 fix(bbb-html5): serve compressed version of /compatibility files
Files are compressed on build, but gzip_static on isn't set on their
nginx route - so original files are being served, uncompressed.

This commit serves the previously compressed files instead (thus
reducing initial transfer size by ~1 MB).

Someone should look into whether serving compressed version of the rest
of assets makes sense - it probably does.
Still pending: fonts, locales, svgs, everything under resources, ...
2022-07-16 00:36:26 +00:00
Anton Georgiev
cef352b6de
Merge pull request #15392 from GuiLeme/fix-bbb-demo-removal
fix(config): Correction to nginx assets folder
2022-07-15 11:45:02 -04:00
GuiLeme
145d360553 [fix-bbb-demo-removal] - correction to nginx assets folder 2022-07-15 12:11:42 -03:00
Ramon Souza
024f918f5e Merge remote-tracking branch 'upstream/v2.6.x-release' into merge25-26-jul14 2022-07-15 11:10:18 -03:00
Ramon Souza
db5ac1428a Merge tag 'v2.5.3' into merge25-26-jul14 2022-07-15 11:08:02 -03:00
Anton Georgiev
019b366ef8
Merge pull request #15376 from antobinary/epoch-akka
build: set default epoch of 1 to bbb*akka components
2022-07-14 10:24:43 -04:00
Anton Georgiev
7eddf391e1 build: set default epoch of 1 to bbb*akka components 2022-07-13 15:53:50 +00:00
GuiLeme
bdb9c6857f Merge remote-tracking branch 'upstream/v2.6.x-release' into demo-page-removal 2022-07-13 11:16:51 -03:00
Anton Georgiev
4c0226e375 build: auto-enable service bbb-export-annotations 2022-07-13 01:35:17 +00:00
Anton Georgiev
19dd5be49c build: ensure redis is up redis-server.service.d/overrride.conf 2022-07-12 20:57:34 +00:00
Anton Georgiev
4769299276 test: add bbb-html5-nodejs to github workflow 2022-07-12 16:48:17 +00:00
Anton Georgiev
93865717b6 build: bbb-html5-nodejs to reduce size of bbb-html5 2022-07-12 16:25:37 +00:00
Anton Georgiev
7642fd67fe build: set bbb-export-presentations as a required package 2022-07-08 01:19:53 -04:00
Anton Georgiev
37a1807549 build: bbb-export-annotations packaging part2 2022-07-08 01:13:59 -04:00
Anton Georgiev
6cf2d3def7 build: add export annotations to bbb target 2022-07-07 17:40:04 +00:00
Anton Georgiev
0ad2a7aa70 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into npm-audit 2022-07-07 17:31:35 +00:00
Anton Georgiev
aa38cca17f build: packaging for bbb-export-annotations 2022-07-06 20:51:57 +00:00
Anton Georgiev
55dbc34984
Merge pull request #14616 from danimo/bbb-target
build: Introduce bigluebutton.target
2022-07-06 14:42:09 -04:00
Anton Georgiev
22bef3b551
Update build/packages-template/bbb-config/bigbluebutton.target 2022-07-06 14:41:18 -04:00
Anton Georgiev
3cdfe2fc39 chore: update meteor 2.7.1 to 2.7.3 2022-07-05 13:19:08 +00:00
prlanzarin
6225042148 feat: add user name to checkAuthorization response
Audio's callerId depends on the user name and there isn't
an "on-demand" way of fetching that field internally, making callerId
assembly with trusted attributes (server-side generated) impossible in
bbb-webrtc-sfu.

The new extra header (User-Name, mapped to user_name in the proxied
connection) allows fetching the user name field in a cheap way and
consequently provides a cheap+safe way of assembling the callerId.

Alternatives I've considered but discarded:
  - a new akka-apps req-resp pair for fetching the user name (+overhead)
  - a new akka-apps req-resp pair for generating the callerId (+overhead)
  - piggybacking on GetMicrophonePermissionReq/Resp to generate the
    callerId (same overhead, but mixing responsabilities)
2022-06-28 20:33:36 +00:00
Daniel Molkentin
a7f43ba2b8 Merge remote-tracking branch 'origin/v2.6.x-release' into bbb-target 2022-06-27 17:03:01 +02:00
Anton Georgiev
5290c2039c
Merge pull request #15194 from schrd/cleanup-akka-systemd
fix: remove obsolete systemd overrides
2022-06-24 08:58:31 -04:00
Anton Georgiev
fa5ea33c6c
Merge pull request #15100 from schrd/fix-issue-10989
Fix(build): add service dependency to redis for several services
2022-06-23 15:40:38 -04:00
GuiLeme
b5d1e3eaef [demo-server-removal] - reinserted the / endpoint to reference the static assets. 2022-06-23 10:35:47 -03:00
GuiLeme
780a954ce2 [demo-page-removal] - restore default folder changing its name to assets and changed reference of bbb-web's static contents to /assets 2022-06-21 16:56:12 -03:00
GuiLeme
6df36b7d76 [demo-page-removal] - Removed traces of demo-server (build and demo-api) 2022-06-20 15:47:47 -03:00
Daniel Schreiber
74576f4fff fix: remove obsolete systemd overrides
the redis dependency for `bbb-apps-akka` and `bbb-fsesl-akka` has
already beed added in commit b6777ed9cb so
the override is no longer neccesary.

closes #15192
2022-06-16 13:54:31 +02:00
Anton Georgiev
5961797433 build(fsesl-akka): build deps in sequence to allow for ci use 2022-05-30 20:22:18 +00:00
Daniel Schreiber
1a12514b61 Fix(build): add service dependency to redis for several services
* fix unit name: the unit name on Ubuntu is `redis-server.service`
* services which need a working redis require both After= and Wants=

See the description in the `systemd.unit` man page.
2022-05-29 22:31:03 +02:00
Anton Georgiev
b5241d0ee9
Merge pull request #15022 from schrd/etherpad-clusterproxy-fix
Fix etherpad session authentication to work in cluster setups
2022-05-18 12:44:17 -04:00
Daniel Schreiber
dfd93e7959 Fix etherpad session authentication to work in cluster setups
Etherpad uses the sessionID cookie for authorization. In cluster setups the
host part of the URI which serves the html5 frontend is different from
the hostname part of the URI which serves etherpad. Therefore the
bbb-html5 client can't set a cookie for etherpad which contains the
etherpad sessionID.

This patch uses the `ep_auth_session` etherpad plugin which takes the
`sessionID` as query parameter, sets the cookie in the browser and
redirects the iframe to the pad URI.
2022-05-16 07:40:42 +02:00
Fred Dixon
ef6eb21cce Minor refactoring of propagating new version 2022-05-15 13:58:25 -05:00
Anton Georgiev
c4874398f6 chore: Merge 2.5.0-rc.2 into develop 2022-05-13 21:03:34 +00:00
Anton Georgiev
fd5d3cbfac
Merge branch 'v2.5.x-release' into default-nginx-config 2022-05-13 10:23:38 -04:00
Anton Georgiev
61d27c78f7 build: set html5 client version on bbb-config update 2022-05-13 13:50:20 +00:00
Gustavo Trott
4c27159ee9
Merge pull request #14990 from antobinary/ci
build(fsesl-akka): build deps in sequence to allow for ci use
2022-05-10 13:32:51 -03:00
Anton Georgiev
653dd8a08f build(fsesl-akka): build deps in sequence to allow for ci use 2022-05-10 16:22:28 +00:00
Ramon Souza
07f9a192b9 Merge remote-tracking branch 'upstream/v2.4.x-release' into merge-2425-apr27 2022-04-27 15:32:20 -03:00
Calvin Walton
09124ab06c packaging: Add dependencies on yq 3
yq package is now provided in the BigBlueButton support PPA for BBB 2.5,
so we can depend on the package now. Ensure the dependency is specific
to avoid an incompatible yq version 4 from being installed.
2022-04-25 15:04:38 -04:00
Ramon Souza
c96c47e551 update bbb-html5 build scripts for meteor 2.7.1 2022-04-25 13:11:12 -03:00
Daniel Schreiber
5d3b8cdc66 build: fix bbb-html5 nginx site config 2022-04-04 23:45:03 +02:00
Daniel Schreiber
52112cde87 build: allow bbb nginx config hook for operators
Sometimes operators need to tweak the nginx config. They should not
modify config files provided by the packages. Instead they should add
their own config files in `/etc/bigbluebutton/nginx/`. This patch links
the default config provided by packages into this directory.
2022-04-04 22:30:49 +02:00
Anton Georgiev
97dbc1aeb6
Merge branch 'v2.5.x-release' into bbb-target 2022-04-01 14:21:15 -04:00
Bohdan Zhemelinskyi
51032dd593 fix disable THP called too often 2022-04-01 14:43:48 +00:00
Anton Georgiev
84821f47bc chore: move sox dependency to Dockerfile 2022-03-31 01:39:46 +00:00
Anton Georgiev
5926217199 build: drop net-tools from bbb-freeswitch-core 2022-03-30 14:57:15 +00:00
Anton Georgiev
fc688f2038 Merge branch 'meteor-261' of github.com:ramonlsouza/bigbluebutton into meteor-261 2022-03-29 20:27:26 +00:00
Anton Georgiev
ee9a0146a8 build: move ruby-bundler libsystemd-dev to docker image 2022-03-29 20:09:44 +00:00
Anton Georgiev
0836351747
Merge pull request #14662 from danimo/recordplaybackfix
make bbb-record-core package install again on focal
2022-03-29 15:04:07 -04:00
Calvin Walton
c722b799be bbb-record-core: Use bundler deployment option
This makes the bundle install error out if the Gemfile.lock is out of
date (Gemfile was updated) rather than silently updating it during the
build.
2022-03-29 12:52:12 -04:00
Calvin Walton
98dfb2789a bbb-record-core: Use bundler from ruby-bundler package 2022-03-29 11:28:02 -04:00
Calvin Walton
cbaae2c753 Update bbb-record-core dependencies.
Since gems are no longer being built during package install, dev
packages are no longer needed. Install the runtime libraries instead.

Drop the libxslt & libxml dependencies, since current nokogiri versions
used bundled copies of those libraries.
2022-03-29 11:06:00 -04:00
Fred Dixon
08c6ad67fb
Update after-install.sh
Make check for worker_rlimit_nofile silent
2022-03-27 09:09:52 -04:00
Fred Dixon
50498354f0 Add needed dependency to get IP address 2022-03-26 17:07:14 -05:00
Fred Dixon
4707bf839b Fix #14670 2022-03-26 17:06:51 -05:00
Daniel Molkentin
dc012a2548 fix(bbb-record-core): make package install again on focal
Now uses Ubuntu's bundler version to install all dependencies at build time
rather than install time. Gems are also now vendored, and no longer pollute the
operating system.
2022-03-23 22:55:04 +01:00
Anton Georgiev
6b4a7ff898 refactor: swap netstat with ss 2022-03-23 20:50:19 +00:00
Anton Georgiev
33a2dd566c build: do not delete .nginx file, it is removed on upgrade too 2022-03-18 19:02:46 +00:00
Daniel Molkentin
91c882862e fix paste error 2022-03-17 16:06:42 +01:00
Daniel Molkentin
61ce7ab9b6 inject dependency to bigbluebutton.target into externally provided services 2022-03-17 15:29:02 +01:00
Daniel Molkentin
8b8854a008 make bbb-pads.service part of bigbluebutton.target 2022-03-17 15:15:21 +01:00
Daniel Molkentin
dbae417b0c akka apps should not have override files
they are already provided by sbt
2022-03-17 13:03:32 +01:00
Daniel Molkentin
568756bf7e move systemd files to /lib/systemd/system 2022-03-17 13:03:15 +01:00
Daniel Molkentin
9f833a4760 Introduce bigbluebutton.target 2022-03-17 11:35:42 +01:00
Anton Georgiev
5db05bdad8 fix: set repo.artima.com/releases to https 2022-03-16 19:20:26 +00:00
Anton Georgiev
f4c5ce50b6 build: bbb-web require openjdk-11-jdk not 8 2022-03-16 19:04:47 +00:00
Anton Georgiev
c261c542ca build: adapt packaging for java 11 2022-03-16 18:31:49 +00:00
Anton Georgiev
9705ac99b0
Merge pull request #14607 from pedrobmarin/b-e-fua
build(etherpad): forbid userName argument
2022-03-16 12:23:27 -04:00
Anton Georgiev
06d2652714 build: do not remove /usr/share/bigbluebutton/nginx/web on upgrade 2022-03-16 16:19:55 +00:00
Anton Georgiev
405d326ea7
Merge branch 'v2.5.x-release' into meteor-261 2022-03-16 11:55:31 -04:00
Pedro Beschorner Marin
06397cae49 build(etherpad): forbid userName argument
Since bbb-pads user's name is set internally by akka-apps and bbb-pads internal
credentials exchange. Yet, Etherpad's embedded URL params still work and the user
could use it to ovewrite.

Use nginx rules to block an access attempt that contains the userName argument.
2022-03-16 12:48:08 -03:00
Anton Georgiev
d00d6a0323
Merge pull request #14600 from bigbluebutton/transition-to-focal
!build and conf: Upgrade Ubunto to 20.04
2022-03-16 08:54:56 -04:00
Anton Georgiev
d1f7d6eda4 build: recover presentation-slides.nginx 2022-03-15 03:20:28 +00:00
Anton Georgiev
3b476935b8 build: add missed loadbalancer.nginx 2022-03-15 02:47:22 +00:00
Anton Georgiev
c3242c8003 build: nginx from /usr/share/bigbluebutton/nginx 2022-03-15 02:01:37 +00:00
Anton Georgiev
4e6b0a608e refactor: store nginx files in /usr/share/bigbluebutton/nignx not /etc/bigbluebutton/nginx 2022-03-15 01:42:28 +00:00
Anton Georgiev
9653c0882a build: re-enable FreeSWITCH patch 1531 2022-03-15 01:36:45 +00:00
Anton Georgiev
1f0b58a87e build: re-add sfu as a dependency to bbb-html5 2022-03-15 00:23:39 +00:00
Anton Georgiev
d5b1fe50a0 build: add mongodb-org as bbb-html5 dependency 2022-03-14 23:15:26 +00:00
Anton Georgiev
3a875efd8b build: change bionic to focal in build scripts 2022-03-14 23:01:05 +00:00
Anton Georgiev
7775d06725 build: create /etc/nginx/sites-enabled if needed 2022-03-14 20:38:54 +00:00
Anton Georgiev
9e6c078703 build: use tomcat9 not tomcat10 2022-03-14 20:38:31 +00:00