Commit graph

197 commits

Author SHA1 Message Date
Vittorio Palmisano
953036dc3d using the default /metrics path 2021-02-25 13:05:45 +01:00
Mészáros Mihály
b7f07dcce9
Update promExporter.js
Await metrics data 
Fix docker issue:  UnhandledPromiseRejectionWarning at /opt/edumeet/server/lib/promExporter.js:272:8 
TODO: Maybe we need to add more error handling to make it more robust.
2021-02-22 10:36:22 +01:00
Vittorio Palmisano
62e2739306
Avoid crashing the server process when exiting interactive socket sessions
When using the interactive socket connection (`socat - UNIX-CONNECT:/tmp/edumeet-server.sock`), closing the command line session throws a not handled exception that crashes the server process.
2021-02-12 12:06:16 +01:00
Stefan Otto
1b1c7fea94
Merge pull request #658 from Astagor/feat-local-picture
Feat local picture
2021-02-08 01:07:55 +01:00
stefkamarton
85eb8d2d85 Fix Login Cache Issue 2021-01-28 21:04:17 +01:00
Piotr Pawałowski
8c0fa8a4f4 Add notification of peers on a transportclose event 2021-01-14 11:36:58 +01:00
Piotr Pawałowski
ec47517660 Enable on server side 2020-12-18 10:51:50 +01:00
Stefan Otto
9fc80419f0
Merge pull request #631 from jmencak/rooms-unlocked
Optionally enforce moderated access to all rooms.
2020-12-07 16:53:36 +01:00
Jiri Mencak
a31617bc3f Optionally enforce moderated access to all rooms.
Add the ability to optionally lock all rooms apart from those defined in
roomsUnlocked array in server/config/config.js.  The default behaviour is left
unchanged, i.e. users can freely enter any room without having to wait in the
lobby.
2020-11-21 12:59:59 +01:00
Stefan Otto
9f91fd9ea1
Merge pull request #630 from Astagor/audiolevelobserver_per_router
Added a MediaSoup AudioLevelObserver per each Router.
2020-11-19 13:09:11 +01:00
Piotr Pawałowski
13f7c69111 Added a MediaSoup AudioLevelObserver per each Router. Added logs in catch. 2020-11-18 11:11:05 +01:00
Piotr Pawałowski
39f27b0e5f Add 200 ms delay between peer promotion, when promoting all peers from lobby 2020-11-18 10:55:24 +01:00
Piotr Pawałowski
7a97100419 Maybe fixed session peristance 2020-11-13 15:07:55 +01:00
Piotr Pawałowski
d449f44420 Fix piped router count 2020-10-08 15:11:54 +02:00
Piotr Pawałowski
f217170dd5 Fix lint 2020-10-05 23:16:44 +02:00
Piotr Pawałowski
6ddec291aa Fix piping bug when peers returning to router 2020-10-05 22:56:53 +02:00
Piotr Pawałowski
5b005899a7 Fix lint 2 2020-09-28 16:28:17 +02:00
Piotr Pawałowski
5505a2906d Fix lint 1 2020-09-28 16:23:45 +02:00
Piotr Pawałowski
da1ecc569e Ver 2 of worker load fix 2020-09-28 16:17:01 +02:00
Stefan Otto
2bddbdef6c
Merge pull request #559 from Astagor/fix_workers_load
New worker load calculation - for Stefan to test
2020-09-24 12:57:58 +02:00
Piotr Pawałowski
841514c3e2 Promote all peers from lobby when a peer joins with the PROMOTE_PEER permission and activateOnHostJoin is true in config 2020-09-19 17:19:27 +02:00
Piotr Pawałowski
cec3aa6701 Fixes as havfo suggested 2020-09-19 00:27:38 +02:00
Piotr Pawałowski
e4ebafac74 Fixed null values for peers not yet assigned to a router 2020-09-19 00:09:57 +02:00
Piotr Pawałowski
7bfc707fcb Cleanup on close 2020-09-18 18:23:43 +02:00
Piotr Pawałowski
97a09b0fb8 New worker load calculation 2020-09-18 18:12:15 +02:00
Håvar Aambø Fosstveit
6cf5067493 Set timeout for TURN API request, fixes #484 2020-07-02 20:44:49 +02:00
Håvar Aambø Fosstveit
08c54ee713 Rename to edumeet, ref #492 2020-06-26 12:40:39 +02:00
Håvar Aambø Fosstveit
5a4bd1f4f5 Ability to give roles to users. Make certain roles promotable. 2020-06-25 15:26:16 +02:00
Håvar Aambø Fosstveit
55e30be8a7 Add room to userMapping. Example of giving moderator if no authenticated users present. 2020-06-08 22:43:51 +02:00
Mészáros Mihály
a4e506d60f
Merge pull request #445 from christian-2/issue-421
ability for Prometheus exporter to listen on localhost
2020-06-05 21:28:35 +02:00
Håvar Aambø Fosstveit
c040b411a9 Fix userRoles check 2020-06-02 15:16:46 +02:00
Håvar Aambø Fosstveit
5a47883db1 Create Room actions for giving and taking roles 2020-06-02 14:44:40 +02:00
Håvar Aambø Fosstveit
590a553bbd Extend userRoles and use the new audio, video permissions, ref #437 2020-06-02 14:18:18 +02:00
christian2
3de7b7fddc resolves #421 2020-05-29 11:30:33 +02:00
Håvar Aambø Fosstveit
aa678d03e8 TCP enabled by default, prefer UDP 2020-05-28 23:43:33 +02:00
Håvar Aambø Fosstveit
f064f98fd4 Lint 2020-05-22 20:03:05 +02:00
Håvar Aambø Fosstveit
803858575f Don't promote all peers on unlock, this bypassed roles/permissions, fixes #386 2020-05-22 19:59:43 +02:00
Håvar Aambø Fosstveit
d9cce46505 Lint 2020-05-19 14:26:19 +02:00
Håvar Aambø Fosstveit
0f184a3a29 Socket request timeout handling, with retries. 2020-05-19 14:09:27 +02:00
Luca
13c38cecfd Moderator: Mute all screen sharing 2020-05-18 09:52:19 +02:00
Luca
ff096f993d Moderator: disable screen sharing 2020-05-18 09:52:14 +02:00
Håvar Aambø Fosstveit
aa5f75b794 Do things in correct order. 2020-05-09 00:37:47 +02:00
Håvar Aambø Fosstveit
a9e9a1c1fa Cleanup of join logic, and making sure that lobbyPeers are sent to all peers if last peer with PROMOTE_PEER leaves and allowWhenRoleMissing contains PROMOTE_PEER, fixes #303 2020-05-08 22:11:48 +02:00
Håvar Aambø Fosstveit
c73ee5c26b Fix missing picture on peer in lobby. 2020-05-08 22:02:06 +02:00
Håvar Aambø Fosstveit
a49258e840 New option for handling permissions in rooms. Set allowWhenRoleMissing to permit actions before a peer with that permission joins. Ref #303 2020-05-08 16:19:55 +02:00
L4ky
2eab32cafa
Moderator: Mute or stop video for a peer globally (#316) 2020-05-08 00:23:16 +02:00
Håvar Aambø Fosstveit
ce8141eed7 Cleanup 2020-05-07 21:03:22 +02:00
Håvar Aambø Fosstveit
c1aa62d22c Don't send lobbypeers to client if they don't have PROMOTE_PEER role, fixes #208 2020-05-06 22:22:57 +02:00
Håvar Aambø Fosstveit
45a89b9f1a Only keep one self destruct timeout, ref #255 2020-05-06 13:50:29 +02:00
Håvar Aambø Fosstveit
136037d83f Simplify participantlist and order participants based on status. Raise hand queue, and moderator can remove raised hand. Fixes #146, #278 2020-05-06 01:40:08 +02:00