Commit Graph

365 Commits

Author SHA1 Message Date
schrd
78a8ccdcb9
build: Umask fixes for 2.7 build scripts (#21366)
* Fix permissions during build of bbb-libreoffice-docker

The scripts must be executable by anyone. They are owned by root and
executed by user bigbluebutton.

* Fix permissions during build of bbb-html5

The files must be readable by mongodb. There are no secrets in the file,
so it is safe to be readable by anyone.

* Fix permissions during build of bbb-record-core

Files must be readable by user bigbluebutton.

* Fix more umask issues

Recording scripts were not executable in the builds

---------

Co-authored-by: Daniel Schreiber <daniel.schreiber@hrz.tu-chemnitz.de>
2024-10-11 08:48:52 -04:00
Anton Georgiev
5b12b35265
build: Require libmagickcore-6.q16-6-extra for export-annotations (#21216)
This library seems missing on custom images (notably dedicated (but not cloud) Hetzner)
It is already present on all other installations we are aware of.
If the library is not present, some annotations (most notably text) will be missing when trying to export annotations from whiteboard in both main and breakout rooms.
2024-09-18 11:49:41 -04:00
Daniel Schreiber
fc33fa599d Fix: File permissions in packages should not depend on umask of build system
If the build system for packages has a umask of `0077`, cloned
repositories will have no permissions for group and other. As the build
scripts for some packages just copy from clone git repos, this will
preserve the permissions in the package and prevent the following
services from startup:

* `bbb-html5`
* `etherpad`
* `bbb-pads`
* `bbb-export-annotations`
* `bbb-rap-*`

This patch grants everyone read permissions to the code in the packages.
2024-05-28 16:24:27 +02:00
Anton Georgiev
04e916798b build: set permissions for resque files [2.7] 2024-05-15 14:32:55 -04:00
Anton Georgiev
9506144857
build(export-annotations): Add dependency poppler-utils 2024-03-07 13:13:16 -05:00
Anton Georgiev
e7840e19c5
build(sec): upgrade FreeSWITCH to 1.10.11 +sofia-sip +libks (#19377) 2024-01-02 14:09:50 -05:00
Lucas
125d70699b
feat: Initial implementation of Gladia transcriptions to BBB 2.7 (#19091)
* Demo changes

* Revert "feat(captions): no longer writes in the pad"

This reverts commit a76de8c458.

* feat(transcriptoin): Add config options for the transcription backend

* feat(transcription): Add autodetect option to cc chevron

* feat(transcription): Move transcription options into settings modal

* feat(transcription): Set transcription options via userdata

* fix(transcription): Correct userdata for settings transcription params

* feat(transcriptions): options to auto enable caption button

* feat(transcriptions): Option to hide old CC pad funcionality

* fix(transcription): Fix PR comments

* fix(transcription): Refactor updateTranscript to prevent null user and make it more readable

* feat(transcription): bbb_transcription_provider can be set via userdata

* fix(transcription): Use base10 for parseInt

* fix(transcriptions): Fix CC language divider when using webspeech

* fix(transcriptions): Use a default pad in the settings instead of hardcoding 'en'

We still need to use a language pad such as 'en', but in the future we can better
separate these systems.

* fix(transcription): Add a special permission for automatic transcription updates to the pad and restore old per user updates permission

* feature(transcriptions): Include transcriptions submenu and locales

* chore: bump bbb-transcription-controller to v0.2.0

* fix(transcription): Add missing menu files

* fix(transcription): Fix transcription provider options in settings.yml

* fix: setting password for bbb-transcription-controller

* build: add gladia-proxy.log for transcription-controller

* fix(transcriptions): Remove transcript splitting and floor logic from akka apps

* fix(captions): Show long utterances as split captions, show multiple speaker captions

* chore: bump bbb-transcription-controller to 0.2.1

---------

Co-authored-by: Anton Georgiev <anto.georgiev@gmail.com>
2023-11-30 10:10:36 -05:00
Daniel Petri Rocha
6f86883324
Bump importExportRateLimiting to 32
Allows up to 32 export requests within a 90 second window in Etherpad.
2023-11-14 20:03:23 +01:00
Anton Georgiev
3a58ce4c9c
Merge pull request #18789 from antobinary/docs27
build: bbb-webhooks set secret and url
2023-09-15 10:23:50 -04:00
Anton Georgiev
f42dcbbd7e build: bbb-webhooks set secret and url 2023-09-15 10:19:16 -04:00
Anton Georgiev
0c0a327db7
revert: drop .git from bbb-tranctiption-controller (second version) 2023-09-15 09:05:41 -04:00
Anton Georgiev
a1d8f4bf7e
build(bbb-transcription-controller): omit .git from package 2023-09-14 11:57:53 -04:00
Daniel Molkentin
71d474bed8 fix(build): do not package .git for bbb-transcription-controller 2023-09-11 15:23:44 +00:00
Anton Georgiev
7b271c97a1 chore: Merge 2.6.14 into v2.7.x-release 2023-09-06 14:33:15 -04:00
Anton Georgiev
eae34304be build: fix nodejs version paste error in #18686 2023-09-02 06:49:29 -04:00
Anton Georgiev
89d17ff639 build: require node 18 to install bbb packages 2023-09-01 08:19:50 -04:00
Anton Georgiev
aa7c649b2c build: fix mismatched quote 2023-08-31 07:23:18 -04:00
Anton Georgiev
7f117eea45 add java17 as bbb-web dependency 2023-08-31 07:09:10 -04:00
Anton Georgiev
c4e849edc8 build: specify java 17 on bbb-web install 2023-08-31 07:06:11 -04:00
Anton Georgiev
1159e7af3c build: resetting mcs-address from localhost to 127.0.01 2023-08-30 17:19:39 -04:00
Anton Georgiev
19b4781d1c chore: upgrade Meteor 2.12 to 2.13 2023-08-22 14:21:30 -04:00
Anton Georgiev
dfd8f5b4a4 build: Update the descriptions for bbb-playback packages 2023-08-10 14:21:54 -04:00
Anton Georgiev
81b1483a8a chore: upgrade Meteor 2.12 to 2.13 2023-08-09 15:37:27 -04:00
Anton Georgiev
7be38fd876 Merge remote-tracking branch 'bbb/v2.6.x-release' into merge-july26 2023-07-26 22:27:55 -04:00
Anton Georgiev
2d504a1410
Merge pull request #18276 from danielpetri1/etherpad-1.9.0
chore: Bump Etherpad to 1.9.1
2023-07-24 12:52:25 -04: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
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
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
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
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
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