Commit Graph

145 Commits

Author SHA1 Message Date
Anton Georgiev
488d78742d build: move bbb-html5 files from /var/bigbluebutton
Closes https://github.com/bigbluebutton/bigbluebutton/issues/21161
As suggested by @danimo the client files for bbb-html5
are not variable/dynamic content and are a better fit for /usr/share
than for /var/bigbluebutton (where they'd also be in the way of
recording files)
2024-09-25 12:39:04 -04:00
Anton Georgiev
21533ee42a
build: revert removal of gzip command in bbb-html5/build.sh (#20929) 2024-08-14 08:48:13 -04:00
Gustavo Trott
47997a932a
Add scripts to run html5 from source (#20899)
* Add scripts to run html5 from source

* remove unnecessary sudo
2024-08-12 09:35:45 -03:00
Anton Georgiev
b1b79653cc
build: remove old custom bbb-html5 NodeJS binaries (#20897)
* build: remove old custom bbb-html5 NodeJS binaries

* docs: mention removal of node v14

* build: list bbb-web as dependency to bbb-config

* build: undo set license

* re-add bbb-html5 as dependency to bbb-config
2024-08-10 13:03:11 -04:00
Tainan Felipe
4d6f4b3ded
Refactor: Make bundle using webpack (#20811)
* Refactor: Make bundle using webpack

* Fix: restore after install codes and a few settings

* Fix: build script folder permission

* Refactor: Remove support to async import on audio bridges

* Upgrade npm using nvm

* Avoid questions on npm ci execution

* Let npm ci install dev dependencies (as we need the build tools here)

* Fix: enconding

* Fix: old lock files

* Remove: bbb-config dependency to bbb-html5 service, bbb-html5 isn't a service anymore

* Fix: TS errors

* Fix: eslint

* Fix: chat styles

* npm install with "lockfileVersion": 3 (newer npm)

* build: allow nodejs 22

* node 22; drop meteor from CI and bbb-conf

* TEMP: use bbb-install without mongo but with node 22 and newer image

* build: relax nodejs condition to not trip 22.6

* build: ensure dir /usr/share/bigbluebutton/nginx exists

* init sites-available/bbb; drop disable-transparent-

* nginx complaining of missing file and ;

* TMP: print status of services

* WIP: tweak nginx location to debug

* Fix: webcam widgets alignments

* akka-apps -- update location of settings.yml

* build: add locales path for nginx

* docs and config changes for removal of meteor

* Fix: build encoding and locales enpoint folder path

* build: set wss url for media

* Add: Enable minimizer and modify to Terser

* Fix: TS errors

---------

Co-authored-by: Tiago Jacobs <tiago.jacobs@gmail.com>
Co-authored-by: Anton Georgiev <anto.georgiev@gmail.com>
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-08-09 13:58:44 -04:00
João Victor
50d445f026 Remove Meteor backend 2024-07-02 14:58:58 -03:00
Daniel Schreiber
c5b657a409 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-06-14 16:17:49 -04:00
Gustavo Trott
6e9b4b3e4f Remove meteor assets cleanup routine 2024-06-07 16:14:46 -03:00
Ramón Souza
7514066fc3
fix: Client can't load in certain cases (#20336)
* move settings

* remove meteor cache files
2024-05-29 09:26:11 -04:00
Anton Georgiev
264722bb44 docs: try to remove frontend and leave only bbb-html5 2024-05-07 21:24:24 -04:00
Anton Georgiev
be7fad8cbf build: try to remove frontend and leave only bbb-html5 2024-05-07 09:53:35 -04:00
Anton Georgiev
de483ce568 build: try to remove frontend and leave only bbb-html5 2024-05-06 13:49:20 -04:00
Anton Georgiev
f8d5b5cd99 build: drop bbb-html5-with-roles.conf mentions 2024-05-01 15:00:58 -04:00
Anton Georgiev
0de01dffb7 build: drop bbb-html5-backend services 2024-05-01 14:33:46 -04:00
Gustavo Trott
c22de5b9b7 Remove also directories 2024-04-12 13:52:03 -03:00
Gustavo Trott
f6f7c4a361 build html5: Clear Nginx cache to refresh Meteor assets 2024-04-12 13:47:41 -03:00
Ramón Souza
ff3867248c
add meteor assets cache to build script (#19942) 2024-04-02 09:07:20 -03:00
Ramón Souza
2e17713c56
generate locales index.json at build time (#19881) 2024-03-22 17:21:42 -03:00
Ramón Souza
788cf799f7
refactor: make bbb client work without meteor service (partial) (#19869) 2024-03-21 16:41:32 -03:00
Anton Georgiev
354566bd2c build: rename bbb-graphql-actions-adapter-server to bbb-graphql-actions 2023-12-14 10:59:10 -05:00
KDSBrowne
cc7aff8686
Feat: Migrating to Tldraw v2 (Alpha v18) on 3.0 (#19268)
* initial tldraw v2 alpha 18 with graph-ql

* add @apollo/client

* update whiteboard test element

* update whiteboard test elements

* update whiteboard test elements

* load .tldr file shapes into bbb

* temporarily disable infinite canvas limit in client

* disabling failing tests on ci

* restore poll results on whiteboard

* restore hideViewerCursor functionality

* disabling failing tests that needs to be updated

---------

Co-authored-by: Gabriel Porfirio <gabrielporfirio1994@gmail.com>
2023-12-05 15:15:25 -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
b6db5cb12b
html5: tweak: wait port 27017 to be ready before init replicaset (#18830) 2023-09-23 12:06:56 -03:00
Anton Georgiev
bcf2d41014 build: list bbb-graphql-middleware as dependency to bbb-html5 2023-08-10 16:35:00 -04:00
Anton Georgiev
b61bc09168 build: start replicaset once, before bbb-html5- backends frontends 2023-08-10 15:53:31 -04:00
Gustavo Trott
51bdcededc Merge 2.7 into develop 2023-05-26 10:50:39 -03: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
ba8e8cf16a build-config: change yq syntax to v4.16.2; readded yq as dep 2023-04-27 16:37:26 -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
0fccb78ee1 build-conf: Remove Kurento dependency; Run on Ubuntu 22.04 2023-04-25 15:08:36 -04: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
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
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
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
Tainan Felipe
cbcab9517e
New nginx rules (#15977) 2022-11-09 17:17:50 -03: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
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