Commit Graph

139 Commits

Author SHA1 Message Date
Daniel Schreiber
dc15a1c707 fix: serve compressed Javascript and CSS
The BBB html5 client is huge and can be compressed easliy. As nginx
already services the static files, it can also handle service gzipped
files.

Ship compressed files with the package.
2022-01-31 20:44:43 +01:00
Anton Georgiev
8237862117 build: resolve conflicts opts dependencies 2022-01-27 19:18:59 +00:00
Ramón Souza
16cd3c4ebb Merge remote-tracking branch 'upstream/v2.4.x-release' into dev-24-0125 2022-01-25 16:56:52 +00:00
Pedro Beschorner Marin
810deb907b refactor(etherpad): access control et al.
Move all Etherpad's access control from Meteor to a separated [Node application](https://github.com/bigbluebutton/bbb-pads).
This new app uses [Etherpad's API](https://etherpad.org/doc/v1.8.4/#index_overview)
to create groups and manage session tokens for users to access them. Each group
represents one distinct pad at the html5 client.

- Removed locked users' access to pads: replaced readOnly pad's access with a new pad's content sharing routine
- Pad's access is now controlled by [Etherpad's API](https://etherpad.org/doc/v1.8.4/#index_overview)
- Closed captions edited content now reflects at it's live feedback
- Improved closed caption's dictation mode live feedback
- Moved all Etherpad's API control from Meteor to a separated [app](https://github.com/bigbluebutton/bbb-pads)
- Included access control both in akka-apps and bbb-pads
2022-01-21 16:56:01 -03:00
Fred Dixon
8ccd896e92
Merge pull request #14110 from schrd/filepermissions
Fix: ensure services can't modify their code
2022-01-16 23:15:24 -04:00
Daniel Schreiber
5cce940346 Fix: ensure services can't modify their code
Code should be owned by root, so an attacker cannot modify it. The same
should apply to systemd unit files.

closes #11752
closes #10831
2022-01-16 18:10:09 +01:00
Anton Georgiev
10aaf8071f build: Added auto restart of bbb-html5-backend and frontend on failure 2022-01-13 21:13:19 +00:00
Anton Georgiev
797fc49633 TEMP 2021-12-09 20:37:05 +00:00
Anton Georgiev
578332a094
Merge pull request #13731 from schrd/cluster_proxy
Allow BBB to run behind a proxy the avoid gUM permission queries per node
2021-12-03 11:32:07 -05:00
Anton Georgiev
229580db40 build: disable JS execution in mongodb 2021-12-02 22:13:36 +00:00
Tainan Felipe
12117164d6 disable JS execution in mongodb 2021-12-02 09:51:21 -03:00
Daniel Schreiber
c97c033cfd Update packaging and nginx config for loadbalancer
To ease setup some changes required in the nginx config for load
balancer setup are prepared here. They do not harm non-loadbalancer setups.

The changes in the system startup scripts are mandatory
2021-11-21 21:12:50 +01:00
Anton Georgiev
2e01272acc build: html5 nodejs version + cleanup 2021-11-03 16:19:32 +00:00
Anton Georgiev
c8a85825cf
build: Set bbb-html5 Nodejs version to 14.18.1
Missed during #13610
2021-11-03 11:57:58 -04:00
Anton Georgiev
a7c98311fd Merge branch 'v2.4.x-release' of github.com:bigbluebutton/bigbluebutton into merge-24 2021-11-03 14:04:32 +00:00
Anton Georgiev
0578037e14 build: Update bbb-html5 build scripts for Meteor 2.5.0 2021-11-01 19:21:41 +00:00
Anton Georgiev
bd002b3b3f build: bbb-html5 npm deps improvements 2021-10-29 19:30:59 +00:00
Anton Georgiev
022f125e15 Merge branch 'v2.4.x-release' of github.com:bigbluebutton/bigbluebutton into merge-24-dev 2021-10-29 13:24:51 +00:00
Bohdan Zhemelinskyi
6f8c4bce75 added autorestart 2021-10-27 20:52:12 +00:00
Bohdan Zhemelinskyi
db9931c93a Merge branch 'develop' of https://github.com/bigbluebutton/bigbluebutton into serviceRestart 2021-10-27 19:42:33 +00:00
Bohdan Zhemelinskyi
cccf8db790 Implemented the fix regarding mongod error messages 2021-10-26 14:46:33 +00:00
Anton Georgiev
8a2b108b11 build: MongoDB conf changes from 2.3 to 2.4 2021-10-25 20:11:24 +00:00
Bohdan Zhemelinskyi
1b92e143f5 Update to functionality 2021-10-20 17:30:18 +00:00
Bohdan Zhemelinskyi
8fec84afa8 Added automatic restart on failure 2021-10-20 14:08:43 +00:00
Anton Georgiev
62c67a2f67 build: Rely on meteor version from docker image 2021-10-19 21:03:52 +00:00
Anton Georgiev
bf88e3d577 build: Specify meteor version before building
This resolves an issue where we were building the npm dependencies against Meteor matching Node 12 but were trying to install locally for Node 14.

An additional change to consider could be to include the correct Meteor version in the Dockerfile for BBB but that may mean different images per BBB version.

I also leave here some simple outputs for node, npm and meteor versions, to hopefully allow us to catch such discrepancies more easily in the future
2021-10-19 21:03:17 +00:00
Anton Georgiev
c283c8155f build: Remove node-sass rebuild (not needed for node 14) 2021-10-19 21:02:12 +00:00
prlanzarin
e53dc4bb45 build: adjust bbb-html5.nginx to make sure nginx serves static assets
Somewhere along the line since 2.3 the packaged bbb-html5.nginx regressed to a
state where the upstream for /html5client was Meteor itself, which means nginx
wasn't serving static assets as it was supposed to.
2021-10-19 15:06:24 +00:00
prlanzarin
b104984364 build: precompress tflite WASM binaries in build 2021-10-18 16:02:29 +00:00
prlanzarin
4f3ceb2459 build: serve precompressed tflite WASM binaries 2021-10-15 17:19:41 +00:00
Anton Georgiev
24d672a832 Merge branch 'v2.4.x-release' of github.com:bigbluebutton/bigbluebutton into merge-24-dev 2021-10-14 15:13:17 +00:00
prlanzarin
96254f7c89 build: add /wasm location block to bbb-html5.nginx
Guarantees that nginx will be the one serving the WASM binaries (static assets).

The types block is there to guarantee that the correct MIME type is advertised.

Moreoever, it's preferable that the WASM binaries are gzipped because they're
too large to ignore, so it's worth the server-side gzipping overhead.
The explicit gzip type declaration is there because only text/html assets are
compressed by default.
2021-10-14 03:58:55 +00:00
Anton Georgiev
64a24a244f build: remove obsolete bbb-html5/m 2021-10-07 15:28:26 +00:00
Anton Georgiev
d114983cbd build: Rely on meteor version from docker image 2021-09-30 20:43:48 +00:00
Anton Georgiev
8f7e1beb07
build: Specify meteor version before building
This resolves an issue where we were building the npm dependencies against Meteor matching Node 12 but were trying to install locally for Node 14.

An additional change to consider could be to include the correct Meteor version in the Dockerfile for BBB but that may mean different images per BBB version.

I also leave here some simple outputs for node, npm and meteor versions, to hopefully allow us to catch such discrepancies more easily in the future
2021-09-30 11:36:03 -04:00
Anton Georgiev
c324a45245
build: Remove node-sass rebuild (not needed for node 14) 2021-09-29 16:14:17 -04:00
Daniel Schreiber
3e447dee6e Update build scripts to reflect meteor update
nodejs needs to be updated to produce working packages
2021-09-17 17:30:05 +02:00
znerol
ade03a81da fix: Remove spurious nginx error_page directive, refs: #13025 2021-08-18 16:59:05 +02:00
Johannes Barthel
6c8525ef54 initial public version 2021-08-13 12:53:18 +02:00