Commit Graph

25 Commits

Author SHA1 Message Date
Anton Georgiev
6fe2b69dc7
Merge pull request #13572 from zhem0004/13257
Implemented the fix regarding mongod error messages
2022-02-15 16:55:52 -05:00
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
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
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
c8a85825cf
build: Set bbb-html5 Nodejs version to 14.18.1
Missed during #13610
2021-11-03 11:57:58 -04: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
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
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
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
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