Daniel Berteaud
4fb717b6be
Use form instead of simple divs for paswords
...
So hitting enter also submit it
11 years ago
Daniel Berteaud
697b143cef
Add an auth form in the join template
...
Lets you authenticate as the room owner even if there's no join pasword
11 years ago
Daniel Berteaud
a5837dac98
Implement owner password auth
...
Owner passwords are salt+sha256 hashed (unlike join password) as they do not need cleartext access
For now, you also have to set a join password if you want to be able to auth as an owner
Need to implement a password popup if there's an owner password but no join password
11 years ago
Daniel Berteaud
0226271045
Move getRole to a function
...
Will probably be used elsewhere soon
11 years ago
Daniel Berteaud
89b7e7ff0f
Small animation when owner element are enabled
...
Makes a nicer experience
11 years ago
Daniel Berteaud
41b5f5754b
Hide conf menu by default
...
And display it only if we are the owner of the room
11 years ago
Daniel Berteaud
76468a8958
Only allow owner (creator) to set a passord
11 years ago
Daniel Berteaud
25f2602694
Remove room lock, not that usefull now that you can use a password
11 years ago
Daniel Berteaud
75709997d9
Notify other peers when a password is set
11 years ago
Daniel Berteaud
6b4ced06bb
Implement join password setting
...
But it's not used yet :-)
11 years ago
Daniel Berteaud
51f4b27c24
Prevent closing other dropdown menus
11 years ago
Daniel Berteaud
c2df8a16c6
Update SimpleWebRTC to 1.7.6
11 years ago
Daniel Berteaud
f1012ad480
Various cleanups on the index page
11 years ago
Daniel Berteaud
10db137f6c
Rework the invitation menu
...
Fix #17
11 years ago
Daniel Berteaud
4815e4cb83
Define rootUrl in js_include
...
So /localize is working not matter which alias we use, even on the front page
11 years ago
Daniel Berteaud
1e2e524900
Store raw displayName, only escape when used
...
Prevents double escaping when importing chat history from another peer.
Also validate color and time when we receive history
11 years ago
Daniel Berteaud
409edd50db
Update jQuery to 1.11.1
11 years ago
Daniel Berteaud
98fd6cd32c
Coding style updates and comments cleanup
11 years ago
Daniel Berteaud
610ff99f2c
Don't update our local volume bar when muted
...
SimpleWebRTC still emit local volume change event when muted
11 years ago
Daniel Berteaud
b381f031da
Fix handling of volume change dataChannel messages
...
Which are not sent in the vroom dataChannel
11 years ago
Daniel Berteaud
d62c0dc6ec
Sync chat history between peers
...
Not completly full proof, but seems to work reasonably well. If we do not have received chatHistory yet, ask for it each time a peer's video is added until we get it. Messages are escaped and formatting is preserved, including peer's color. One problem though: if you refresh the page, you will receive the history, but your own old message will appear on the left, as if it was another who send them. This is because there's no way to recognize it was you (previous session...)
Should fix #4
11 years ago
Daniel Berteaud
9dd070b02a
Escape text chat in newChatMessage()
11 years ago
Daniel Berteaud
ae306ba643
Use lighter background colors
...
text message was hard to read for a lot of colors because they were too dark
11 years ago
Daniel Berteaud
e117d73b85
Fix save history filename
11 years ago
Daniel Berteaud
2b7e0e65cc
Implement tchat history save as local HTML file
...
Fix #5
11 years ago
Daniel Berteaud
77c5552d84
Set thumbnail height
...
So they are always equals, not matter which one is biggest, the others will adapt
11 years ago
Daniel Berteaud
20734ca705
Alert if browser is not supported
...
Add a modal dialog uf the browser doesn't support WebRTC or dataChannels
11 years ago
Daniel Berteaud
40dab8de75
Remove debug statement on screen sharing error
11 years ago
Daniel Berteaud
536143bdf0
Update screen sharing
...
Since Chrome 34, a new API for screen sharing is available (the previous one using the flag will probably be deprecated soon)
This commit adds:
- Source of a simple Chrome extension to use this new API (which is a perfect copy of the sample extension given by &yet here: https://github.com/HenrikJoreteg/getScreenMedia
- Adapt help page
- New modal dialog to prompt user to install the extension from Google Web Store
- Better error messages if you can't share your screen
Should fix #7
11 years ago
Daniel Berteaud
ab4126d8a9
Backport Chrome 34 workarround
...
Known bug in Chrome 34 for Linux
11 years ago
Daniel Berteaud
4ced1dd4d9
Remove debug line
11 years ago
Daniel Berteaud
2ab632a582
Unicast name and color
...
When a new peer joins, send him our name and color, but don't broadcast it, other peers should already have this
11 years ago
Daniel Berteaud
7412b2f4ef
Update to SimpleWebRTC 1.7.4
11 years ago
Daniel Berteaud
9fc834df8a
Remove old SimpleWebRTC bundle
11 years ago
Daniel Berteaud
28b897e2b9
Translate missing string
...
"one of the peers" was hardcoded instead of being localized
11 years ago
Daniel Berteaud
fcc303ebb2
Re-enable screen sharing in Chrome 34
11 years ago
Daniel Berteaud
d76a87df7b
Arbitrary message through the signaling channel
...
Re-add support for arbitrary message on the signaling channel, it hasn't been merged in upstream SimpleWebRTC yet
11 years ago
Daniel Berteaud
59b77c5458
Update SimpleWebRTC to 1.7.3
11 years ago
Daniel Berteaud
19a6511b35
Update code comment
...
mute/paused are now handled directly by SimpleWebRTC
11 years ago
Daniel Berteaud
85a86808e0
add maxHeight function
11 years ago
Daniel Berteaud
28f5dab18f
Add fullScreen function
11 years ago
Daniel Berteaud
80a7cb61cf
Reduce wasted space
...
Should fix #3 for small devices
Hide the mainVideo area on small devices, instead display only bigger previews. Also switch to 2 cols for preview on large displays, not medium ones
11 years ago
Daniel Berteaud
cef5791a89
Initial import
11 years ago