Daniel Berteaud
6c3499cd1c
Change class for invitation response messages
10 years ago
Daniel Berteaud
d9c8904c14
Manage invitation responses in the signaling heartbeat
...
Instead of the ping API call, which results in almost instantaneous responses
And now the ping API is only used to update room activity timestamp, and will be able to get removed soon
10 years ago
Daniel Berteaud
c6a39b7c0c
Purge expired rooms and invitation in an IOLoop instead of the ping hack
10 years ago
Daniel Berteaud
cc13881390
get_url doesn't exist anymore, switch to url_for
10 years ago
Daniel Berteaud
89a5e5bbc4
Don't try to log token if it's not defined
10 years ago
Daniel Berteaud
188d333098
Fix owner authenticating through the authenticate api method
10 years ago
Daniel Berteaud
15c3980792
Don't send notified emails to non owner
10 years ago
Daniel Berteaud
54a2dce8bf
Some cleanups in key/room/role association and checks
10 years ago
Daniel Berteaud
1edd844272
Some changes in the way peer role is handled
10 years ago
Daniel Berteaud
a2c65ad26c
Small changes regarding static resources caching
10 years ago
Daniel Berteaud
f480f9b537
Log who's logging out before destroying the session
10 years ago
Daniel Berteaud
f8257889b3
Mark active page as such in the toolbar
10 years ago
Daniel Berteaud
fb3f5fa05f
Send JSON bool for room conf
10 years ago
Daniel Berteaud
9e20d9208f
Combine all JS files in one template
10 years ago
Daniel Berteaud
5a832da7a2
Remove get_url wrapper
10 years ago
Daniel Berteaud
63bccc1cb8
Replace URI with Mojo::URL
...
Plus some cleanups in URI handling
10 years ago
Daniel Berteaud
d38be16526
Remove the signaling URI settings
...
it now can be determined automatically
10 years ago
Daniel Berteaud
76086b39e4
Set log level just before starting the app
10 years ago
Daniel Berteaud
255ac408f3
Move log level to the daemon section
10 years ago
Daniel Berteaud
edec884c37
Minify and combine static assets with Mojolicious::Plugin::StaticCompressor
10 years ago
Daniel Berteaud
511a996679
Unicast messages on the signaling channel if needed
...
Fix #99
10 years ago
Daniel Berteaud
75238a2631
Fallback to en if current locale is not complete
10 years ago
Daniel Berteaud
3e2fbbcd11
Reject uninitialized room names
10 years ago
Daniel Berteaud
67c3f5705e
Fix SQL query syntax
10 years ago
Daniel Berteaud
f2a2e877a6
Remove the old rfc5766-turn-server auth method as it doesn't brings anything
...
Compared to the new TURN REST API
10 years ago
Daniel Berteaud
14d179ebc0
Implement TURN REST API compatible credentials
10 years ago
Daniel Berteaud
6960665111
Support several STUN and TURN severs
10 years ago
Daniel Berteaud
4acc2cb4ab
Add empty doc page
10 years ago
Daniel Berteaud
fd1f38ebc5
Add a new "demo" mode
...
And when enabled, display a new "Who's behind VROOM" part in the about page
10 years ago
Daniel Berteaud
8826076e0a
Rename get_notification to get_email_notifications
10 years ago
Daniel Berteaud
0d0b6afbf1
Make the member limit configurable per room
...
And fix #96
10 years ago
Daniel Berteaud
175edfd276
Only delete peers object after its last use
10 years ago
Daniel Berteaud
ea73a4009d
Add a global members limit
10 years ago
Daniel Berteaud
00637aeee7
Add a helper to broadcast a SocketIO message to all members of a room
10 years ago
Daniel Berteaud
2124a67d55
Add a helper to count the number of peers in a room
10 years ago
Daniel Berteaud
20b838878b
Use same values as the real SignalMaster
10 years ago
Daniel Berteaud
918a0c03f5
Don't try to notify for peers who hasn't joined any room
10 years ago
Daniel Berteaud
69c3cd3b5a
Display number of members in room in the admin area
...
The number should be quite accurate, as it's now counting socket.io peers
10 years ago
Daniel Berteaud
d27816872f
Mute localVideo to prevent noise
10 years ago
Daniel Berteaud
0ef7cecb76
Update room activity on join and leave
10 years ago
Daniel Berteaud
cc735d7720
Identify invitaions by session ID instead of session name
10 years ago
Daniel Berteaud
9a4c35de2d
Minor reformating
10 years ago
Daniel Berteaud
8cd064b3e4
Do not update room_participant table anymore iun ping
10 years ago
Daniel Berteaud
8753ff81b7
Handle leave and disconnect msg
...
And log unhandled messages
10 years ago
Daniel Berteaud
1acb0795fb
Do not store room partticipants in the DB
...
Just in memory, it's not something we must store long term, was just needed to pass data between VROOM and SignalMaster
10 years ago
Daniel Berteaud
fd4d464a51
Some comment in the signaling part
10 years ago
Daniel Berteaud
45806953a5
Check if websocket connection should be allowed
10 years ago
Daniel Berteaud
3a52c92a03
Reduce name length, add a session ID and rename socket_peers to peers
10 years ago
Daniel Berteaud
ab41125a08
Remove useless cookie
10 years ago
Daniel Berteaud
9b1de92ba5
Add basic signaling server
...
With this, VROOM is now its own signaling server and do not rely on SignalMaster anymore, which means NodeJS isn't required anymore
There are some downside, for now, only websocket transport is supported, there's no fallback
10 years ago